/* Seipee header entry: visual navigation only, no authentication changes. */
a.sm-header-agent-button{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:42px;padding:10px 15px;border:1px solid #f0d2d4;border-radius:11px;background:#fff7f7;color:#b71e26;font-size:.85rem;font-weight:750;line-height:1.2;text-decoration:none;white-space:nowrap;box-shadow:0 2px 8px #6b1d2505;transition:background .18s,border-color .18s,box-shadow .18s,color .18s;flex-shrink:0}
a.sm-header-agent-button svg{display:block;flex-shrink:0}
a.sm-header-agent-button:hover{background:#df252c;border-color:#df252c;color:#fff;box-shadow:0 5px 14px #b71e2626;text-decoration:none}
a.sm-header-agent-button:focus-visible{outline:2px solid #df252c;outline-offset:3px}
.sm-header-account-group{display:inline-flex;align-items:center;gap:16px;flex-shrink:0;margin-inline-start:12px}
.sm-header-account-group>div{margin-inline-start:0!important;margin-inline-end:16px!important}
@media(min-width:992px){.header-main .sm-header-actions{width:auto;flex:0 0 auto}.header-main .desktop-menu{flex:1;min-width:0;width:auto}.sm-header-actions>.w-24{width:64px}}
#mobile_header.sm-mobile-agent-header{display:flex;align-items:center;flex-wrap:nowrap;gap:10px;padding-inline:16px}
#mobile_header.sm-mobile-agent-header>div{width:auto;flex:0 0 auto;padding:0}
#mobile_header.sm-mobile-agent-header>.sm-mobile-logo{flex:1 1 auto;min-width:55px}
#mobile_header.sm-mobile-agent-header .navbar-brand{margin:0;padding:0}
#mobile_header.sm-mobile-agent-header .logo-mobile{width:78px;max-width:100%;height:auto}
#mobile_header.sm-mobile-agent-header .sm-header-agent-button{min-height:40px;padding:9px 11px;gap:6px;font-size:.76rem;border-radius:10px}
#mobile_header.sm-mobile-agent-header .mobile-header-icon-link{font-size:.65rem;min-width:34px}
#mobile_header.sm-mobile-agent-header .sm-mobile-menu svg{width:28px;height:28px}
@media(max-width:380px){#mobile_header.sm-mobile-agent-header{gap:7px;padding-inline:10px}#mobile_header.sm-mobile-agent-header .logo-mobile{width:65px}#mobile_header.sm-mobile-agent-header .sm-header-agent-button{padding:9px 8px;font-size:.7rem}#mobile_header.sm-mobile-agent-header .sm-header-agent-button svg{display:none}}
@media(prefers-reduced-motion:reduce){a.sm-header-agent-button{transition:none}}
#mobile_header.sm-mobile-agent-header{min-height:72px;margin-inline:0;width:100%}
#mobile_header.sm-mobile-agent-header .open-menu-button{position:static;inset:auto;transform:none;display:flex;align-items:center;justify-content:center;min-height:40px}
#mobile_header.sm-mobile-agent-header .mobile-header-icon-link{display:flex;flex-direction:column;justify-content:center;gap:3px;line-height:1.1;min-height:40px}
#mobile_header.sm-mobile-agent-header .mobile-header-icon-link br{display:none}
#mobile_header.sm-mobile-agent-header .mobile-header-icon-link i{font-size:18px;line-height:1}
#mobile_header.sm-mobile-agent-header{width:var(--sm-header-page-width,calc(100% + 48px));margin-inline:calc((100% - var(--sm-header-page-width,100% + 48px))/2)}
.header-main a.sm-header-agent-button,#mobile_header a.sm-header-agent-button{color:#b71e26!important}
.header-main a.sm-header-agent-button:hover,#mobile_header a.sm-header-agent-button:hover{color:#fff!important}

/* Empty notification containers must not intercept header links. Populated messages stay interactive. */
._flash:has(>ul:empty){pointer-events:none}

/* The two portal entries follow the logo, customers first. */
.sm-header-entry-group{display:inline-flex;align-items:center;gap:10px;flex-shrink:0}
.header-main .sm-header-brand-group{width:auto;flex:0 0 auto;gap:18px;padding-right:10px}
.header-main .sm-header-brand-group>a{flex-shrink:0}
.header-main .sm-header-brand-group .sm-header-entry-group{margin-right:4px}
#mobile_header.sm-mobile-agent-header>.sm-mobile-logo{flex:0 0 auto}
#mobile_header.sm-mobile-agent-header>.sm-mobile-agent-entry{flex:1 1 auto}
@media(max-width:599px){
 #mobile_header.sm-mobile-agent-header{flex-wrap:wrap;gap:8px;padding-top:10px;padding-bottom:12px}
 #mobile_header.sm-mobile-agent-header>.sm-mobile-logo{flex:1 1 auto}
 #mobile_header.sm-mobile-agent-header>.sm-mobile-agent-entry{order:5;flex:0 0 100%;width:100%}
 #mobile_header .sm-header-entry-group{display:flex;width:100%;gap:8px}
 #mobile_header .sm-header-entry-group .sm-header-agent-button{flex:1 1 0;font-size:.78rem;min-height:40px}
 #mobile_header .sm-header-entry-group .sm-header-agent-button svg{display:block}
}
@media(min-width:1400px) and (max-width:1699px){
 .header-main .desktop-menu nav>ul>li>a{padding-inline:8px;font-size:.72rem;letter-spacing:.035em;white-space:nowrap}
}
.header-main .sm-header-brand-group>a{width:110px}
.header-main .sm-header-brand-group #logo{width:110px;height:70px;object-fit:contain}

/* Sticky theme rules also target descendants of the logo group. */
.header-main a.sm-header-agent-button *,#mobile_header a.sm-header-agent-button *{color:inherit!important}

/* Active operator identity beside portal entries, including customer impersonation. */
.header-main .sm-active-agent-label,#mobile_header .sm-active-agent-label{display:inline-flex;align-items:center;gap:7px;padding:7px 10px;border:1px solid #dce1e5;border-radius:9px;background:#f5f7f8;color:#4e5a63!important;font-size:.77rem;line-height:1.35;max-width:330px;text-align:left;white-space:normal}
.header-main .sm-active-agent-label *,#mobile_header .sm-active-agent-label *{color:inherit!important}
.sm-active-agent-label svg{flex:0 0 17px}
.sm-active-agent-label strong{font-weight:650}
.sm-active-agent-label small{display:block;font-size:.72rem;margin-top:2px}
.sm-active-agent-caption{font-weight:400}
#mobile_header .sm-header-entry-group{flex-wrap:wrap}
#mobile_header .sm-active-agent-label{max-width:100%;flex-basis:100%;justify-content:center}
#mobile_header.sm-mobile-agent-header>.sm-mobile-agent-entry:not(:has(.sm-header-entry-group)){display:none}
