/* Reviewed book landing content in the Claude shell. No old global stylesheet. */
.pdf-restored { padding-top: clamp(1.5rem, 4vw, 3rem); padding-bottom: 3rem; }
.pdf-restored .page-head { margin: 0; padding: 0; }
.pdf-restored .breadcrumb { display: flex; flex-wrap: wrap; gap: .35rem .6rem; margin-bottom: 1.5rem; font: 400 .875rem/1.5 var(--font-ui); color: var(--ink-2); }
.pdf-restored .breadcrumb a { text-underline-offset: .2em; }
.pdf-restored .article-lead-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 1rem 3rem; align-items: start; max-width: 64rem; margin-inline: auto; }
.pdf-restored .article-lead-copy { min-width: 0; }
.pdf-restored h1 { font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1.12; margin: 0 0 1rem; }
.pdf-restored .article-deck { font: 400 1.125rem/1.6 var(--font-ui); margin: 0 0 1rem; max-width: 55ch; }
.pdf-restored .pdf-book-cover { grid-column: 2; grid-row: 1 / span 2; margin: 0; padding: 0; border: 0; background: #fff; }
.pdf-restored .pdf-book-cover picture { display: block; }
.pdf-restored .pdf-book-cover img { display: block; width: 100%; height: auto; max-height: 26rem; object-fit: contain; background: #fff; }
.pdf-restored .pdf-book-cover figcaption { margin-top: .75rem; font: 400 .875rem/1.5 var(--font-ui); color: var(--ink-2); }
.pdf-restored .pdf-download { margin-top: 1.25rem; }
.pdf-restored .pdf-download p { margin-bottom: .75rem; font: 400 .875rem/1.5 var(--font-ui); }
.pdf-restored .pdf-download .button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .8rem 1.25rem; border: 2px solid var(--brand); border-radius: 4px; background: var(--brand); color: #fff; font: 700 1rem/1.4 var(--font-ui); text-decoration: none; }
.pdf-restored .pdf-download .button:hover { background: var(--brand-ink); border-color: var(--brand-ink); }
.pdf-restored .pdf-note-link { display: block; width: fit-content; padding-block: .5rem; font: 400 .875rem/1.5 var(--font-ui); text-underline-offset: .2em; }
.pdf-restored .article-details { grid-column: 1; grid-row: 2; padding-top: 1rem; margin-top: .5rem; border-top: 1px solid var(--line); color: var(--ink-2); font: 400 .875rem/1.5 var(--font-ui); }
.pdf-restored .article-details .meta { display: flex; flex-wrap: wrap; gap: .35rem 1rem; margin-bottom: .5rem; }
.pdf-restored .article-details .tag { font-weight: 700; }
.pdf-restored .article-byline { margin: 0; }
.pdf-restored .pdf-reading { margin-top: 2.5rem; }
.pdf-restored .article-content { max-width: var(--measure); min-width: 0; margin-inline: auto; }
.pdf-restored .article-content :is(h2, h3, h4, section, details) { scroll-margin-top: calc(var(--header-h) + 1.5rem); }
.pdf-restored .article-content :is(h2, h3, p, li, td, th, legend, label, summary) { overflow-wrap: anywhere; }
.pdf-restored .article-content > :first-child { margin-top: 0; }
.pdf-restored .learning-figure { margin: 2rem 0; }
.pdf-restored .learning-figure img { display: block; width: 100%; height: auto; background: #fff; }
.pdf-restored .original-book-cover img { display: block; width: 160px; max-width: 100%; height: auto; background: #fff; }
.pdf-restored .article-content table { display: block; width: 100%; overflow-x: auto; overscroll-behavior-x: contain; margin-block: 1.5rem; font-size: 1rem; }
.pdf-restored .article-content :is(th, td) { min-width: 7rem; }
.pdf-restored .article-content caption { position: static; text-transform: none; letter-spacing: normal; font-size: 1rem; }
.pdf-restored :is(.pdf-reader-notes, .article-source-list) { margin-top: 2rem; border-top: 1px solid var(--line); border-bottom: 0; padding: 0; background: transparent; border-radius: 0; }
.pdf-restored :is(.pdf-reader-notes, .article-source-list) > summary { font: 600 .9375rem/1.5 var(--font-ui); }
.pdf-restored .pdf-reader-notes :is(p, summary) { font-size: 1rem; line-height: 1.6; }
.pdf-restored :is(.pdf-note-sources, .source-links) a { display: block; margin-block: .5rem; font-size: .875rem; line-height: 1.5; }
.pdf-restored .article-source-list { font-size: .875rem; }

/* The restored practice forms are authored local checks, not submission forms. */
.pdf-restored :is(.article-practice, .chapter-activity, .chapter-recall) { margin: 2rem 0; padding: 1.5rem 0; border-block: 1px solid var(--line); background: transparent; border-radius: 0; box-shadow: none; }
.pdf-restored .article-practice h2 { margin: 0 0 1rem; font-size: 1.5rem; }
.pdf-restored :is(.article-practice, .chapter-activity) :is(p, li, legend, label, input, button) { font-size: 1rem; line-height: 1.6; }
.pdf-restored .article-practice fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.pdf-restored .article-practice legend { width: 100%; margin-bottom: 1rem; padding: 0; font-weight: 600; }
.pdf-restored .article-practice-option { display: flex; align-items: start; gap: .75rem; margin-block: .65rem; padding: .8rem; border: 1px solid var(--line-strong); border-radius: 4px; cursor: pointer; }
.pdf-restored .article-practice-option input { appearance: auto; flex: 0 0 auto; width: 1.15rem; height: 1.15rem; margin: .25rem 0 0; accent-color: var(--brand); }
.pdf-restored .article-practice-option:has(input:checked) { border-color: var(--brand); }
.pdf-restored :is(.article-practice-actions, .article-number-choices, .chapter-match-options, .chapter-point-options) { display: flex; flex-wrap: wrap; gap: .65rem; margin-block: 1rem; }
.pdf-restored :is(.article-practice, .chapter-activity) button { min-height: 44px; padding: .65rem .85rem; border: 1px solid var(--line-strong); border-radius: 4px; background: #fff; color: var(--ink); font-family: var(--font-ui); cursor: pointer; text-align: left; }
.pdf-restored .article-practice-actions button[type=submit] { background: var(--ink); color: #fff; border-color: var(--ink); }
.pdf-restored .article-practice-actions button[type=reset] { border: 0; text-decoration: underline; text-underline-offset: .2em; }
.pdf-restored :is(.article-number-choices, .chapter-match-options) button { flex: 1 1 8rem; }
.pdf-restored button[aria-pressed=true] { border-color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand); }
.pdf-restored .article-practice-option:focus-within, .pdf-restored :is(button, input, summary):focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }
.pdf-restored .article-practice-result:empty { display: none; }
.pdf-restored .article-practice-result { margin: 1rem 0 0; font-weight: 700; }
.pdf-restored .article-practice-explanation { margin-top: 1rem; padding: 0; border: 0; background: transparent; }
.pdf-restored .article-practice-privacy { margin-top: 1rem; color: var(--ink-2); font-size: .875rem; }
.pdf-restored .article-practice details { padding: 0; background: transparent; border: 0; border-radius: 0; }
.pdf-restored .chapter-activity-kicker { margin-bottom: .5rem; font: 600 .875rem/1.5 var(--font-ui); color: var(--ink-2); }
.pdf-restored .chapter-activity h3 { margin-top: 0; }
.pdf-restored .chapter-match-question { margin-block: .75rem; min-height: 3rem; }
.pdf-restored .chapter-feedback { min-height: 1.8em; margin-top: 1rem; }
.pdf-restored .chapter-activity dt { font-weight: 700; }
.pdf-restored .chapter-activity dd { margin: .25rem 0 1rem; }
.pdf-restored [hidden] { display: none !important; }

@media (max-width: 44rem) {
  .pdf-restored .article-lead-grid { grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
  .pdf-restored .article-lead-grid > * { grid-column: auto; grid-row: auto; }
  .pdf-restored .pdf-book-cover { max-width: 28rem; justify-self: center; }
  .pdf-restored .pdf-book-cover img { max-height: 15rem; }
  .pdf-restored .pdf-book-cover figcaption { font-size: .8125rem; }
  .pdf-restored .pdf-download .button { width: 100%; }
  .pdf-restored .article-details { width: 100%; }
  .pdf-restored .pdf-reading { margin-top: 2rem; }
  .pdf-restored .article-content table { max-width: 100%; }
  .pdf-restored .chapter-match-options { display: grid; grid-template-columns: minmax(0, 1fr); }
}
@media print {
  .pdf-restored .article-lead-grid { display: block; }
  .pdf-restored .pdf-book-cover img { max-height: 12rem; }
  .pdf-restored .article-practice [data-article-fallback], .pdf-restored [data-chapter-fallback] { display: block !important; }
  .pdf-restored .article-practice form, .pdf-restored [data-chapter-controls] { display: none !important; }
}

.pdf-restored :is(p, li, dl, blockquote) { font-family: var(--font-ui); }
.pdf-restored .activity-anchor { display: block; scroll-margin-top: calc(var(--header-h) + 1.5rem); }
