/* Treatment guide: the same warm surfaces and illustration language as the disease page. */
.treatment-page{--tx-border:#d7e5df}
.treatment-page h2{font-size:clamp(34px,4vw,50px);line-height:1.1}
.treatment-page .page-section{padding:88px 0}
.treatment-page .page-section + .page-section{padding-top:88px}
.treatment-page .eyebrow{margin-bottom:16px}
.treatment-page section[id],.tx-treatment{scroll-margin-top:130px}
.treatment-page a:focus-visible,.treatment-page summary:focus-visible,.tx-dialog button:focus-visible{outline:3px solid var(--gold);outline-offset:5px}
.treatment-page .btn{white-space:normal;text-align:center}
.tx-hero .wrap{padding-bottom:62px}
.tx-hero::before{left:72%}
.tx-hero-grid{display:grid;grid-template-columns:1.1fr 1fr;align-items:center;gap:38px;min-height:510px}
.tx-hero .eyebrow{margin-top:22px}
.tx-hero h1{font-size:clamp(48px,5.7vw,76px);max-width:650px;line-height:1.03}
.tx-hero h1 em{display:inline-block}
.tx-hero .page-intro{font-size:20px;max-width:570px}
.tx-map{position:relative;container-type:inline-size;aspect-ratio:1.12;width:100%;max-width:530px;justify-self:end}
.tx-map-orbit{position:absolute;inset:8% 12% 16%;border:1px dashed #ffffff65;border-radius:50%;transform:rotate(-20deg);box-shadow:0 0 0 32px #ffffff05,0 0 0 64px #ffffff03}
.tx-map-orbit::before,.tx-map-orbit::after{content:"";position:absolute;background:#ffffff42;inset:49% -8%;height:1px;transform:rotate(40deg)}
.tx-map-orbit::after{transform:rotate(-40deg)}
.tx-map-core{position:absolute;left:35%;top:29%;width:30%;aspect-ratio:1;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:8px;background:var(--gold);color:var(--navy);border-radius:50%;box-shadow:0 0 0 12px #f0a52c20,0 20px 35px #0e2b4533}
.tx-map-core svg{width:28%;height:28%}.tx-map-core strong{font:600 clamp(22px,6cqi,32px)/1 var(--serif)}
.tx-map-node{position:absolute;display:flex;align-items:center;gap:12px;max-width:49%;padding:16px 18px;border-radius:18px;background:var(--paper);box-shadow:var(--shadow-md);color:var(--navy);font-size:clamp(12px,3cqi,16px);font-weight:700;line-height:1.25;transition:transform .2s}
.tx-map-node:hover{transform:translateY(-4px)}
.tx-map-node-0{left:0;top:8%}.tx-map-node-1{right:0;top:11%;background:var(--mint)}.tx-map-node-2{left:0;bottom:19%;background:var(--cream)}.tx-map-node-3{right:0;bottom:17%}
.tx-map-caption{position:absolute;bottom:0;left:0;width:100%;text-align:center;font:500 clamp(19px,4.5cqi,25px) var(--serif);color:#e5edf3}
.tx-icon{display:inline-grid;place-items:center;width:58px;height:58px;flex:none;border-radius:18px;background:var(--mint);color:var(--teal)}
.tx-icon svg{width:31px;height:31px}.tx-map-node .tx-icon{width:38px;height:38px;border-radius:12px;background:#188e8510}.tx-map-node .tx-icon svg{width:25px;height:25px}
.tx-intro-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:100px;align-items:start}
.tx-prose p{color:var(--ink-soft);line-height:1.75}.tx-prose p+p{margin-top:18px}
.tx-explore{background:var(--cream)}
.tx-explore .section-intro{max-width:770px;margin-bottom:34px}.tx-explore .section-intro>p:last-child{color:var(--ink-soft)}
.tx-category-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.tx-category{padding:27px 24px;display:flex;flex-direction:column;background:var(--paper);border:1px solid #e7e0cf;border-radius:24px;transition:transform .2s,box-shadow .2s}
.tx-category:hover{transform:translateY(-5px);box-shadow:var(--shadow-md)}.tx-category-1{background:var(--mint);border-color:transparent}.tx-category-2{background:#edf2f6;border-color:transparent}.tx-category-3{background:var(--navy);border-color:transparent;color:#fff}
.tx-category-top{display:flex;justify-content:space-between;align-items:start;margin-bottom:25px;color:var(--teal)}.tx-category-top>span:last-child{font-size:24px}
.tx-category-3 .tx-category-top{color:var(--gold)}.tx-category-3 .tx-icon{background:#ffffff15;color:var(--gold)}
.tx-category .tx-kicker{font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;margin-bottom:12px;color:var(--teal)}
.tx-category h3{font-size:29px;line-height:1.06;margin-bottom:16px}.tx-category>p:not(.tx-kicker){font-size:15px;line-height:1.6;color:var(--ink-soft);margin-bottom:24px}
.tx-category-action{font-size:14px;font-weight:800;margin-top:auto;display:flex;justify-content:space-between;gap:10px}.tx-category-3 h3{color:#fff}.tx-category-3>p:not(.tx-kicker){color:#dce6ee}.tx-category-3 .tx-kicker{color:var(--gold)}
.tx-section-heading{display:flex;align-items:center;gap:22px;margin-bottom:24px}.tx-section-heading .eyebrow{font-size:12px;margin-bottom:12px}.tx-section-heading>.tx-icon{width:76px;height:76px;border-radius:24px}.tx-section-heading>.tx-icon svg{width:38px;height:38px}
.tx-section-intro{max-width:810px;line-height:1.75;color:var(--ink-soft);margin-bottom:36px}
.tx-group-heading{margin:38px 0 24px}.tx-group-heading h3{font-size:28px;margin-bottom:10px}.tx-group-heading p{max-width:800px;font-size:16px;color:var(--ink-soft)}
.tx-treatment-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.tx-treatment{display:flex;flex-direction:column;min-width:0;border:1px solid var(--tx-border);border-radius:20px;background:#fff;overflow:hidden;transition:box-shadow .2s}
.tx-treatment:hover{box-shadow:var(--shadow-sm)}.tx-treatment-head{padding:25px 25px 0}
.tx-format{display:block;color:var(--teal);font-weight:700;font-size:11px;letter-spacing:.045em;text-transform:uppercase;margin-bottom:15px}
.tx-treatment h3{font-size:28px;line-height:1.08;margin-bottom:8px}.tx-generic{font-size:13px;line-height:1.5;color:var(--ink-faint)}
.tx-summary{padding:18px 25px 24px;color:var(--ink-soft);font-size:16px;line-height:1.6}
.tx-disclosure{margin-top:auto}.tx-disclosure>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;list-style:none;padding:17px 25px;border-top:1px solid var(--tx-border);font-size:14px;font-weight:800;color:var(--navy);cursor:pointer;background:#f5faf7}
.tx-disclosure>summary::-webkit-details-marker{display:none}.tx-disclosure>summary:hover{background:var(--mint)}
.tx-disclosure[open]{grid-column:1/-1}.tx-treatment:has(>.tx-disclosure[open]){grid-column:1/-1}
.tx-detail{padding:30px;color:var(--ink);max-width:760px;margin:auto;overflow-wrap:anywhere}
.tx-detail>h2{font:600 clamp(32px,5vw,46px)/1.08 var(--serif);color:var(--navy);margin:0 0 10px}
.tx-detail>h3{font:600 25px/1.2 var(--serif);color:var(--navy);margin:27px 0 10px}
.tx-detail p{font:400 17px/1.7 var(--sans);color:var(--ink-soft)}.tx-detail .eyebrow{font:700 12px var(--sans);color:var(--teal);margin-bottom:14px;text-transform:uppercase;letter-spacing:.12em}
.tx-detail .tx-detail-subtitle{font-size:15px;color:var(--ink-faint)}.tx-detail-title:focus{outline:none}
.tx-question{padding:24px;background:var(--mint);border-radius:16px;margin:28px 0}.tx-question .eyebrow{display:block}.tx-question p{font:500 24px/1.3 var(--serif);color:var(--navy)}
.tx-detail-source a,.tx-permalink{text-decoration:underline;text-underline-offset:4px;color:var(--teal);font-size:14px;font-weight:700}
.tx-detail .tx-detail-disclaimer{font-size:13px;margin:18px 0;color:var(--ink-faint)}
.tx-note{margin-top:34px;padding:30px 34px;background:var(--mint-200);border-left:4px solid var(--teal);border-radius:0 18px 18px 0}.tx-note h3{font-size:26px;margin-bottom:12px}.tx-note p{font-size:16px;line-height:1.7;color:var(--ink-soft);max-width:980px}.tx-note p+p{margin-top:14px}
.tx-endoscopic{background:var(--mint-200)}.tx-gastric-band{background:var(--cream)}.tx-gastric-band .tx-treatment-grid{grid-template-columns:1fr}.tx-gastric-band .tx-treatment{display:grid;grid-template-columns:.8fr 1.2fr}.tx-gastric-band .tx-treatment-head{padding:30px}.tx-gastric-band .tx-summary{padding:30px;align-self:center}.tx-gastric-band .tx-disclosure{grid-column:1/-1}
.tx-context{font-size:15px;line-height:1.7;color:var(--ink-soft);margin:25px 0 0;max-width:960px}
.tx-plan{background:var(--navy);color:#e5edf3}.tx-plan-grid{display:grid;grid-template-columns:1fr 1fr;gap:74px;align-items:center}.tx-plan .eyebrow{color:var(--gold)}.tx-plan h2{color:#fff;margin-bottom:24px}.tx-plan p{line-height:1.75}.tx-affirmation{display:block;margin-top:24px;font:500 27px/1.3 var(--serif);color:var(--gold)}
.tx-care-cycle{position:relative;padding:52px 28px 30px;border:1px solid #ffffff26;background:#ffffff07;border-radius:28px}.tx-cycle-labels{display:flex;justify-content:space-around;gap:16px;position:relative}.tx-cycle-labels span{display:flex;flex-direction:column;align-items:center;gap:16px;font-weight:700;font-size:15px;color:#fff}.tx-cycle-labels svg{width:72px;height:72px;border:1px solid #ffffff60;padding:20px;border-radius:50%;background:var(--navy);color:var(--gold)}.tx-cycle-line{position:absolute;top:87px;left:14%;right:14%;height:55px;border:1px dashed #ffffff60;border-radius:50%}.tx-care-cycle>p{position:relative;margin-top:32px;padding-top:24px;border-top:1px solid #ffffff26;text-align:center;font-size:15px;color:#e5edf3}
.tx-estimator-grid{display:grid;grid-template-columns:.85fr 1.15fr;gap:90px;align-items:center}.tx-estimator h2{margin-bottom:24px}.tx-estimator p:not(.eyebrow){color:var(--ink-soft);line-height:1.7}.tx-estimator .btn{margin:26px 0 14px}.tx-attribution{font-size:12px;margin-bottom:12px}.tx-estimator-art{padding:35px 30px 45px;background:var(--mint);border-radius:50% 50% 30% 45%;transform:rotate(-4deg)}.tx-estimator-sheet{position:relative;padding:35px;background:#fff;border-radius:22px;box-shadow:14px 18px 0 #143a5c10,var(--shadow-md);transform:rotate(4deg)}.tx-estimator-sheet>svg{width:50px;height:50px;color:var(--teal);margin-bottom:25px}.tx-art-line{display:block;height:8px;background:var(--mint);border-radius:8px;margin-bottom:12px;width:85%}.tx-art-line+.tx-art-line{width:62%;margin-bottom:25px}.tx-estimator-sheet strong{display:block;font:600 35px/1.05 var(--serif);color:var(--navy);max-width:220px;margin-bottom:12px}.tx-estimator-sheet p{font-size:14px;max-width:180px}.tx-art-check{position:absolute;bottom:-22px;right:-12px;display:grid;place-items:center;background:var(--gold);width:70px;height:70px;border-radius:50%;border:7px solid var(--paper)}.tx-art-check svg{width:35px;height:35px}
.tx-team{background:var(--cream)}.tx-team-intro{max-width:790px}.tx-team h2{margin-bottom:24px}.tx-team-intro>p:last-child{color:var(--ink-soft);line-height:1.75}.tx-team-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:30px;margin:40px 0}.tx-team-number{display:block;font:500 38px var(--serif);color:var(--teal);margin-bottom:18px}.tx-team-grid h3{font-size:26px;line-height:1.15;margin-bottom:14px}.tx-team-grid p{font-size:15px;line-height:1.7;color:var(--ink-soft)}.tx-directory{border-top:1px solid var(--line);padding-top:2px}.tx-directory>p{font-size:14px;line-height:1.7;color:var(--ink-soft);max-width:820px;margin-top:20px}
.tx-checklist{margin-top:42px;padding:30px 34px;background:#fff;border-radius:22px}.tx-checklist h3{font-size:30px;margin-bottom:24px}.tx-checklist details{border-top:1px solid var(--line)}.tx-checklist summary{padding:20px 0;cursor:pointer;font-weight:700;font-size:17px;color:var(--navy)}.tx-checklist details p{padding:0 0 22px;font-size:16px;color:var(--ink-soft);line-height:1.7}
.tx-community{background:var(--mint);text-align:center}.tx-community h2{max-width:700px;margin:24px auto}.tx-community p{max-width:700px;margin:auto;color:var(--ink-soft);line-height:1.75}.tx-community .tx-icon{background:#fff}.tx-community .page-actions{justify-content:center;align-items:center}.tx-community .text-link{margin:0;padding:14px}
.tx-sources h2{font-size:29px;margin-bottom:22px}.tx-sources p{max-width:980px;font-size:14px;line-height:1.75;color:var(--ink-soft)}.tx-sources .tx-review{font-size:13px;margin-top:16px;color:var(--ink-faint)}.tx-sources details{margin-top:24px}.tx-sources summary{cursor:pointer;font-size:15px;font-weight:700;color:var(--navy)}.tx-sources ul{padding-left:20px;columns:2;column-gap:50px;max-width:1000px}.tx-sources li{font-size:14px;margin-bottom:12px;break-inside:avoid}.tx-sources a{text-decoration:underline;text-underline-offset:3px}
.tx-modal-open{overflow:hidden}
.tx-dialog{width:min(760px,calc(100% - 40px));max-height:calc(100dvh - 64px);padding:0;border:0;border-radius:26px;background:var(--paper);color:var(--ink);box-shadow:0 30px 100px #0e2b4560;overscroll-behavior:contain}
.tx-dialog::backdrop{background:#0e2b45b8;backdrop-filter:blur(5px)}.tx-dialog-bar{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;padding:15px 28px;background:var(--paper);border-bottom:1px solid var(--line);font:700 12px var(--sans);letter-spacing:.1em;text-transform:uppercase;color:var(--teal)}.tx-dialog-close{border:1px solid var(--tx-border,#d7e5df);border-radius:99px;padding:10px 16px;background:#fff;color:var(--navy);font:700 14px var(--sans);cursor:pointer}.tx-dialog .tx-detail{padding:32px 42px 40px}
@media(min-width:801px){.tx-treatment-grid:has(>.tx-treatment:nth-child(2):last-child){grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:1050px){.tx-hero-grid{gap:20px;grid-template-columns:1fr 1fr}.tx-hero .page-actions{align-items:start;flex-direction:column}.tx-map-node{padding:13px;gap:8px}.tx-intro-grid{gap:45px}.tx-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.tx-category{padding:26px}.tx-category h3{max-width:270px}.tx-treatment-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.tx-team-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.tx-plan-grid,.tx-estimator-grid{gap:45px}}
@media(max-width:800px){.treatment-page .page-section,.treatment-page .page-section+.page-section{padding:60px 0}.tx-hero-grid{grid-template-columns:1fr;gap:36px;padding-top:12px}.tx-hero .page-actions{flex-direction:row;align-items:center}.tx-hero h1{font-size:clamp(45px,8vw,66px)}.tx-hero .page-intro{max-width:650px}.tx-map{max-width:480px;justify-self:center}.tx-intro-grid,.tx-plan-grid,.tx-estimator-grid{grid-template-columns:1fr;gap:32px}.tx-estimator-art{max-width:350px;width:100%;justify-self:center}.tx-estimator-grid{gap:50px}.tx-section-heading{align-items:start}.tx-section-heading>.tx-icon{width:56px;height:56px;border-radius:18px}.tx-section-heading>.tx-icon svg{width:30px;height:30px}.tx-section-heading h2{font-size:36px}.tx-gastric-band .tx-treatment{display:flex}.tx-gastric-band .tx-summary{padding-top:0;align-self:stretch}.tx-sources ul{columns:1}}
@media(max-width:560px){.treatment-page .wrap{padding-left:22px;padding-right:22px}.treatment-page .page-section,.treatment-page .page-section+.page-section{padding:50px 0}.tx-hero .wrap{padding-bottom:36px}.tx-hero .page-intro{font-size:18px}.tx-hero .page-actions{gap:16px}.tx-hero .btn{font-size:15px;padding:14px 20px}.tx-map-node{padding:11px;gap:7px;border-radius:13px}.tx-map-node .tx-icon{width:30px;height:30px}.tx-map-node .tx-icon svg{width:21px;height:21px}.tx-category-grid,.tx-treatment-grid{grid-template-columns:1fr}.tx-category{display:grid;grid-template-columns:auto 1fr;gap:0 20px;padding:24px}.tx-category-top{grid-row:1/5;display:block;margin:0}.tx-category-top>span:last-child{display:none}.tx-category .tx-kicker{margin-bottom:9px}.tx-category h3{font-size:27px;margin-bottom:12px;max-width:none}.tx-category>p:not(.tx-kicker){font-size:15px;margin-bottom:18px}.tx-category-action{grid-column:2}.tx-category .tx-icon{width:48px;height:48px;border-radius:15px}.tx-category .tx-icon svg{width:27px;height:27px}.tx-team-grid{gap:26px 22px}.tx-team-grid h3{font-size:24px}.tx-checklist{padding:24px}.tx-note{padding:24px}.tx-dialog{width:100%;max-width:none;height:100dvh;max-height:100dvh;margin:0;border-radius:0}.tx-dialog .tx-detail{padding:28px 24px}.tx-dialog-bar{padding:12px 20px}.tx-section-heading{gap:15px}.tx-section-heading h2{font-size:32px}.tx-section-heading .eyebrow{font-size:10px}.tx-care-cycle{padding-left:18px;padding-right:18px}.tx-cycle-labels{gap:10px}.tx-cycle-labels svg{width:60px;height:60px;padding:16px}.tx-cycle-line{top:82px}.tx-plan h2 br,.tx-estimator h2 br{display:none}}
@media(prefers-reduced-motion:reduce){.tx-map-node,.tx-category,.tx-treatment{transition:none}.tx-map-node:hover,.tx-category:hover{transform:none}}
@media print{.tx-map,.tx-category-grid,.tx-dialog-bar,.c3-nav,.c3-foot,.bn-assistant{display:none!important}.tx-modal-open{overflow:visible}.tx-dialog[open]{position:static;width:100%;height:auto;max-height:none;overflow:visible;box-shadow:none}.tx-treatment-grid{display:block}.tx-treatment{break-inside:avoid;margin-bottom:20px}.treatment-page .page-section{padding:24px 0!important}.tx-detail{max-width:none}.tx-sources ul{columns:1}}

/* Procedure artwork is shared by the card and its reading panel. */
.tx-card-illustration{background:#f6f9fc;border-bottom:1px solid var(--tx-border)}
.tx-card-illustration img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:contain}
.tx-detail-illustration{margin:26px 0;background:#f6f9fc;border:1px solid var(--tx-border);border-radius:16px;overflow:hidden}
.tx-detail-illustration img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:contain;max-height:440px}
.tx-detail-illustration figcaption{padding:16px 20px;background:#fff;font:400 14px/1.6 var(--sans);color:var(--ink-soft)}
.tx-detail-illustration figcaption span{display:block;margin-top:5px;font-size:12px;color:var(--ink-faint)}
.tx-gastric-band .tx-card-illustration{grid-column:1;grid-row:1/3;align-self:stretch;border-bottom:0;border-right:1px solid var(--tx-border);display:grid;align-items:center}
.tx-gastric-band .tx-treatment-head{grid-column:2;padding-bottom:0}.tx-gastric-band .tx-summary{grid-column:2;padding-top:18px}
@media(max-width:780px){.tx-gastric-band .tx-card-illustration{grid-column:1;grid-row:auto;border-right:0;border-bottom:1px solid var(--tx-border)}.tx-gastric-band .tx-treatment-head,.tx-gastric-band .tx-summary{grid-column:1}}
