/* Six regions; the two axial guides explain examination and targeting in words. */
.body-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}
.body-tabs .body-tab{min-width:0;border:0;border-bottom:1px solid var(--line);border-right:1px solid var(--line)}
.body-tabs .body-tab:nth-child(3n){border-right:0}
.body-tabs .body-tab:nth-child(n+4){border-bottom:0}
.body-tabs .tab-name{word-break:keep-all;overflow-wrap:anywhere}
.diagram-controls[hidden]{display:none}
.clinical-target-map{width:100%;padding:22px 0;text-align:left}
.clinical-target-map .target-map-kicker{font-size:.875rem;color:#52675b;margin:0 0 22px;line-height:1.6}
.clinical-target-map dl{margin:0}
.clinical-target-map dl>div{border-top:1px solid #aeb9b1;padding:18px 0}
.clinical-target-map dt{font-size:1rem;line-height:1.6;font-weight:600;color:#263d35}
.clinical-target-map dt span{font-size:.75rem;font-weight:400;letter-spacing:.08em;color:#58717b;margin-right:16px}
.clinical-target-map dd{margin:6px 0 0;font-size:1rem;line-height:1.8;color:#44584c;overflow-wrap:anywhere}
.clinical-target-map .target-map-note{font-size:.875rem;line-height:1.8;margin:12px 0 0;color:#52675b}
.reading-page .reading-diagram:has(.clinical-target-map){padding:16px 22px}
@media(max-width:800px){
 .body-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px}
 .body-tabs .body-tab{min-width:0;min-height:72px;padding:10px 6px;border:0;justify-content:center}
 .body-tabs .tab-name{font-size:1rem;line-height:1.6;text-align:center}
 .body-tabs .tab-number,.body-tabs .tab-mark{display:none}
 .clinical-target-map{padding:12px 0}
}
@media(max-width:700px){
 .reading-hero-grid:has(.clinical-target-map){grid-template-columns:minmax(0,1fr)}
 .reading-hero-grid:has(.clinical-target-map) .reading-lead{grid-column:1/-1}
 .reading-hero-grid .reading-diagram:has(.clinical-target-map){grid-column:1/-1;grid-row:5;margin-top:12px}
}

/* Readable condition chapters inside the existing spine guide. */
.spine-conditions{margin:64px 0 0;max-width:800px}
.spine-conditions>h2{font-size:clamp(1.5rem,2.4vw,1.9rem);line-height:1.5;letter-spacing:-.03em;margin:0 0 36px;word-break:keep-all;overflow-wrap:anywhere}
.spine-conditions>section{margin:0 0 36px;scroll-margin-top:110px}
.spine-conditions h3{font-size:1.25rem;line-height:1.5;color:#263d35;margin:0 0 16px}
.spine-conditions p{font-size:1rem;line-height:1.9;word-break:keep-all;overflow-wrap:anywhere;margin:0 0 14px}
.spine-conditions .eyebrow{font-size:.875rem;color:#53675c;margin-bottom:12px}
.spine-conditions .spine-conditions-note{border-top:1px solid #b8b4a9;padding-top:20px;color:#53675c}
.reading-sources>a{display:block;margin:12px 0;line-height:1.6}
@media(max-width:700px){.spine-conditions{margin-top:40px}.spine-conditions>h2{margin-bottom:28px}.spine-conditions>section{margin-bottom:28px;scroll-margin-top:88px}}

/* Licensed anatomy art occupies the same guide panel as the other regions. */
.anatomy-illustration{padding:4px 0}
.anatomy-illustration .target-map-kicker{margin-bottom:14px}
.anatomy-image-link{display:block;background:#fff;line-height:0}
.anatomy-image-link img{display:block;width:100%;height:auto;max-height:380px;object-fit:contain}
.anatomy-image-link:focus-visible{outline:2px solid #263d35;outline-offset:4px}
.anatomy-illustration .anatomy-caption{font-size:.875rem;line-height:1.7;color:#56665e;margin:12px 0 6px}
.anatomy-explanation{border:0;background:none;padding:0;margin-top:4px}
.anatomy-explanation summary{font-size:.875rem;line-height:1.6;min-height:44px;padding:10px 0;cursor:pointer;text-decoration:underline;text-underline-offset:4px}
.anatomy-explanation>p{font-size:.875rem;line-height:1.8;word-break:keep-all;overflow-wrap:anywhere;margin:12px 0}
.anatomy-explanation .anatomy-credit{font-size:.75rem;color:#596a60}
.anatomy-credit a{text-decoration:underline;text-underline-offset:3px}
.reading-page .reading-diagram:has(.anatomy-illustration){background:#f8faf9;padding:20px}
@media(max-width:700px){.anatomy-image-link img{max-height:330px}.anatomy-illustration .target-map-kicker{font-size:.875rem}}
