:root {
  color-scheme: light;
  --fundo: #f0f4f1;
  --papel: #fff;
  --tinta: #162b22;
  --suave: #465d51;
  --linha: #daE5df;
  --verde: #13674b;
  --verde-escuro: #102e25;
  --raio: 16px;
  font-family: "Aptos", "Segoe UI", system-ui, sans-serif;
  font-size: 16px;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--fundo); color: var(--tinta); }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid #4581d4; outline-offset: 3px; }
button, input { font: inherit; }
button, .botao {
  display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 9px 15px;
  border: 1px solid transparent; border-radius: 8px; color: #fff; background: var(--verde);
  font-weight: 680; cursor: pointer;
}
button:hover, .botao:hover { background: #0b5139; }
.cabecalho { background: var(--verde-escuro); color: #fff; }
.cabecalho-interno {
  display: flex; align-items: center; gap: 22px; min-height: 68px; padding: 10px 24px;
  margin: auto; max-width: 1296px;
}
.marca { display: flex; align-items: center; gap: 10px; font-weight: 750; white-space: nowrap; }
.marca small { font-size: inherit; font-weight: 560; color: #c3ddcf; }
.marca-simbolo {
  display: flex; align-items: center; justify-content: center; gap: 3px; position: relative;
  width: 30px; height: 26px; background: #b2efd1; border-radius: 10px;
}
.marca-simbolo::after { content: ""; position: absolute; left: 3px; bottom: -3px; border: 5px solid transparent; border-left: 5px solid #b2efd1; transform: rotate(12deg); }
.marca-simbolo i { width: 3px; height: 3px; border-radius: 50%; background: #234e3e; }
.area-atual { padding-left: 21px; border-left: 1px solid #557065; color: #e1eee8; font-size: .87rem; }
.cabecalho form { margin-left: auto; }
.sair { min-height: 36px; border-color: #587567; background: transparent; font-size: .85rem; }
.pular, .so-leitor { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.pular:focus { top: 8px; left: 8px; padding: 8px; width: auto; height: auto; clip-path: none; z-index: 5; background: #fff; }
.painel { margin: auto; max-width: 1296px; padding: 42px 24px 60px; }
.introducao { margin-bottom: 26px; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: clamp(2.15rem, 5vw, 3.15rem); line-height: 1.04; letter-spacing: -.047em; }
.introducao p { margin-top: 9px; color: var(--suave); line-height: 1.5; }
.indicadores { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; margin-bottom: 28px; }
.indicador { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px; border: 1px solid var(--linha); border-radius: 12px; background: var(--papel); }
.indicador:hover { border-color: var(--verde); }
.indicador-nome { font-size: .88rem; font-weight: 700; color: var(--suave); }
.indicador strong { font-size: 1.9rem; font-variant-numeric: tabular-nums; line-height: 1.08; }
.indicador-legenda { color: var(--suave); font-size: .78rem; }
.indicador-revisao strong { color: #805119; }
.indicador-conferido strong { color: #225682; }
.indicador-publicado strong { color: #13674b; }
.colunas { display: grid; grid-template-columns: minmax(0, 390px) minmax(0, 1fr); gap: 18px; align-items: start; }
.fila, .leitura { background: var(--papel); border: 1px solid var(--linha); border-radius: var(--raio); min-width: 0; }
.fila-cabecalho { padding: 18px 16px 14px; }
.fila-titulo { display: flex; gap: 8px; align-items: center; margin-bottom: 13px; }
.fila-titulo h2 { font-size: 1.16rem; letter-spacing: -.021em; }
.fila-titulo span { background: #e9f1ec; color: var(--suave); font-size: .75rem; padding: 3px 8px; border-radius: 12px; }
.buscar { display: flex; gap: 6px; }
.buscar input { width: 100%; min-width: 0; border: 1px solid #b9cbc0; background: #fcfdfc; padding: 8px; color: var(--tinta); border-radius: 8px; font-size: .87rem; }
.buscar button { min-height: 38px; padding: 6px 10px; font-size: .81rem; }
.filtros { display: flex; gap: 4px; flex-wrap: wrap; margin-top: 13px; }
.filtros a { padding: 5px 7px; border-radius: 7px; color: var(--suave); font-size: .77rem; font-weight: 660; }
.filtros a:hover, .filtros a[aria-current] { background: #e0f0e7; color: #164b37; }
.lista { margin: 0; padding: 0 11px 11px; list-style: none; }
.lista li + li { margin-top: 5px; }
.boletim { display: grid; gap: 9px; padding: 12px; border: 1px solid #e2ebe5; border-radius: 10px; }
.boletim:hover { border-color: #81a893; }
.boletim.selecionado { background: #edf8f1; border-color: #8ebaa5; box-shadow: inset 3px 0 #1e7958; }
.boletim strong { line-height: 1.36; overflow-wrap: anywhere; }
.boletim-topo, .boletim-rodape, .detalhe-meta { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.boletim-topo time { margin-left: auto; font-size: .73rem; color: var(--suave); }
.boletim-categoria, .secao-label { color: var(--verde); text-transform: uppercase; font-weight: 750; letter-spacing: .055em; font-size: .72rem; }
.status, .urgente { display: inline-flex; padding: 3px 7px; border-radius: 6px; font-size: .72rem; font-weight: 700; }
.status.revisao { background: #fbefda; color: #714614; }
.status.conferido { background: #eaf2ff; color: #225682; }
.status.publicado { background: #e4f3e9; color: #165a40; }
.urgente { background: #f9e8e5; color: #8f3125; }
.leitura { scroll-margin-top: 12px; }
.detalhe-cabecalho, .corpo-boletim, .historico, .revisar { padding: 22px clamp(16px, 2.5vw, 30px); }
.detalhe-cabecalho { border-bottom: 1px solid var(--linha); }
.detalhe-cabecalho h2 { font-size: clamp(1.36rem, 3vw, 2rem); letter-spacing: -.025em; margin: 9px 0 5px; overflow-wrap: anywhere; }
.detalhe-cabecalho p { color: var(--suave); font-size: .82rem; }
.corpo-boletim { line-height: 1.7; overflow-wrap: anywhere; }
.corpo-boletim p { margin-bottom: 15px; white-space: pre-wrap; }
.corpo-boletim p:last-child { margin-bottom: 0; }
.corpo-boletim h3 { font-size: 1rem; margin-bottom: 3px; }
.historico, .revisar { border-top: 1px solid var(--linha); }
.historico h3 { font-size: .94rem; }
.historico ol { margin: 12px 0 0; padding-left: 18px; }
.historico li { padding-bottom: 8px; font-size: .82rem; }
.historico time { margin-left: 8px; color: var(--suave); white-space: nowrap; }
.revisar small { display: block; margin-top: 8px; color: var(--suave); }
.vazio { padding: 17px; color: var(--suave); }
.vazio.destaque { display: grid; gap: 8px; min-height: 220px; align-content: center; justify-content: center; text-align: center; }
.vazio h2 { font-size: 1.2rem; color: var(--tinta); }
.aviso { margin-bottom: 12px; border-left: 3px solid var(--verde); padding: 8px 14px; background: #e4f4ea; }
.acesso { padding: 64px 16px; }
.acesso-interno { max-width: 500px; margin: auto; background: #fff; padding: clamp(21px, 5vw, 37px); border: 1px solid var(--linha); border-radius: var(--raio); }
.acesso h1 { margin: 7px 0 16px; font-size: clamp(2rem, 5vw, 2.6rem); }
.acesso p { color: var(--suave); line-height: 1.55; margin-bottom: 16px; }
.acesso form { margin-top: 22px; }
.codigo { display: block; width: fit-content; margin-bottom: 12px; border-radius: 8px; padding: 7px 13px; background: #e8f4ee; font: 750 1.25rem ui-monospace, monospace; letter-spacing: .03em; }
.ajuda { font-size: .85rem; }
@media (max-width: 730px) {
  .painel { padding: 30px 12px; }
  .cabecalho-interno { padding: 10px 12px; gap: 10px; }
  .area-atual { padding-left: 10px; }
  .indicadores { gap: 6px; }
  .indicador { gap: 5px; padding: 10px 8px; }
  .indicador-nome, .indicador-legenda { font-size: .72rem; }
  .indicador strong { font-size: 1.55rem; }
  .colunas { grid-template-columns: minmax(0, 1fr); }
  .lista { max-height: 285px; overflow-y: auto; }
}
@media (max-width: 360px) {
  .marca small { display: none; }
}
