/*
Theme Name: Gráfica SaaS
Description: Tema leve para o plugin Gráfica SaaS, com área do sistema em largura total e páginas institucionais simples.
Version: 1.0.0
Requires at least: 6.6
Requires PHP: 8.2
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: grafica-saas-tema
*/
:root { color-scheme: light; }
body { margin: 0; background: #f4f7fc; color: #24334c; font: 16px/1.6 system-ui, -apple-system, "Segoe UI", sans-serif; }
*, *::before, *::after { box-sizing: border-box; }
a { color: #2462e9; }
img { max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid #2462e9; outline-offset: 3px; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 100000; padding: 12px 18px; background: white; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.site-header, .site-footer { padding: 24px max(20px, calc((100% - 1200px) / 2)); background: white; }
.site-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid #e4eaf3; }
.site-brand { font-weight: 750; font-size: 22px; text-decoration: none; color: #233b62; }
.site-header ul { display: flex; flex-wrap: wrap; gap: 18px; list-style: none; padding: 0; }
.site-header .sub-menu { display: block; padding-left: 16px; }
.site-content { max-width: 1200px; padding: 32px 24px; margin: auto; min-height: 65vh; overflow-wrap: anywhere; }
.site-content article { margin-bottom: 32px; }
.site-content input, .site-content select, .site-content textarea { max-width: 100%; }
.site-footer { border-top: 1px solid #e4eaf3; color: #66758c; font-size: 13px; }
/* No content column, site header or footer around the application. */
.app-canvas { width: 100%; padding: 24px; min-height: 100vh; }
.gsaas-app-page #grafica-saas { max-width: 1600px; width: 100%; margin: 0 auto; }
.gsaas-app-page #grafica-saas .gs-shell { min-height: calc(100vh - 48px); }
.gsaas-app-page.admin-bar #grafica-saas .gs-shell { min-height: calc(100vh - 80px); }
@media (max-width: 782px) {
  .app-canvas { padding: 10px; }
  .gsaas-app-page #grafica-saas .gs-shell { min-height: calc(100vh - 20px); }
  .gsaas-app-page.admin-bar #grafica-saas .gs-shell { min-height: calc(100vh - 66px); }
  .site-content { padding: 24px 16px; }
}
@media print {
  .app-canvas { padding: 0; min-height: 0; }
  .skip-link, #wpadminbar, .site-header, .site-footer { display: none !important; }
  html { margin-top: 0 !important; }
  .gsaas-app-page #grafica-saas .gs-shell { min-height: 0; }
}
