/* Portal A 2.38.5 HF3 (extends HF2). Scoped corrections; no global card or flash changes. */
html body .portal-page-content .a2385-iso-grid{align-items:stretch;gap:18px!important}
html body .portal-page-content .a2385-iso-grid>.card.a2385-iso-card{margin:0!important;align-self:stretch;display:flex;flex-direction:column;min-width:0}
html body .portal-page-content .a2385-iso-card>h2{margin:0 0 18px!important}
html body .portal-page-content .a2385-iso-card>p{margin:0 0 18px!important}
html body .portal-page-content .a2385-iso-card>p:first-of-type{flex:1}
.a2385hf1-overview-link{color:inherit;text-decoration:none;display:block;min-height:24px}
.a2385hf1-overview-link:hover{text-decoration:underline}
html body .a2385hf1-iso-menu{display:grid!important;grid-template-columns:minmax(0,1fr) 38px;align-items:stretch}
html body .a2385hf1-iso-menu>.a2385hf1-parent-link{display:flex;align-items:center;padding:12px 14px!important;min-height:44px;min-width:0;text-decoration:none;font:inherit;font-weight:700;color:inherit;white-space:normal}
html body .a2385hf1-iso-menu>button[data-mobile-submenu]{width:38px!important;min-width:38px;min-height:44px;justify-content:center!important;padding:8px!important}
html body .a2385hf1-iso-menu>.portal-submenu-links{grid-column:1/-1}
.a2385hf1-iso-menu>a:focus-visible,.a2385hf1-iso-menu>button:focus-visible,.a2385hf1-overview-link:focus-visible{outline:3px solid #bf4504;outline-offset:-3px}
html body aside.a2385hf1-reporting-sidebar>nav+nav{margin-block-start:16px!important;padding-block-start:16px!important;border-block-start:1px solid #d5e2d9}
html body aside.a2385hf1-about-sidebar{min-height:0!important;height:auto!important}
html body aside.a2385hf1-about-sidebar>.a2385hf1-about-access{position:static!important;display:flex;flex-direction:column;gap:16px!important;align-items:center;margin:16px 0 0!important;padding:18px 0 0!important;border:0;border-block-start:1px solid #d5e2d9;background:transparent;box-shadow:none;min-height:0!important;max-width:100%;width:100%;box-sizing:border-box}
html body .a2385hf1-about-access>.eyebrow{align-self:stretch;margin:0!important;text-align:start}
html body .a2385hf1-about-access .a2384-qr{display:block!important;width:164px!important;min-height:0!important;margin:0 auto!important;padding:0!important;background:white!important;border:0!important;line-height:0}
html body .a2385hf1-about-access .a2384-qr img{display:block;width:164px;height:164px;max-width:100%}
html body .a2385hf1-about-access .a2384-badges{width:100%;gap:12px}
html body .a2385hf1-about-access .a2384-badges>a{display:flex!important;width:180px!important;min-height:54px!important;margin:0 auto!important;padding:0!important;border:0!important;background:transparent!important}
/* Bound public Verify to its viewport; do not hide overflowing content. */
html body.portal-verification-page{min-width:0!important;width:100%;margin-inline:0!important}
html body.portal-verification-page main .shell{box-sizing:border-box;width:min(1840px,calc(100% - 32px))!important;max-width:calc(100% - 32px)!important;min-width:0!important;margin-inline:auto!important}
html body.portal-verification-page .portal-page-layout{grid-template-columns:290px minmax(0,1fr) 290px!important;gap:24px!important;align-items:start}
html body.portal-verification-page .portal-page-layout>.portal-page-main{grid-column:2!important;grid-row:1!important;width:auto!important;min-width:0!important;max-width:100%!important}
html body.portal-verification-page .portal-page-layout>.portal-contextual-sidebar{grid-column:3!important;grid-row:1!important;position:static!important;width:auto!important;min-width:0!important;margin:0!important}
html body.portal-verification-page .portal-page-layout>.portal-global-sidebar{grid-column:1!important;grid-row:1!important;position:static!important;min-width:0!important;width:auto!important}
html body.portal-verification-page .verification-center{width:100%!important;max-width:100%!important;min-width:0!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important}
html body.portal-verification-page .verification-center--individual{grid-template-columns:minmax(0,1fr)!important}
html body.portal-verification-page .portal-page-content,html body.portal-verification-page .verification-result{width:100%!important;min-width:0!important;max-width:100%!important}
@media(max-width:1450px){html body.portal-verification-page .verification-center{grid-template-columns:minmax(0,1fr)!important}}
@media(max-width:1100px){html body.portal-verification-page .portal-page-layout{display:flex!important;flex-direction:column;gap:24px!important}html body.portal-verification-page .portal-page-layout>*{width:100%!important;max-width:100%!important}html body.portal-verification-page .portal-page-main{order:1}html body.portal-verification-page .portal-contextual-sidebar{order:2}html body.portal-verification-page .portal-global-sidebar{order:3}html body.portal-verification-page .verification-center{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important}html body.portal-verification-page .verification-center--individual{grid-template-columns:minmax(0,1fr)!important}}
@media(max-width:760px){html body.portal-verification-page .verification-center{grid-template-columns:minmax(0,1fr)!important}}

/* HF2: linked ISO labels retain the established menu typography. */
html body .portal-site-header .a2385hf1-iso-menu{grid-template-columns:minmax(0,1fr) 28px!important}
html body .portal-site-header .a2385hf1-iso-menu>.a2385hf1-parent-link{box-sizing:border-box;border:1px solid transparent;border-radius:12px;padding:9px 11px!important;min-height:0!important;font-family:inherit;font-size:.84rem!important;font-weight:850!important;line-height:1.2!important;letter-spacing:normal;color:#083d25!important;white-space:nowrap!important;text-align:start}
html body .portal-site-header .a2385hf1-iso-menu>button[data-mobile-submenu]{width:28px!important;min-width:28px!important;min-height:0!important;padding:9px 4px!important;font-size:.84rem!important;line-height:1.2!important;color:#083d25!important}
html body .portal-site-header .a2385hf1-iso-menu>.a2385hf1-parent-link:hover{border-color:#d9eadf;background:#f1faf4;color:#009541!important}
html body aside.portal-contextual-sidebar.a2385-sidebar>.eyebrow>.a2385hf1-overview-link{display:inline!important;min-height:0!important;padding:0!important;margin:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important;color:inherit!important;font:inherit!important;letter-spacing:inherit!important;text-transform:inherit!important;text-decoration:none}
html body aside.portal-contextual-sidebar.a2385-sidebar>.eyebrow>.a2385hf1-overview-link:hover{text-decoration:underline}
@media(max-width:1020px){html body .portal-site-header .a2385hf1-iso-menu>.a2385hf1-parent-link{font-size:.92rem!important;white-space:normal!important;padding:10px 11px!important}html body .portal-site-header .a2385hf1-iso-menu>button[data-mobile-submenu]{min-height:44px!important}}

/* Release Setup: one clear group per action, without changing form semantics. */
html body .a2385hf2-setup-layout{display:flex;flex-direction:column;gap:24px;min-width:0}
html body .a2385hf2-setup-layout>.card,html body .a2385hf2-setup-layout>.notice,html body .a2385hf2-setup-layout>.portal-hero{margin:0!important}
html body .a2385hf2-setup-layout>.card{padding:24px!important}
html body .a2385hf2-setup-layout h2{margin:0 0 16px!important;line-height:1.35}
html body .a2385hf2-setup-layout p{margin:0 0 16px;line-height:1.65}
html body .a2385hf2-setup-layout form{display:flex;flex-direction:column;align-items:stretch;gap:16px;margin:20px 0 0;padding:24px;border:1px solid #d5e2d9;border-inline-start:4px solid #f28d2c;border-radius:8px;min-width:0}
html body .a2385hf2-setup-layout form+form{margin-block-start:28px}
html body .a2385hf2-setup-layout form>p,html body .a2385hf2-setup-layout form>h2,html body .a2385hf2-setup-layout form>label{margin:0!important}
html body .a2385hf2-setup-layout form>label{display:block;line-height:1.6}
html body .a2385hf2-setup-layout input:not([type=checkbox]):not([type=hidden]){display:block;box-sizing:border-box;width:100%;max-width:480px;margin-block-start:8px}
html body .a2385hf2-setup-layout input[type=checkbox]{width:auto;margin-inline-end:8px}
html body .a2385hf2-setup-layout form>.button{align-self:flex-start;margin:4px 0 0}
@media(max-width:700px){html body .a2385hf2-setup-layout>.card{padding:18px!important}html body .a2385hf2-setup-layout form{padding:16px}}

/* 2.40 HF1: desktop sidebars remain reachable; small screens retain normal flow. */
@media(min-width:1101px){html body.portal-auth-page .portal-page-layout>.portal-global-sidebar,html body.portal-auth-page .portal-page-layout>.portal-contextual-sidebar{position:sticky!important;top:110px!important;align-self:start;max-height:calc(100vh - 126px);overflow-y:auto;overscroll-behavior:contain}}
html body.portal-verification-page .verification-center:not(.verification-center--individual){display:grid!important;grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr))!important;gap:24px!important;align-items:start}
html body.portal-verification-page .verification-center>*{min-width:0;max-width:100%;box-sizing:border-box}
@media(max-width:1100px){html body.portal-auth-page .portal-page-layout>.portal-global-sidebar,html body.portal-auth-page .portal-page-layout>.portal-contextual-sidebar{position:static!important;max-height:none;overflow:visible}}
