/* Finished relationship report only. No form, transition or calculation selectors. */
.chaptered-report{--chapter-accent:#a54130;--chapter-paper:#fffdf9;--chapter-wash:#f3eee6;--chapter-rule:#ded8ce;--chapter-ink:#272a25;--chapter-muted:#60665d;background:var(--chapter-paper);color:var(--chapter-ink);padding:30px clamp(20px,4vw,42px);font:400 15px/1.65 Arial,sans-serif;min-width:0;overflow-wrap:anywhere}
.chaptered-report[data-brand="windwater"]{--chapter-accent:#426454;--chapter-wash:#edf1ea;--chapter-rule:#cdd6cc}
.chaptered-report *{box-sizing:border-box}
.chaptered-report h1,.chaptered-report h2,.chaptered-report h3,.chaptered-report h4,.chaptered-report p{margin:0;font-weight:400;letter-spacing:normal}
.chaptered-report h1{font:400 clamp(32px,4vw,45px)/1.18 Georgia,serif;margin:7px 0}
.chaptered-report h2{font:400 clamp(26px,3vw,34px)/1.24 Georgia,serif;margin:4px 0 12px}
.chaptered-report h3{font:400 24px/1.3 Georgia,serif;margin:5px 0 12px}
.chaptered-report h4{font:500 13px/1.5 Arial,sans-serif;color:var(--chapter-accent);margin:0 0 7px}
.chaptered-report p{font:400 15px/1.65 Arial,sans-serif;max-width:80ch}
.chaptered-report p+p{margin-top:12px}
.chaptered-report .chapter-kicker{font:500 11px/1.5 Arial,sans-serif;letter-spacing:.12em;text-transform:uppercase;color:var(--chapter-accent)}
.chaptered-report .chapter-small,.chaptered-report .chapter-date,.chaptered-report .chapter-people{font:400 12px/1.6 Arial,sans-serif;color:var(--chapter-muted)}
.chaptered-report .chapter-mast{display:flex;justify-content:space-between;align-items:center;gap:24px;border-bottom:1px solid var(--chapter-rule);padding-bottom:24px}
.chaptered-report .chapter-date{text-align:right;margin-bottom:12px}
.chaptered-report .chapter-actions{display:flex;flex-wrap:wrap;gap:9px;margin:0}
.chaptered-report .chapter-actions button{font:500 14px/1.3 Arial,sans-serif;color:var(--chapter-accent);background:transparent;border:1px solid var(--chapter-rule);border-radius:6px;min-height:46px;padding:12px 18px;cursor:pointer}
.chaptered-report .chapter-actions button:last-child{background:var(--chapter-accent);color:#fff;border-color:var(--chapter-accent)}
.chaptered-report .chapter-overview{padding:26px 0;margin:0;border:0;border-radius:0;background:transparent}
.chaptered-report .jl-brief-nutshell,.chaptered-report .connection-nutshell{border:0;border-radius:0;background:transparent;margin:12px 0 24px;padding:0}
.chaptered-report .jl-brief-nutshell h2{font-size:clamp(28px,3.4vw,38px);max-width:34ch}
.chaptered-report .chapter-summary-grid{display:grid;grid-template-columns:1fr;gap:0;margin:20px 0 0}
.chaptered-report .chapter-summary-grid>article{display:grid;grid-template-columns:minmax(170px,.7fr) minmax(0,1.3fr);gap:26px;padding:22px 0;border:0;border-top:1px solid var(--chapter-rule);background:transparent;border-radius:0}
.chaptered-report .chapter-summary-grid h3{font-size:23px;margin:0}
.chaptered-report .chapter-summary-grid p{font-size:15px}
.chaptered-report .chapter-heading{display:flex;align-items:center;gap:13px;margin:0 0 16px}
.chaptered-report .chapter-heading h2{margin:3px 0 0}
.chaptered-report .chapter-number{display:grid;place-items:center;flex:0 0 34px;height:34px;border:1px solid var(--chapter-rule);border-radius:50%;color:var(--chapter-accent);font:500 12px/1 Arial,sans-serif}
.chaptered-report .chapter-intro{font-size:14px;color:var(--chapter-muted);margin-bottom:20px}
.chaptered-report .chapter-animals,.chaptered-report .chapter-elements,.chaptered-report .chapter-practice{margin:0;padding:28px 0;border:0;border-top:1px solid var(--chapter-rule);border-radius:0;background:transparent}
.chaptered-report .chapter-animal-row{display:grid;grid-template-columns:minmax(170px,.7fr) minmax(0,1.3fr);gap:26px;padding:24px 0;border-top:1px solid var(--chapter-rule)}
.chaptered-report .chapter-position{font:400 11px/1.6 Arial,sans-serif;color:var(--chapter-muted);margin-bottom:10px}
.chaptered-report .chapter-pair h3{font-size:26px}
.chaptered-report .chapter-pattern{font:500 12px/1.5 Arial,sans-serif;color:var(--chapter-accent);margin-bottom:10px}
.chaptered-report .chapter-finding+.chapter-finding{border-top:1px solid var(--chapter-rule);padding-top:20px;margin-top:20px}
.chaptered-report .chapter-response{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin-top:16px}
.chaptered-report .chapter-response p{font-size:14px}
.chaptered-report .chapter-help{border:0;border-top:1px solid var(--chapter-rule);background:transparent;border-radius:0;padding:0;margin:16px 0 0}
.chaptered-report .chapter-help>summary{font:500 13px/1.5 Arial,sans-serif;color:var(--chapter-accent);padding:11px 0;min-height:44px;cursor:pointer}
.chaptered-report .chapter-help[open]>:not(summary){margin-top:10px;margin-bottom:12px}
.chaptered-report .chapter-help p{font-size:14px}
.chaptered-report .chapter-estimate{padding:13px 17px;border-left:3px solid var(--chapter-accent);background:var(--chapter-wash);font-size:13px}
.chaptered-report .chapter-profiles{display:grid;grid-template-columns:1fr 1fr;gap:30px;margin:22px 0}
.chaptered-report .chapter-profiles>article{border-top:2px solid var(--chapter-rule);padding:16px 0}
.chaptered-report .chapter-profiles h3{font-size:28px}
.chaptered-report .chapter-quality{color:var(--chapter-accent);font-size:14px}
.chaptered-report .chapter-element-bridge{padding:22px;background:var(--chapter-wash);margin:20px 0 26px}
.chaptered-report .chapter-element-bridge p{font-size:14px}
.chaptered-report .chapter-element-layout{display:grid;grid-template-columns:minmax(240px,.9fr) minmax(0,1.1fr);gap:30px;align-items:center}
.chaptered-report .chapter-wheel svg{width:100%;height:auto;max-width:420px;display:block;margin:auto}
.chaptered-report .jl-wheel-stage .element-wheel,.chaptered-report .wwa-wheel-stage .element-wheel{max-width:none!important;margin:0!important}
.chaptered-report .jl-element-help,.chaptered-report .wwa-element-help{position:fixed;z-index:10000;width:min(360px,calc(100vw - 24px));max-height:calc(100dvh - 24px);overflow-y:auto;overscroll-behavior:contain;border:1px solid var(--chapter-rule);border-radius:10px;background:var(--chapter-paper);color:var(--chapter-ink);padding:18px;margin:0;box-shadow:0 8px 28px #272a2526}
.chaptered-report .jl-element-help h3,.chaptered-report .wwa-element-help h3{font:400 22px/1.3 Georgia,serif;margin:0 0 12px}
.chaptered-report .jl-element-help p,.chaptered-report .wwa-element-help p{font:400 14px/1.55 Arial,sans-serif;margin:0 0 12px}
.chaptered-report .chapter-wheel .jl-wheel-hint,.chaptered-report .chapter-wheel .wwa-wheel-hint{display:none}
.chaptered-report .chapter-mixes h3{font-size:23px}
.chaptered-report .chapter-mix-row{padding:13px 0;border-bottom:1px solid var(--chapter-rule)}
.chaptered-report .chapter-mix-row h4{color:var(--chapter-ink);margin:0 0 7px}
.chaptered-report .chapter-mix-value{display:grid;grid-template-columns:minmax(70px,1fr) minmax(50px,1fr) 62px;gap:12px;align-items:center;margin:6px 0;font-size:12px;min-width:0}
.chaptered-report .chapter-mix-value b{font-weight:500;text-align:right;font-variant-numeric:tabular-nums}
.chaptered-report .chapter-mix-track{height:6px;background:var(--chapter-wash);border-radius:3px;overflow:hidden}
.chaptered-report .chapter-mix-track i{display:block;height:100%}
.chaptered-report .chapter-step{display:grid;grid-template-columns:32px minmax(0,1fr);gap:16px;border-top:1px solid var(--chapter-rule);padding:23px 0}
.chaptered-report .chapter-step-number{font:400 24px/1.3 Georgia,serif;color:var(--chapter-accent)}
.chaptered-report .chapter-step h3{font-size:24px;margin-top:0}
.chaptered-report .chapter-step-action{margin-top:16px;padding:18px 20px;background:var(--chapter-wash)}
.chaptered-report blockquote{font:400 20px/1.5 Georgia,serif;color:var(--chapter-accent);margin:15px 0 0}
.chaptered-report .chapter-position-table{border-collapse:collapse;width:100%;font-size:13px}
.chaptered-report .chapter-position-table th,.chaptered-report .chapter-position-table td{font-weight:400;text-align:left;padding:12px 8px;border-bottom:1px solid var(--chapter-rule);overflow-wrap:anywhere}
.chaptered-report .chapter-footer{font:400 12px/1.6 Arial,sans-serif;color:var(--chapter-muted);padding-top:22px;border-top:1px solid var(--chapter-rule);margin-top:24px}
.chaptered-report .reading-basis-panel{margin-top:18px}
.chaptered-report .chapter-perspectives{margin:22px 0}
.chaptered-report .chapter-perspectives article{padding:20px 0;border-top:1px solid var(--chapter-rule)}
@media screen{#results[data-chaptered="true"]>:not(.chaptered-screen):not(.report-print-heading):not(#report-edit-bar),.report-depth-shell[data-depth="chaptered"]>#results{display:none!important}}
@media(max-width:700px){
 .chaptered-report{padding:22px 20px}
 .chaptered-report .chapter-mast{display:block}
 .chaptered-report .chapter-date{text-align:left;margin:16px 0 10px}
 .chaptered-report .chapter-actions{width:100%}
 .chaptered-report .chapter-actions button{flex:1;padding-inline:10px}
 .chaptered-report .chapter-animal-row,.chaptered-report .chapter-summary-grid>article,.chaptered-report .chapter-element-layout,.chaptered-report .chapter-profiles{grid-template-columns:1fr;gap:16px}
 .chaptered-report .chapter-response{grid-template-columns:1fr;gap:16px}
 .chaptered-report .chapter-pair h3{font-size:25px}
 .chaptered-report .chapter-profiles{gap:0}
 .chaptered-report .chapter-element-bridge{padding:18px}
 .chaptered-report .chapter-mix-value{grid-template-columns:minmax(70px,1fr) minmax(40px,1fr) 58px;gap:8px}
 .chaptered-report .chapter-step{grid-template-columns:24px minmax(0,1fr);gap:12px}
 .chaptered-report .chapter-step-action{padding:16px}
 .chaptered-report .element-wheel .wheel-name{font-size:20px;letter-spacing:0}
 .chaptered-report .element-wheel .wheel-value{font-size:24px}
 .chaptered-report .element-wheel .wheel-center{font-size:20px;letter-spacing:0}
 .chaptered-report .element-wheel .wheel-center-small{display:none}
 .chaptered-report .jl-element-help,.chaptered-report .wwa-element-help{left:12px!important;right:12px;top:auto!important;bottom:max(12px,env(safe-area-inset-bottom));width:auto;max-height:65dvh}
}
@media(max-width:400px){
 .reading-section-nav:has([href="#chapter-overview"]) .reading-section-actions{display:grid;grid-template-columns:1fr 1fr 1fr;gap:5px}
 .reading-section-nav:has([href="#chapter-overview"]) .reading-section-actions button{min-width:0;min-height:44px;padding:9px 4px;font-size:11px;white-space:normal;margin:0}
}
.chaptered-print{display:none}
/* Both export buttons use browser Print. Render one dedicated document tree,
   never the hidden legacy report or whichever disclosures happen to be open. */
@media print{
 @page{margin:14mm 13mm}
 body:has(.chaptered-print),main:has(.chaptered-print),.report-depth-shell[data-depth="chaptered"]{background:#fff!important;min-height:0!important}
 .chaptered-screen{display:none!important}
 #results[data-chaptered="true"]>:not(.chaptered-print):not(.report-print-heading),
 .report-depth-shell[data-depth="chaptered"]>#results.results{display:none!important}
 :is(#results[data-chaptered="true"],.report-depth-shell[data-depth="chaptered"]) .chaptered-print{
  display:block!important;position:static!important;padding:0!important;margin:0!important;
  width:100%!important;max-width:none!important;overflow:visible!important;background:white!important;
  font:10pt/1.45 Arial,sans-serif;color:#272a25;break-inside:auto!important;
  -webkit-print-color-adjust:exact;print-color-adjust:exact
 }
 /* Override the old report's ID-scoped typography without changing it. */
 :is(#results,.report-depth-shell) .chaptered-print :is(p,li){font:10pt/1.45 Arial,sans-serif!important;margin:0 0 7pt!important;max-width:none!important;orphans:3;widows:3}
 :is(#results,.report-depth-shell) .chaptered-print h2{font:20pt/1.2 Georgia,serif!important;margin:0 0 10pt!important;break-after:avoid!important}
 :is(#results,.report-depth-shell) .chaptered-print h3{font:15pt/1.25 Georgia,serif!important;margin:0 0 7pt!important;break-after:avoid!important}
 :is(#results,.report-depth-shell) .chaptered-print h4{font:700 9pt/1.4 Arial,sans-serif!important;margin:0 0 5pt!important;color:var(--chapter-accent);break-after:avoid!important}
 :is(#results,.report-depth-shell) .chaptered-print .chapter-kicker{font:700 8pt/1.4 Arial,sans-serif!important;letter-spacing:.1em!important;color:var(--chapter-accent)}
 :is(#results,.report-depth-shell) .chaptered-print :is(.chapter-small,.chapter-position){font:9pt/1.4 Arial,sans-serif!important;color:var(--chapter-muted)}
 .chaptered-print :is(section,article,div){min-height:0!important;max-height:none!important;overflow:visible}
 .chaptered-print .chapter-overview{padding:0 0 14pt!important}
 .chaptered-print .chapter-heading{display:flex!important;gap:10pt;break-inside:avoid!important;break-after:avoid!important;margin:0 0 12pt}
 .chaptered-print .chapter-number{flex-basis:24pt;height:24pt;font-size:9pt}
 .chaptered-print :is(.chapter-animals,.chapter-elements,.chapter-practice){padding:18pt 0 0!important;margin:0!important;break-before:page!important;border:0!important;display:block!important}
 .chaptered-print .chapter-summary-grid{display:block;margin-top:12pt}
 .chaptered-print .chapter-summary-grid>article{display:block!important;padding:11pt 0!important;break-inside:avoid!important}
 .chaptered-print .chapter-animal-row{display:block!important;padding:13pt 0!important;break-inside:auto!important}
 .chaptered-print .chapter-pair{break-inside:avoid!important;break-after:avoid!important;margin-bottom:10pt}
 .chaptered-print .chapter-pair h3 br{display:none}
 .chaptered-print .chapter-pair h3 br:after{content:' '}
 .chaptered-print .chapter-finding{break-inside:auto!important}
 .chaptered-print .chapter-finding+.chapter-finding{padding-top:12pt;margin-top:12pt}
 .chaptered-print .chapter-response{display:block!important;margin-top:10pt}
 .chaptered-print .chapter-response>div{border-left:2pt solid var(--chapter-rule);padding-left:10pt;margin-bottom:10pt;break-inside:avoid!important}
 .chaptered-print .chapter-help{display:block!important;border:0!important;padding:0!important;margin:10pt 0!important;break-inside:auto!important}
 .chaptered-print .chapter-print-context>h4{border-top:1px solid var(--chapter-rule);padding-top:8pt}
 .chaptered-print details>summary{display:block!important;font:700 9pt/1.4 Arial,sans-serif!important;padding:0 0 6pt!important;min-height:0!important;break-after:avoid!important}
 .chaptered-print details::details-content{display:contents!important;content-visibility:visible!important}
 .chaptered-print .chapter-profiles{display:grid!important;grid-template-columns:1fr 1fr!important;gap:20pt;margin:12pt 0;break-inside:avoid!important}
 .chaptered-print .chapter-profiles>article{padding:10pt 0}
 .chaptered-print .chapter-element-bridge{padding:12pt;margin:12pt 0;background:var(--chapter-wash);break-inside:avoid!important}
 .chaptered-print .chapter-element-layout{display:block!important;break-inside:avoid!important}
 .chaptered-print .chapter-wheel{break-inside:avoid!important;margin:12pt 0 18pt}
 :is(#results,.report-depth-shell) .chaptered-print :is(.jl-wheel-stage,.wwa-wheel-stage){width:75mm!important;margin:0 auto!important;display:block!important}
 :is(#results,.report-depth-shell) .chaptered-print .element-wheel{display:block!important;width:75mm!important;height:75mm!important;max-width:none!important;margin:0 auto!important}
 .chaptered-print :is(.jl-element-help,.wwa-element-help,.jl-element-hotspot,.wwa-element-hotspot,.jl-wheel-hint,.wwa-wheel-hint){display:none!important}
 .chaptered-print .chapter-mix-row{padding:9pt 0;break-inside:avoid!important}
 .chaptered-print .chapter-mix-value{display:grid!important;grid-template-columns:1fr 1fr 55pt;gap:12pt;font-size:9pt;margin:5pt 0}
 .chaptered-print .chapter-mix-track{outline:.5pt solid #aaa;print-color-adjust:exact}
 .chaptered-print .chapter-mix-track i{print-color-adjust:exact;outline:.5pt solid #666;outline-offset:-.5pt}
 .chaptered-print .chapter-step{display:block!important;padding:14pt 0;break-inside:avoid!important}
 .chaptered-print .chapter-step-number{display:block;font-size:16pt;margin-bottom:7pt}
 .chaptered-print .chapter-step-action{padding:12pt;margin-top:10pt;break-inside:avoid!important}
 .chaptered-print blockquote{font:14pt/1.4 Georgia,serif;margin:10pt 0 0;break-inside:avoid!important}
 .chaptered-print .chapter-position-table{font-size:9pt;width:100%;table-layout:fixed}
 .chaptered-print .chapter-position-table :is(th,td){padding:7pt 5pt}
 .chaptered-print .chapter-position-table{break-inside:avoid!important}
 .chaptered-print .chapter-share-table{width:100%;table-layout:fixed;border-collapse:collapse;font:9pt/1.4 Arial,sans-serif;margin-top:10pt}
 .chaptered-print .chapter-share-table :is(th,td){text-align:left;padding:8pt 6pt;border-bottom:1px solid var(--chapter-rule);overflow-wrap:anywhere;font-weight:400}
 .chaptered-print .chapter-share-table thead th{font-weight:700;color:var(--chapter-ink);background:var(--chapter-wash)}
 .chaptered-print .chapter-share-table td{font-variant-numeric:tabular-nums}
 .chaptered-print tr{break-inside:avoid!important}
 .chaptered-print .chapter-footer{margin-top:14pt;padding-top:10pt;break-inside:avoid!important}
}
