/* The article shell owns its layout; site-wide legacy CSS must not supply it. */
body.allreg-template--article #app>.shell{box-sizing:border-box;display:block;width:100%;max-width:1240px;margin-inline:auto;padding-inline:26px}
body.allreg-template--article #app>.breadcrumb{display:flex;flex-wrap:wrap;align-items:center;min-width:0}
body.allreg-template--article #app>.page-hero{box-sizing:border-box;width:calc(100% - 52px);max-width:1188px;margin-inline:auto}
body.allreg-template--article #app>.page-hero::after{content:none}
body.allreg-template--article #app .article-meta{display:flex;flex-wrap:wrap;align-items:center}
body.allreg-template--article #app .content-layout{display:grid;grid-template-columns:minmax(0,760px) minmax(250px,290px);justify-content:space-between;align-items:start;gap:48px}
body.allreg-template--article #app .content-layout>.sidebar{position:sticky;top:100px;align-self:start;height:max-content}
@media(max-width:900px){body.allreg-template--article #app .content-layout{display:flex;flex-direction:column;gap:0}body.allreg-template--article #app .content-layout>.sidebar{position:static;top:auto;width:100%;margin-top:26px}}
@media(max-width:700px){body.allreg-template--article #app>.shell{padding-inline:18px}body.allreg-template--article #app>.page-hero{width:calc(100% - 36px)}}

/* Shared outline styles; existing sidebar sections keep their content and order. */
.article-toc-sidebar{max-height:calc(100dvh - 125px);overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#c6d4eb transparent}
body.allreg-template--article .article-toc{position:static;top:auto;margin:0 0 22px;padding:0 0 18px;border:0;border-bottom:1px solid #e0e7f2;border-radius:0;background:transparent;color:#1b2b47}
.article-toc>summary{display:flex;align-items:center;justify-content:space-between;gap:10px;cursor:pointer;list-style:none;padding:0 0 8px;line-height:1.7}
.article-toc>summary::-webkit-details-marker{display:none}.article-toc>summary:after{content:'+';font-size:18px;line-height:1;color:#6480ad}.article-toc[open]>summary:after{content:'−'}
.article-toc>summary strong{font-size:15px;font-weight:650}.article-toc>summary>span{font-size:10px;color:#8290a6;margin-left:auto;font-weight:400}
.article-toc nav{max-height:min(38dvh,340px);overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;padding-right:3px;margin-top:6px}
.article-toc ol{margin:0;padding:0;list-style:none}.article-toc li{margin:0;padding:0}
.sidebar .article-toc a{display:block;border:0;border-left:3px solid #e3eaf5;border-radius:0 7px 7px 0;padding:9px 12px 9px 17px;margin:2px 0;font-size:13px;line-height:1.55;color:#60718d;font-weight:500;overflow-wrap:anywhere;text-decoration:none;transition:background-color .16s,color .16s,border-color .16s}
.sidebar .article-toc .article-toc-level-3 a{padding-left:27px;font-size:11px;color:#7b879c}
.sidebar .article-toc a:hover{background:#f5f8fe;color:#205cc9;border-left-color:#9bbcf4}.sidebar .article-toc a.is-current{border-left-color:#2563df;background:#f5f8ff;color:#174fb5;font-weight:700}
.article-toc a:focus-visible,.article-toc>summary:focus-visible{outline:2px solid #3878e8;outline-offset:2px}
.article-body h2[id],.article-body h3[id]{scroll-margin-top:120px}.article-toc-target:focus{outline:none}.article-toc-target:focus-visible{outline:2px solid #7da7ef;outline-offset:5px;border-radius:3px}
.article-toc-sidebar:has(.article-service-cta) .article-toc nav{max-height:min(29dvh,260px)}
.article-service-cta{margin:0 0 21px;padding:16px;border:1px solid #d8e5f8;border-radius:11px;background:#f3f7ff}
.article-service-cta>span{display:block;color:#2865cf;font-size:10px;font-weight:800;letter-spacing:.12em}
.article-service-cta>strong{display:block;margin:6px 0 12px;color:#20375e;font-size:14px;line-height:1.5}
body.allreg-template--article .content-layout>.sidebar .article-service-cta>a{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:42px;padding:9px 12px;border:0;border-radius:8px;background:#2466df;color:#fff;font-size:12px;font-weight:700;line-height:1.5;text-decoration:none}
body.allreg-template--article .content-layout>.sidebar .article-service-cta>a:hover{background:#174fbb;color:#fff}
body.allreg-template--article .content-layout>.sidebar .article-service-cta:has(.article-order-link)>a:not(.article-order-link){border:1px solid #bdd0ee;background:#fff;color:#245bc2}
body.allreg-template--article .content-layout>.sidebar .article-service-cta:has(.article-order-link)>a:not(.article-order-link):hover{background:#e8f0ff;color:#174fbb}
body.allreg-template--article .content-layout>.sidebar .article-service-cta>.article-order-link{margin-top:9px}
.article-service-cta>a:focus-visible{outline:2px solid #174fbb;outline-offset:3px}
@media(min-width:901px){.article-body p:has(> .article-bottom-service-cta){display:none}.article-body>.article-bottom-service-cta{display:none}}
@media(max-width:900px){.article-toc-sidebar{max-height:none;overflow:visible}.article-toc nav,.article-toc-sidebar:has(.article-service-cta) .article-toc nav{max-height:320px}.article-service-cta{display:none}.article-toc>summary{padding-bottom:2px}.sidebar .article-toc a{font-size:13px;padding:9px 12px 9px 17px}.sidebar .article-toc .article-toc-level-3 a{font-size:12px}.article-body h2[id],.article-body h3[id]{scroll-margin-top:100px}body.allreg-template--article .content-layout .article-body p:has(>.article-bottom-order-cta){display:flex;flex-direction:column;align-items:flex-start;gap:10px}body.allreg-template--article .content-layout .article-body .article-bottom-service-cta:has(+ .article-bottom-order-cta){border:1px solid #bdd0ee;background:#fff;color:#245bc2!important;box-shadow:none}body.allreg-template--article .content-layout .article-body a.article-bottom-order-cta{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:11px 18px;border-radius:9px;background:#2466df;color:#fff!important;text-decoration:none;font-size:13px;font-weight:700;line-height:1.5}body.allreg-template--article .content-layout .article-body a.article-bottom-order-cta:hover{background:#174fbb;color:#fff!important}}
@media(prefers-reduced-motion:reduce){.sidebar .article-toc a{transition:none}html{scroll-behavior:auto!important}}

/* article reading refinements 2026-10-30 */
.article-reading-progress{position:fixed;inset:0 auto auto 0;width:100%;height:3px;background:#2466df;transform:scaleX(0);transform-origin:left center;z-index:10000;pointer-events:none;transition:transform .12s linear}
.article-more-details>summary{display:none}
.article-more-details>.article-more-links{display:contents}
.article-more-details>h3:first-of-type{margin-top:0}
body.allreg-template--article .article-service-cta>a{transition:background-color .18s ease,transform .18s ease,box-shadow .18s ease}
body.allreg-template--article .article-service-cta>a:hover{transform:translateY(-2px);box-shadow:0 6px 18px rgba(19,62,135,.12)}
@media(max-width:900px){
 .article-more-details{margin-top:14px;border:1px solid #dce6f5;border-radius:12px;background:#f7f9fd;padding:0 16px}
 .article-more-details>summary{display:list-item;cursor:pointer;padding:15px 0;color:#183562;font-size:14px;font-weight:700}
 .article-more-details:not([open])>*:not(summary){display:none}
 .article-more-details[open]{padding-bottom:12px}
 .article-more-details>h3{font-size:13px;margin:14px 0 5px}
 .article-more-details>a{padding:9px 0;font-size:13px}
}
@media(prefers-reduced-motion:reduce){.article-reading-progress,body.allreg-template--article .article-service-cta>a{transition:none}body.allreg-template--article .article-service-cta>a:hover{transform:none;box-shadow:none}}

/* Article titles may use the full hero width on desktop; avoids a short orphan line. */
@media(min-width:901px){body.allreg-template--article:has(.content-layout) .page-hero.page-hero h1{max-width:100%}}

/* Let article hero text use the card width and avoid an orphaned title fragment. */
body.allreg-template--article:has(.content-layout) .page-hero.page-hero h1{text-wrap:balance}
@media(min-width:901px){body.allreg-template--article:has(.content-layout) .page-hero.page-hero>p{max-width:none}}

/* Keep readable space between the active marker and label after shared template CSS loads. */
@media(min-width:901px){body.allreg-template--article .content-layout>.sidebar .article-toc a{padding-left:20px}body.allreg-template--article .content-layout>.sidebar .article-toc .article-toc-level-3 a{padding-left:29px}}

/* Full-page template modules shared by knowledge, regulatory updates and cases. */
.breadcrumb .separator{display:inline-block;margin:0 12px;color:#8ba0be}
.breadcrumb [aria-current=page]{color:#60738f}
.article-facts{margin:0 0 28px;padding:22px 24px;border:1px solid #d7e4f6;border-radius:12px;background:#f5f8fe}
.article-facts h2{margin:0 0 14px!important;font-size:19px!important}
.article-facts dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 24px;margin:0}
.article-facts dt{color:#687d9a;font-size:12px}
.article-facts dd{margin:3px 0 0;color:#17345e;font-size:14px;line-height:1.65}
.article-facts p{margin:16px 0 0;font-size:12px;color:#647896}
.article-mobile-cta{display:none}
@media(max-width:900px){
 .article-facts{padding:18px;margin-bottom:22px}
 .article-facts dl{grid-template-columns:1fr}
 .article-mobile-cta{display:flex;flex-wrap:wrap;gap:10px;margin:24px 0 0}
 body.allreg-template--article .content-layout .article-body .article-mobile-cta a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 16px;border-radius:8px;font-size:13px;font-weight:700;text-decoration:none}
 body.allreg-template--article .content-layout .article-body .article-mobile-cta .article-bottom-service-cta{border:1px solid #bdd0ee;background:#fff;color:#245bc2}
 body.allreg-template--article .content-layout .article-body .article-mobile-cta .article-bottom-order-cta{background:#2466df;color:#fff}
}
