/* HAVAL LAWYER - media surface slots: layered visuals only, no editable logo/controls */
#app .hv-managed-banner-active,
#portalView .hv-managed-banner-active,
#loginView .hv-managed-banner-active {position:relative;isolation:isolate;overflow:hidden}
.hv-managed-banner-active > .hv-managed-banner {
 position:absolute!important;inset:0!important;display:block!important;z-index:0!important;
 pointer-events:none!important;overflow:hidden!important;border-radius:inherit!important;
 background:transparent!important;
}
.hv-managed-banner .hv-managed-banner-media {
 display:block!important;width:100%!important;height:100%!important;
 max-width:none!important;max-height:none!important;position:absolute!important;inset:0!important;
 opacity:1!important;border:0!important;object-fit:cover;
}
.hv-managed-banner-active > :not(.hv-managed-banner) {position:relative;z-index:1}
.hv-managed-banner::after {
 content:"";position:absolute;inset:0;pointer-events:none;
 background:linear-gradient(100deg,rgba(8,23,39,.77),rgba(8,23,39,.5));
}
#loginView .hv-login-brand-panel.hv-managed-banner-active > .hv-managed-banner {
 z-index:0!important;
}
html[data-haval-brand="white-first"] #loginView.hv-premium-login .hv-login-brand-panel.hv-managed-banner-active > .hv-managed-banner:after {
 /* Keep the managed login wallpaper crisp after async loading; no 94% white veil. */
 background:linear-gradient(110deg,rgba(255,255,255,.03),rgba(255,255,255,.05));
}
html[data-haval-brand="white-first"][data-client-theme="dark"] #loginView.hv-premium-login .hv-login-brand-panel.hv-managed-banner-active > .hv-managed-banner:after {
 background:linear-gradient(110deg,rgba(16,29,46,.92),rgba(16,29,46,.81));
}
#loginView .hv-login-brand-panel.hv-managed-banner-active > .hv-login-brand-architecture {z-index:0!important}
#portalView .dash-command.hv-managed-banner-active > :not(.hv-managed-banner) {position:relative;z-index:2}
#portalView .dash-command.hv-managed-banner-active > .hv-managed-banner:after {
 background:linear-gradient(100deg,rgba(7,22,35,.83),rgba(7,22,35,.64) 65%,rgba(7,22,35,.76));
}
#app #hvDmsRoot .hv-dms-head.hv-managed-banner-active:after,
#portalView #hvDmsRoot .hv-dms-head.hv-managed-banner-active:after {background:none!important}
#app #hvDmsRoot .hv-dms-head.hv-managed-banner-active > .hv-managed-banner,
#portalView #hvDmsRoot .hv-dms-head.hv-managed-banner-active > .hv-managed-banner {z-index:-1!important}
#app #hvDmsRoot .hv-dms-head.hv-managed-banner-active > .hv-managed-banner:after,
#portalView #hvDmsRoot .hv-dms-head.hv-managed-banner-active > .hv-managed-banner:after {
 background:linear-gradient(110deg,rgba(4,35,40,.85),rgba(4,35,40,.66));
}
#companyProfileModal #institutionProfileHero.hv-managed-banner-active > .hv-managed-banner:after {
 background:linear-gradient(110deg,rgba(255,255,255,.96),rgba(255,255,255,.84));
}
#companyProfileModal #institutionProfileHero.hv-managed-banner-active > .hv-managed-banner {z-index:0!important}
.hv-banner-dialog .hv-bm-slot-picker {
 display:flex;flex-direction:column;gap:8px;padding:16px;margin:8px 0 17px;
 border:1px solid #E2E6EC;border-radius:13px;background:#F8F9FB;
}
.hv-banner-dialog .hv-bm-slot-picker > label {font-weight:800;font-size:13px;color:#0B1F33}
.hv-banner-dialog #hvBannerSlot {
 appearance:auto;width:100%;border:1px solid #D5DDE6;border-radius:9px;
 background:#FFFFFF;color:#0B1F33;min-height:42px;padding:9px;font-weight:650;font-size:12px;
}
.hv-banner-dialog .hv-bm-slot-help {font-size:11px;color:#697B8C}
.hv-banner-dialog .hv-bm-slot-warning {font-size:11px;color:#9B6C1F;background:#FFF9E8;border:1px solid #F5E5BD;border-radius:9px;padding:9px}
.hv-banner-dialog .hv-bm-slot-current {font-size:11px;color:#647487}
@media(max-width:820px){
 .hv-banner-dialog .hv-bm-slot-picker {padding:12px}
}
@media(prefers-reduced-motion:reduce) {
 .hv-managed-banner-active video {animation:none!important}
}
