/* Reading, reference navigation, and interaction quality across public pages. */
body.editorial-site .quality-doc-index,
body.editorial-site .quality-article-index{border:0;border-radius:0;background:transparent;box-shadow:none}
body.editorial-site :is(.quality-doc-index,.quality-article-index)>summary{
  display:list-item;min-height:44px;padding:12px 0;cursor:pointer;
  color:#1b1e26;font:500 14px/1.5 Inter,Arial,sans-serif;
}
body.editorial-site :is(.quality-doc-index,.quality-article-index)>summary::marker{color:#3045b5;font-size:11px}
body.editorial-site :is(.quality-doc-index,.quality-article-index)>summary:focus-visible,
body.editorial-site .docmain :is(pre,.dtable):focus-visible{
  outline:2px solid #3045b5;outline-offset:4px;
}
body.editorial-site .docnav{max-height:calc(100svh - 120px);overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}
body.editorial-site .quality-doc-index nav{padding-top:4px}
body.editorial-site .quality-doc-index a{min-height:44px;padding:10px 12px;line-height:1.6;border-radius:0;overflow-wrap:anywhere}
body.editorial-site .docmain :is(pre,.dtable){scrollbar-width:thin;scrollbar-color:#8992a7 #ecece8;overscroll-behavior-x:contain;scroll-padding-inline:18px}
body.editorial-site .docmain :is(p,li,td)>code{overflow-wrap:anywhere;word-break:normal}
body.editorial-site .docmain h3{scroll-margin-top:112px}

/* Long research titles and prose use a reading scale, separate from product heroes. */
body.editorial-site.journal-article,
body.editorial-site.journal-article :is(.shell,.article,.article-body){background:#f7f6f2!important;background-image:none!important}
body.editorial-site.journal-article .shell{width:100%;max-width:1120px;margin-inline:auto;padding-inline:24px}
body.editorial-site.journal-article .article{max-width:940px!important;padding:44px 36px 70px!important}
body.editorial-site.journal-article .article h1{
  font-size:clamp(32px,3.3vw,56px)!important;line-height:1.13!important;
  letter-spacing:-.04em!important;max-width:27ch!important;text-wrap:pretty;
  overflow-wrap:break-word;color:#1b1e26!important;
}
body.editorial-site.journal-article .article>.lede{max-width:68ch!important;font-size:18px!important;line-height:1.75!important;color:#585d69!important}
body.editorial-site.journal-article .article-body{max-width:72ch;font-size:17px;line-height:1.85;margin-top:32px}
body.editorial-site.journal-article .article-body :is(p,li){color:#464c58!important}
body.editorial-site.journal-article .article-body :is(h2,h3){text-wrap:pretty;scroll-margin-top:112px}
body.editorial-site.journal-article .article a{color:#3045b5!important;text-decoration-thickness:1px!important;text-underline-offset:4px}
body.editorial-site.journal-article .article a:focus-visible{outline:2px solid #3045b5;outline-offset:4px}
body.editorial-site.journal-article .article .meta,
body.editorial-site.journal-article .journal-reading-map a>span{color:#a3462d!important}
body.editorial-site.journal-article .quality-article-index{margin:28px 0 0;border-block:1px solid #d4d6d9}
body.editorial-site.journal-article .quality-article-index>summary{padding-block:15px}
body.editorial-site.journal-article .quality-article-index .journal-reading-map{margin:0!important;padding:0 0 15px!important;border:0!important}
body.editorial-site.journal-article .quality-article-index .journal-reading-map>p{display:none}
body.editorial-site.journal-article .journal-reading-map a{min-height:44px;padding:10px 0;font-size:14px!important;line-height:1.65;gap:15px}
body.editorial-site.journal-article .journal-reading-map a>span{flex:0 0 20px}
body.editorial-site.journal-article .article-body .figure{background:#efeee9!important;border-color:#d4d6d9!important}
body.editorial-site.journal-article .article-body .callout{background:#efeee9!important;border-left-color:#3045b5!important}
body.editorial-site.journal-article .article .cta-inline>a{color:white!important}

/* Small visual marks retain a full touch/focus target. */
body.editorial-site .dt-copy-email{min-height:44px;padding-block:10px}
body.editorial-site.demo-page :is(#risk,#cap){height:44px!important;min-height:44px!important}
body.editorial-site #dx-scrubber{height:44px!important;min-height:44px!important;margin-block:0}
body.legacy-shell #root button.text-xs{min-height:44px;padding-block:10px;font-size:13px;line-height:1.5}
body.editorial-site .field-optional{font-size:12px;font-weight:400;color:#656b76}
body.editorial-site .api-trial-nojs{font-size:16px;line-height:1.8;max-width:48ch}
body.editorial-site .api-trial-nojs a{color:#3045b5;text-decoration:underline;text-underline-offset:4px}
body.editorial-site #tf-err:focus-visible{outline:2px solid #a3462d;outline-offset:5px}

@media(max-width:900px){
 body.editorial-site .docnav{display:block;position:static;max-height:none;overflow:visible;padding:0;border-block:1px solid #d4d6d9}
 body.editorial-site .quality-doc-index nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2px 18px;padding:4px 0 14px}
 body.editorial-site .quality-doc-index a{font-size:13px;padding:9px 0;min-width:0}
}
@media(max-width:760px){
 body.editorial-site.journal-article .shell{padding-inline:16px!important}
 body.editorial-site.journal-article .article{padding:30px 8px 48px!important}
 body.editorial-site.journal-article .article h1{font-size:clamp(30px,7.8vw,42px)!important;line-height:1.15!important;letter-spacing:-.035em!important;margin-block:18px!important}
 body.editorial-site.journal-article .article>.lede{font-size:16px!important;line-height:1.75!important;margin-bottom:24px!important}
 body.editorial-site.journal-article .article-body{font-size:16px;line-height:1.8;margin-top:28px}
 body.editorial-site.journal-article .article-body h2{font-size:26px!important;line-height:1.25!important}
 body.editorial-site.journal-article .journal-reading-map a{font-size:13px!important}
}
@media(min-width:901px) and (max-height:620px){
 body.editorial-site .docnav{max-height:calc(100svh - 106px);top:94px}
}
@media(prefers-reduced-motion:reduce){
 body.editorial-site :is(.quality-doc-index,.quality-article-index){scroll-behavior:auto}
}

/* Retire the inherited journal glow across the full desktop canvas. */
body.editorial-site.journal-article::before{display:none!important}

/* Access-screen controls keep their original behavior with usable targets. */
body.legacy-shell #root button.pb-3{min-height:44px;padding-block:10px}
body.legacy-shell #root .quality-password-toggle{width:44px;height:44px;right:4px!important;padding:0!important;display:inline-flex;align-items:center;justify-content:center;translate:0 -50%!important}
body.legacy-shell[data-access-view=admin] #root :is(label,a,.text-slate-700){color:#a8b3c2!important}
body.legacy-shell[data-access-view=admin] #root label{font-size:12px!important}
body.legacy-shell[data-access-view=admin] #root a{display:inline-flex;min-height:44px;align-items:center}
body.legacy-shell[data-access-view=admin] #root .quality-password-toggle{color:#a7b6ec!important}
