/* Public header only. Desktop: 24px topbar + 95px navigation = 119px. */
.imoprime-public-header{isolation:isolate}
.imoprime-public-header .imoprime-header-topbar{height:24px;box-sizing:border-box;padding:0 24px;font-size:12px;line-height:16px}
.imoprime-public-header .imoprime-header-topbar-inner{height:100%;display:flex;flex-direction:row;justify-content:space-between;align-items:center;gap:12px}
.imoprime-public-header .imoprime-header-topbar-inner>div{gap:8px;white-space:nowrap}
.imoprime-public-header .imoprime-header-nav{position:relative;padding:4px 0!important}
.imoprime-public-header .imoprime-header-layout{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:2px 8px;padding:0 24px}
.imoprime-public-header .imoprime-header-brand{min-width:0;padding:0;gap:12px}
.imoprime-public-header .imoprime-header-logo{width:48px;height:48px;flex-shrink:0;padding:3px;border-radius:8px}
.imoprime-public-header .imoprime-header-identity{height:auto;min-width:0;display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:14px}
.imoprime-public-header .imoprime-header-identity>div>span:first-child{font-size:22px;line-height:26px}
.imoprime-public-header .imoprime-header-identity>span{font-size:12px;line-height:18px;white-space:nowrap;letter-spacing:.015em}
.imoprime-public-header .imoprime-header-identity>span:first-of-type{font-size:14px;line-height:20px}
.imoprime-public-header .imoprime-header-desktop-menu{display:none!important}
.imoprime-public-header .imoprime-header-toggle{display:flex!important;align-items:center}
.imoprime-public-header .imoprime-header-toggle>button{min-width:44px;min-height:44px;display:flex;align-items:center;justify-content:center}
.imoprime-public-header :is(a,button,select):focus-visible{outline:2px solid #ECCF8E;outline-offset:2px}
@media(min-width:768px){
 .imoprime-public-header .imoprime-header-layout{grid-template-rows:52px minmax(32px,auto)}
 .imoprime-public-header .imoprime-header-brand{grid-column:1/-1}
 .imoprime-public-header .imoprime-header-desktop-menu{display:flex!important;grid-column:1/-1;min-height:32px;height:auto;min-width:0;align-items:center!important;justify-content:center!important;flex-wrap:wrap!important;gap:2px!important}
 .imoprime-public-header .imoprime-header-desktop-menu>:is(a,button){font-size:13px!important;line-height:20px!important;padding:5px 7px!important;white-space:nowrap}
 .imoprime-public-header .imoprime-header-desktop-menu>a[href="/admin"]{font-size:12px!important;padding:5px 6px!important}
 .imoprime-public-header .imoprime-header-desktop-menu .language-control{height:28px;box-sizing:border-box;padding:1px 4px;margin:0 0 0 4px;gap:4px}
 .imoprime-public-header .imoprime-header-desktop-menu .language-control select{font-size:12px;line-height:20px;padding:1px 3px;max-width:108px}
 .imoprime-public-header .imoprime-header-toggle,.imoprime-public-header .imoprime-header-mobile-menu{display:none!important}
}
@media(min-width:768px) and (max-width:1199px){
 .imoprime-public-header .imoprime-header-layout{padding:0 12px}
 .imoprime-public-header .imoprime-header-identity{gap:10px}
 .imoprime-public-header .imoprime-header-identity>div>span:first-child{font-size:20px}
 .imoprime-public-header .imoprime-header-desktop-menu>:is(a,button){font-size:12px!important;padding:5px!important}
}
@media(max-width:767px){
 .imoprime-public-header .imoprime-header-layout{min-height:60px;padding:0 12px}
 .imoprime-public-header .imoprime-header-brand{gap:8px}
 .imoprime-public-header .imoprime-header-logo{width:44px;height:44px}
 .imoprime-public-header .imoprime-header-identity{flex-direction:column;align-items:flex-start;gap:0}
 .imoprime-public-header .imoprime-header-identity>div>span:first-child{font-size:18px;line-height:20px}
 .imoprime-public-header .imoprime-header-identity>span{font-size:11px;line-height:12px}
 .imoprime-public-header .imoprime-header-identity>span:first-of-type{font-size:12px;line-height:14px}
 .imoprime-public-header .imoprime-header-mobile-menu{display:block!important;position:absolute;top:100%;left:0;right:0;max-height:calc(100svh - 94px);overflow-y:auto;overscroll-behavior:contain;padding:8px 12px;box-shadow:0 12px 20px #0003}
 .imoprime-public-header .imoprime-header-mobile-menu>:is(a,button){display:block;width:100%;min-height:44px;text-align:left;padding:12px!important;font-size:14px!important;line-height:20px!important}
 .imoprime-public-header .imoprime-header-mobile-menu .language-control{margin:8px 12px}
}
@media(max-width:767px){
 .imoprime-public-header .imoprime-header-topbar{padding:0 12px;font-size:11px}
 .imoprime-public-header .imoprime-header-topbar-inner>div:first-child>span:nth-of-type(3),.imoprime-public-header .imoprime-header-topbar-inner>div:first-child>span:nth-of-type(4){display:none}
 .imoprime-public-header .imoprime-header-topbar-inner>div:first-child>span:last-child{display:inline}
}
@media(max-width:479px){
 .imoprime-public-header .imoprime-header-topbar-inner>div:first-child>span:nth-of-type(2){display:none}
}

/* Discreet administration entry; retain its accessible text. */
.imoprime-public-header .imoprime-menu>a[href="/admin"],.imoprime-public-header .imoprime-menu>a[href="#area-administrativa"]{font-size:0!important;line-height:20px!important;width:32px;min-width:32px;box-sizing:border-box;padding:5px!important;text-align:center!important}
.imoprime-public-header .imoprime-menu>a[href="/admin"]:before,.imoprime-public-header .imoprime-menu>a[href="#area-administrativa"]:before{content:'🔒';font-size:11px;line-height:20px;margin:0}
