/* [ARCAN 2026-10-13] Subpáginas no padrão 2.0 (visual claro).
 * Cabeçalho, menu móvel e rodapé usam a pele da 2.0 (regras copiadas da liberdade.css,
 * com o escopo trocado para html.pog-page body). O CORPO de cada página foi desenhado no escuro:
 * aqui ele é invertido para o claro (papel + tinta), e imagens/vídeos voltam à cor original. */
html.pog-page body{--l-paper:#FBF7EE;--l-paper2:#F3ECDA;--l-card:#FFFFFF;--l-ink:#1E2B24;--l-muted:#5B6860;--l-line:#DDD4C0;--l-sun:#E58A0B;--l-sun-d:#B86A00;--l-sun-l:#FFE6B0;--l-leaf:#2F5D46;--l-leaf-l:#E4EEE6;--shell-pad:clamp(20px,4vw,48px);}
html{background:#FBF7EE}
html.pog-page body{background:#FBF7EE !important;background-image:none !important}
html.pog-page body > *:not(header):not(footer):not(.tech-mobile-drawer):not(script):not(style):not(link):not(#pab-btn):not(.pab-overlay):not([id^="pab"]):not(#app):not(#pogc):not(#pogc-btn):not(#pog-fab):not(#pog-tema){filter:invert(1) hue-rotate(180deg)}
html.pog-page body > *:not(header):not(footer) :is(img,video,iframe,canvas){filter:invert(1) hue-rotate(180deg)}
/* [15/10] Um `filter` num ancestral vira o "bloco de contenção" dos elementos position:fixed: os modais da calculadora
   (pagamento, login) ficavam dentro de um #app de ~2.700 px e, no celular, apareciam longe da tela. Por isso o filtro
   vai nos FILHOS do #app que não são fixos; modais e avisos fixos ficam fora do filtro (escuros, como foram desenhados). */
html.pog-page body > #app > *:not(.fixed):not(script):not(style){filter:invert(1) hue-rotate(180deg)}
html.pog-page body > #app > .fixed :is(img,video,iframe,canvas){filter:none}
html.pog-page body > #pogc :is(img,video,iframe,canvas){filter:none}
html.pog-page body .fig,html.pog-page body .thumb-frame{filter:none}
html.pog-page body .tech-header{background:rgba(251,247,238,.94);border-bottom:1px solid var(--l-line);backdrop-filter:saturate(1.2) blur(8px);box-shadow:none}
html.pog-page body .tech-brand{gap:10px}
html.pog-page body .brand-logo-icon{background:var(--l-sun);border:0;color:#fff;box-shadow:none;border-radius:10px}
html.pog-page body .tech-brand-text{font-family:'Fraunces',Georgia,serif;font-weight:700;color:var(--l-ink);letter-spacing:0;font-size:1.15rem;text-transform:none}
html.pog-page body .tech-brand-text span{color:var(--l-sun-d)}
html.pog-page body .tech-brand-sub{font-family:'Inter',sans-serif;color:var(--l-muted);letter-spacing:.02em;text-transform:none;font-size:.72rem}
html.pog-page body .tech-link{color:var(--l-muted);background:transparent;border-color:transparent;font-family:'Inter',sans-serif;text-transform:none;letter-spacing:0;font-weight:600}
html.pog-page body .tech-link i{color:var(--l-muted)}
html.pog-page body .tech-link:hover,html.pog-page body .tech-link.active{color:var(--l-ink);background:var(--l-paper2);border-color:var(--l-line)}
html.pog-page body .tech-link:hover i,html.pog-page body .tech-link.active i{color:var(--l-sun-d)}
html.pog-page body .tech-mobile-toggle{background:var(--l-card);border:1px solid var(--l-line);color:var(--l-ink)}
html.pog-page body .tech-mobile-drawer,html.pog-page body .mobile-drawer-inner{background:var(--l-paper)}
html.pog-page body .mobile-drawer-header .tech-brand-text{color:var(--l-ink)}
html.pog-page body .mobile-drawer-close{color:var(--l-ink);background:var(--l-card);border:1px solid var(--l-line)}
html.pog-page body .mobile-nav-item{background:var(--l-card);border:1px solid var(--l-line);color:var(--l-ink)}
html.pog-page body .mobile-nav-item div b{color:var(--l-ink);font-family:'Inter',sans-serif;text-transform:none}
html.pog-page body .mobile-nav-item div span{color:var(--l-muted)}
html.pog-page body .mobile-nav-item i{color:var(--l-sun-d)}
html.pog-page body #pab-btn{background:var(--l-ink)!important;color:#fff!important;border:0!important;box-shadow:none!important}
.lib-wrap{width:100%;max-width:1160px;margin:0 auto;padding:0 var(--shell-pad)}
.lib-foot{padding:42px 0 54px;border-top:1px solid var(--l-line);color:var(--l-muted);font-size:.92rem}
.lib-foot-grid{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;align-items:center}
.lib-foot nav{display:flex;gap:6px 22px;flex-wrap:wrap}
.lib-foot a{color:var(--l-muted);text-decoration:none}
.lib-foot a:hover{color:var(--l-ink);text-decoration:underline}
.lib-foot small{display:block;margin-top:18px;color:#8A948D}
.lib-ver{display:inline-flex;align-items:center;padding:8px 14px;border-radius:999px;border:1px solid var(--l-line);background:var(--l-card);color:var(--l-ink);font-size:.82rem;font-weight:700;text-decoration:none;margin-right:8px;white-space:nowrap}
.lib-ver:hover{border-color:var(--l-ink)}
@media (max-width:520px){.lib-ver{padding:7px 10px;font-size:.74rem}}
html.pog-page body .tech-link.active{color:var(--l-ink) !important;background:var(--l-paper2);border-color:var(--l-line);box-shadow:none}
html.pog-page body .tech-link.active span{color:var(--l-ink) !important}

html.pog-page body .pog-foot{border-top-color:rgba(30,43,36,.16)}
html.pog-page body .pog-foot,html.pog-page body .pog-foot a{color:#5B6860}
html.pog-page body .pog-foot a:hover{color:#1E2B24}
html.pog-page body #pog-tema{background:#fff;color:#1E2B24;border:1px solid #DDD4C0}
