/* Menu publico OUVIR.ONLINE: desktop, navegador mobile e WebView. */
body:not(.widget) .portal-header{position:sticky;top:0;z-index:50;background:linear-gradient(110deg,#0c2036,#071321);border-bottom:1px solid #24425e;box-shadow:0 8px 28px #0003}
body:not(.widget) .portal-header .header-inner{min-height:94px;gap:22px;flex-wrap:nowrap;padding-top:12px;padding-bottom:12px;justify-content:space-between}
body:not(.widget) .portal-header .brand{flex:0 1 260px;max-width:260px;min-width:120px}
body:not(.widget) .portal-header .brand img{width:250px;max-width:100%;max-height:68px;height:auto}
body:not(.widget) .portal-header nav{display:flex;align-items:center;justify-content:flex-end;gap:6px;margin-left:auto;width:auto;flex-wrap:wrap}
body:not(.widget) .portal-header nav>a{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:46px;padding:10px 13px;font-size:14px;font-weight:600;line-height:1.35;border:1px solid transparent;border-radius:11px;color:#c6d8eb;white-space:nowrap;text-decoration:none;transition:background .15s,color .15s,border-color .15s}
body:not(.widget) .portal-header nav>a:hover{background:#153149;color:#fff}
body:not(.widget) .portal-header nav>a[aria-current=page]{background:#13364d;border-color:#286080;color:var(--accent,#20d9ff)}
body:not(.widget) .portal-header nav>a.portal-login{border-color:#36516b;color:#edf5ff}
body:not(.widget) .portal-header nav>a.btn{background:#0878b8;border-color:#159ee9;color:#fff;box-shadow:none;font-weight:750;padding:11px 16px}
body:not(.widget) .portal-header nav>a.btn:hover{background:#0c92d4}
body:not(.widget) .portal-header nav>a[data-donation]{font-size:13px;color:#a7bfd7}
body:not(.widget) .portal-header nav svg{width:18px;height:18px;flex:none}
body:not(.widget) .portal-header :is(a,button):focus-visible,.portal-app-bar a:focus-visible{outline:3px solid #71dcff;outline-offset:3px}
body:not(.widget) .portal-header .portal-menu-toggle{display:none;min-height:46px;background:#102a41;border:1px solid #36516b;color:#f0f6ff;box-shadow:none;border-radius:11px;font-size:14px;gap:8px}
.portal-app-bar{display:none}
@media(min-width:761px) and (max-width:1150px){body:not(.widget) .portal-header .header-inner{gap:14px}body:not(.widget) .portal-header .brand{flex-basis:195px;max-width:195px}body:not(.widget) .portal-header nav>a{padding:9px 10px;font-size:13px}}
@media(max-width:760px){
 body:not(.widget) .portal-header .header-inner{min-height:78px;gap:12px;flex-wrap:wrap;padding:12px 16px}
 body:not(.widget) .portal-header .brand{flex:1;max-width:220px}
 body:not(.widget) .portal-header .brand img{max-width:200px;max-height:52px}
 body.portal-menu-ready .portal-header .portal-menu-toggle{display:inline-flex;flex:none;margin-left:auto}
 body:not(.widget) .portal-header nav{width:100%;margin:0;display:flex;justify-content:stretch;align-items:stretch;gap:8px;padding-top:12px;border-top:1px solid #24425e}
 body.portal-menu-ready .portal-header nav{display:none}
 body.portal-menu-ready.portal-menu-open .portal-header nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));max-height:calc(100dvh - 165px);overflow-y:auto;overscroll-behavior:contain}
 body:not(.widget) .portal-header nav>a{justify-content:flex-start;white-space:normal;padding:12px;min-height:48px;background:#102237;border-color:#263e58}
 body:not(.widget) .portal-header nav>a.btn{justify-content:center}
 body.portal-app-nav-ready{padding-bottom:calc(82px + env(safe-area-inset-bottom,0px))}
 .portal-app-bar{display:flex;position:fixed;z-index:60;bottom:0;left:0;right:0;justify-content:space-around;gap:4px;margin:0;background:#091827;border-top:1px solid #2c4962;padding:8px max(8px,env(safe-area-inset-right,0px)) calc(8px + env(safe-area-inset-bottom,0px)) max(8px,env(safe-area-inset-left,0px));box-shadow:0 -6px 24px #0003}
 .portal-app-bar a{display:flex;flex:1;min-width:0;min-height:56px;align-items:center;justify-content:center;flex-direction:column;gap:4px;padding:5px;border-radius:10px;font:600 11px/1.2 system-ui;color:#a7bfd7;text-decoration:none;text-align:center}
 .portal-app-bar svg{width:22px;height:22px;flex:none}
 .portal-app-bar a:hover,.portal-app-bar a[aria-current=page]{background:#12364c;color:var(--accent,#20d9ff)}
}
@media(max-width:360px){body.portal-menu-ready.portal-menu-open .portal-header nav{grid-template-columns:minmax(0,1fr)}body:not(.widget) .portal-header .brand img{max-width:170px}}
@media(prefers-reduced-motion:reduce){body:not(.widget) .portal-header nav>a{transition:none}}
