/* Patient-facing editorial rhythm; medical text and existing section targets stay intact. */
/* Native anchors use one root offset; section margins must not add a second offset. */
html:has(.treatment-page){--treatment-header-height:74px;--treatment-toc-height:58px;--treatment-anchor-gap:16px;scroll-padding-top:calc(var(--treatment-header-height) + var(--treatment-toc-height) + var(--treatment-anchor-gap))}
.treatment-page .treatment-reading-section,.treatment-page .treatment-authored-section{scroll-margin-top:0}
.treatment-page{--editorial-paper:#fbfaf7;--editorial-ink:#262320;--editorial-muted:#676159;--treatment-shell-width:1180px;padding-top:24px}
body.editorial-inner .treatment-page .treatment-page-shell,body.editorial-inner .treatment-page .treatment-reading{max-width:min(var(--site-frame,1440px),calc(var(--treatment-shell-width) + var(--site-gutter,5vw)*2))}
.treatment-page .treatment-breadcrumb{font-size:11px;margin-bottom:28px}
.treatment-page .treatment-page-opening{gap:28px 6%;padding-bottom:34px;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr)}
.treatment-page .treatment-category{background:none;padding:0;border-radius:0;margin-bottom:23px;font-size:12px}
.treatment-page .treatment-category:before{width:22px;height:1px}
.treatment-page .treatment-page-title h1{font-family:'WayB Gowun','WayB Maru',serif;font-size:clamp(36px,4vw,54px);line-height:1.38;letter-spacing:-.035em;margin-bottom:21px}
.treatment-page .treatment-lead{font-size:16px;line-height:1.95;max-width:32em;color:var(--editorial-muted)}
.treatment-page .treatment-opening-links{margin-top:25px;gap:12px 18px}
.treatment-page .treatment-media-figure{align-self:center;margin:0;max-width:420px;width:100%;justify-self:end}
.treatment-page .treatment-media-figure .treatment-media-image{border-radius:9px;background:var(--treatment-photo);aspect-ratio:1.15}
.treatment-page .treatment-media-figure .packshot-frame{inset:6%;width:88%;height:88%;border-radius:5px}
.treatment-page .treatment-media-figure figcaption{font-size:10px;line-height:1.7;color:var(--editorial-muted);margin-top:12px}
.treatment-page .treatment-contents{top:var(--treatment-header-height);background:#fbfaf7f5;backdrop-filter:blur(12px);border-color:#2623201c}
.treatment-page .treatment-contents>.treatment-page-shell{justify-content:flex-start;gap:42px}
.treatment-page .treatment-contents:before{left:max(var(--gutter,5vw),calc((100% - var(--treatment-shell-width))/2))}
.treatment-page .treatment-contents:after{right:max(var(--gutter,5vw),calc((100% - var(--treatment-shell-width))/2))}
.treatment-page .treatment-contents a{min-height:var(--treatment-toc-height);max-width:none;font-size:13px;letter-spacing:0}
.treatment-page .treatment-reading{padding-top:0;max-width:1180px}
.treatment-page .treatment-authored-article{max-width:none;padding-top:0}
.treatment-page .treatment-authored-section{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.65fr);gap:7%;padding:54px 0;border-bottom:1px solid #26232016;margin:0;background:none;border-radius:0}
.treatment-page .treatment-authored-section>h2{font:400 clamp(25px,2.4vw,32px)/1.65 'WayB Gowun','WayB Maru',serif;letter-spacing:-.035em;margin:0;max-width:12em;align-self:start;color:var(--ink)}
.treatment-page .treatment-authored-section>h2:before{display:none}
.treatment-page .treatment-section-body{min-width:0;max-width:700px}
.treatment-page .treatment-authored-article p,.treatment-page .treatment-authored-article li{font-size:16px;line-height:1.95;letter-spacing:-.012em;color:var(--editorial-muted)}
.treatment-page .treatment-authored-article p:last-child,.treatment-page .treatment-section-body>ul:last-child,.treatment-page .treatment-section-body>ol:last-child{margin-bottom:0}
.treatment-page .treatment-authored-article h3{font-size:19px;color:var(--ink);margin-top:30px}
.treatment-page .treatment-authored-article h3:first-child{margin-top:0}
.treatment-page .treatment-authored-section:first-of-type{border:0;border-bottom:1px solid #26232016;padding:36px 0;margin:0;background:none;border-radius:0}
.treatment-page .treatment-authored-section:first-of-type>h2{font-size:24px;margin:0}
.treatment-page .treatment-authored-section [role=region],.treatment-page .treatment-authored-section:first-of-type [role=region]{margin:0;border-radius:0;background:none}
.treatment-page .treatment-authored-article th,.treatment-page .treatment-authored-article td{padding:16px 18px;border-bottom:1px solid #26232020;font-size:14px;line-height:1.85}
.treatment-page .treatment-authored-section th,.treatment-page .treatment-authored-section:first-of-type th{background:#f0ece5;color:var(--ink)}
.treatment-page .treatment-authored-section:first-of-type td:first-child{color:var(--ink);background:none;font-weight:500}
.treatment-page .treatment-authored-section tbody tr:last-child td{border-bottom:1px solid #26232020}
.treatment-page .treatment-summary-disclosure{border-top:1px solid #26232036;border-bottom:1px solid #26232036}
.treatment-page .treatment-summary-disclosure>summary{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:54px;padding:14px 0;list-style:none;cursor:pointer;font:500 14px/1.7 var(--sans)}
.treatment-page .treatment-summary-disclosure>summary::-webkit-details-marker{display:none}
.treatment-page .treatment-summary-disclosure>summary>span{font:300 24px/1 var(--sans);display:block}
.treatment-page .treatment-summary-disclosure[open]>summary>span{transform:rotate(45deg)}
.treatment-page .treatment-summary-content{padding:8px 0 24px}
.treatment-page .treatment-authored-section[data-editorial-kind=protocol]{padding:40px;background:var(--sand);border:0;margin:22px 0;gap:7%}
.treatment-page .treatment-authored-section[data-editorial-kind=mechanism] .treatment-section-body>p:first-child{font-size:18px;line-height:1.95;color:var(--ink)}
.treatment-page .treatment-authored-section[data-editorial-kind=process]{display:block;padding-block:62px}
.treatment-page .treatment-authored-section[data-editorial-kind=process]>h2{max-width:none;margin-bottom:30px}
.treatment-page .treatment-authored-section[data-editorial-kind=process] .treatment-section-body{max-width:860px;margin-left:auto}
.treatment-page .treatment-authored-section[data-editorial-kind=process] ol{list-style:none;counter-reset:visit-step;padding:0;margin:0 0 25px}
.treatment-page .treatment-authored-section[data-editorial-kind=process] ol>li{position:relative;counter-increment:visit-step;border-bottom:1px solid #26232020;margin:0;padding:22px 0 24px 58px}
.treatment-page .treatment-authored-section[data-editorial-kind=process] ol>li:first-child{border-top:1px solid #26232020}
.treatment-page .treatment-authored-section[data-editorial-kind=process] ol>li:before{content:counter(visit-step,decimal-leading-zero);position:absolute;left:0;top:21px;color:var(--treatment-accent);font:400 25px/1.5 'WayB Maru',serif}
.treatment-page .treatment-authored-section[data-editorial-kind=timeline] .treatment-section-body>ul{list-style:none;padding:0;margin:0;display:grid;gap:20px}
.treatment-page .treatment-authored-section[data-editorial-kind=timeline] .treatment-section-body>ul>li{border-top:1px solid var(--treatment-rule);padding-top:18px;margin:0}
.treatment-page .treatment-authored-section[data-editorial-kind=recovery]{padding:40px;background:#f0ece5;border:0;margin:22px 0}
.treatment-page .treatment-authored-section[data-editorial-kind=clinic]{padding:42px 40px;background:var(--editorial-ink);border:0;margin:28px 0;color:var(--paper)}
.treatment-page .treatment-authored-section[data-editorial-kind=clinic] :is(h2,h3,h4,strong,a){color:var(--paper)}
.treatment-page .treatment-authored-section[data-editorial-kind=clinic] :is(p,li){color:#ded9ce}
.treatment-page .treatment-authored-section[data-editorial-kind=related]{padding:36px 0}
.treatment-page .treatment-editorial-interlude{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(0,.8fr);gap:6%;align-items:end;margin:30px 0 26px}
.treatment-page .treatment-editorial-interlude>picture{display:block;width:100%}
.treatment-page .treatment-editorial-interlude img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover}
.treatment-page .treatment-editorial-interlude figcaption{font:12px/1.9 var(--sans);color:var(--editorial-muted);padding:0 0 10px;max-width:21em}
.treatment-page .treatment-questions{background:none;border-radius:0;border-block:1px solid #26232020;padding:54px 0;margin:26px 0 0;gap:7%;grid-template-columns:minmax(0,.8fr) minmax(0,1.65fr)}
.treatment-page .treatment-question-list{border-top:1px solid #26232030}
.treatment-page .treatment-question-list details,.treatment-page .treatment-question-list details[open]{background:none;border:0;border-bottom:1px solid #26232020;border-radius:0;margin:0}
.treatment-page .treatment-question-list summary{padding:21px 0;min-height:74px;font-size:16px;line-height:1.8}
.treatment-page .treatment-question-mark{border:0;width:20px;height:20px}
.treatment-page .treatment-question-mark:before,.treatment-page .treatment-question-mark:after{left:2px;right:2px;top:9px}
.treatment-page .treatment-answer{padding:0 24px 24px 0}
.treatment-page .treatment-references{max-width:740px;margin-left:auto;border:0;padding-block:29px 36px}
.treatment-page .treatment-product-notes{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.65fr);gap:7%;padding:52px 0 34px;border-top:1px solid #26232020}
.treatment-page .treatment-product-notes header>p{font:12px/1.7 var(--sans);color:var(--treatment-accent);margin:0 0 17px}
.treatment-page .treatment-product-notes h2{font:400 29px/1.65 'WayB Gowun','WayB Maru',serif;letter-spacing:-.035em;margin:0}
.treatment-page .treatment-product-notes h3{font:500 19px/1.8 var(--sans);letter-spacing:-.02em;margin:0 0 16px}
.treatment-page .treatment-product-notes section+section{margin-top:32px;padding-top:28px;border-top:1px solid #26232020}
.treatment-page .treatment-product-notes section>p{font:15px/1.95 var(--sans);color:var(--editorial-muted);margin:0 0 17px}
.treatment-page .product-note-sources{display:flex;flex-wrap:wrap;gap:8px 20px}
.treatment-page .product-note-sources>a{display:inline-flex;align-items:center;gap:9px;font:11px/1.8 var(--sans);text-decoration:underline;text-underline-offset:4px;color:var(--editorial-muted);min-height:32px}
.treatment-page .treatment-next-step{border-top:1px solid #26232030;margin-top:0;padding-block:42px 52px}
/* Long single-chapter manuscripts keep their h2 and copy, with h3 topics on the same reading grid. */
.treatment-page .treatment-authored-section.treatment-authored-section--topic-chapter{display:block;border-bottom:0;padding-bottom:0}
.treatment-page .treatment-authored-section--topic-chapter>h2{max-width:30em;font-size:28px;margin-bottom:26px}
.treatment-page .treatment-authored-section--topic-chapter>.treatment-section-body{max-width:none}
.treatment-page .treatment-authored-section--topic-chapter>.treatment-section-body>p{max-width:760px;margin-left:auto;margin-bottom:34px}
.treatment-page .treatment-reading-topic{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.65fr);gap:7%;padding:46px 0;border-top:1px solid #26232020;scroll-margin-top:0;min-width:0}
.treatment-page .treatment-authored-article .treatment-reading-topic>h3{font:400 25px/1.65 'WayB Gowun','WayB Maru',serif;letter-spacing:-.035em;max-width:12em;margin:0;color:var(--ink)}
.treatment-page .treatment-topic-body{min-width:0;max-width:700px}
.treatment-page .treatment-topic-body>p:last-child,.treatment-page .treatment-topic-body>ul:last-child,.treatment-page .treatment-topic-body>ol:last-child{margin-bottom:0}
.treatment-page .treatment-reading-topic[data-editorial-kind=recovery]{padding:32px;background:#f0ece5;border:0;margin-block:18px}
.treatment-page .treatment-reading-topic[data-editorial-kind=process] ol{list-style:none;counter-reset:topic-step;padding:0;margin:0}
.treatment-page .treatment-reading-topic[data-editorial-kind=process] ol>li{position:relative;counter-increment:topic-step;border-bottom:1px solid #26232020;margin:0;padding:18px 0 20px 52px}
.treatment-page .treatment-reading-topic[data-editorial-kind=process] ol>li:before{content:counter(topic-step,decimal-leading-zero);position:absolute;left:0;top:17px;color:var(--treatment-accent);font:400 24px/1.5 'WayB Maru',serif}
@media(min-width:1000px){
 .treatment-page .treatment-authored-section[data-editorial-kind=suitability] .treatment-section-body:has(>ul:first-child+h3+ul){display:grid;grid-template-columns:1fr 1fr;gap:0 30px;max-width:none}
 .treatment-page .treatment-authored-section[data-editorial-kind=suitability]:has(.treatment-section-body>ul:first-child+h3+ul){display:block}
 .treatment-page .treatment-authored-section[data-editorial-kind=suitability]>h2{margin-bottom:29px;max-width:none}
 .treatment-page .treatment-authored-section[data-editorial-kind=suitability] .treatment-section-body>ul:first-child{grid-column:1;grid-row:1/3;margin-top:0;padding-right:20px}
 .treatment-page .treatment-authored-section[data-editorial-kind=suitability] .treatment-section-body>ul:first-child+h3{grid-column:2;grid-row:1;background:var(--sand);margin:0;padding:22px 25px 0}
 .treatment-page .treatment-authored-section[data-editorial-kind=suitability] .treatment-section-body>ul:first-child+h3+ul{grid-column:2;grid-row:2;background:var(--sand);margin:0;padding:16px 25px 25px 44px}
}
@media(max-width:900px){
 .treatment-page .treatment-authored-section,.treatment-page .treatment-authored-section:first-of-type,.treatment-page .treatment-reading-topic{display:block}
 .treatment-page .treatment-authored-section>h2,.treatment-page .treatment-authored-section:first-of-type>h2,.treatment-page .treatment-authored-article .treatment-reading-topic>h3{max-width:none;margin-bottom:22px}
 .treatment-page .treatment-section-body,.treatment-page .treatment-topic-body{max-width:none}
 .treatment-page .treatment-questions,.treatment-page .treatment-product-notes{grid-template-columns:1fr;gap:26px}
 .treatment-page .treatment-authored-section--topic-chapter>.treatment-section-body>p{max-width:none}
}
@media(max-width:700px){
 html:has(.treatment-page){--treatment-toc-height:50px}
 .treatment-page{padding-top:20px}
 .treatment-page .treatment-breadcrumb{margin-bottom:25px}
 .treatment-page .treatment-page-opening{grid-template-columns:1fr;gap:27px;padding-bottom:30px}
 .treatment-page .treatment-category{margin-bottom:16px}
 .treatment-page .treatment-page-title h1{font-size:36px;line-height:1.4;margin-bottom:20px}
 .treatment-page .treatment-lead{font-size:15px;line-height:1.9}
 .treatment-page .treatment-opening-links{margin-top:23px}
 .treatment-page .treatment-media-figure{justify-self:center;max-width:420px}
 .treatment-page .treatment-media-figure .treatment-media-image{aspect-ratio:1.6}
 .treatment-page .treatment-contents>.treatment-page-shell{gap:26px}
 .treatment-page .treatment-contents a{font-size:12px}
 .treatment-page .treatment-authored-section,.treatment-page .treatment-authored-section:first-of-type{display:block;padding:40px 0}
 .treatment-page .treatment-authored-section>h2,.treatment-page .treatment-authored-section:first-of-type>h2{font-size:26px;line-height:1.65;max-width:none;margin-bottom:22px}
 .treatment-page .treatment-authored-section[data-editorial-kind=summary]{padding:25px 0}
 .treatment-page .treatment-authored-section[data-editorial-kind=summary]>h2{font-size:21px;margin-bottom:14px}
 .treatment-page .treatment-authored-article p,.treatment-page .treatment-authored-article li{font-size:15px;line-height:1.9}
 .treatment-page .treatment-authored-section[data-editorial-kind=mechanism] .treatment-section-body>p:first-child{font-size:17px}
 .treatment-page .treatment-authored-section[data-editorial-kind=protocol],.treatment-page .treatment-authored-section[data-editorial-kind=recovery],.treatment-page .treatment-authored-section[data-editorial-kind=clinic]{padding:27px 23px;margin:13px -3px}
 .treatment-page .treatment-authored-section[data-editorial-kind=process]{padding:42px 0}
 .treatment-page .treatment-authored-section[data-editorial-kind=process] ol>li{padding-left:43px;font-size:15px}
 .treatment-page .treatment-authored-section[data-editorial-kind=process] ol>li:before{font-size:22px}
 .treatment-page .treatment-authored-article th,.treatment-page .treatment-authored-article td{font-size:13px;padding:13px 11px;line-height:1.85}
 .treatment-page .treatment-authored-article table:not(:has(th:nth-child(3))) th:first-child{width:29%}
 .treatment-page .treatment-editorial-interlude{grid-template-columns:1fr;gap:12px;margin:26px 0 7px}
 .treatment-page .treatment-editorial-interlude img{aspect-ratio:4/3}
 .treatment-page .treatment-editorial-interlude figcaption{font-size:11px;max-width:none;padding:0}
 .treatment-page .treatment-questions{grid-template-columns:1fr;gap:23px;padding:36px 0;margin-top:24px}
 .treatment-page .treatment-question-list summary{font-size:15px;min-height:68px}
 .treatment-page .treatment-section-title h2{font-size:27px}
 .treatment-page .treatment-next-step{padding-block:32px 42px}
 .treatment-page .treatment-product-notes{grid-template-columns:1fr;gap:25px;padding:35px 0 24px}
 .treatment-page .treatment-product-notes h2{font-size:26px}
 .treatment-page .treatment-product-notes h3{font-size:18px}
 .treatment-page .treatment-authored-section.treatment-authored-section--topic-chapter{padding-bottom:0}
 .treatment-page .treatment-reading-topic{padding:32px 0}
 .treatment-page .treatment-authored-article .treatment-reading-topic>h3{font-size:24px;margin-bottom:20px}
 .treatment-page .treatment-reading-topic[data-editorial-kind=recovery]{padding:25px 20px;margin-block:12px}
 .treatment-page .treatment-reading-topic[data-editorial-kind=process] ol>li{padding-left:42px}
}
@media(max-width:600px){html:has(.treatment-page){--treatment-header-height:68px}}
@media(prefers-reduced-motion:reduce){.treatment-page .treatment-contents{backdrop-filter:none}}

/* BEGIN LOCAL SOFWAVE FRAMING */
/* Reduce the transparent-canvas and nested padding around this device only. */
.treatment-page .treatment-media-figure [data-packshot-key="sofwave"] > img.packshot-photo {
  padding: 0;
  transform: translate(-6%, 0) scale(1.04);
  transform-origin: 50% 50%;
}
/* END LOCAL SOFWAVE FRAMING */
