/* A cor da página acompanha a rolagem. Cards e fotos conservam as próprias medidas. */
/* As declarações importantes desta camada têm precedência sobre os temas legados sem camada. */
@layer superficie-movel {
@media (max-width: 768px) {
  html:root {
    background: #071f35 !important;
    overflow-x: clip !important;
    overflow-y: auto !important;
    scrollbar-width: none;
  }
  html:root::-webkit-scrollbar { display: none; }

  html body,
  html body > .app,
  html body .app > main.main,
  html body .app > main.main > section.tab-section.active,
  html body .app > main.main > section#painel.tab-section.active,
  html body #painel.active #mobileAppShell.mobile-shell {
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    overflow: visible !important;
  }

  html body > .app,
  html body .app > main.main {
    box-sizing: border-box !important;
    inline-size: 100% !important;
    max-inline-size: 100% !important;
    margin-inline: 0 !important;
  }

  /* O conteúdo continua no eixo original, enquanto a faixa da marca chega à borda. */
  html body.mobile-shell-page-active .app > main.main {
    padding-top: env(safe-area-inset-top, 0px) !important;
  }
  html body #painel.active #mobileAppShell.mobile-shell {
    border: 0 !important;
    padding-top: 0 !important;
  }
  html body #painel.active #mobileAppShell.mobile-shell[data-mobile-shell-view] > header.app-header {
    box-sizing: border-box !important;
    width: 100vw !important;
    max-width: none !important;
    margin: 0 calc(50% - 50vw) !important;
    top: 0 !important;
    transform: none !important;
    background: #071f35 !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(147, 197, 253, .17) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }
  html body .app > main.main > header.topbar.app-topbar,
  html body #inspectaeroWelcome > header.ia-welcome-header {
    background: #071f35 !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(147, 197, 253, .17) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }

  /* Mantém o padding dos painéis de página e reserva o contorno para os controles internos. */
  html body #portal-aluno.active > .panel.student-portal-panel,
  html body #simulados.active > .panel.quiz-directory-panel,
  html body #simulados.active #simuladoTreinoRapido.panel,
  html body #entradaTrilhas,
  html body #entradaTrilhasResumo {
    background: transparent !important;
    box-shadow: none !important;
    border-color: transparent !important;
    border-radius: 0 !important;
  }

  html body:has(main.main) nav.bottom-nav {
    box-sizing: border-box !important;
    inset-inline: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    max-width: none !important;
    margin-inline: 0 !important;
    border-inline: 0 !important;
    border-bottom: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }
}
}

@media (max-width:768px){body.answer-key-standalone-page{background:#071f35}.answer-key-standalone-page .standalone-answer-key-app{background:transparent}.answer-key-standalone-page .simulados-anac-panel{box-shadow:none;border-color:transparent;background:transparent;border-radius:0}}
