/* DoctorsBeyond original teal editorial system; scoped to weight-loss discovery. */
.wl-discovery,.wl-public-editorial { --wl-teal:#0e6b5c; --wl-deep:#153e35; --wl-mint:#ecf4ef; }
.wl-public-editorial .wl-discovery-hero { gap:48px; padding:52px 0; }
.wl-discovery-hero h1 { font-size:clamp(38px,5.2vw,68px); font-weight:600; max-width:11ch; }
.wl-discovery-hero .hero-picture { position:relative; align-self:stretch; }
.wl-discovery-hero .hero-photo { height:100%; min-height:530px; max-height:660px; border-radius:120px 28px 28px; object-position:62% center; }
.wl-discovery-hero .hero-safety { margin-top:20px; max-width:55ch; }
.wl-photo-note { position:absolute; left:22px; bottom:38px; padding:20px 24px; background:#153e35ed; color:white; border-radius:18px; max-width:80%; }
.wl-photo-note span { display:block; font-size:11px; margin-bottom:8px; color:#d3e8dc; }
.wl-photo-note strong { font-size:27px; line-height:1.18; font-weight:500; letter-spacing:-.035em; }
.wl-section-nav { display:flex; gap:9px; flex-wrap:wrap; padding:18px 0; border-block:1px solid #c5dcd2; }
.wl-section-nav a { padding:10px 16px; border-radius:30px; background:#ecf4ef; font-size:12px; font-weight:600; white-space:nowrap; }
.wl-section-nav a:hover { background:#d9eadd; }
.wl-section-heading { margin-bottom:28px; max-width:680px; }
.wl-section-heading h2,.wl-safety h2,.wl-closing h2 { font-size:clamp(31px,3.8vw,48px); line-height:1.13; font-weight:500; letter-spacing:-.04em; }
.wl-section-heading p { color:#586d65; margin-top:18px; max-width:58ch; }
.wl-format-switch,.wl-unit-switch { display:flex; gap:6px; flex-wrap:wrap; margin:18px 0; }
.wl-format-switch button,.wl-unit-switch button { border:1px solid #bdd6c9; background:white; color:#0e6b5c; padding:12px 18px; min-height:44px; border-radius:30px; font-size:13px; font-weight:600; }
.wl-format-switch button[aria-pressed=true],.wl-unit-switch button[aria-pressed=true] { background:#0e6b5c; border-color:#0e6b5c; color:white; }
.wl-options .cards { margin-top:24px; }
.wl-options .track-card { background:#f3f7f2; border-radius:28px; overflow:hidden; }
.wl-options .track-card:nth-child(2) { background:#eef4ed; }
.wl-options .track-card:nth-child(3) { background:#e8f2ed; }
.wl-options .track-visual { border-radius:18px; }
.wl-product-status,.wl-formulary-note { font-size:12px!important; color:#586d65; padding:12px; border:1px solid #c5dcd2; border-radius:12px; }
.wl-formulary-note { margin-top:20px; line-height:1.7; background:white; }
.wl-care-grid { display:grid; grid-template-columns:1fr 1fr; gap:20px; }
.wl-care-photo { position:relative; min-height:510px; border-radius:28px; overflow:hidden; grid-row:span 2; background:#ecf4ef; }
.wl-care-photo img { position:absolute; width:100%; height:100%; object-fit:cover; }
.wl-care-photo>div { position:absolute; inset:auto 0 0; padding:75px 28px 28px; background:linear-gradient(transparent,#123b32ed); color:white; }
.wl-care-photo .eyebrow,.wl-care-photo h3 { color:white; }
.wl-care-photo h3 { font-size:32px; max-width:12ch; margin-bottom:16px; }
.wl-care-panel { background:#ecf4ef; border:1px solid #c5dcd2; border-radius:28px; padding:30px; }
.wl-care-panel h3,.wl-care-note h3 { font-size:25px; margin-bottom:16px; }
.wl-care-panel p,.wl-care-note p { font-size:14px; color:#586d65; }
.wl-line-icon { font-size:28px; width:52px; height:52px; display:grid; place-items:center; background:white; color:#0e6b5c; border-radius:16px; margin-bottom:20px; }
.wl-mini-journey { list-style:none; padding:0; margin:24px 0; }
.wl-mini-journey li { display:flex; gap:12px; align-items:center; margin:12px 0; font-size:13px; }
.wl-mini-journey span { border:1px solid #b5d3c4; border-radius:50%; padding:7px; font-size:11px; color:#0e6b5c; }
.wl-care-panel>.wl-small { display:block; margin-top:13px; }
.wl-care-note { background:#153e35; color:white; padding:30px; border-radius:28px; }
.wl-care-note :is(h3,.eyebrow,a) { color:#fff; }
.wl-care-note p { color:#d2e3db; margin-bottom:16px; }
.wl-bmi-grid { display:grid; grid-template-columns:1.05fr 1fr; border:1px solid #bdd6c9; border-radius:30px; overflow:hidden; background:white; }
.wl-bmi-form { padding:32px; }
.wl-bmi-form label { display:block; font-size:12px; font-weight:600; margin-bottom:8px; }
.wl-bmi-form :is(input,select) { width:100%; min-width:0; border:1px solid #c5dcd2; border-radius:12px; background:#fff; padding:13px; margin-bottom:20px; min-height:48px; color:#263a36; }
.wl-bmi-pair { display:grid; grid-template-columns:1fr 1fr; gap:15px; }
.wl-bmi-form .actions { margin-top:6px; }
.wl-bmi-form .wl-small { margin-top:18px; }
.wl-bmi-result { display:flex; flex-direction:column; justify-content:center; background:#153e35; color:#e0eee6; padding:38px; }
.wl-bmi-result .eyebrow { color:#bedccb; }
.wl-bmi-number { font-size:clamp(58px,6vw,82px); font-weight:500; line-height:1.2; letter-spacing:-.06em; color:#fff; }
.wl-bmi-result h3 { color:white; font-size:23px; margin:14px 0; }
.wl-bmi-result p { font-size:14px; }
.wl-bmi-scale { display:grid; grid-template-columns:repeat(4,1fr); gap:4px; margin:30px 0 8px; }
.wl-bmi-scale i { height:7px; background:#99c6b3; border-radius:9px; }
.wl-bmi-scale i:nth-child(2) { background:#d1e8bf; }.wl-bmi-scale i:nth-child(3){background:#e8dcaf}.wl-bmi-scale i:nth-child(4){background:#e6b99e}
.wl-bmi-key { display:grid; grid-template-columns:repeat(4,1fr); gap:5px; font-size:10px; color:#e0eee6; margin-bottom:16px; }
.wl-bmi-result .wl-small { font-size:11px; color:#c0d6cb; }
.wl-bmi-result .wl-light-link { margin-top:22px; color:white; text-decoration:underline; text-underline-offset:5px; }
body.drb-sandbox.drb-program :is(.wl-bmi-result,.wl-care-note,.wl-care-photo) :is(h3,a) { color:#fff!important; }
.wl-small { font-size:12px; line-height:1.65; color:#586d65; }
.wl-explainer { border-bottom:1px solid #c5dcd2; padding:23px 0; }
.wl-explainer summary { cursor:pointer; font-size:13px; font-weight:600; }
.wl-explainer p { max-width:90ch; font-size:13px; margin:16px 0; }
.wl-learning-grid { display:grid; grid-template-columns:1fr 1fr; gap:16px; align-items:start; }
.wl-learning-grid details { border:1px solid #c5dcd2; background:white; padding:24px; border-radius:20px; }
.wl-learning-grid summary { cursor:pointer; font-weight:600; line-height:1.5; }
.wl-learning-grid p { color:#586d65; font-size:14px; margin:18px 0; }
.wl-safety { padding:35px!important; background:#ecf4ef; border:1px solid #bdd6c9; border-radius:28px; margin:30px 0; }
.wl-safety h2 { font-size:32px; margin-bottom:24px; }
.wl-safety p { font-size:13px; line-height:1.8; max-width:105ch; }
.wl-source-links { display:flex; flex-wrap:wrap; gap:14px 24px; font-size:12px; font-weight:600; margin:22px 0; text-decoration:underline; text-underline-offset:4px; }
.wl-timeline article { padding:24px; border-top:1px solid #a9cdbb; }
.wl-closing { text-align:center; background:#e2eee5; padding:50px 24px!important; border-radius:32px; margin-top:50px; }
.wl-closing .button { margin:25px 0; }.wl-closing p { max-width:60ch; margin:auto; }
.wl-mobile-care { display:none; }.wl-readiness { margin-bottom:28px; }.wl-readiness p { font-size:13px; }
.wl-public-editorial [id],.wl-discovery[id] { scroll-margin-top:24px; }
@media(max-width:760px){
 .wl-public-editorial .wl-discovery-hero { gap:28px; padding:30px 0; }
 .wl-discovery-hero h1 { max-width:14ch; font-size:42px; }
 .wl-discovery-hero .hero-photo { min-height:280px; height:280px; border-radius:80px 24px 24px; }
 .wl-photo-note { display:none; }
 .wl-section-nav { flex-wrap:nowrap; overflow-x:auto; max-width:100%; padding:15px 0; }
 .wl-section-nav a { font-size:11px; padding:10px 12px; }
 .wl-section-heading { margin-bottom:24px; }.wl-section-heading h2{font-size:34px}.wl-section-heading p{font-size:14px}
 .wl-care-grid,.wl-bmi-grid,.wl-learning-grid { grid-template-columns:minmax(0,1fr); }
 .wl-care-photo { min-height:380px; grid-row:auto; }
 .wl-bmi-form,.wl-bmi-result,.wl-care-panel,.wl-care-note { padding:24px; }
 .wl-unit-switch button { padding:11px 12px; font-size:11px; }
 .wl-format-switch button { font-size:11px; padding:11px 12px; }
 .wl-safety { padding:24px!important; }.wl-safety h2{font-size:28px}
 .wl-mobile-care { display:flex; align-items:center; justify-content:space-between; gap:12px; position:fixed; bottom:0; left:0; right:0; padding:12px 18px calc(12px + env(safe-area-inset-bottom)); background:#fffffff7; border-top:1px solid #bdd6c9; z-index:40; box-shadow:0 -6px 24px #153e3510; }
 .wl-mobile-care strong { display:block; font-size:19px; color:#0e6b5c; }.wl-mobile-care small{font-size:11px;margin-left:4px;font-weight:500}
 .wl-mobile-care span { display:block; font-size:9px; color:#586d65; }.wl-mobile-care .button{padding:12px 16px;white-space:nowrap;font-size:12px}
 .drb-public-program:has(.wl-mobile-care) .footer { padding-bottom:120px; }
 .drb-public-program:has(.wl-mobile-care) { scroll-padding-bottom:100px; }
 .wl-bmi-form :is(input,select,button) { scroll-margin-block:110px; }
}
@media(max-width:360px){.drb-program .program-service-nav{gap:6px;overflow-x:auto}.drb-program .program-service-nav a{flex-shrink:0}}
@media(prefers-reduced-motion:reduce){.wl-public-editorial *{scroll-behavior:auto!important;transition:none!important}}

/* Compact treatment comparison: use both columns before the product row. */
body.drb-program .wl-public-editorial .wl-options { padding:24px 0 36px; }
.wl-public-editorial .wl-options-intro { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); align-items:center; gap:24px 48px; }
.wl-public-editorial .wl-options .wl-section-heading { max-width:none; margin:0; }
.wl-public-editorial .wl-options .wl-section-heading .eyebrow { display:block; font-size:10px; letter-spacing:.13em; margin:0 0 10px; }
.wl-public-editorial .wl-options .wl-section-heading h2 { font-size:clamp(28px,3vw,38px); line-height:1.14; max-width:19ch; margin:0; }
.wl-public-editorial .wl-options .wl-section-heading p { font-size:14px; line-height:1.6; margin:10px 0 0; max-width:48ch; }
.wl-options-controls { min-width:0; }
.wl-options-controls .wl-format-switch { display:flex; gap:5px; flex-wrap:wrap; margin:0 0 9px; }
.wl-options-controls .wl-format-switch button { padding:10px 14px; font-size:12px; line-height:1.35; min-height:44px; }
.wl-options-controls #wl-format-status { font-size:11px; line-height:1.6; margin:0; max-width:58ch; }
.wl-public-editorial .wl-options .cards { margin-top:22px; }
@media(max-width:760px) {
 body.drb-program .wl-public-editorial .wl-options { padding:20px 0 28px; }
 .wl-public-editorial .wl-options-intro { grid-template-columns:minmax(0,1fr); gap:16px; }
 .wl-public-editorial .wl-options .wl-section-heading h2 { font-size:29px; max-width:20ch; }
 .wl-public-editorial .wl-options .wl-section-heading p { font-size:13px; margin-top:8px; }
 .wl-options-controls .wl-format-switch { display:grid; grid-template-columns:1.15fr .85fr 1.15fr; gap:5px; }
 .wl-options-controls .wl-format-switch button { font-size:11px; padding:9px 6px; }
 .wl-public-editorial .wl-options .cards { margin-top:18px; }
}
