/* PT: Define o tema e o layout responsivo das páginas. EN: Defines the page theme and responsive layout. */
:root { color-scheme: light; font-family: system-ui, -apple-system, sans-serif; color: #20384d; background: #f3f6f8; line-height: 1.5; }
* { box-sizing: border-box; }
body { margin: 0; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; background: #fff; border-bottom: 1px solid #dce4e9; padding: 1.5rem max(1rem, calc((100vw - 1440px) / 2)); }
h1 { margin: .2rem 0 0; font-size: clamp(1.3rem, 3vw, 2rem); }
h2 { font-size: 1.25rem; margin: 0 0 1rem; }
h3 { margin-top: 2rem; }
p { color: #496074; }
.eyebrow { color: #157a87; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .8rem; }
main { max-width: 1480px; margin: auto; padding: 1.5rem; }
footer { text-align: center; font-size: .85rem; padding: 2rem 1rem; color: #526675; }
.filters, .panel, .login-card { background: white; border: 1px solid #dce4e9; border-radius: 12px; padding: 1.4rem; }
.filters form { display: flex; flex-wrap: wrap; gap: 1rem; align-items: end; margin-bottom: 1rem; }
label { display: flex; flex-direction: column; gap: .35rem; font-size: .9rem; font-weight: 600; }
input, select, button, .button { font: inherit; border-radius: 6px; padding: .65rem .85rem; }
input, select { background: #fff; border: 1px solid #aebdc8; color: #20384d; min-height: 44px; max-width: 100%; }
select { max-width: 300px; }
button, .button { display: inline-block; border: 1px solid #126d78; color: #fff; background: #126d78; cursor: pointer; text-decoration: none; font-weight: 600; }
button:hover, .button:hover { filter: brightness(.92); }
.secondary { background: #fff; color: #126d78; }
:focus-visible { outline: 3px solid #dd8141; outline-offset: 3px; }
.notice { padding: 1rem 1.3rem; border-left: 4px solid #157a87; background: #e7f2f4; border-radius: 4px; }
.empty { padding: 2rem; text-align: center; }
.dashboard-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.panel { min-width: 0; }
.full-width { grid-column: 1 / -1; }
.chart { height: 290px; position: relative; margin: 1rem 0 1.5rem; }
.table-scroll { overflow-x: auto; max-height: 460px; }
table { width: 100%; border-collapse: collapse; font-size: .9rem; }
th, td { text-align: left; border-bottom: 1px solid #e4eaee; padding: .8rem .6rem; overflow-wrap: anywhere; }
th { background: #f3f6f8; position: sticky; top: 0; }
tbody tr:hover { background: #f7fafb; }
.methodology { margin-top: 1.25rem; }
summary { cursor: pointer; font-weight: 700; }
li { margin: .65rem 0; }
.login-card { max-width: 430px; margin: 3rem auto; }
.login-form { display: grid; gap: 1.2rem; }
.error { padding: .8rem; color: #8a1f2d; background: #fcecef; border-radius: 6px; }
@media (max-width: 850px) { .dashboard-grid { grid-template-columns: 1fr; } main { padding: 1rem; } .panel { padding: 1rem; } .filters form { align-items: stretch; } .filters label { flex: 1 1 150px; } .chart { height: 250px; } }
