/* Shared navigation for all five demo families, independent of injected theme styles. */
.hv-demo-header{isolation:isolate}
.hv-demo-header *{box-sizing:border-box}
.hv-demo-header .hv-demo-row{min-width:0}
.hv-demo-header .hv-demo-brand{display:inline-flex;align-items:center;min-width:0}
.hv-demo-header .hv-demo-brand>[data-hv-media="logo"]{display:block;width:2.75rem;height:2.75rem;flex:none;object-fit:contain}
.hv-demo-header .hv-demo-brand>[data-hv-media="logo"][hidden]{display:none}
.hv-demo-header .hv-demo-brand>[data-hv-media="logo"]:not([hidden])[src]:not([src=""])+div{display:none}
.hv-demo-header .hv-demo-brand>[data-hv-media="logo"]+div{flex:none}
.hv-demo-header .hv-demo-brand>div:last-child{min-width:0}
.hv-demo-header .hv-demo-actions{flex:none}
.hv-demo-header .hv-demo-language{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:0 9px;border:1px solid currentColor;border-radius:10px;font:700 12px/1 Arial,sans-serif;text-decoration:none;white-space:nowrap;flex:none}
.hv-demo-header :is(a,button):focus-visible{outline:3px solid currentColor;outline-offset:3px}
.hv-demo-notice{text-align:center;font:600 11px/1.5 Arial,sans-serif;padding:5px 12px;background:#eef2f7;color:#334155}
.hv-demo-header .hv-demo-menu-tools{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:14px;padding-top:14px;border-top:1px solid #94a3b840}
.hv-demo-header .hv-demo-menu-tools :is(a,button){display:flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 12px;border:1px solid #94a3b860;border-radius:10px;font-family:inherit;font-size:12px;font-weight:600;line-height:1.5;color:inherit;text-align:center;background:transparent;text-decoration:none;cursor:pointer}
.hv-demo-header .hv-demo-menu-tools [hidden]{display:none!important}
.hv-demo-header .hv-demo-menu-title{display:block;font-size:14px;font-weight:700;line-height:1.7;margin:0 0 8px;padding:0 0 12px;border-bottom:1px solid #94a3b840}
.hv-demo-header [data-mobile-menu-toggle] svg{display:block;width:20px;height:20px;flex:none}
.hv-demo-header [data-mobile-menu-toggle] .hv-menu-close{display:none}
.hv-demo-header [data-mobile-menu-toggle][aria-expanded=true] .hv-menu-bars{display:none}
.hv-demo-header [data-mobile-menu-toggle][aria-expanded=true] .hv-menu-close{display:block}
.hv-demo-header .hv-demo-mobile-menu.hidden{display:none!important}
.hv-demo-header .hv-demo-mobile-menu a[aria-current=page]{text-decoration:underline;text-underline-offset:5px}
@media(max-width:1279px){
 .hv-demo-top-strip{display:none!important}
 .hv-demo-header .hv-demo-row{display:grid!important;grid-template-columns:minmax(0,1fr) auto;min-height:64px!important;min-block-size:64px!important;height:auto!important;padding:8px max(12px,env(safe-area-inset-left)) 8px max(12px,env(safe-area-inset-right))!important;gap:10px!important}
 .hv-demo-header .hv-demo-brand{display:flex;align-items:center;gap:12px!important}
 .hv-demo-header .hv-demo-brand>[data-hv-media="logo"]+div{width:34px!important;height:34px!important;border-radius:10px!important;font-size:18px!important}
 .hv-demo-header .hv-demo-brand>[data-hv-media="logo"]+div :is(i,svg){width:20px!important;height:20px!important}
 .hv-demo-header .hv-demo-brand>[data-hv-media="logo"]{width:36px;height:36px}
 .hv-demo-header .hv-demo-brand>div:last-child{min-width:0}
 .hv-demo-header .hv-demo-brand>div:last-child>span:first-child{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;font-size:clamp(.875rem,2.5vw,1.0625rem)!important;line-height:1.45!important;white-space:normal;overflow:hidden;overflow-wrap:anywhere!important;letter-spacing:normal!important}
 .hv-demo-header .hv-demo-brand>div:last-child>span+span{display:none!important}
 .hv-demo-header .hv-demo-row>nav{display:none!important}
 .hv-demo-header .hv-demo-actions{display:flex;align-items:center;gap:6px!important}
 .hv-demo-header .hv-demo-actions>.hv-demo-cta,.hv-demo-header #hv-navbar-customizer-btn{display:none!important}
 .hv-demo-header [data-mobile-menu-toggle]{display:inline-flex!important;align-items:center;justify-content:center;flex:none;width:44px;min-width:44px;height:44px;min-height:44px;padding:10px!important}
 .hv-demo-header .hv-demo-language{width:44px;height:44px;padding:0}
 .hv-demo-header .hv-demo-mobile-menu:not(.hidden){display:block!important}
 .hv-demo-header .hv-demo-mobile-menu{position:absolute;inset-inline:0;top:100%;width:100%;max-height:calc(100vh - 88px);max-height:calc(100dvh - 88px);overflow-y:auto;overscroll-behavior:contain;padding:14px max(16px,env(safe-area-inset-left)) max(18px,env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-right))!important;box-shadow:0 18px 30px #0002}
 .hv-demo-header .hv-demo-mobile-menu>a{display:flex;align-items:center;min-height:44px;line-height:1.65;padding:10px 8px!important;border-radius:8px}
 .hv-demo-header .hv-demo-mobile-menu>a:hover{background:#94a3b81a}
 body:has(.hv-demo-header) main [id]{scroll-margin-top:88px}
 html.hv-demo-tools-ready #hv-customizer-trigger{display:none!important}
 html.hv-demo-tools-ready #hv-demo-atlas .hv-dock{display:none!important}
 html.hv-demo-tools-ready #hv-demo-atlas .hv-panel{position:fixed;bottom:0;inset-inline:0;max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px)}
 html.hv-demo-tools-ready #hv-demo-atlas .hv-close{min-width:44px;min-height:44px}
 html.hv-demo-tools-ready #hv-demo-atlas{bottom:max(12px,env(safe-area-inset-bottom));width:calc(100% - 24px)}
}
@media(min-width:1280px){
 .hv-demo-header .hv-demo-row{min-height:80px!important;height:auto!important;gap:18px!important;padding-block:10px!important}
 .hv-demo-header .hv-demo-brand{flex:0 1 245px;gap:15px!important}
 .hv-demo-header .hv-demo-brand>div:last-child>span:first-child{font-size:16px!important;line-height:1.45!important;overflow-wrap:anywhere}
 .hv-demo-header .hv-demo-brand>div:last-child>span+span{display:block;font-size:10px!important;line-height:1.5!important;margin-top:3px}
 .hv-demo-header .hv-demo-row>nav{display:flex!important;flex:1;justify-content:center;gap:14px!important;font-size:12px!important;line-height:1.6!important}
 .hv-demo-header .hv-demo-row>nav>a{text-align:center}
 .hv-demo-header .hv-demo-cta{font-size:11px!important;padding-inline:12px!important;max-width:148px;text-align:center}
 .hv-demo-header #hv-navbar-customizer-btn{display:none!important}
 .hv-demo-header [data-mobile-menu-toggle],.hv-demo-header .hv-demo-mobile-menu{display:none!important}
 body:has(.hv-demo-header) main [id]{scroll-margin-top:100px}
}
@media(prefers-reduced-motion:reduce){.hv-demo-header *{scroll-behavior:auto!important;transition:none!important}}
