/* Only the words change: original AVE images, layout and colours remain. */
.ave-lettering{display:inline-block!important;flex-shrink:0;width:100px;height:20.8px;padding:0!important;font-size:0!important;line-height:0!important;background:currentColor;vertical-align:middle;-webkit-mask:url('/web/assets/workforce-solutions-lettering.svg?v=20261111') center/contain no-repeat;mask:url('/web/assets/workforce-solutions-lettering.svg?v=20261111') center/contain no-repeat}
.ave-brand-words.ave-lettering{width:90px;height:18.7px}
.footer-simple-brand .ave-lettering{width:96px;height:20px}
#titleAve>.ave-lettering,#titleAve.ave-lettering{width:180px;height:37.4px}
.system-console .ave-brand-words.ave-lettering{width:84px;height:17.5px;color:white}
@media(max-width:1200px){.footer-simple-brand .ave-lettering{display:none!important}}
@media(max-width:1280px){.site-header .brand-name.ave-lettering{width:100px;height:20.8px}}
@media(min-width:768px) and (max-width:1250px){.ave-brand-words.ave-lettering{width:64px;height:13.3px}}
@media(max-width:639px){#titleAve{padding-left:8px!important;padding-right:8px!important}#titleAve>.ave-lettering,#titleAve.ave-lettering{width:115px;height:24px}}

/* Approved contrast: transparent blue outlines on light surfaces, white on blue shells. */
.ave-lettering{color:#285c82!important}
.site-header .ave-lettering,.site-footer .ave-lettering,#topLinks .ave-lettering,
.system-console .ave-shared-header .ave-lettering,[data-ave-brand-surface="blue"] .ave-lettering{color:#fff!important}
[data-ave-brand-surface="white"] .ave-lettering{color:#285c82!important}

/* Match each existing AVE mark: exact outline, transparent background and proportional size. */
.ave-lettering{--ave-lettering-height:var(--ave-brand-logo-height,28.8px);height:var(--ave-lettering-height)!important;width:calc(var(--ave-lettering-height) * 428 / 89)!important;min-width:0;max-width:none!important;opacity:1!important;filter:none!important;transform:none!important}
.site-header .ave-lettering{--ave-lettering-height:25.65px}
.site-header .brand{flex-basis:215px!important;width:215px!important;min-height:48px;height:auto}
html[data-ave-portal] .ave-header-row>a[data-home],.system-console .ave-shared-header .ave-header-row>a[data-home]{min-width:calc(var(--ave-brand-logo-height,28.8px) * 7.616 + 16px);max-width:calc(var(--ave-brand-logo-height,28.8px) * 7.616 + 16px);width:calc(var(--ave-brand-logo-height,28.8px) * 7.616 + 16px)}
.footer-simple-brand .ave-lettering{--ave-lettering-height:20px}
#titleAve>.ave-lettering,#titleAve.ave-lettering{--ave-lettering-height:20px}
@media(min-width:768px) and (max-width:1280px){html[data-ave-portal] .ave-header-row{flex-wrap:wrap}html[data-ave-portal] .ave-primary-nav{order:4;flex-basis:100%;justify-content:flex-start;flex-wrap:wrap}}
@media(max-width:1280px){.site-header .ave-lettering{--ave-lettering-height:22.45px}.site-header .brand{flex-basis:195px!important;width:195px!important}}

/* Restore the approved Owner Console blue without changing its workspace panels. */
.system-console .ave-shared-header{background:#20354b!important;color:#fff;border-bottom:3px solid #bfe05a}
.system-console .ave-shared-header .ave-lettering{color:#fff!important}

.ave-shared-header [data-home]>img{height:var(--ave-brand-logo-height,28.8px);width:auto;flex-shrink:0}

/* Keep the balanced lockup and existing navigation inside intermediate-width screens. */
@media(min-width:861px) and (max-width:1440px){.site-header .nav-wrap{width:calc(100% - 40px);gap:12px}.site-header nav{gap:12px}.site-header .nav-actions{gap:10px}}
@media(min-width:861px) and (max-width:1180px){.site-header .nav-wrap{flex-wrap:wrap;padding-top:12px;padding-bottom:12px}.site-header nav{order:3;flex-basis:100%;justify-content:space-between;align-self:auto}.site-header .nav-actions{margin-left:auto}}
