.learn-shell { padding-bottom: 72px; }
.learn-page .publication-header { max-width: 900px; padding-bottom: 40px; }
.learn-page .publication-meta { max-width: 74ch; margin-top: 22px; font-size: 13px; }
.learn-back, .learn-action { display: inline-flex; align-items: center; min-height: 44px; text-underline-offset: 5px; }
.learn-back { margin-bottom: 24px; color: var(--muted); font-size: 14px; }
.learn-notice { max-width: 74ch; color: var(--muted); font-size: 14px; line-height: 1.85; }
.learn-index { list-style: none; padding: 0; margin: 44px 0 64px; max-width: 900px; }
.learn-index-link { display: grid; grid-template-columns: 44px minmax(0,1fr) 24px; align-items: start; gap: 20px; padding: 28px 0; border-top: 1px solid var(--line); text-decoration: none; }
.learn-index li:last-child { border-bottom: 1px solid var(--line); }
.learn-index-link h2 { margin: 0 0 8px; font-size: 25px; }
.learn-index-link h3 { margin: 0 0 8px; font-size: 25px; }
.learn-index-link:hover h3 { text-decoration: underline; text-underline-offset: 5px; }
.study-index > h2 { font-size: 28px; }
.study-page .learn-toc summary { min-height: 44px; padding-block: 8px; font-size: 13px; font-weight: 600; cursor: pointer; }
.study-page [data-study-print] { min-height: 44px; margin-top: 16px; padding: 10px 18px; border: 1px solid var(--line); border-radius: 8px; background: white; color: var(--ink); font: inherit; font-size: 14px; cursor: pointer; }
.study-page .publication-header { max-width: 960px; padding-top: 48px; padding-bottom: 36px; }
.study-page .publication-header h1 { max-width: 24em; font-size: 40px; line-height: 1.35; letter-spacing: -.025em; }
.study-page .publication-intro { max-width: 48em; margin-top: 18px; font-size: 18px; line-height: 1.8; }
.study-page .publication-meta { margin-top: 16px; }
.study-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 24px; margin-top: 14px; }
.study-actions a { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; text-underline-offset: 5px; }
.study-actions [data-study-print] { margin-top: 0; }
.study-page .learn-body > h2:first-of-type { margin-top: 32px; }
.study-figure { margin: 28px 0 32px; }
.study-figure img { display: block; width: 100%; height: auto; aspect-ratio: 56 / 33; background: #fafaf9; }
.study-figure figcaption { margin-top: 12px; font-size: 14px; line-height: 1.75; color: var(--muted); }
.study-page .learn-body blockquote { border-left: 1px solid var(--line); padding-left: 18px; color: var(--ink); }
.learn-index-link p { margin: 0; max-width: 58ch; color: var(--muted); font-size: 15px; line-height: 1.8; }
.learn-index-link:hover h2 { text-decoration: underline; text-underline-offset: 5px; }
.learn-number { color: var(--muted); font-size: 13px; line-height: 2.6; font-variant-numeric: tabular-nums; }
.learn-page a:focus-visible, .learn-page button:focus-visible, .learn-page summary:focus-visible { outline: 2px solid var(--ink); outline-offset: 5px; border-radius: 2px; }
.learn-page .learn-toc { top: 116px; max-height: calc(100dvh - 140px); overflow-y: auto; }
.learn-toc a { font-size: 13px; }
.learn-body { max-width: 70ch; }
.learn-body h2 { margin: 48px 0 20px; font-size: 26px; scroll-margin-top: 120px; }
.learn-body h3 { margin: 32px 0 16px; scroll-margin-top: 120px; }
.study-page #article-content { scroll-margin-top: 120px; }
.learn-body blockquote { margin: 28px 0; padding: 0 0 0 22px; border-left: 2px solid var(--line); color: var(--muted); }
.learn-body code { font-size: .84em; overflow-wrap: anywhere; }
.learn-body table { table-layout: auto; margin: 28px 0; }
.learn-body th, .learn-body td { width: auto !important; text-align: left !important; padding: 14px 12px; min-width: 0; }
.learn-body th:first-child { padding-left: 0; }
.learn-body td:first-child { padding-left: 0; }
.learn-next { border-top: 1px solid var(--line); padding-top: 30px; margin-top: 48px; max-width: 74ch; }
.learn-next h2 { margin: 0 0 16px; font-size: 24px; }
.learn-next p { line-height: 1.85; color: var(--muted); }
.learn-pagination { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; border-top: 1px solid var(--line); margin-top: 42px; padding-top: 24px; }
.learn-pagination a { display: flex; flex-direction: column; gap: 8px; padding: 8px 0; text-underline-offset: 4px; }
.learn-pagination small { font-size: 12px; color: var(--muted); }
.learn-kit-context { font-size: 14px; line-height: 1.8; }
.learn-page .editorial-footer button { min-height: 44px; background: none; border: 0; padding: 0; color: var(--muted); font: inherit; font-size: 12px; cursor: pointer; }
@media (max-width: 760px) {
  .study-page.learn-page .publication-header { padding-top: 28px; }
  .study-page .publication-header h1 { font-size: 30px; line-height: 1.4; }
  .study-page .publication-intro { font-size: 17px; }
  .study-page .learn-back { margin-bottom: 16px; }
  .learn-shell { padding-bottom: 48px; }
  .learn-page .publication-header { padding-top: 44px; padding-bottom: 28px; }
  .learn-index { margin: 28px 0 44px; }
  .learn-index-link { grid-template-columns: 28px minmax(0,1fr) 16px; gap: 12px; padding-block: 24px; }
  .learn-index-link h2 { font-size: 22px; }
  .learn-index-link h3 { font-size: 22px; }
  .learn-layout { display: flex; flex-direction: column; gap: 28px; }
  .learn-page .learn-toc { position: static; max-height: none; width: 100%; }
  .learn-toc ol { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 16px; }
  .learn-body { width: 100%; font-size: 16px; }
  .learn-body h2 { font-size: 23px; }
  .learn-body table { font-size: 13px; }
}
@media print {
  .study-page .study-actions { display: none !important; }
  .study-figure { break-inside: avoid; max-width: 390px; }
  .study-page .topbar, .study-page .editorial-topbar, .study-page .en-site-header, .study-page .editorial-footer, .study-page .launch-site-links, .study-page .learn-toc, .study-page .learn-back, .study-page .skip-link, .study-page [data-study-print], .study-page .analytics-consent { display: none !important; }
  .study-page .learn-shell { max-width: none; padding: 0; }
  .study-page .publication-header { padding: 0 0 12px; }
  .study-page .publication-header h1 { font-size: 25px; }
  .study-page .reading-layout { display: block; }
  .study-page .learn-body { max-width: none; font-size: 11pt; line-height: 1.5; }
  .study-page .learn-body h2 { font-size: 16pt; margin-top: 22px; break-after: avoid; }
  .study-page .learn-body tr { break-inside: avoid; }
  .study-page a { color: inherit; }
}
@media (max-width: 480px) {
  .learn-toc ol, .learn-pagination { grid-template-columns: 1fr; }
  .learn-body table, .learn-body tbody, .learn-body tr { display: block; width: 100%; }
  .learn-body thead { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .learn-body tr { padding: 18px 0; border-top: 1px solid var(--line); }
  .learn-body td { display: block; padding: 8px 0; border: 0; font-size: 15px; line-height: 1.85; }
  .learn-body td:first-child { color: var(--ink); font-size: 17px; font-weight: 600; }
  .learn-body td:not(:first-child)::before { content: attr(data-label); display: block; color: var(--muted); font-size: 12px; margin-bottom: 4px; }
}
