/* WhatDx 6.4 — unified premium chrome and precision fixes.
   Loaded after 6.3.1. Print content, patient/clinician workflow, and all copy are preserved. */
@media screen {
:root {--wdx64-ink:#1B2F34;--wdx64-teal:#145766;--wdx64-line:#C8D6D9;--wdx64-wash:#F2F5F5;--wdx64-serif:'Newsreader',Georgia,serif;--wdx64-sans:'Plus Jakarta Sans',system-ui,sans-serif;}
.wdx64-site-header,.wdx64-site-header *,.wdx64-site-footer,.wdx64-site-footer *{box-sizing:border-box}
.wdx64-site-header{position:sticky;top:0;z-index:1200;background:rgba(255,255,255,.97);border-bottom:1px solid var(--wdx64-line);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}
.wdx64-header-inner{width:min(1240px,calc(100% - 44px));min-height:72px;margin:auto;display:flex;align-items:center;gap:clamp(13px,1.9vw,26px)}
.wdx64-header-brand{display:inline-flex;align-items:center;gap:11px;white-space:nowrap;text-decoration:none!important;color:var(--wdx64-ink)!important;font:500 25px/1 var(--wdx64-serif);margin-inline-end:auto}
.wdx64-header-brand img{width:39px;height:39px;display:block;object-fit:contain;border-radius:7px;flex:none}
.wdx64-header-inner>nav{display:flex;gap:clamp(11px,1.3vw,22px);align-items:center}
.wdx64-header-inner>nav a{font:600 11px/1.4 var(--wdx64-sans);color:#4B6268;text-decoration:none;white-space:nowrap}
.wdx64-header-inner>nav a:hover{color:var(--wdx64-teal)}
.wdx64-header-cta{display:inline-flex;align-items:center;justify-content:center;min-height:43px;padding:11px 17px;border-radius:6px;border:1px solid var(--wdx64-teal);background:var(--wdx64-teal);color:#fff!important;font:700 12px/1.3 var(--wdx64-sans);text-decoration:none!important;white-space:nowrap}
.wdx64-header-cta:hover{background:#103E4B}
.wdx64-mobile-menu{display:none;position:relative;margin-inline-start:auto}
.wdx64-mobile-menu summary{cursor:pointer;border:1px solid var(--wdx64-line);padding:8px 9px;border-radius:6px;list-style:none;color:var(--wdx64-teal);font:600 12px/1.4 var(--wdx64-sans)}
.wdx64-mobile-menu summary::-webkit-details-marker{display:none}
.wdx64-mobile-links{position:absolute;right:0;top:calc(100% + 8px);width:min(290px,85vw);padding:13px;display:grid;gap:0;background:#fff;border:1px solid var(--wdx64-line);border-radius:8px;box-shadow:0 18px 40px -18px rgba(18,65,76,.25);z-index:1300}
.wdx64-mobile-links a{display:block;padding:10px 12px;text-decoration:none;color:var(--wdx64-ink);font:600 12px/1.4 var(--wdx64-sans);border-radius:5px}
.wdx64-mobile-links a:hover{background:#E8F0F2}
body.reference-home .ref-wordmark{display:inline-flex;align-items:center;gap:8px;white-space:nowrap}
body.reference-home .ref-wordmark .wdx64-home-mark{display:block;width:36px;height:36px;object-fit:contain;border-radius:7px;flex:none}
body.reference-home .ref-header{z-index:1200}
.wdx64-site-footer{background:#103E4B;color:#E6F0F2;border:0;padding:0;font:400 13px/1.65 var(--wdx64-sans);box-shadow:none;clear:both}
/* v6.4.1: the Clinicians editorial stylesheet contains
   body:has(.clinician-page-hero) footer, which is more specific than
   the v6.4 footer class. Preserve the shared brand background. */
body:has(.clinician-page-hero) footer.wdx64-site-footer{
  background-color:#103E4B !important;
  color:#E6F0F2 !important;
  border-color:transparent !important;
}

.wdx64-footer-inner{width:min(1240px,calc(100% - 44px));margin:auto;display:grid;grid-template-columns:minmax(220px,1.6fr) repeat(3,minmax(120px,.8fr));gap:clamp(25px,4.1vw,72px);padding:54px 0 49px}
.wdx64-footer-brand>a{display:inline-flex;align-items:center;gap:12px;color:#fff!important;text-decoration:none;font:500 28px/1 var(--wdx64-serif)}
.wdx64-footer-brand img{width:50px;height:50px;object-fit:contain;border-radius:7px}
.wdx64-footer-brand p{margin:14px 0 0;max-width:315px;font-size:12px;line-height:1.75;color:#C6D8DC}
.wdx64-site-footer nav{display:grid;align-content:start;gap:9px;min-width:0}
.wdx64-site-footer nav h2{margin:2px 0 5px!important;color:#fff!important;font:700 11px/1.4 var(--wdx64-sans)!important;letter-spacing:.09em;text-transform:uppercase}
.wdx64-site-footer nav a{color:#D1E0E3!important;text-decoration:none!important;font:500 12px/1.65 var(--wdx64-sans)}
.wdx64-site-footer nav a:hover{text-decoration:underline!important;text-underline-offset:3px;color:#fff!important}
.wdx64-footer-bottom{border-top:1px solid rgba(230,240,242,.16);padding:16px max(22px,calc((100vw - 1240px)/2));display:flex;justify-content:space-between;gap:18px;flex-wrap:wrap;color:#C6D8DC;font:500 11px/1.5 var(--wdx64-sans)}
.wdx64-app-disclaimer{max-width:1240px;margin:24px auto;padding:12px 20px;color:#4B6268;text-align:center;font:500 12px/1.65 var(--wdx64-sans)}
/* The sitewide footer belongs AFTER the research workflow; never inside report canvases. */
body.reference-home #the-loop .wdx-story-tabs{display:flex!important;flex-wrap:nowrap!important;gap:13px;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x proximity;scrollbar-width:thin;padding:3px 2px 10px;margin-bottom:18px;max-width:100%}
body.reference-home #the-loop .wdx-story-tabs>.wdx-story-tab{flex:1 0 0;min-width:225px;scroll-snap-align:start}
/* Consistent optical centering: neutralize inherited line-box descender offset. */
body.reference-home #wdx62-real .wdx62-details summary::after{box-sizing:border-box;display:flex!important;align-items:center!important;justify-content:center!important;width:26px;height:26px;flex:0 0 26px;padding:0 0 3px 0!important;line-height:1!important;font-family:Arial,Helvetica,sans-serif!important;font-size:18px!important;font-weight:500;vertical-align:middle;border:1px solid var(--wdx64-line);background:#E8F0F2;color:var(--wdx64-teal)}
body.reference-home .wdx-llm-close-x{box-sizing:border-box!important;display:flex!important;align-items:center!important;justify-content:center!important;width:36px;height:36px;flex:0 0 36px;padding:0 0 3px 0!important;font:400 22px/1 Arial,Helvetica,sans-serif!important;border:1px solid var(--wdx64-line);border-radius:50%}
/* Previous handoff question callout still inherited warm green from v058. */
body.reference-home #philosophy .wdx58-doctor{background:#E8F0F2!important;border:1px solid #C8D6D9!important;border-radius:8px!important;color:#1B2F34!important;box-shadow:none!important}
body.reference-home #philosophy .wdx58-doctor summary{color:#1B2F34!important}
body.reference-home #philosophy .wdx58-doctor-icon{background:#D4E5E9!important;color:#145766!important}
body.reference-home #philosophy .wdx58-doctor-plus{color:#145766!important}
body.reference-home #philosophy .wdx58-doctor p{color:#4B6268!important}
/* Prevent original small screens collapsing fictional story tabs to a vertical stack. */
@media(max-width:940px){body.reference-home #the-loop .wdx-story-tabs>.wdx-story-tab{flex:0 0 clamp(240px,43vw,360px)!important;min-width:240px}}
@media(max-width:1060px){
 .wdx64-header-inner>nav{display:none}
 .wdx64-mobile-menu{display:block}
}
@media(max-width:680px){
 .wdx64-header-inner{width:calc(100% - 28px);min-height:62px;gap:9px}
 .wdx64-header-inner>nav{display:none}
 .wdx64-header-brand{font-size:22px;gap:8px}
 .wdx64-header-brand img{width:34px;height:34px}
 .wdx64-header-cta{min-height:40px;padding:8px 10px;font-size:11px}
 .wdx64-mobile-menu{display:block}
 body.reference-home .ref-wordmark .wdx64-home-mark{width:30px;height:30px}
 body.reference-home #the-loop .wdx-story-tabs{display:flex!important;grid-template-columns:none!important;overflow-x:auto!important;gap:10px}
 body.reference-home #the-loop .wdx-story-tabs>.wdx-story-tab{flex:0 0 min(83vw,300px)!important;min-width:225px;max-width:300px;scroll-snap-align:start}
 .wdx64-footer-inner{width:calc(100% - 34px);grid-template-columns:repeat(2,minmax(0,1fr));gap:27px 23px;padding:40px 0 36px}
 .wdx64-footer-brand{grid-column:1/-1}
 .wdx64-footer-bottom{padding:17px;display:grid;gap:6px}
}
}
@media print {.wdx64-site-header,.wdx64-site-footer,.wdx64-mobile-menu{display:none!important}}
