/* Clinical decision support page. Built from the final design:
   evidence sphere hero and source settings (version A), source scan and annotated answer (version B).
   Wide screens reproduce the 1440px design; smaller screens stack the same content. */

.dss-page{--g:clamp(20px,4.45vw,64px);--hh:85px;line-height:normal;overflow-x:clip}
.dss-page section{scroll-margin-top:90px}
.dss-page h1,.dss-page h2,.dss-page h3{font-family:inherit;color:inherit;text-wrap:balance}
.dss-page h1 span,.dss-page h2 span,.dss-page h1 em,.dss-page h2 em,.dss-page h3 em{color:inherit;margin-top:0}
.dss-page p{text-wrap:pretty}
.dss-page :focus-visible{outline:2px solid #083333;outline-offset:4px}
.dss-page ::selection{background:#E8D3C0}
.dss-page button{font-family:inherit;color:inherit;cursor:pointer}

.rz-btn{transition:transform .25s cubic-bezier(.2,.8,.2,1),box-shadow .25s ease}
.rz-btn:hover{transform:translateY(-2px);box-shadow:0 12px 28px -14px rgba(8,51,51,.6)}
.rz-ghost{transition:background .2s ease}
.rz-ghost:hover{background:rgba(8,51,51,.06)}
.dss-page .rz-btn,.dss-page .rz-ghost{justify-content:center;min-height:44px}
.dss-page summary{list-style:none;cursor:pointer}
.dss-page summary::-webkit-details-marker{display:none}
.rz-plus{transition:transform .3s ease}
.dss-page details[open] .rz-plus{transform:rotate(45deg)}
.rz-l{display:block;overflow:hidden;padding-bottom:.1em;margin-bottom:-.1em}
.rz-l>span{display:block;animation:rz-line 1.3s cubic-bezier(.16,1,.3,1) both}
.rz-in{animation:rz-rise 1.1s cubic-bezier(.16,1,.3,1) both}
@keyframes rz-line{from{transform:translateY(110%)}to{transform:none}}
@keyframes rz-rise{from{opacity:0;transform:translateY(34px)}to{opacity:1;transform:none}}
@keyframes rz-spin{to{transform:rotate(360deg)}}

/* ---------- Hero: evidence sphere ---------- */
.dss-hero{position:relative;height:828px;max-width:1568px;width:100%;margin:0 auto;overflow:hidden;background:radial-gradient(ellipse 55% 60% at 74% 44%,#F6EDE2 0%,rgba(252,246,239,0) 70%)}
.dss-sphere{position:absolute;right:10px;top:10px;width:820px;height:760px;display:block}
.dss-hero-copy{position:relative;z-index:2;height:100%;box-sizing:border-box;padding:60px var(--g) 0;display:flex;flex-direction:column;width:640px;max-width:100%}
.dss-title{margin:40px 0 0;font-weight:300;font-size:84px;line-height:.98;letter-spacing:-.045em}
.dss-legend{margin-top:auto!important;margin-bottom:44px;flex-wrap:wrap}
.dss-answer{position:absolute;z-index:3;right:var(--g);bottom:40px;width:540px;max-width:calc(100% - 2 * var(--g));margin:0}
.dss-answer ul{list-style:disc}
.cite{min-height:44px;transition:background .25s ease,border-color .25s ease,box-shadow .25s ease}
.cite:hover,.cite:focus-visible,.cite.is-on{background:#E8D3C0!important;border-color:#C9A27F!important}

/* ---------- Source scan (pinned on wide screens) ---------- */
.dss-scan{position:relative}
.dss-kicker{margin:0;display:flex;align-items:center;gap:12px;font-size:13px;letter-spacing:.1em;text-transform:uppercase;color:rgba(8,51,51,.72)}
.dss-scan-copy{position:relative}
.dss-scan-static h2{margin:28px 0 0;font-weight:300;font-size:clamp(40px,5vw,64px);line-height:1;letter-spacing:-.04em}
.dss-scan-static h2 em{font-style:italic;font-weight:400}
.dss-scan-static p{margin:18px 0 0;max-width:460px;font-size:17px;line-height:1.6;color:rgba(8,51,51,.9)}
.dss-bignum{position:relative;margin-top:40px;height:290px}
.dss-bignum p{position:absolute;left:0;top:0;margin:0;font-weight:300;font-size:260px;line-height:.82;letter-spacing:-.06em;font-variant-numeric:tabular-nums}
.dss-bignum em{font-style:italic;font-weight:400}
.dss-phases{position:relative;height:200px}
.dss-phases>div{position:absolute;inset:0}
.dss-phases h3{margin:0;font-size:34px;font-weight:400;letter-spacing:-.02em}
.dss-phases p{margin:14px 0 0;max-width:420px;font-size:17px;line-height:1.6;color:rgba(8,51,51,.9)}
.dss-scan-bar{position:absolute;left:0;right:40px;bottom:0;height:2px;background:rgba(8,51,51,.1);border-radius:2px}
.dss-scan-bar span{position:absolute;inset:0;background:#083333;border-radius:2px;transform-origin:left}
.dss-scan-figure{position:relative;margin:0}
.dss-list{position:absolute;inset:0 0 auto 0;border-radius:18px;background:#FAF6F2;border:1px solid #E0D9CC;box-shadow:0 50px 90px -60px rgba(8,51,51,.55);overflow:hidden}
.dss-list-head{display:flex;align-items:center;justify-content:space-between;height:58px;padding:0 22px;border-bottom:1px solid #E0D9CC}
.dss-list-head>span:first-child{display:flex;align-items:center;gap:12px;font-size:15px}
.dss-list-head strong{font-weight:500;font-variant-numeric:tabular-nums}
.dss-list-hide{font-size:13px;color:rgba(8,51,51,.72)}
.dss-list-window{height:484px;overflow:hidden;position:relative}
.dss-list-rows{font-size:14.5px}
.dss-list-fade{position:absolute;left:0;right:0;bottom:0;height:70px;background:linear-gradient(rgba(250,246,242,0),#FAF6F2)}
.dss-row{height:44px;box-sizing:border-box;padding:0 22px;display:grid;grid-template-columns:22px minmax(0,1fr) auto;gap:12px;align-items:center;border-bottom:1px solid rgba(224,217,204,.6)}
.dss-row-title{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dss-row-title.is-cited{font-weight:500}
.dss-row-pub{font-family:ui-monospace,Menlo,monospace;font-size:12px;color:rgba(8,51,51,.72);white-space:nowrap}
.dss-skel{display:block;height:8px;border-radius:4px;background:#EFE7DD}
.dss-ico{display:grid;place-items:center;font-weight:500}
.dss-ico-skel{width:16px;height:16px;border-radius:4px;background:#EFE7DD}
.dss-ico-e{font-family:Georgia,serif;font-size:17px;color:#E0835C;font-weight:400}
.dss-ico-p{width:16px;height:16px;border-radius:4px;background:#E6E1DA;color:#4B5563;font-size:9px}
.dss-ico-bmj{width:18px;height:18px;border-radius:4px;background:#2F5D9E;color:#fff;font-size:8px}
.dss-ico-small{font-size:6px}
.dss-ico-s{width:26px;height:26px;border-radius:6px;background:#083333;color:#F6F0E9;font-size:12px}
.dss-refs{position:absolute;inset:40px 0 auto 0;border-radius:18px;background:#FAF6F2;border:1px solid #E0D9CC;box-shadow:0 50px 90px -60px rgba(8,51,51,.55)}
.dss-refs-head{display:flex;align-items:center;justify-content:space-between;padding:28px 32px 10px}
.dss-refs-head span:first-child{font-size:20px;font-weight:500}
.dss-refs-head span:last-child{font-size:14px;color:rgba(8,51,51,.72)}
.dss-refs ol{margin:0;padding:12px 32px 34px 58px;display:flex;flex-direction:column;gap:28px}
.dss-refs li{font-size:19px;line-height:1.45;padding-left:6px}
.dss-refs li p{margin:8px 0 0;display:flex;align-items:center;flex-wrap:wrap;gap:8px;font-size:13px;color:rgba(8,51,51,.72)}
.dss-web{padding:1px 7px;border-radius:5px;background:#EFE7DD;color:#083333}

.dss-pinned .dss-pin{position:relative;height:calc(100vh - var(--hh));overflow:hidden}
.dss-pinned .dss-stage{position:absolute;left:50%;top:50%;width:1440px;height:828px;box-sizing:border-box;padding:70px 64px 56px;display:grid;grid-template-columns:500px 1fr;gap:80px;transform:translate(-50%,-50%) scale(var(--s,1))}
.dss-pinned .dss-scan-copy{height:100%}
.dss-pinned .dss-scan-static{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important}
/* Static layout: small screens, reduced motion, no JavaScript */
html:not(.dss-pinned) .dss-stage{max-width:1440px;box-sizing:border-box;margin:0 auto;padding:110px var(--g) 110px;display:grid;grid-template-columns:minmax(0,440px) minmax(0,1fr);gap:clamp(32px,5vw,80px);align-items:start}
html:not(.dss-pinned) .dss-scan-motion,html:not(.dss-pinned) .dss-list{display:none}
html:not(.dss-pinned) .dss-refs{position:relative;inset:auto}

/* ---------- Claims beside their sources ---------- */
.dss-claims{padding:140px var(--g) 120px;background:#F6F0E9}
.dss-claims-head,.dss-claim{max-width:1312px;margin:0 auto;display:grid;grid-template-columns:minmax(0,820px) minmax(0,1fr);gap:72px}
.dss-claim{align-items:start;width:100%}
.dss-h2{font-weight:300;font-size:72px;line-height:1;letter-spacing:-.04em}
.dss-h2-sm{font-size:58px}
.dss-claim-list{max-width:1312px;margin:80px auto 0;display:flex;flex-direction:column;gap:56px}
.dss-claim-text{font-size:32px}
.dss-claim-list figcaption{max-width:1312px}
.mark{background-image:linear-gradient(rgba(218,182,151,.55),rgba(218,182,151,.55));background-repeat:no-repeat;background-position:0 88%;background-size:100% 38%;padding:0 2px;-webkit-box-decoration-break:clone;box-decoration-break:clone}

/* ---------- Try it: source settings ---------- */
.dss-try{position:relative;max-width:1520px;box-sizing:border-box;margin:130px auto 0;margin-inline:max(24px,calc((100% - 1520px) / 2));padding:110px 40px;border-radius:32px;background:#F6F0E9}
.dss-try-grid{display:grid;grid-template-columns:480px minmax(0,1fr);gap:64px;padding:0 24px}
.dss-src-card{margin-top:64px}
.dss-switch-row{display:grid;grid-template-columns:1fr auto;gap:16px;align-items:center;padding:16px 20px;border-bottom:1px solid #E0D9CC}
.dss-switch{flex-shrink:0;position:relative;width:46px;height:28px;border-radius:999px;border:none;padding:0;background:#DDD3C4;transition:background .3s ease}
.dss-switch::before{content:"";position:absolute;inset:-8px}
.dss-switch .knob{position:absolute;top:3px;left:3px;width:22px;height:22px;border-radius:50%;background:#FCF6EF;box-shadow:0 1px 3px rgba(8,51,51,.3);transition:transform .35s cubic-bezier(.16,1,.3,1)}
.dss-switch[aria-checked=true]{background:#083333}
.dss-switch[aria-checked=true] .knob{transform:translateX(18px)}
.dss-src-list{list-style:none;margin:0;padding:0;position:relative}
.dss-src{min-height:68px;box-sizing:border-box;padding:10px 24px;display:grid;grid-template-columns:26px minmax(0,1fr) auto;gap:16px;align-items:center;border-bottom:1px solid rgba(8,51,51,.08);transition:top .7s cubic-bezier(.16,1,.3,1),opacity .5s ease,background .4s ease}
.dss-src[hidden]{display:none}
.dss-src .dss-ico{width:26px;height:26px;border-radius:6px;font-size:12px}
.dss-src .dss-ico-bmj{font-size:9px}
.dss-src .dss-ico-e{border-radius:0;font-size:20px}
.dss-src .dss-ico-p{background:#EFE7DD}
.dss-src-text{min-width:0}
.dss-src-title{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:14.5px}
.dss-src-pub{display:block;margin-top:3px;font-family:ui-monospace,Menlo,monospace;font-size:11.5px;color:rgba(8,51,51,.72)}
.dss-badge{justify-self:end;padding:4px 10px;border-radius:999px;font-size:12px;white-space:nowrap;opacity:0;transition:opacity .4s ease}
.dss-badge:not(:empty){opacity:1}
.dss-badge.is-local{background:#083333;color:#F6F0E9}
.dss-badge.is-regional{background:#DAB697;color:#083333}
.dss-badge.is-off{background:#EFE7DD;color:rgba(8,51,51,.8)}
.dss-src.is-local{background:rgba(218,182,151,.16)}
.dss-src.is-off{opacity:.42}
.dss-src-list.is-live{transition:height .6s cubic-bezier(.16,1,.3,1)}
.dss-src-list.is-live .dss-src{position:absolute;left:0;right:0;height:68px}

/* ---------- Questions and close ---------- */
.dss-faq{max-width:1568px;box-sizing:border-box;width:100%;margin:0 auto;padding:150px var(--g) 140px;display:grid;grid-template-columns:5fr 7fr;gap:64px}
.dss-faq a{text-decoration:underline}
.dss-faq summary svg{flex-shrink:0}
.dss-close{position:relative;margin:0 24px 96px;height:560px;border-radius:32px;overflow:hidden;display:flex;align-items:center;padding:0 72px}
.dss-close-title{font-size:88px}

/* ---------- Mid-size screens ---------- */
@media (max-width:1439px){
 .dss-title{font-size:76px}
 .dss-sphere{width:720px;height:680px;right:-20px}
 .dss-answer{width:500px}
}
@media (max-width:1199px){
 .dss-hero{height:auto;display:flex;flex-direction:column;padding-bottom:64px}
 .dss-hero-copy{height:auto;width:100%}
 .dss-legend{margin-top:32px!important;margin-bottom:0}
 .dss-sphere{position:relative;right:auto;top:auto;order:1;width:100%;height:480px;margin-top:8px}
 .dss-answer{position:relative;right:auto;bottom:auto;order:2;margin:-170px var(--g) 0 auto}
 html:not(.dss-pinned) .dss-stage{grid-template-columns:1fr;gap:40px}
 .dss-claims-head,.dss-claim{grid-template-columns:minmax(0,1fr) minmax(220px,300px);gap:40px}
 .dss-h2{font-size:clamp(44px,6vw,64px)}
 .dss-claim-text{font-size:28px}
 .dss-try-grid{grid-template-columns:minmax(0,1fr);gap:40px;padding:0}
 .dss-src-card{margin-top:0}
 .dss-faq{gap:32px}
 .dss-close-title{font-size:clamp(52px,7vw,80px)}
}
@media (max-width:767px){
 .dss-hero-copy{padding-top:32px}
 .dss-title{font-size:clamp(46px,12.5vw,64px);margin-top:28px}
 .dss-hero-copy>p{font-size:18px!important}
 .dss-actions{flex-wrap:wrap}
 .dss-legend{gap:12px!important}
 .dss-sphere{height:360px}
 .dss-answer{margin:-110px var(--g) 0}
 .dss-answer ul{padding-left:30px!important;font-size:14.5px!important}
 .dss-refs li{font-size:17px}
 .dss-refs ol{padding:8px 20px 26px 42px}
 .dss-refs-head{padding:22px 20px 8px;flex-wrap:wrap;gap:6px}
 html:not(.dss-pinned) .dss-stage{padding-block:80px}
 .dss-claims{padding-block:88px}
 .dss-claims-head,.dss-claim{grid-template-columns:minmax(0,1fr);gap:20px}
 .dss-claim-list{margin-top:48px;gap:40px}
 .dss-claim-text{font-size:22px}
 .dss-h2,.dss-h2-sm{font-size:clamp(38px,10.5vw,52px)}
 .dss-try{margin:80px 12px 0;padding:64px 16px;border-radius:24px}
 .dss-src{padding:10px 16px;gap:12px}
 .dss-src-list.is-live .dss-src{height:68px}
 .dss-faq{grid-template-columns:1fr;padding:96px var(--g) 80px;gap:28px}
 .dss-faq h2{font-size:42px!important}
 .dss-faq summary{font-size:19px!important;gap:16px!important}
 .dss-faq details p{padding-right:0!important;font-size:16px!important}
 .dss-close{height:auto;min-height:440px;margin:0 12px 64px;padding:64px 22px;border-radius:24px}
 .dss-close-veil{background:linear-gradient(180deg,rgba(252,246,239,.94) 0%,rgba(252,246,239,.82) 60%,rgba(252,246,239,.5) 100%)!important}
 .dss-close-title{font-size:clamp(46px,12vw,60px)}
 .dss-close .rv3{flex-wrap:wrap}
}

/* Reduced motion: every piece of content, no movement */
@media (prefers-reduced-motion:reduce){
 .dss-page *,.dss-page *::before,.dss-page *::after{animation:none!important;transition:none!important}
}
html[data-dss-motion=off] .dss-page *{animation:none!important;transition:none!important}
