:root {
  --paper: #f7f6f1;
  --paper-deep: #eeede6;
  --ink: #17252b;
  --ink-soft: #556269;
  --ink-faint: #8e9999;
  --line: #dde1db;
  --white: #fffefa;
  --cobalt: #3157d4;
  --cobalt-dark: #2543aa;
  --teal: #07877d;
  --teal-light: #e2f2ed;
  --amber: #e6a935;
  --amber-light: #fff3d8;
  --coral: #d96854;
  --shadow: 0 14px 40px rgba(22, 37, 43, 0.07);
  --radius: 14px;
}

* { box-sizing: border-box; }

html { min-width: 320px; background: var(--paper); scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: 'Avenir Next', 'Segoe UI', system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

button, input { font: inherit; }
button { cursor: pointer; }
button:focus-visible, input:focus-visible, [role='button']:focus-visible { outline: 3px solid rgba(49, 87, 212, .28); outline-offset: 3px; }

.app-shell { display: flex; min-height: 100vh; }

.sidebar {
  width: 260px;
  flex: 0 0 260px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 30px 22px 24px;
  color: #dfe9e4;
  background: #1a2d33;
}

.brand-lockup { display: flex; align-items: center; gap: 12px; padding: 0 8px; }
.brand-mark { position: relative; width: 31px; height: 31px; }
.brand-mark span { position: absolute; display: block; width: 8px; height: 8px; border: 2px solid #7bc8b5; border-radius: 50%; }
.brand-mark span:nth-child(1) { top: 0; left: 11px; }
.brand-mark span:nth-child(2) { bottom: 2px; left: 1px; border-color: #e5ac46; }
.brand-mark span:nth-child(3) { bottom: 2px; right: 1px; border-color: #6d92ee; }
.brand-mark::before, .brand-mark::after { position: absolute; content: ''; width: 16px; height: 1px; background: #57736f; top: 15px; left: 7px; transform: rotate(62deg); transform-origin: left center; }
.brand-mark::after { transform: rotate(-62deg); top: 16px; left: 8px; }
.brand-name { margin: 0; font: 600 20px/1 'Avenir Next', 'Segoe UI', system-ui, sans-serif; letter-spacing: -.05em; color: #fffef7; }
.brand-name span { color: #7bc8b5; }
.brand-subtitle { margin: 5px 0 0; color: #8aa19e; font-size: 10px; letter-spacing: .13em; text-transform: uppercase; }

.course-nav { margin-top: 60px; }
.nav-label, .rail-label { margin: 0 8px 12px; color: #718886; font: 500 10px/1 'DM Mono', monospace; letter-spacing: .14em; text-transform: uppercase; }
.nav-item { width: 100%; min-height: 43px; display: flex; align-items: center; gap: 11px; padding: 9px 9px; border: 0; border-radius: 9px; color: #a7b8b4; background: transparent; text-align: left; font-size: 13px; transition: background .2s, color .2s, transform .2s; }
.nav-item + .nav-item { margin-top: 5px; }
.nav-item:hover { color: #f4faf5; background: rgba(255,255,255,.06); transform: translateX(2px); }
.nav-item.is-active { color: #fffef7; background: rgba(255,255,255,.1); }
.nav-icon { width: 22px; text-align: center; color: #83b8a9; font-size: 16px; }
.nav-icon-review { color: #efbb5c; font-size: 15px; }
.chapter-dot { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 7px; font: 500 10px 'DM Mono', monospace; color: #fff; }
.dot-cobalt { background: var(--cobalt); }.dot-teal { background: var(--teal); }.dot-amber { color: #1a2d33; background: var(--amber); }.dot-violet { background: #7867c7; }.dot-coral { background: var(--coral); }.dot-sage { color: #1a2d33; background: #a9c98f; }.dot-indigo { background: #4b6cb7; }.dot-plum { background: #9b5c8a; }.dot-rust { background: #bf6b45; }
.sidebar-spacer { flex: 1; min-height: 80px; }
.progress-card { padding: 16px 15px 15px; border: 1px solid rgba(156, 192, 180, .22); border-radius: 11px; background: rgba(255,255,255,.045); }
.progress-card-heading { display: flex; justify-content: space-between; color: #dce8e1; font-size: 12px; }
.progress-card-heading strong { color: #f1c363; font: 500 11px 'DM Mono', monospace; }
.progress-track { height: 5px; overflow: hidden; margin: 13px 0 10px; border-radius: 20px; background: #344c50; }
.progress-track span { display: block; width: 0%; height: 100%; border-radius: inherit; background: #78c8b4; transition: width .45s ease; }
.progress-card p { margin: 0; color: #8da09d; font-size: 11px; line-height: 1.45; }
.reset-button { align-self: flex-start; margin: 15px 8px 0; padding: 0; border: 0; color: #79908e; background: transparent; font-size: 11px; text-decoration: underline; text-underline-offset: 3px; }
.reset-button:hover { color: #c6d4cd; }
.sidebar-footnote { margin: 30px 8px 0; color: #5f7775; font: 10px/1.65 'DM Mono', monospace; }

.main-content { width: calc(100% - 260px); min-width: 0; }
.site-disclaimer { max-width: 1420px; margin: 24px auto 0; padding: 20px 58px 28px; border-top: 1px solid var(--line); }
.site-disclaimer p { max-width: 980px; margin: 0; font-size: 11px; line-height: 1.5; color: #626b6d; }
div[data-tip-jar] { margin-top: 1rem; }
.auth-page { display: grid; grid-template-rows: 1fr auto; min-height: 100vh; place-items: center; padding: 28px; }
.auth-page .site-disclaimer { width: min(760px, 100%); text-align: center; }
.topbar { min-height: 81px; display: flex; align-items: center; justify-content: space-between; padding: 0 58px; border-bottom: 1px solid var(--line); }
.breadcrumb { display: flex; align-items: center; gap: 10px; color: var(--ink-faint); font: 11px 'DM Mono', monospace; }
.breadcrumb strong { color: var(--ink); font-weight: 500; }
.breadcrumb-slash { color: #c0c8c2; }
.topbar-actions { display: flex; align-items: center; gap: 17px; }
.offline-pill { color: var(--ink-faint); font: 10px 'DM Mono', monospace; }
.offline-dot { display: inline-block; width: 6px; height: 6px; margin: 0 5px 1px 0; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 3px var(--teal-light); }
.icon-button { width: 27px; height: 27px; display: grid; place-items: center; padding: 0; border: 1px solid #cbd3cc; border-radius: 50%; color: var(--ink-soft); background: transparent; font: 500 13px 'DM Mono', monospace; }
.icon-button:hover { color: var(--cobalt); border-color: var(--cobalt); }

.view { max-width: 1420px; margin: 0 auto; padding: 50px 58px 76px; }
.view[hidden] { display: none; }
.eyebrow { margin: 0 0 14px; color: var(--teal); font: 500 10px/1 'DM Mono', monospace; letter-spacing: .18em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: 'Avenir Next', 'Segoe UI', system-ui, sans-serif; font-weight: 600; letter-spacing: -.045em; }
h1 { margin-bottom: 18px; font-size: clamp(42px, 5vw, 58px); line-height: .99; }
h1 em { color: var(--cobalt); font-style: normal; }
h2 { margin-bottom: 8px; font-size: 25px; line-height: 1.1; }

.dashboard-hero { min-height: 360px; display: grid; grid-template-columns: minmax(0, .95fr) minmax(350px, 1.05fr); gap: 40px; align-items: center; padding: 26px 48px 24px 48px; overflow: hidden; border-radius: 18px; background: #e7efec; }
.hero-copy { max-width: 500px; }
.hero-lede { max-width: 460px; margin-bottom: 25px; color: #526762; font-size: 16px; line-height: 1.65; }
.primary-button { display: inline-flex; align-items: center; justify-content: center; gap: 18px; padding: 13px 16px 13px 20px; border: 0; border-radius: 7px; color: #fff; background: var(--cobalt); box-shadow: 0 8px 18px rgba(49, 87, 212, .18); font-weight: 600; transition: transform .2s, background .2s, box-shadow .2s; }
.primary-button:hover { background: var(--cobalt-dark); box-shadow: 0 11px 23px rgba(49, 87, 212, .24); transform: translateY(-2px); }
.button-arrow { width: 25px; height: 25px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.18); font-size: 16px; }
.hero-visual { position: relative; min-height: 315px; }
.orbit { position: absolute; border: 1px solid rgba(49, 87, 212, .17); border-radius: 50%; transform: rotate(-22deg); }
.orbit-one { width: 280px; height: 145px; top: 78px; left: 50%; transform: translateX(-50%) rotate(-22deg); }
.orbit-two { width: 318px; height: 180px; top: 62px; left: 50%; transform: translateX(-50%) rotate(39deg); border-color: rgba(7, 135, 125, .2); }
.molecule { position: absolute; left: 50%; top: 50%; width: 48px; height: 48px; transform: translate(-50%, -50%); border-radius: 50%; background: #dce8f1; box-shadow: 0 7px 18px rgba(49, 87, 212, .18); }
.molecule b { position: absolute; inset: 12px; border-radius: 50%; background: var(--cobalt); box-shadow: inset 4px 4px 5px rgba(255,255,255,.23); }
.molecule i { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }
.molecule i:nth-child(1) { top: -2px; left: 20px; }.molecule i:nth-child(2) { bottom: 2px; left: -1px; }.molecule i:nth-child(3) { right: -2px; bottom: 3px; }
.molecule-center::after { position: absolute; content: ''; width: 80px; height: 1px; top: 23px; left: -16px; background: rgba(49,87,212,.23); transform: rotate(60deg); }
.molecule-small { width: 28px; height: 28px; box-shadow: 0 4px 12px rgba(49, 87, 212, .12); }
.molecule-small b { inset: 7px; background: var(--amber); }.molecule-small i { width: 5px; height: 5px; }.molecule-small i:nth-child(1) { top: -2px; left: 11px; }.molecule-small i:nth-child(2) { bottom: 1px; left: 0; }.molecule-small i:nth-child(3) { bottom: 1px; right: 0; }
.molecule-a { top: 48px; left: 25%; }.molecule-b { top: 78%; left: 76%; }.molecule-b b { background: var(--coral); }
.hero-note { position: absolute; padding: 4px 7px; border-radius: 3px; background: rgba(255,254,247,.76); color: #77918a; font: 9px 'DM Mono', monospace; letter-spacing: .08em; text-transform: uppercase; }.note-one { top: 23px; right: 13%; }.note-two { left: 15%; bottom: 25%; }.note-three { right: 16%; bottom: 13%; }

.stats-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 20px 0 54px; }
.stat-card { min-height: 116px; display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto 1fr auto; padding: 17px 20px 16px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); }
.stat-label { color: var(--ink-faint); font: 10px 'DM Mono', monospace; letter-spacing: .08em; text-transform: uppercase; }.stat-card strong { grid-row: 2 / 4; align-self: end; color: var(--ink); font: 500 31px/1 'Avenir Next', 'Segoe UI', system-ui, sans-serif; letter-spacing: -.06em; }.stat-plus { color: var(--cobalt); font-size: 19px; }.stat-detail { align-self: end; color: var(--ink-soft); font-size: 11px; text-align: right; }.stat-card-accent { background: var(--amber-light); border-color: #f0dcae; }.stat-card-accent strong { color: #a66b19; }
.section-heading { display: flex; justify-content: space-between; align-items: end; margin-bottom: 20px; }.section-heading .eyebrow { margin-bottom: 10px; }.section-meta { color: var(--ink-faint); font: 10px 'DM Mono', monospace; }
.study-tip { position: relative; display: flex; align-items: center; gap: 16px; margin-top: 30px; padding: 18px 23px; border: 1px solid #ead8a8; border-radius: 10px; background: #fff9e9; }.tip-icon { width: 30px; height: 30px; display: grid; place-items: center; flex: 0 0 30px; border-radius: 50%; color: #a7741f; background: #f6e6b8; }.tip-kicker { margin: 0 0 2px; color: #b27c20; font: 10px 'DM Mono', monospace; letter-spacing: .1em; text-transform: uppercase; }.study-tip p:last-of-type { margin: 0; color: #736342; font-size: 13px; }.tip-review { margin-left: auto; color: #a7741f; white-space: nowrap; }.tip-review span { margin-left: 5px; }.tip-mark { align-self: flex-start; color: #ddc88e; font: 10px 'DM Mono', monospace; }

.module-topline { display: flex; align-items: center; justify-content: space-between; margin-bottom: 32px; }.back-button { padding: 0; border: 0; color: var(--ink-soft); background: transparent; font-size: 12px; }.back-button span { display: inline-block; margin-right: 7px; color: var(--cobalt); font-size: 17px; transition: transform .2s; }.back-button:hover span { transform: translateX(-4px); }.module-session-meta { color: var(--ink-faint); font: 10px 'DM Mono', monospace; }.session-dot { padding: 0 7px; color: #bdc8c2; }
.module-heading { display: flex; justify-content: space-between; align-items: end; gap: 30px; }.module-heading-copy { max-width: 760px; }.module-heading h1 { margin-bottom: 12px; color: var(--ink); font-size: clamp(38px, 4.5vw, 58px); }.module-heading h1 em { color: inherit; }.module-heading p:last-child { margin: 0; color: var(--ink-soft); font-size: 16px; }.module-progress-ring { position: relative; width: 72px; height: 72px; flex: 0 0 72px; }.module-progress-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }.module-progress-ring circle { fill: none; stroke-width: 2.6; }.module-progress-ring .ring-track { stroke: #e1e6e0; }.module-progress-ring .ring-value { stroke: var(--teal); stroke-linecap: round; stroke-dasharray: 106.8 106.8; stroke-dashoffset: 106.8; transition: stroke-dashoffset .4s; }.module-progress-ring span { position: absolute; inset: 0; display: grid; place-items: center; color: var(--ink); font: 500 10px 'DM Mono', monospace; }.module-progress-line { height: 2px; margin: 28px 0 37px; overflow: hidden; background: #e4e8e3; }.module-progress-line span { display: block; width: 0; height: 100%; background: var(--teal); transition: width .4s; }
.lesson-layout { display: grid; grid-template-columns: 200px minmax(0, 750px); gap: 64px; max-width: 1040px; }.lesson-rail { padding-top: 6px; border-right: 1px solid var(--line); }.rail-label { margin-left: 0; }.rail-step { position: relative; display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px 17px 8px 0; border: 0; color: var(--ink-faint); background: transparent; text-align: left; font-size: 11px; }.rail-step::after { position: absolute; content: ''; width: 5px; height: 5px; top: 15px; right: -3px; border-radius: 50%; background: #cbd5ce; box-shadow: 0 0 0 3px var(--paper); }.rail-step.is-current { color: var(--ink); font-weight: 600; }.rail-step.is-current::after { background: var(--cobalt); }.rail-step.is-complete { color: var(--teal); }.rail-step.is-complete::after { background: var(--teal); }.rail-step-index { width: 21px; color: inherit; font: 10px 'DM Mono', monospace; }.rail-bottom-note { display: flex; align-items: center; gap: 9px; margin-top: 40px; padding-top: 15px; border-top: 1px solid var(--line); }.mini-star { color: var(--amber); }.rail-bottom-note p { margin: 0; color: var(--ink-faint); font: 10px/1.5 'DM Mono', monospace; }
.lesson-stage { min-width: 0; padding-bottom: 40px; }.lesson-card { animation: rise-in .32s ease both; }.lesson-card .step-kicker { margin: 0 0 13px; color: var(--teal); font: 500 10px 'DM Mono', monospace; letter-spacing: .14em; text-transform: uppercase; }.lesson-card h2 { max-width: 710px; margin-bottom: 17px; font-size: clamp(30px, 4vw, 43px); line-height: 1.04; }.lesson-card .lesson-intro { max-width: 675px; margin-bottom: 28px; color: var(--ink-soft); font-size: 16px; line-height: 1.7; }.lesson-callout { max-width: 660px; margin: 25px 0 28px; padding: 17px 20px; border-left: 3px solid var(--amber); border-radius: 0 8px 8px 0; background: var(--amber-light); color: #665733; }.lesson-callout strong { display: block; margin-bottom: 4px; color: #9b6d20; font: 500 10px 'DM Mono', monospace; letter-spacing: .1em; text-transform: uppercase; }.lesson-callout p { margin: 0; font-size: 14px; }.concept-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 25px 0 31px; }.concept-card { min-height: 125px; padding: 16px; border: 1px solid var(--line); border-radius: 9px; background: var(--white); }.concept-card .concept-number { color: var(--cobalt); font: 500 10px 'DM Mono', monospace; }.concept-card h3 { margin: 18px 0 5px; font-size: 17px; letter-spacing: -.03em; }.concept-card p { margin: 0; color: var(--ink-soft); font-size: 12px; line-height: 1.45; }.example-strip { display: flex; align-items: center; gap: 15px; margin: 25px 0 31px; padding: 16px 19px; border-radius: 8px; background: #edf3f0; }.example-strip-icon { width: 29px; height: 29px; display: grid; place-items: center; flex: 0 0 29px; border-radius: 7px; color: #fff; background: var(--teal); font-size: 14px; }.example-strip p { margin: 0; color: #4e6860; font-size: 13px; }.example-strip strong { color: var(--ink); }
.lesson-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 36px; }.text-button { padding: 0; border: 0; color: var(--ink-soft); background: transparent; font-size: 12px; }.text-button:hover { color: var(--cobalt); }.next-button { min-width: 145px; }.question-meta { display: flex; gap: 9px; align-items: center; margin-bottom: 16px; color: var(--ink-faint); font: 10px 'DM Mono', monospace; }.question-meta .question-type { padding: 4px 7px; border-radius: 4px; color: var(--cobalt); background: #e8edff; }.question-prompt { max-width: 670px; margin-bottom: 24px; font-size: 23px; font-weight: 500; line-height: 1.3; letter-spacing: -.025em; }.answer-options { display: grid; gap: 10px; max-width: 675px; }.answer-option { position: relative; display: flex; align-items: flex-start; gap: 13px; width: 100%; padding: 14px 16px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); background: var(--white); text-align: left; font-size: 13px; transition: border .2s, background .2s, transform .2s; }.answer-option:hover { border-color: #a9b9b1; transform: translateX(2px); }.answer-option.is-selected { border-color: var(--cobalt); background: #eef1ff; }.answer-option.is-correct { border-color: var(--teal); background: #e7f5ef; }.answer-option.is-wrong { border-color: var(--coral); background: #fff0eb; }.option-mark { width: 22px; height: 22px; display: grid; place-items: center; flex: 0 0 22px; border: 1px solid #cbd5ce; border-radius: 50%; color: var(--ink-faint); font: 10px 'DM Mono', monospace; }.answer-option.is-selected .option-mark { color: #fff; border-color: var(--cobalt); background: var(--cobalt); }.answer-option.is-correct .option-mark { color: #fff; border-color: var(--teal); background: var(--teal); }.answer-option.is-wrong .option-mark { color: #fff; border-color: var(--coral); background: var(--coral); }.multi-option .option-mark { border-radius: 4px; }
.answer-note { margin: -2px 0 14px; color: var(--ink-faint); font: 10px 'DM Mono', monospace; }.text-input-row { display: flex; align-items: center; gap: 9px; max-width: 675px; }.number-input { width: 180px; padding: 13px 14px; border: 1px solid #bfcac3; border-radius: 7px; outline: 0; color: var(--ink); background: var(--white); font: 500 16px 'DM Mono', monospace; }.number-input:focus { border-color: var(--cobalt); box-shadow: 0 0 0 3px #e6ebff; }.input-unit { color: var(--ink-soft); font: 12px 'DM Mono', monospace; }.order-list { display: grid; gap: 8px; max-width: 675px; }.order-item { display: flex; align-items: center; gap: 12px; padding: 13px 15px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); background: var(--white); cursor: grab; }.order-item:active { cursor: grabbing; }.order-item.is-dragging { opacity: .45; }.drag-handle { color: #a5b2ad; font-size: 14px; letter-spacing: -4px; }.order-number { width: 21px; height: 21px; display: grid; place-items: center; border-radius: 50%; color: var(--cobalt); background: #e8edff; font: 10px 'DM Mono', monospace; }.order-hint { margin-top: 10px; color: var(--ink-faint); font: 10px 'DM Mono', monospace; }
.match-grid { display: grid; gap: 10px; max-width: 700px; }.match-row { display: grid; grid-template-columns: minmax(120px, .7fr) minmax(190px, 1.3fr); align-items: center; gap: 14px; }.match-term { padding: 12px 13px; border-radius: 7px; color: var(--cobalt-dark); background: #e8edff; font-weight: 600; font-size: 12px; }.match-select { width: 100%; padding: 12px 10px; border: 1px solid #c6d0ca; border-radius: 7px; color: var(--ink); background: var(--white); font-size: 12px; }.match-row.is-correct .match-select { border-color: var(--teal); background: #e7f5ef; }.match-row.is-wrong .match-select { border-color: var(--coral); background: #fff0eb; }
.practice-actions { display: flex; align-items: center; gap: 15px; margin-top: 25px; }.hint-button { padding: 0; border: 0; color: #ae7a20; background: transparent; font-size: 12px; text-decoration: underline; text-underline-offset: 3px; }.hint-box { max-width: 650px; margin-top: 17px; padding: 12px 15px; border-radius: 7px; color: #705c36; background: var(--amber-light); font-size: 12px; }.hint-box strong { margin-right: 5px; color: #a27021; font: 500 10px 'DM Mono', monospace; text-transform: uppercase; }.feedback { display: flex; gap: 12px; max-width: 675px; margin-top: 21px; padding: 14px 16px; border-radius: 8px; }.feedback.is-correct { color: #176c5e; background: #e2f3ed; }.feedback.is-wrong { color: #8d4437; background: #fff0eb; }.feedback-icon { width: 24px; height: 24px; display: grid; place-items: center; flex: 0 0 24px; border-radius: 50%; color: #fff; background: currentColor; font-size: 12px; }.feedback.is-correct .feedback-icon { color: #269a85; }.feedback.is-wrong .feedback-icon { color: #d96854; }.feedback strong { display: block; margin-bottom: 2px; font: 600 12px 'DM Sans', sans-serif; }.feedback p { margin: 0; font-size: 12px; line-height: 1.5; }.completion-card { max-width: 700px; padding: 28px; border: 1px solid #d3e5dc; border-radius: 12px; background: #eef8f2; }.completion-mark { width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 22px; border-radius: 50%; color: #fff; background: var(--teal); font-size: 22px; }.completion-card h2 { margin-bottom: 10px; }.completion-card p { color: var(--ink-soft); }.completion-score { display: flex; gap: 30px; margin: 23px 0; }.completion-score div { display: grid; gap: 3px; }.completion-score strong { color: var(--ink); font: 500 25px 'Space Grotesk', sans-serif; }.completion-score span { color: var(--ink-faint); font: 10px 'DM Mono', monospace; text-transform: uppercase; }
.toast { position: fixed; right: 24px; bottom: 24px; z-index: 10; max-width: 280px; padding: 12px 16px; border-radius: 7px; color: #fff; background: #1a2d33; box-shadow: var(--shadow); font-size: 12px; opacity: 0; pointer-events: none; transform: translateY(10px); transition: opacity .25s, transform .25s; }.toast.is-visible { opacity: 1; transform: translateY(0); }
.shortcut-dialog { position: relative; width: min(420px, calc(100% - 32px)); padding: 30px; border: 1px solid var(--line); border-radius: 14px; color: var(--ink); background: var(--paper); box-shadow: 0 25px 90px rgba(22,37,43,.2); }.shortcut-dialog::backdrop { background: rgba(20,37,42,.4); }.shortcut-dialog h2 { max-width: 280px; font-size: 28px; }.dialog-close { position: absolute; right: 15px; top: 12px; border: 0; color: var(--ink-faint); background: transparent; font-size: 24px; }.shortcut-row { display: flex; align-items: center; gap: 13px; padding: 12px 0; border-top: 1px solid var(--line); }.shortcut-row span { min-width: 42px; padding: 4px 7px; border: 1px solid #cad3cb; border-radius: 5px; color: var(--cobalt); background: #fff; font: 10px 'DM Mono', monospace; text-align: center; }.shortcut-row p { margin: 0; color: var(--ink-soft); font-size: 12px; }
@keyframes rise-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 1050px) { .sidebar { width: 220px; flex-basis: 220px; padding-left: 16px; padding-right: 16px; }.main-content { width: calc(100% - 220px); }.topbar, .view { padding-left: 35px; padding-right: 35px; }.dashboard-hero { padding-left: 34px; padding-right: 34px; }.lesson-layout { gap: 35px; } }
@media (max-width: 800px) { .app-shell { display: block; }.sidebar { width: 100%; min-height: auto; padding: 18px 20px 15px; }.brand-lockup { padding: 0; }.course-nav { display: flex; gap: 4px; margin-top: 19px; overflow-x: auto; }.nav-label, .sidebar-spacer, .progress-card, .reset-button, .sidebar-footnote { display: none; }.nav-item { width: auto; min-width: max-content; min-height: 36px; padding: 6px 9px; font-size: 11px; }.nav-item + .nav-item { margin-top: 0; }.nav-icon, .chapter-dot { width: 20px; height: 20px; }.main-content { width: 100%; }.topbar { min-height: 62px; padding: 0 20px; }.offline-pill { display: none; }.view { padding: 33px 20px 55px; }.site-disclaimer { padding-right: 20px; padding-left: 20px; }.dashboard-hero { grid-template-columns: 1fr; min-height: 0; padding: 31px 25px 0; }.hero-visual { min-height: 200px; margin-top: -4px; }.orbit-one { top: 31px; }.orbit-two { top: 17px; }.molecule-center { top: 52%; }.molecule-a { top: 8%; }.molecule-b { top: 68%; }.hero-note { display: none; }.stats-row { gap: 8px; margin-bottom: 39px; }.stat-card { min-height: 110px; padding: 13px 12px; }.stat-card strong { font-size: 25px; }.stat-detail { font-size: 9px; }.section-heading { align-items: start; }.section-meta { display: none; }.study-tip { align-items: flex-start; flex-wrap: wrap; }.tip-review { margin-left: 46px; }.tip-mark { margin-left: auto; }.module-heading { align-items: start; }.module-heading h1 { font-size: 41px; }.module-progress-ring { width: 55px; height: 55px; flex-basis: 55px; }.lesson-layout { grid-template-columns: 1fr; gap: 25px; }.lesson-rail { display: flex; align-items: center; gap: 4px; padding: 0 0 11px; border-right: 0; border-bottom: 1px solid var(--line); overflow-x: auto; }.rail-label { display: none; }.rail-step { width: auto; padding: 7px 10px; white-space: nowrap; }.rail-step::after { right: auto; top: auto; bottom: -3px; left: 17px; }.rail-bottom-note { display: none; }.module-progress-line { margin-bottom: 25px; } }
@media (max-width: 480px) { h1 { font-size: 43px; }.topbar { padding: 0 15px; }.breadcrumb span:first-child { max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.view { padding-left: 15px; padding-right: 15px; }.stats-row { grid-template-columns: 1fr; }.stat-card { min-height: 76px; grid-template-columns: 1fr auto; grid-template-rows: auto 1fr; }.stat-card strong { grid-row: 1 / 3; font-size: 25px; }.stat-detail { grid-column: 1; text-align: left; }.module-topline { margin-bottom: 26px; }.module-session-meta { font-size: 9px; }.module-heading { gap: 10px; }.module-heading h1 { font-size: 37px; }.module-heading p:last-child { font-size: 14px; }.question-prompt { font-size: 20px; }.lesson-card h2 { font-size: 32px; }.lesson-footer { gap: 10px; }.next-button { min-width: 120px; padding-left: 12px; padding-right: 12px; }.match-row { grid-template-columns: 1fr; gap: 5px; }.text-input-row { flex-wrap: wrap; }.concept-grid { grid-template-columns: 1fr; }.completion-score { gap: 16px; }.completion-score strong { font-size: 21px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; } }
