/* Only these repaired SSR readers opt in. No global page or map overrides. */
body[data-round4-repair] > main.round4-repair-reader{max-width:1100px;padding:34px 32px 72px}
.round4-repair-reader .repair-heading,.round4-repair-reader .repair-lead,.round4-repair-reader .chapter-copy,.round4-repair-reader .chapter-heading{max-width:760px;margin-inline:auto}
.round4-repair-reader .repair-heading h1{font-size:clamp(32px,4.5vw,52px);line-height:1.3;letter-spacing:-.02em;margin:14px 0 24px}
.round4-repair-reader .repair-lead{font-size:clamp(19px,2vw,22px);line-height:1.85;margin-block:0 30px}
.round4-repair-reader .repair-figure{margin:30px auto 36px;width:100%;max-width:980px}
.round4-repair-reader .repair-figure a{display:block;cursor:zoom-in}
.round4-repair-reader .repair-figure img{display:block;width:auto;max-width:100%;height:auto;max-height:740px;margin-inline:auto;object-fit:contain;object-position:center;border-radius:3px;background:transparent}
.round4-repair-reader .repair-figure.concept-diagram img{max-height:640px}
.round4-repair-reader .repair-figure.concept-diagram{position:relative}
.round4-repair-reader .repair-illustration-label{position:absolute;right:14px;top:12px;z-index:1;padding:4px 9px;border:1px solid #cbd1bf;border-radius:2px;background:#fbf8efee;color:#355a4b;font-size:12px;line-height:1.6;pointer-events:none}
.round4-repair-reader .repair-hero{margin-top:26px;margin-bottom:38px}
.round4-repair-reader .story-actions{max-width:760px;margin:26px auto}
.round4-repair-reader .chapter-nav{display:flex;flex-wrap:wrap;gap:4px 22px;max-width:760px;margin:32px auto 50px;padding:14px 0;border-block:1px solid #d3dbcf}
.round4-repair-reader .chapter-nav a{display:inline-flex;align-items:center;min-height:44px;font-size:15px;line-height:1.6;text-decoration:underline;text-underline-offset:4px}
.round4-repair-reader .repair-chapter{margin:0 0 58px;scroll-margin-top:30px}
.round4-repair-reader .chapter-heading{font-size:clamp(25px,3vw,31px);line-height:1.5;margin-block:0 22px}
.round4-repair-reader .chapter-copy{font-size:18px;line-height:1.95;overflow-wrap:anywhere}
.round4-repair-reader .chapter-copy>p{margin:0 0 1.35em;scroll-margin-top:30px}
.round4-repair-reader .chapter-copy>p:last-child{margin-bottom:0}
.round4-repair-reader #visit{max-width:900px;margin:64px auto 0;padding:30px 38px;scroll-margin-top:30px}
.round4-repair-reader #visit h2{margin-top:0}
.round4-repair-reader #visit p,.round4-repair-reader .repair-visit-notes{font-size:17px;line-height:1.9}
.round4-repair-reader .repair-visit-notes{padding-left:24px}
.round4-repair-reader .repair-visit-notes li{margin:0 0 16px;overflow-wrap:anywhere}
.round4-repair-reader .visit-actions{display:flex;flex-wrap:wrap;gap:12px}
body[data-round4-repair]>#site-image-information{max-width:980px;margin:22px auto 0;padding:18px 0;font-size:14px;line-height:1.8}
body[data-round4-repair]>#site-image-information summary{display:list-item;min-height:44px;cursor:pointer}
body[data-round4-repair]>#site-image-information li{margin:14px 0;overflow-wrap:anywhere}
body[data-round4-repair]>#site-image-information p{margin:.4em 0}
#round4-image-dialog{box-sizing:border-box;max-width:96vw;max-height:95vh;padding:14px;border:1px solid #aebdae;border-radius:6px;background:#f8f5ed;color:#143b30}
#round4-image-dialog::backdrop{background:#071f18dc}
#round4-image-dialog img{display:block;width:auto;height:auto;max-width:90vw;max-height:80vh;object-fit:contain;border-radius:0}
#round4-image-dialog button{display:block;min-width:90px;min-height:44px;margin:0 0 12px}
.round4-repair-reader a:focus-visible,#round4-image-dialog button:focus-visible{outline:3px solid #b88630;outline-offset:4px}
@media(max-width:760px){body[data-round4-repair]>main.round4-repair-reader{padding:24px 20px 48px}.round4-repair-reader .repair-heading h1{font-size:34px}.round4-repair-reader .repair-lead{font-size:19px}.round4-repair-reader .chapter-copy{font-size:17px;line-height:1.95}.round4-repair-reader .repair-figure{margin-block:24px 28px}.round4-repair-reader .repair-figure img{max-height:680px}.round4-repair-reader .repair-chapter{margin-bottom:44px}.round4-repair-reader .chapter-nav{margin-bottom:38px;gap:4px 16px}.round4-repair-reader #visit{padding:24px 20px}.round4-repair-reader #visit p,.round4-repair-reader .repair-visit-notes{font-size:16px}body[data-round4-repair]>#site-image-information{margin-inline:20px}.round4-repair-reader .visit-actions .action{width:100%}}
@media print{.round4-repair-reader .repair-figure{break-inside:avoid}.round4-repair-reader .chapter-copy p{orphans:3;widows:3}#round4-image-dialog{display:none}}

