/* 3.1: scoped chrome. Use seasonal tokens; do not override plugin templates. */
.hvl31-header{background:var(--surface);border-bottom:1px solid var(--line);top:0;box-shadow:0 4px 20px #0f244b08}
.hvl31-header.hvl31-static{position:relative;top:auto}
.admin-bar .hvl31-header.hvl31-static{top:auto}
.hvl31-header .hvl-header-inner{max-width:1440px;height:70px;min-height:70px;gap:clamp(8px,1.2vw,20px);padding-inline:clamp(12px,2vw,28px)}
.hvl31-header .hvl-brand{flex:0 1 auto;min-width:0}
.hvl31-header .hvl-brand img{max-width:176px;max-height:52px;object-fit:contain}
.hvl31-header .hvl-header-actions{gap:6px}
.hvl31-header .hvl-account-name{max-width:80px}
.hvl31-header .hvl-nav>ul.hvl31-menu{gap:3px}
.hvl31-header .hvl31-menu>li>a,.hvl31-header .hvl31-disclosure>summary{font-size:14px;font-weight:650;color:var(--ink);border-radius:9px;padding:0 10px;min-height:44px}
.hvl31-header .hvl31-menu>li>a[aria-current],.hvl31-header .hvl31-disclosure>summary.is-current,.hvl31-header .hvl31-disclosure[open]>summary{background:var(--bg);color:var(--blue-dark)}
.hvl31-header .icon-button,.hvl31-header .hvl-menu-toggle{background:var(--surface);color:var(--ink);border-color:var(--line);width:42px;height:42px}
.hvl31-header .hvl-login-link{background:var(--hvl-deep,#153b72);color:#fff;min-height:42px;border-radius:9px}
.hvl31-header .hvl-header-search{background:var(--surface);border-color:var(--line)}
.hvl31-header .hvl-header-search input{background:var(--surface);color:var(--ink);border-color:var(--line)}
.hvl31-header .hvl-header-search button{background:var(--hvl-deep,#153b72);color:#fff}
.hvl31-header .hvl31-menu>li.hvl31-group{position:static}
.hvl31-header .hvl31-panel{display:none;background:var(--surface);border:1px solid var(--line);border-radius:15px;color:var(--ink);padding:14px;gap:14px;z-index:100}
.hvl31-header .hvl31-disclosure[open]>.hvl31-panel{display:grid}
.hvl31-panel-intro{background:var(--hvl-deep,#153b72);color:#fff;border-radius:10px;padding:22px;min-width:0;align-self:stretch}
.hvl31-panel-intro span{font-size:10px;letter-spacing:.09em;font-weight:700;display:block;opacity:.86}
.hvl31-panel-intro strong{display:block;font-size:24px;line-height:1.3;margin:12px 0 8px}
.hvl31-panel-intro p{font-size:13px;margin:0;color:#fff;line-height:1.55}
.hvl31-header .hvl31-panel-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;list-style:none;padding:0;margin:0;align-content:start}
.hvl31-panel-links li{min-width:0;margin:0;padding:0;list-style:none}
.hvl31-panel-links a{display:flex;align-items:center;gap:10px;min-height:62px;padding:9px;border-radius:9px;color:var(--ink);white-space:normal;overflow-wrap:anywhere}
.hvl31-panel-links a:hover,.hvl31-panel-links a:focus-visible{background:var(--bg);color:var(--blue)}
.hvl31-panel-links a>span:last-child{min-width:0}
.hvl31-panel-links b{display:block;font-size:13px;line-height:1.35;font-weight:680}
.hvl31-panel-links small{display:block;font-size:11px;color:var(--muted);line-height:1.4;margin-top:3px}
.hvl31-link-icon{width:38px;height:38px;display:grid;place-items:center;flex:none;border:1px solid var(--line);background:var(--bg);border-radius:10px;color:var(--blue)}
.hvl31-link-icon svg{width:20px;height:20px}
@media(min-width:1081px){
 .hvl31-header .hvl31-panel{position:absolute;top:calc(100% - 1px);left:50%;transform:translateX(-50%);width:min(820px,calc(100vw - 42px));grid-template-columns:minmax(0,210px) minmax(0,1fr);box-shadow:0 18px 48px #10274826;max-height:calc(100vh - 120px);overflow:auto}
 .hvl31-header .hvl31-menu>li>a,.hvl31-header .hvl31-disclosure>summary{font-size:clamp(12px,1vw,14px);padding-inline:8px}
}
@media(max-width:1080px){
 .hvl31-header .hvl-header-inner{height:64px;min-height:64px;gap:8px;padding-inline:12px}
 .hvl31-header .hvl-brand img{max-width:148px;max-height:46px}
 .hvl31-header .hvl-nav{top:64px;background:var(--surface);padding:12px 14px calc(100px + env(safe-area-inset-bottom));overscroll-behavior:contain}
 .admin-bar .hvl31-header .hvl-nav{top:96px}
 .admin-bar .hvl31-header{top:32px}
 .hvl31-header .hvl31-menu>li{border-color:var(--line)}
 .hvl31-header .hvl31-menu>li>a,.hvl31-header .hvl31-disclosure>summary{font-size:15px;height:auto;min-height:48px;white-space:normal;padding:10px 12px}
 .hvl31-header .hvl31-panel{position:static;padding:8px;gap:8px;margin-bottom:8px;border-radius:10px;box-shadow:none}
 .hvl31-panel-intro{display:none}
 .hvl31-header .hvl31-panel-links{grid-template-columns:1fr}
 .hvl31-panel-links a{min-height:52px;padding:7px}
 .hvl31-header .hvl-mobile-nav-footnote{color:var(--muted)}
 /* Progressive enhancement: disclosure links remain available without JS. */
 html:not(.hvl31-enhanced) .hvl31-header{position:relative;top:auto}
 html:not(.hvl31-enhanced) .hvl31-header .hvl-header-inner{flex-wrap:wrap;height:auto}
 html:not(.hvl31-enhanced) .hvl31-header .hvl-nav{position:static;transform:none;visibility:visible;order:3;width:100%;padding:0 0 12px;overflow:visible}
 html:not(.hvl31-enhanced) .hvl31-header .hvl-menu-toggle,html:not(.hvl31-enhanced) .hvl31-header .hvl-search-toggle{display:none}
}
@media(max-width:782px){.admin-bar .hvl31-header{top:46px}.admin-bar .hvl31-header .hvl-nav{top:110px}}
@media(max-width:420px){.hvl31-header .hvl-header-actions{gap:4px}.hvl31-header .hvl-brand img{max-width:min(136px,34vw)}.hvl31-header .icon-button,.hvl31-header .hvl-menu-toggle{width:40px;height:40px}.hvl31-header .hvl-account-name{display:none}.hvl31-header .hvl-account-menu{min-width:0;width:min(260px,calc(100vw - 28px))}}
.hvl31-footer{padding:38px clamp(16px,3vw,36px) 20px;color:#f3f7ff;background:var(--hvl-deep,#102b51)!important;scroll-margin-top:90px}
.hvl31-footer-top,.hvl31-footer .hvl31-footer-grid,.hvl31-footer-custom,.hvl31-footer-bottom{max-width:1320px;margin-inline:auto}
.hvl31-footer-top{display:grid;grid-template-columns:1.15fr 1fr 1.15fr;gap:28px;padding-bottom:28px;border-bottom:1px solid #ffffff35;align-items:start}
.hvl31-footer .hvl-footer-brand{grid-column:auto;min-width:0}
.hvl31-footer .hvl-footer-brand .custom-logo,.hvl31-footer .footer-logo{max-width:190px;max-height:78px;width:auto;height:auto;background:#fff;border-radius:10px;padding:5px;object-fit:contain}
.hvl31-footer .hvl-footer-brand p{font-size:12px;font-weight:750;letter-spacing:.04em;color:#fff;margin:12px 0 3px}
.hvl31-footer .hvl-footer-brand>span{font-size:12px;color:#e5edfa}
.hvl31-footer h3{font-size:16px;margin:0 0 8px;color:#fff;font-weight:720}
.hvl31-footer-audience a{display:flex;align-items:center;gap:9px;border:1px solid #ffffff36;padding:9px 10px;border-radius:9px;color:#fff;margin-top:6px;min-width:0}
.hvl31-footer-audience a:hover,.hvl31-footer .hvl2-contact-links a:hover{background:#ffffff16;text-decoration:none}
.hvl31-footer-audience a>span{flex:1;min-width:0}.hvl31-footer-audience b,.hvl31-footer-audience small{display:block}.hvl31-footer-audience b{font-size:13px}.hvl31-footer-audience small{font-size:11px;color:#dce7f6}.hvl31-footer-audience svg{flex:none}
.hvl31-footer-contact p{font-size:13px;line-height:1.5;color:#e5edfa;margin:4px 0}
.hvl31-footer-contact .hvl2-contact-links{margin-top:12px;gap:7px}
.hvl31-footer-contact .hvl2-contact-links a{min-height:38px;align-items:center;color:#fff}
.hvl31-footer .hvl31-footer-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;padding-top:22px}
.hvl31-footer .hvl31-footer-grid>div{display:block!important;min-width:0}
.hvl31-footer .hvl31-footer-col h4{font-size:14px;letter-spacing:0;color:#fff;margin:0 0 9px}
.hvl31-footer-col ul,.hvl31-footer-custom ul{list-style:none;padding:0;margin:0}
.hvl31-footer .hvl31-footer-grid a{font-size:13px;line-height:1.5;color:#e5edfa;margin:0;padding:6px 0;overflow-wrap:anywhere}
.hvl31-footer-custom ul{display:flex;gap:8px 20px;flex-wrap:wrap;margin-top:20px}.hvl31-footer-custom a{color:#fff;font-size:13px}
.hvl31-footer .hvl31-footer-bottom{display:flex;flex-wrap:wrap;justify-content:flex-start;gap:10px 18px;color:#e1eaf8;margin-top:22px;padding-top:16px;font-size:12px}
.hvl31-footer-bottom>span:first-child{margin-right:auto}.hvl31-footer-bottom a{color:#e1eaf8}.hvl31-footer-bottom a:hover{text-decoration:underline}
.hvl31-footer :is(a,button):focus-visible{outline:3px solid #fff;outline-offset:3px}
@media(max-width:900px){.hvl31-footer-top{grid-template-columns:1fr 1fr;gap:20px}.hvl31-footer .hvl-footer-brand{grid-column:1/-1}.hvl31-footer .hvl31-footer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}}
@media(max-width:540px){.hvl31-footer-top{grid-template-columns:1fr}.hvl31-footer .hvl31-footer-grid{gap:15px}.hvl31-footer .hvl31-footer-grid a{min-height:40px;display:flex;align-items:center;font-size:12px}.hvl31-footer-bottom>span:first-child{flex-basis:100%}.hvl31-footer .hvl-footer-brand{grid-column:auto}}
@media(prefers-reduced-motion:reduce){.hvl31-header .hvl-nav,.hvl31-header .hvl-nav-dropdown>summary svg{transition:none}}

/* 4.8: desktop pointer bridge and comfortable mobile targets. */
@media(min-width:1081px){
 .hvl31-header .hvl31-panel{max-height:min(72vh,calc(100vh - 110px));max-height:min(72dvh,calc(100dvh - 110px));overscroll-behavior:contain}
 .admin-bar .hvl31-header .hvl31-panel{max-height:calc(100vh - 145px)}
}
@media(max-width:1080px){
 .hvl31-header .hvl-header-inner{padding-left:max(10px,env(safe-area-inset-left,0px));padding-right:max(10px,env(safe-area-inset-right,0px))}
 .hvl31-header .hvl-header-actions{flex-shrink:0}
 .hvl31-header .icon-button,.hvl31-header .hvl-menu-toggle,.hvl31-header .hvl-login-link{min-width:44px;min-height:44px}
 .hvl31-header .hvl-nav.open{padding-bottom:calc(24px + env(safe-area-inset-bottom,0px));scroll-padding-bottom:24px}
 .hvl31-header .hvl-header-search{left:max(8px,env(safe-area-inset-left,0px));right:max(8px,env(safe-area-inset-right,0px));width:auto;max-width:none;padding:10px}
 .hvl31-header .hvl-header-search input{font-size:16px;min-height:44px}
 .hvl31-header .hvl-header-search button{min-height:44px;padding-inline:10px;white-space:nowrap}
 .hvl31-header .hvl-suggest{max-height:50vh;max-height:50dvh;overflow:auto;overscroll-behavior:contain}
}
@media(max-width:420px){.hvl31-header .hvl-brand img{max-width:min(136px,calc(100vw - 218px))}.hvl31-header .hvl-header-actions{gap:4px}}
