.restored-chapter{scroll-margin-top:100px;padding:34px 32px;margin:24px 0;background:linear-gradient(135deg,#fffaf0,#f5eddc);border:1px solid #cdbc95;border-radius:12px;color:#35291f;box-shadow:0 8px 22px #0002}.restored-chapter h2{font:700 30px Georgia,serif;margin:0 0 20px}.restored-chapter h3{font:700 21px Georgia,serif;margin:24px 0 12px}.restored-chapter p,.restored-chapter li{font-size:15px;line-height:1.7}.restored-chapter table{border-collapse:collapse;width:100%;font-size:14px}.restored-chapter th,.restored-chapter td{padding:12px 8px;border-bottom:1px solid #cdbc95;text-align:left}.restored-chapter a,.master-download a{color:#765a23}.master-download{padding:18px;background:#fff8e9;border:1px solid #cdbc95;border-radius:10px}.restored-chapter .eyebrow{color:#83642e;font-size:11px;letter-spacing:.12em;text-transform:uppercase}.restored-chapter .tablewrap{overflow:auto}.rulebook-topbar .topbar-actions{flex-wrap:wrap}.restored-chapter .grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.restored-chapter .ability{padding:16px;border:1px solid #cdbc95;border-radius:10px;background:#fffaf0}.restored-chapter .ability h3{margin:8px 0 12px}.restored-chapter .ability .meta{font-size:11px;font-weight:800;color:#765a23}.restored-chapter .ability p{font-size:14px}.restored-chapter .tier-block{margin:24px 0}.restored-chapter .tier-block>h3{color:#765a23}.restored-chapter ul,.restored-chapter ol{padding-left:24px}.restored-chapter .library-section{scroll-margin-top:100px}@media(max-width:700px){.restored-chapter{padding:23px 18px}.restored-chapter h2{font-size:26px}.restored-chapter .grid{grid-template-columns:1fr}}@media print{.rulebook-topbar,.rulebook-toc,.master-download{display:none!important}.restored-chapter{break-inside:auto;box-shadow:none;border:0;padding:0;background:white}.restored-chapter .ability{break-inside:avoid}.rulebook-frame{display:block}.rulebook-manual{max-width:none}}

/* Print QC: neutral paper and headings that travel with their content. */
@media print {
 html:has(.woodland-reference),body.woodland-reference{background:#fff!important;color:#35291f!important;width:auto!important;min-width:0!important;margin:0!important;padding:0!important}
 .woodland-reference .app,.woodland-reference .rulebook-manual,.woodland-reference .rulebook-main,.woodland-reference .rulebook-frame{width:auto!important;max-width:none!important;margin:0!important;padding:0!important;background:#fff!important;box-shadow:none!important;border:0!important}
 .woodland-reference .restored-chapter{margin:12px 0!important;background:#fff!important;box-shadow:none!important;border:0!important;border-radius:0!important}
 .woodland-reference h1,.woodland-reference h2,.woodland-reference h3,.woodland-reference .eyebrow{break-after:avoid-page!important}
 .woodland-reference p,.woodland-reference li{orphans:3;widows:3}
 .woodland-reference tr,.woodland-reference .ability{break-inside:avoid!important}
 .woodland-reference .tier-block{break-inside:avoid!important;margin:12px 0!important}
 .woodland-reference .restored-chapter h3{margin:12px 0 7px!important}
 .woodland-reference .restored-chapter .ability{padding:10px!important}
 .woodland-reference .restored-chapter .ability p{font-size:12px!important;line-height:1.45!important}
 .woodland-reference .rulebook-section>h2{margin-bottom:10px!important}
 .woodland-reference .hearth-vignette{background:none!important;border:0!important}
}
@media print {
 @page{background:#fff}
 html:has(.woodland-reference){color-scheme:light!important;background-color:#fff!important}
 body.woodland-reference,.woodland-reference .rulebook-shell{color-scheme:light!important;background:#fff!important;box-shadow:none!important}
}
@media print{@page{size:auto;margin:.4in;background:#fff}}

@media print{.woodland-reference .library-section{break-before:page!important;page-break-before:always!important}}

@media print{.woodland-reference table{break-inside:avoid!important}}
