/* Shared presentation for the original HTML screens. IDs and runtime controls remain intact. */
html:has(.legacy-page){background:#f7f7f2!important;height:auto!important;overflow:auto!important}
body.legacy-page{background:#f7f7f2!important;color:#171715!important;font-family:Arial,Helvetica,sans-serif!important;height:auto!important;overflow:visible!important;padding:0!important}
.legacy-page::after,.legacy-content .orb2047,.legacy-content #texture,.legacy-content #superficies{display:none!important}
.legacy-page .site-header{max-width:1500px;margin:auto;padding:22px 5vw;border-bottom:1px solid #171715;display:flex;justify-content:space-between;align-items:center;gap:24px;flex-wrap:wrap}
.legacy-page .site-header>a{font:700 22px/1.25 Arial,Helvetica,sans-serif;text-decoration:none;letter-spacing:normal}
.legacy-page .page-intro h1{font-size:clamp(44px,7vw,90px);line-height:1.1;letter-spacing:-.055em;text-transform:none;font-weight:400}
.legacy-content{padding:30px 0 60px;line-height:1.6;overflow-wrap:anywhere}
.legacy-content,.legacy-content div,.legacy-content p,.legacy-content span,.legacy-content td,.legacy-content th,.legacy-content header,.legacy-content section{color:#171715!important;border-color:#b8b8b0!important;font-family:Arial,Helvetica,sans-serif!important;box-shadow:none!important;text-shadow:none!important}
.legacy-content div,.legacy-content section,.legacy-content table,.legacy-content td,.legacy-content th,.legacy-content header{background-color:transparent!important;background-image:none!important}
.legacy-content a{color:#171715!important;text-decoration:underline!important;border-color:#777!important}
.legacy-content #console{min-height:0!important;background:#f7f7f2!important}
.legacy-content #console>div{max-width:100%!important}
.legacy-content #console>div>div{padding-left:0!important;padding-right:0!important}
.legacy-content div[style*="font-size:10px"],.legacy-content div[style*="font-size:11px"],.legacy-content div[style*="font-size:12px"]{font-size:13px!important;letter-spacing:.025em!important}
.legacy-content div[style*="font-size:15px"],.legacy-content div[style*="font-size:16px"]{font-size:18px!important;line-height:1.7!important}
.legacy-content button,.legacy-content input,.legacy-content select{background:#f7f7f2!important;color:#171715!important;border:1px solid #777!important;font-family:Arial,Helvetica,sans-serif!important}
.legacy-content button:disabled{opacity:.45!important}
.legacy-content .par-wrap{max-width:100%;padding:0}
.legacy-content .par-titulo{color:#171715;font-family:Arial,Helvetica,sans-serif}
.legacy-content .par-gov,.legacy-content .par-sub,.legacy-content .par-rodape{color:#333;font-family:Arial,Helvetica,sans-serif}
.legacy-content table{display:block;overflow-x:auto;max-width:100%}
.visual-page .legacy-content{position:relative;height:80vh;min-height:650px;background:#101010;padding:0;margin:30px 0 60px;overflow:hidden}
.visual-page .legacy-content #stage{position:absolute!important}
.visual-page .legacy-content canvas{position:absolute!important;width:100%!important;height:100%!important}
.visual-page .legacy-content .hud{position:absolute!important;color:#eee!important;font-family:Arial,Helvetica,sans-serif!important}
.visual-page .legacy-content .hud div,.visual-page .legacy-content .hud span{color:#eee!important}
.visual-page .legacy-content #overlay div{color:#eee!important}
.legacy-page .site-footer{font:12px/1.6 'Courier New',monospace}
@media(max-width:760px){.legacy-content #console>div>div{padding-left:0!important;padding-right:0!important}.legacy-content div[style*="grid-template-columns"]{max-width:100%}.legacy-content .sheet{padding:20px!important}.legacy-content article{max-width:100%}.visual-page .legacy-content{min-height:720px}}
