:root{--mo-blue:#073b6f;--mo-blue2:#0a4d89;--mo-white:#fff;--mo-max:1180px}
*{box-sizing:border-box}html,body{margin:0;max-width:100%;overflow-x:hidden}
.mo-v2-header{position:relative;z-index:2147483000;width:100%;background:var(--mo-blue);color:#fff;box-shadow:0 2px 10px #001b3326;font-family:Arial,sans-serif}
.mo-v2-head{height:72px;max-width:var(--mo-max);margin:auto;padding:0 22px;display:grid;grid-template-columns:210px 1fr 210px;align-items:center}
.mo-v2-brand{grid-column:1;display:flex;align-items:center;width:178px;max-width:100%}.mo-v2-brand img{display:block;width:100%;height:auto;filter:drop-shadow(0 1px 2px #0008)}
.mo-v2-nav{grid-column:2;display:flex;justify-content:center;align-items:center;gap:4px;min-width:0}.mo-v2-nav a{color:#fff!important;text-decoration:none!important;font-weight:700;font-size:13px;line-height:1.2;padding:10px 9px;border-radius:8px;white-space:nowrap}.mo-v2-nav a:hover,.mo-v2-nav a[aria-current=page]{background:#1767b2}.mo-v2-nav a[aria-current=page]{pointer-events:none}
.mo-v2-toggle{display:none}
.mo-v2-footer{position:relative;z-index:10;width:100%;margin-top:28px;background:#082f55;color:#dbe9f5;font-family:Arial,sans-serif}
.mo-v2-foot{max-width:1120px;margin:auto;padding:30px 22px;display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:24px}.mo-v2-foot img{display:block;width:170px;max-width:100%}.mo-v2-foot a{color:#fff!important;text-decoration:none;display:block;margin:7px 0;overflow-wrap:anywhere}.mo-v2-foot b{color:#fff}.mo-v2-foot p{color:#b9ccdc;line-height:1.5}.mo-v2-links{display:flex;flex-direction:column;align-items:flex-start}
body>.mo-global-bar,body>header.topbar,body>header.top,body>header.ecosys-header,body>.ecosys-header,body>footer:not(.mo-v2-footer){display:none!important}
@media(max-width:900px){.mo-v2-head{height:auto;min-height:64px;padding:8px 18px;grid-template-columns:minmax(0,1fr) 48px;grid-template-areas:"brand toggle" "nav nav";gap:7px 12px}.mo-v2-brand{grid-area:brand;width:150px;max-width:calc(100% - 8px)}.mo-v2-toggle{grid-area:toggle;display:flex;width:48px;height:44px;border:1px solid #ffffff55;background:#ffffff10;border-radius:9px;align-items:center;justify-content:center;flex-direction:column;gap:4px}.mo-v2-toggle span{width:20px;height:2px;background:#fff;display:block}.mo-v2-nav{grid-area:nav;display:none;width:100%;grid-template-columns:1fr 1fr;gap:6px;padding:7px 0 5px}.mo-v2-nav.open{display:grid}.mo-v2-nav a{display:flex;align-items:center;justify-content:center;min-height:42px;padding:7px;border:1px solid #ffffff25;background:#ffffff0a;text-align:center}.mo-v2-nav a:last-child{grid-column:1/-1}.mo-v2-foot{grid-template-columns:1fr;padding:26px 22px;gap:22px}}

/* v20261010e: deterministic global header geometry */
@media(min-width:901px){
 .mo-v2-head{width:min(1180px,100%);height:72px!important;min-height:72px!important;padding:0 22px!important;grid-template-columns:210px minmax(0,1fr) 210px!important}
 .mo-v2-brand{width:178px!important;height:auto!important;margin:0!important;padding:0!important}
 .mo-v2-nav{width:auto!important;margin:0!important;padding:0!important;gap:4px!important;flex-wrap:nowrap!important}
 .mo-v2-nav a{font:700 13px/1.2 Arial,sans-serif!important;padding:10px 9px!important;margin:0!important}
}

/* v20261010f: hard reset for shell against page-local CSS */
.mo-v2-header,.mo-v2-header *,.mo-v2-footer,.mo-v2-footer *{box-sizing:border-box}
.mo-v2-header{height:auto!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important}
.mo-v2-footer{height:auto!important;min-height:0!important;margin:28px 0 0!important;padding:0!important;border:0!important}
.mo-v2-footer .mo-v2-foot{width:min(1120px,100%)!important;max-width:1120px!important;min-height:0!important;margin:0 auto!important;padding:30px 22px!important;display:grid!important;grid-template-columns:1.4fr 1fr 1fr!important;align-items:start!important;gap:24px!important}
.mo-v2-footer .mo-v2-foot>div,.mo-v2-footer .mo-v2-foot>nav{width:auto!important;max-width:none!important;height:auto!important;min-height:0!important;margin:0!important;padding:0!important;display:block!important;text-align:left!important}
.mo-v2-footer .mo-v2-foot .mo-v2-links{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:0!important}
.mo-v2-footer .mo-v2-foot a{font:400 14px/1.35 Arial,sans-serif!important;margin:7px 0!important;padding:0!important}
.mo-v2-footer .mo-v2-foot b{font:700 14px/1.35 Arial,sans-serif!important;margin:0 0 4px!important;padding:0!important}
.mo-v2-footer .mo-v2-foot p{font:400 14px/1.5 Arial,sans-serif!important;margin:12px 0 0!important;padding:0!important;max-width:310px!important}
.mo-v2-footer .mo-v2-foot img{width:170px!important;height:auto!important;margin:0!important;padding:0!important}
@media(max-width:900px){.mo-v2-footer .mo-v2-foot{grid-template-columns:1fr!important;padding:26px 22px!important;gap:22px!important}}

@media(max-width:900px){.mo-v2-head{grid-template-areas:'brand toggle' 'nav nav'!important}.mo-v2-toggle{display:flex!important}.mo-v2-nav{display:none!important}.mo-v2-nav.open{display:flex!important;flex-direction:column!important;align-items:stretch!important;width:100%!important}.mo-v2-nav.open a{width:100%!important;text-align:left!important}}

@media(max-width:900px){body>.mo-v2-header .mo-v2-nav.open a:not(:last-child){display:flex!important}}

@media(max-width:900px){body>.mo-v2-header{height:auto!important;position:relative!important;display:block!important}body>.mo-v2-header .mo-v2-nav.open{display:flex!important}}

/* Canonical thematic banner fallback — 2026-10-13 */
.mo-section-banner{position:relative;isolation:isolate;background:linear-gradient(90deg,rgba(2,28,64,.93),rgba(2,48,101,.65)),url('/portal-hml/hero-congresso.jpg') center 44%/cover;min-height:165px;color:#fff;display:flex;align-items:center;padding:24px clamp(18px,5vw,65px);box-sizing:border-box}.mo-section-banner-inner{max-width:1180px;width:100%;margin:auto}.mo-section-banner span{font-weight:700;letter-spacing:.16em;font-size:.7rem;color:#9fe1ff}.mo-section-banner h1{font-size:clamp(1.35rem,3vw,2.3rem);margin:8px 0}.mo-section-banner p{margin:0;color:#e2efff}@media(max-width:600px){.mo-section-banner{min-height:140px;padding:22px 18px}}

/* 2026-10-13 navigation, centered election tabs, footer hard reset */
@media(min-width:901px){.mo-v2-head{grid-template-columns:190px minmax(0,1fr) 20px!important}.mo-v2-nav{gap:2px!important}.mo-v2-nav a{font-size:12px!important;padding:10px 8px!important}}
.mo-v2-footer{display:block!important;position:relative!important;left:0!important;right:0!important;float:none!important;clear:both!important;width:100vw!important;max-width:100vw!important;margin-left:calc(50% - 50vw)!important;margin-right:0!important;transform:none!important;text-align:left!important}.mo-v2-footer .mo-v2-foot{margin-left:auto!important;margin-right:auto!important}
.election-canonical-nav{display:flex!important;justify-content:center!important;align-items:center!important;flex-wrap:wrap!important;gap:6px!important;width:100%!important;max-width:none!important;padding-left:12px!important;padding-right:12px!important;margin-left:auto!important;margin-right:auto!important}.election-canonical-nav a{flex:0 0 auto!important}
/* Theme-specific canonical banners: no change to internal solution navigation */
body:has(.mo-v2-header) .mo-section-banner{background-color:#062c59;background-image:linear-gradient(95deg,rgba(1,24,56,.96),rgba(2,51,108,.65)),url('/portal-hml/hero-congresso.jpg');background-position:center,center 44%;background-size:cover;min-height:170px}
body:has(.mo-v2-header) .mo-section-banner h1{font-weight:750;line-height:1.18;text-shadow:0 2px 6px #001d44a8}
body:has(.mo-v2-header) .mo-section-banner p{max-width:800px;line-height:1.5}
body:has(.mo-v2-header) .mo-v2-brand img{object-fit:contain;max-height:65px}
@media(max-width:600px){body:has(.mo-v2-header) .mo-section-banner{min-height:140px}}
