/* Shared behavior only; site typography, colors, and visual treatments stay in their themes. */
html,body{overflow-x:clip}
html{scroll-padding-top:var(--site-header-offset,100px)}
:where(.nav-toggle,.hlc-toggle,.lender-banner button){min-width:44px;min-height:44px}
:where(.nav-toggle,.hlc-toggle):focus-visible{outline:2px solid currentColor;outline-offset:3px}
:where(.nav-cta,.btn-primary,.btn-secondary,.editorial-cta,.hlc-cta){min-height:44px;max-width:100%;white-space:normal;text-align:center;justify-content:center}
:where(.form-grid,.prose-grid,.editorial-grid)>*{min-width:0}
body :is(.resource-sidebar,[data-site-theme="hub"] .side-card,[data-site-theme="hub"] .ph-checklist,[data-site-theme="hub"] .ph-question-sheet){position:static;align-self:start;min-width:0}
@media(min-width:1001px) and (min-height:640px){
 body :is(.resource-sidebar,[data-site-theme="hub"] .side-card,[data-site-theme="hub"] .ph-checklist,[data-site-theme="hub"] .ph-question-sheet){position:sticky;top:var(--sidebar-top,110px)}
}
@media(max-width:1000px){
 [data-site-theme="hub"] :is(.form-grid,.prose-grid){grid-template-columns:minmax(0,1fr);gap:36px}
 .resource-sidebar{position:static}
 input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),select,textarea{font-size:16px!important}
 :where(button,.nav-links a,.hlc-nav a,.lender-banner a,.resource-mobile-toc summary){min-height:44px}
 .nav-links a,.hlc-nav a,.lender-banner a{display:inline-flex;align-items:center}
 nav.main.nav-open,nav.top.nav-open,.hlc-topbar.hlc-open{max-height:100dvh;overflow-y:auto;overscroll-behavior:contain}
 nav.main .nav-inner{height:auto;min-height:72px;gap:12px}
 nav.main .brand{min-width:0;max-width:calc(100% - 56px)}
 nav.main .nav-toggle{margin-left:auto}
 .main.nav-open .nav-links{flex-shrink:0}
 .main.nav-open .nav-cta{min-height:44px;flex-shrink:0}
}
@media(max-height:639px){
 nav.main,nav.top,.hlc-topbar{position:relative}
 .resource-sidebar,[data-site-theme="hub"] .side-card{position:static}
}
@media(max-width:600px){
 [data-site-theme="affixation"] .instruments{grid-template-columns:minmax(0,1fr)}
 [data-site-theme="affixation"] .instrument{min-width:0;padding:24px 20px}
 [data-site-theme="affixation"] .inst-name{font-size:clamp(30px,8vw,40px);overflow-wrap:break-word}
 [data-site-theme="affixation"] .inst-footer{grid-template-columns:repeat(2,minmax(0,1fr))}
 [data-site-theme="affixation"] .tl-body{min-width:0;overflow-wrap:break-word}
 [data-site-theme="alumiconn-v1"] .hero-content{min-width:0}
 [data-site-theme="alumiconn-v1"] .hero-lede{max-width:100%;min-width:0;overflow-wrap:break-word}
 [data-site-theme="alumiconn-v1"] .he-actions{flex-wrap:wrap}
 [data-site-theme="alumiconn"] .hl-step{padding:22px;min-width:0}
 [data-site-theme="alumiconn"] .hl-step-num{position:static;margin-bottom:16px}
 [data-site-theme="alumiconn"] .hl-step-tick,[data-site-theme="alumiconn"] .hl-step-rail::before{display:none}
 .xlink-card{padding:24px 20px;min-width:0;overflow-wrap:break-word}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

@media(max-width:600px){
 [data-site-theme="alumiconn-v1"] .hero-grid{grid-template-columns:minmax(0,1fr)}
 [data-site-theme="alumiconn-v1"] .hero-grid>*{min-width:0}
 [data-site-theme="affixation"] .timeline-row{grid-template-columns:60px minmax(0,1fr);gap:16px}
 [data-site-theme="affixation"] .tl-day{font-size:48px}
}

/* Border-box prevents full-width timeline cards from growing by their padding. */
[data-site-theme="alumiconn"] .hl-step{box-sizing:border-box}
@media(max-width:600px){
 [data-site-theme="affixation"] .reason{grid-template-columns:minmax(0,1fr);gap:20px}
 [data-site-theme="affixation"] .reason>*{min-width:0}
 [data-site-theme="affixation"] .reason-h{font-size:30px;overflow-wrap:break-word}
}
@media(max-width:1000px){
 body :is(.nav-toggle,.hlc-toggle,.ib-dismiss,.lender-banner button){min-width:44px;min-height:44px}
 body :is(nav.main .brand,.btn.btn-ink,.network-resource-links a,.editorial-tags a){min-height:44px;display:inline-flex;align-items:center}
 .editorial-tags a{padding-inline:4px}
}

@media(max-width:1000px){
 nav.top.nav-open .in{height:auto;min-height:72px;flex-wrap:wrap;padding-block:14px;row-gap:12px}
 nav.top.nav-open .navlinks{position:static;order:10;flex-basis:100%;width:100%;max-height:none;overflow:visible}
 nav.top .navlinks a{min-height:44px;display:flex;align-items:center}
}

@media(max-width:480px){
 [data-site-theme="fhainspect"] .cov-grid{grid-template-columns:minmax(0,1fr)}
 [data-site-theme="fhainspect"] .cov-head{flex-wrap:wrap;gap:12px}
 [data-site-theme="alumiconn-v1"] .hero-meta{grid-template-columns:minmax(0,1fr);gap:20px}
}

/* Headings wrap to their actual column, never to a manually composed line. */
body :is(h1,h2,h3,h4){text-wrap:balance;word-break:normal;hyphens:none}
[data-site-theme="loadbearing"] :is(h1,.eor h3){max-width:100%}
/* These print-style margin notes need room outside the report itself. */
@media(max-width:1500px){[data-site-theme="hub"] :is(.margin-label-left,.margin-label-right){display:none}}
