/* Shared TestNova learning reader: calm, documentation-first layout. */
.learning-reader-modern {
  --reader-bg: #0b1120;
  --reader-surface: #101827;
  --reader-surface-soft: #151f30;
  --reader-border: #263348;
  --reader-text: #e8edf5;
  --reader-muted: #aab5c5;
  --reader-subtle: #7f8ca0;
  --reader-accent: #62d5e8;
  --reader-accent-strong: #22b8cf;
  --reader-success: #4ade80;
  --reader-warning: #fbbf24;
  --reader-danger: #fb7185;
  background: var(--reader-bg);
}

.learning-reader-modern::before,
.learning-reader-modern::after { display: none; }

.learning-reader-modern .ai-reader-shell {
  display: grid;
  grid-template-columns: minmax(280px, 300px) minmax(0, 1fr);
  gap: clamp(2rem, 3vw, 3.5rem);
  width: min(1440px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 1.5rem 0 5rem;
}

.learning-reader-modern .ai-reader-sidebar {
  position: sticky;
  top: calc(var(--reader-header-height, 70px) + 1rem);
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-height: calc(100vh - var(--reader-header-height, 70px) - 2rem);
  padding: 0 1rem 1rem 0;
  overflow: auto;
  border: 0;
  border-right: 1px solid var(--reader-border);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  scrollbar-width: thin;
  scrollbar-color: #344258 transparent;
  box-sizing: border-box;
  min-width: 0;
}

.reader-sidebar-topline { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.learning-reader-modern .reader-sidebar-topline .text-link {
  color: var(--reader-muted);
  font-size: 0.84rem;
  text-decoration: none;
}
.learning-reader-modern .reader-sidebar-topline .text-link:hover { color: var(--reader-text); }
.reader-sidebar-close { display: none; }
.reader-eyebrow,
.reader-kicker {
  color: var(--reader-accent);
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.learning-reader-modern .ai-reader-sidebar-copy { gap: 0.35rem; }
.learning-reader-modern .ai-reader-sidebar-copy h1 {
  margin: 0;
  font-size: 1.65rem;
  letter-spacing: -0.025em;
}
.learning-reader-modern .ai-reader-sidebar-copy p {
  margin: 0;
  color: var(--reader-muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.learning-reader-modern .progress-panel {
  display: grid;
  gap: 0.55rem;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0.8rem;
  border: 1px solid var(--reader-border);
  border-radius: 10px;
  background: var(--reader-surface);
  box-shadow: none;
  overflow: visible;
}
.learning-reader-modern .progress-panel::before { display: none; }
.learning-reader-modern .progress-header,
.learning-reader-modern .xp-meta { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; min-width: 0; }
.learning-reader-modern .progress-header strong { color: var(--reader-text); font-size: 0.84rem; }
.learning-reader-modern .progress-counts,
.learning-reader-modern .xp-meta { color: var(--reader-muted); font-size: 0.76rem; font-weight: 600; }
.learning-reader-modern .progress-counts { flex: none; white-space: nowrap; }
.learning-reader-modern .xp-bar { display: block; width: 100%; min-width: 0; height: 9px; overflow: hidden; border: 1px solid color-mix(in srgb, var(--reader-accent) 28%, var(--reader-border)); border-radius: 999px; background: color-mix(in srgb, var(--reader-accent) 12%, var(--reader-surface-soft)); }
.learning-reader-modern .xp-fill { display: block; width: 0; height: 100%; border-radius: inherit; background: var(--reader-accent-strong); transition: width 180ms ease; }

.reader-search { position: relative; display: block; }
.reader-search svg {
  position: absolute;
  top: 50%;
  left: 0.72rem;
  width: 17px;
  height: 17px;
  fill: none;
  stroke: var(--reader-subtle);
  stroke-width: 2;
  transform: translateY(-50%);
  pointer-events: none;
}
.reader-search input {
  width: 100%;
  min-height: 42px;
  padding: 0.58rem 0.75rem 0.58rem 2.2rem;
  border: 1px solid var(--reader-border);
  border-radius: 8px;
  color: var(--reader-text);
  background: var(--reader-surface);
  font: inherit;
  font-size: 0.88rem;
}
.reader-search input::placeholder { color: var(--reader-subtle); }
.reader-search input:focus { outline: 2px solid var(--reader-accent); outline-offset: 2px; border-color: transparent; }

.learning-reader-modern .ai-reader-topic-nav { display: grid; gap: 0.45rem; }
.learning-reader-modern .ai-reader-topic-nav.reader-topic-list { gap: 0.2rem; }
.reader-nav-group { border-bottom: 1px solid rgba(127, 140, 160, 0.2); padding-bottom: 0.35rem; }
.reader-nav-group[hidden] { display: none; }
.reader-nav-group > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  height: auto;
  padding: 0.5rem 0.35rem;
  line-height: 1.35;
  color: var(--reader-muted);
  cursor: pointer;
  font-size: 0.77rem;
  font-weight: 750;
  letter-spacing: 0.065em;
  list-style: none;
  text-transform: uppercase;
}
.reader-nav-group > summary::-webkit-details-marker { display: none; }
.reader-nav-group > summary > span {
  display: block;
  flex: 1 1 auto;
  min-width: 0;
  width: auto;
  height: auto;
  border-radius: 0;
  color: inherit;
  background: transparent;
  font: inherit;
  overflow-wrap: anywhere;
}
.reader-nav-group > summary::after { content: '›'; margin-left: auto; color: var(--reader-subtle); font-size: 1.2rem; transform: rotate(0); transition: transform 150ms ease; }
.reader-nav-group[open] > summary::after { transform: rotate(90deg); }
.reader-nav-group > summary small { order: 2; margin-left: 0.55rem; color: var(--reader-subtle); font-size: 0.72rem; }
.reader-nav-group-items { display: grid; gap: 0.2rem; padding: 0.15rem 0 0.45rem; }

.learning-reader-modern .ai-reader-topic-nav button[data-topic-link] {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr) 16px;
  gap: 0.55rem;
  align-items: center;
  width: 100%;
  min-height: 48px;
  height: auto;
  padding: 0.65rem 0.55rem;
  border: 1px solid transparent;
  border-radius: 7px;
  color: var(--reader-muted);
  background: transparent;
  text-align: left;
  cursor: pointer;
}
.learning-reader-modern .ai-reader-topic-nav button[data-topic-link]:hover { color: var(--reader-text); background: rgba(98, 213, 232, 0.07); }
.learning-reader-modern .ai-reader-topic-nav button[data-topic-link].active {
  color: var(--reader-text);
  border-color: rgba(98, 213, 232, 0.28);
  background: rgba(98, 213, 232, 0.1);
}
.learning-reader-modern .ai-reader-topic-nav button[data-topic-link] > span {
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border-radius: 6px;
  color: var(--reader-subtle);
  background: #1b2638;
  font-size: 0.72rem;
  font-weight: 700;
}
.learning-reader-modern .ai-reader-topic-nav button[data-topic-link] strong { min-width: 0; overflow: visible; overflow-wrap: anywhere; word-break: normal; font-size: 0.84rem; font-weight: 600; line-height: 1.45; }
.learning-reader-modern .ai-reader-topic-nav button[data-topic-link] i { visibility: hidden; color: var(--reader-success); font-style: normal; }
.learning-reader-modern .ai-reader-topic-nav button[data-topic-link].is-done i { visibility: visible; }
.learning-reader-modern .ai-reader-topic-nav button[hidden] { display: none; }

.learning-reader-modern .ai-reader-main { min-width: 0; display: block; }
.learning-reader-modern .ai-reader-toolbar {
  position: relative;
  top: auto;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  width: min(100%, 720px);
  max-width: none;
  margin: 0 auto 1.5rem;
  padding: 0.65rem 0;
  border: 0;
  border-bottom: 1px solid var(--reader-border);
  border-radius: 0;
  color: var(--reader-subtle);
  background: rgba(11, 17, 32, 0.94);
  box-shadow: none;
  backdrop-filter: blur(8px);
  font-size: 0.8rem;
}
.reader-position { white-space: nowrap; }

.learning-reader-modern .ai-reader-content {
  min-height: 62vh;
  width: min(100%, 720px);
  max-width: none;
  margin: 0 auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  scroll-margin-top: calc(var(--reader-header-height, 70px) + 1rem);
}
.reader-lesson-wrap { width: 100%; }
.reader-lesson-header { margin-bottom: 2.25rem; padding-bottom: 1.6rem; border-bottom: 1px solid var(--reader-border); }
.reader-lesson-header::before {
  content: '';
  display: block;
  width: 72px;
  height: 5px;
  margin-bottom: 1.1rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--reader-accent), #8b5cf6, #f59e0b);
}
.reader-kicker { margin: 0 0 0.7rem; }
.learning-reader-modern .reader-lesson-header h2 {
  margin: 0 0 0.75rem;
  max-width: 28ch;
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
  padding-block: 0.08em;
  overflow-wrap: break-word;
}
.reader-lesson-meta { display: flex; flex-wrap: wrap; gap: 0.5rem 1.1rem; margin-bottom: 1.4rem; color: var(--reader-subtle); font-size: 0.82rem; }
.reader-lesson-meta span + span::before { content: '·'; margin-right: 1.1rem; }
.reader-learning-objective {
  padding: 1rem 1.1rem;
  border: 1px solid color-mix(in srgb, var(--reader-accent) 28%, var(--reader-border));
  border-left: 4px solid var(--reader-accent-strong);
  border-radius: 9px;
  background: color-mix(in srgb, var(--reader-accent) 9%, var(--reader-surface));
}
.learning-reader-modern .reader-learning-objective h3,
.learning-reader-modern .reader-lesson-section > h3,
.learning-reader-modern .reader-learning-callout > h3 {
  margin: 0 0 0.45rem;
  color: var(--reader-text);
  font-size: 1rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
  padding-block: 0.06em;
  overflow-wrap: break-word;
}
.learning-reader-modern .reader-learning-objective p { margin: 0; color: var(--reader-muted); font-size: 0.98rem; }
.reader-learning-objective h3 span { color: var(--reader-accent); }

.reader-lesson-section { margin: 0 0 2.2rem; }
.reader-lesson-section > h3 { display: flex; align-items: center; gap: 0.55rem; }
.reader-lesson-section > h3 > span {
  display: inline-grid;
  min-width: 48px;
  height: 24px;
  padding-inline: 0.45rem;
  place-items: center;
  border-radius: 6px;
  color: #fff;
  background: #2563eb;
  font-size: 0.62rem;
  letter-spacing: 0;
}
.reader-lesson-section--example > h3 > span { background: #7c3aed; }
.learning-reader-modern .ai-reader-edit-body p,
.learning-reader-modern .reader-lesson-section p {
  max-width: 70ch;
  margin: 0 0 1rem;
  color: var(--reader-muted);
  font-size: 1.02rem;
  line-height: 1.78;
}
.learning-reader-modern .ai-reader-edit-body a:not(.primary-btn):not(.secondary-btn) {
  color: #78dceb;
  text-decoration: underline;
  text-decoration-color: rgba(120, 220, 235, 0.55);
  text-underline-offset: 0.18em;
}
.learning-reader-modern .ai-reader-edit-body a:hover { color: #b7f3fb; text-decoration-color: currentColor; }

.learning-reader-modern .ai-ui-block { margin: 0 0 2.2rem; }
.learning-reader-modern .ai-ui-block > h3 { margin: 0 0 0.75rem; font-size: 1rem; }
.learning-reader-modern .ai-ui-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  padding: 1rem;
  border: 1px solid var(--reader-border);
  border-radius: 10px;
  background: var(--reader-surface);
}
.learning-reader-modern .ai-ui-flow span { padding: 0.55rem 0.75rem; border: 1px solid #344258; border-radius: 7px; color: var(--reader-text); background: #172235; font-weight: 650; }
.learning-reader-modern .ai-ui-flow i { color: var(--reader-accent); }

.learning-reader-modern .ai-code-example {
  margin: 0.9rem 0 1.25rem;
  overflow: hidden;
  border: 1px solid #2a3850;
  border-radius: 10px;
  background: #080d17;
}
.learning-reader-modern .ai-code-example-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 0.8rem;
  align-items: center;
  min-height: 44px;
  padding: 0.45rem 0.55rem 0.45rem 0.85rem;
  border-bottom: 1px solid #263348;
  background: #111a29;
}
.learning-reader-modern .ai-code-example-header strong { min-width: 0; color: #dce5f1; font-size: 0.83rem; font-weight: 650; line-height: 1.35; overflow-wrap: anywhere; }
.learning-reader-modern .ai-code-example-header span { color: #8b9ab0; font-size: 0.7rem; font-weight: 750; letter-spacing: 0.06em; text-transform: uppercase; }
.learning-reader-modern .ai-code-copy {
  min-height: 32px;
  padding: 0.35rem 0.65rem;
  border: 1px solid #3b4b63;
  border-radius: 6px;
  color: #dce5f1;
  background: #172235;
  font: inherit;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
}
.learning-reader-modern .ai-code-copy:hover { border-color: var(--reader-accent); color: white; }
.learning-reader-modern .ai-code-example pre { max-width: 100%; margin: 0; padding: 1rem; overflow-x: auto; white-space: pre; tab-size: 2; }
.learning-reader-modern .ai-code-example code { color: #d6deeb; font-family: 'Cascadia Code', 'SFMono-Regular', Consolas, monospace; font-size: 0.9rem; line-height: 1.65; }
.token-keyword { color: #c792ea; }
.token-option { color: #82aaff; }
.token-string { color: #c3e88d; }
.token-comment { color: #69798f; font-style: italic; }
.token-number { color: #f78c6c; }
.learning-reader-modern .ai-code-explanation { padding: 0.8rem 0.95rem; border-top: 1px solid #263348; background: #0e1624; }
.learning-reader-modern .ai-code-explanation { border-left: 4px solid #38bdf8; background: #101d2d; }
.learning-reader-modern .ai-code-explanation strong { display: block; margin-bottom: 0.3rem; color: #7dd3fc; font-size: 0.82rem; }
.learning-reader-modern .ai-code-explanation p { margin: 0; color: #c6d4e5; font-size: 0.88rem; line-height: 1.65; }
.ai-code-example--embedded { margin-bottom: 0.7rem; }

.reader-learning-callout { margin: 1.8rem 0; padding: 1rem; border: 1px solid var(--reader-border); border-left-width: 4px; border-radius: 9px; background: var(--reader-surface); }
.reader-learning-callout--try { border-left-color: var(--reader-success); }
.reader-learning-callout--mistake { border-left-color: var(--reader-danger); }
.reader-learning-callout--challenge { border-left-color: var(--reader-accent); }
.reader-learning-callout > h3 { display: flex; align-items: center; gap: 0.5rem; }
.reader-learning-callout > h3 > span { display: grid; width: 24px; height: 24px; place-items: center; border-radius: 6px; color: #fff; background: var(--reader-accent); font-size: 0.75rem; }
.reader-learning-callout--try { background: color-mix(in srgb, #22a06b 8%, var(--reader-surface)); }
.reader-learning-callout--mistake { background: color-mix(in srgb, #dc2626 7%, var(--reader-surface)); }
.reader-learning-callout--challenge { background: color-mix(in srgb, #7c3aed 8%, var(--reader-surface)); }
.learning-reader-modern .reader-learning-callout > p { margin: 0; color: var(--reader-muted); }
.reader-answer { margin-top: 0.8rem; }
.reader-answer summary { width: max-content; padding: 0.5rem 0.7rem; border: 1px solid #3b4b63; border-radius: 7px; color: var(--reader-text); cursor: pointer; font-size: 0.86rem; font-weight: 700; }
.reader-answer[open] summary { margin-bottom: 0.8rem; }

.learning-reader-modern .ai-ui-callout,
.learning-reader-modern .ai-reader-subsection { border-color: var(--reader-border); background: var(--reader-surface); box-shadow: none; }
.learning-reader-modern .ai-reader-subsections { gap: 0.7rem; }
.learning-reader-modern .ai-reader-subsection summary { color: var(--reader-text); background: var(--reader-surface-soft); }
.learning-reader-modern .ai-reader-subsection summary:hover { background: #1a2639; }
.learning-reader-modern .ai-reader-subsection-body { padding: 0.35rem 1rem 1rem; }
.learning-reader-modern .ai-ui-table-wrap { overflow-x: auto; border: 1px solid var(--reader-border); border-radius: 8px; }
.learning-reader-modern .ai-ui-table { min-width: 520px; }

.learning-reader-modern .ai-resource-row a { text-decoration: none; }
.reader-review-grid { display: grid; gap: 0.8rem; margin-top: 2.75rem; }
.reader-review-card {
  padding: 1rem 1.1rem;
  border: 1px solid var(--reader-border);
  border-left: 4px solid;
  border-radius: 10px;
  background: var(--reader-surface);
}
.reader-review-card--practice { border-left-color: #16a34a; background: color-mix(in srgb, #16a34a 7%, var(--reader-surface)); }
.reader-review-card--interview { border-left-color: #7c3aed; background: color-mix(in srgb, #7c3aed 7%, var(--reader-surface)); }
.reader-review-card--check { border-left-color: #ea8a00; background: color-mix(in srgb, #f59e0b 8%, var(--reader-surface)); }
.reader-review-label, .reader-review-card summary small { display: block; margin-bottom: 0.2rem; color: var(--reader-muted); font-size: 0.7rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.reader-review-card h3 { margin: 0.15rem 0 0.35rem; font-size: 1.05rem; }
.reader-review-card p { margin: 0 !important; }
.reader-review-card summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; color: var(--reader-text); cursor: pointer; font-size: 0.95rem; font-weight: 700; list-style: none; }
.reader-review-card summary::-webkit-details-marker { display: none; }
.reader-review-card summary b { flex: none; color: var(--reader-accent); font-size: 0.78rem; }
.reader-review-card[open] summary { margin-bottom: 0.8rem; }
.reader-lesson-navigation {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 0.75rem;
  align-items: center;
  margin-top: 3rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--reader-border);
}
.reader-nav-button,
.reader-complete-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 46px;
  padding: 0.55rem 0.8rem;
  border: 1px solid var(--reader-border);
  border-radius: 8px;
  color: var(--reader-text);
  background: var(--reader-surface);
  font: inherit;
  cursor: pointer;
}
.reader-nav-button--previous { justify-self: start; text-align: left; }
.reader-nav-button--next { justify-self: end; text-align: right; }
.reader-nav-button small { display: block; color: var(--reader-subtle); font-size: 0.68rem; font-weight: 600; }
.reader-nav-button strong { display: block; max-width: 24ch; overflow: hidden; font-size: 0.82rem; text-overflow: ellipsis; white-space: nowrap; }
.reader-nav-button:disabled { cursor: default; opacity: 0.38; }
.reader-complete-button { border-color: rgba(74, 222, 128, 0.35); color: #bbf7d0; background: rgba(74, 222, 128, 0.08); font-weight: 700; }
.reader-complete-button.is-complete { color: #07130b; background: var(--reader-success); }
.reader-nav-button:not(:disabled):hover,
.reader-complete-button:hover { border-color: var(--reader-accent); }

.reader-sidebar-toggle { display: none; }
.reader-sidebar-scrim[hidden] { display: none; }
.reader-static-intro,
.reader-noscript { max-width: 70ch; color: var(--reader-muted); }

.learning-reader-modern button:focus-visible,
.learning-reader-modern summary:focus-visible,
.learning-reader-modern a:focus-visible,
.learning-reader-modern pre:focus-visible {
  outline: 2px solid var(--reader-accent);
  outline-offset: 3px;
}

@media (max-width: 1180px) {
  .learning-reader-modern .ai-reader-shell { display: block; width: min(100% - 2rem, 880px); padding-top: 1rem; }
  .reader-sidebar-toggle {
    position: sticky;
    top: calc(var(--reader-header-height, 70px) + 0.5rem);
    z-index: 30;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 44px;
    margin-bottom: 0.8rem;
    padding: 0.55rem 0.8rem;
    border: 1px solid var(--reader-border);
    border-radius: 8px;
    color: var(--reader-text);
    background: var(--reader-surface);
    font: inherit;
    font-weight: 700;
  }
  .learning-reader-modern .site-nav { display: none; }
  .learning-reader-modern .nav-container { min-height: 70px; }
  .learning-reader-modern .ai-reader-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 80;
    width: min(340px, 88vw);
    height: 100vh;
    height: 100dvh;
    max-height: 100vh;
    max-height: 100dvh;
    overscroll-behavior: contain;
    padding: 1rem;
    border-right: 1px solid var(--reader-border);
    background: var(--reader-bg);
    box-shadow: 20px 0 45px rgba(0, 0, 0, 0.38);
    transform: translateX(-102%);
    transition: transform 180ms ease;
  }
  .learning-reader-modern .ai-reader-sidebar.is-open { transform: translateX(0); }
  .reader-sidebar-close {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border: 1px solid var(--reader-border);
    border-radius: 7px;
    color: var(--reader-text);
    background: var(--reader-surface);
    font: inherit;
    font-size: 1.35rem;
    cursor: pointer;
  }
  .reader-sidebar-scrim { position: fixed; inset: 0; z-index: 70; background: rgba(2, 6, 15, 0.72); }
  .reader-drawer-open { overflow: hidden; }
  .learning-reader-modern .ai-reader-toolbar { width: min(100%, 720px); position: relative; top: auto; }
  .learning-reader-modern .ai-reader-content { scroll-margin-top: calc(var(--reader-header-height, 70px) + 4.5rem); }
}

@media (max-width: 600px) {
  .learning-reader-modern .ai-reader-shell { width: min(100% - 1.25rem, 880px); }
  .learning-reader-modern .reader-lesson-header h2 { font-size: clamp(1.75rem, 9vw, 2.25rem); }
  .reader-lesson-meta { gap: 0.35rem 0.65rem; }
  .reader-lesson-meta span + span::before { margin-right: 0.65rem; }
  .learning-reader-modern .ai-ui-flow { flex-direction: column; align-items: stretch; text-align: center; }
  .learning-reader-modern .ai-ui-flow i { transform: rotate(90deg); }
  .learning-reader-modern .ai-code-example-header { grid-template-columns: minmax(0, 1fr) auto; }
  .learning-reader-modern .ai-code-example-header span { grid-column: 1; grid-row: 2; }
  .learning-reader-modern .ai-code-copy { grid-column: 2; grid-row: 1 / span 2; }
  .reader-lesson-navigation { grid-template-columns: 1fr 1fr; }
  .reader-complete-button { grid-column: 1 / -1; grid-row: 1; width: 100%; }
  .reader-nav-button { width: 100%; }
  .learning-reader-modern .ai-reader-toolbar { align-items: flex-start; min-height: 46px; line-height: 1.4; font-size: 0.74rem; }
  .learning-reader-modern .reader-lesson-header { margin-bottom: 1.75rem; padding-bottom: 1.35rem; }
}

@media (prefers-reduced-motion: reduce) {
  .learning-reader-modern *,
  .learning-reader-modern *::before,
  .learning-reader-modern *::after { scroll-behavior: auto; transition-duration: 0.01ms; animation-duration: 0.01ms; }
}
