:root {
  --azul: #00304E; --azul-escuro: #01233B; --laranja: #FD9F00; --turquesa: #018A98;
  --fundo: #F3F6F8; --cartao: #FFFFFF; --texto: #01233B; --discreto: #55697A; --borda: #D5DEE5;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--fundo); color: var(--texto); font: 16px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
a { color: var(--turquesa); }
h1 { margin: 0; font-size: 1.6rem; font-weight: 800; }
h2 { font-size: 1.1rem; font-weight: 800; margin: 0 0 6px; line-height: 1.3; }
h2 a { color: inherit; text-decoration: none; }
h2 a:hover { text-decoration: underline; }
h3 { margin: 28px 0 4px; font-size: 1rem; font-weight: 800; border-top: 1px solid var(--borda); padding-top: 20px; }
.topo { background: var(--azul); color: #fff; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 20px; padding: 10px 16px; }
.marca { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 800; }
.marca img { height: 36px; width: auto; display: block; }
.topo nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.topo nav a, .topo .link { color: #fff; text-decoration: none; padding: 8px 12px; border-radius: 8px; font: inherit; font-weight: 600; background: none; border: 0; cursor: pointer; }
.topo nav a:hover, .topo .link:hover { background: rgba(255,255,255,.12); }
.topo nav a.ativo { background: var(--laranja); color: var(--azul-escuro); }
main { max-width: 980px; margin: 0 auto; padding: 20px 16px 60px; }
.cabecalho-pagina { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; margin-bottom: 16px; }
.discreto { color: var(--discreto); font-size: .875rem; margin: 4px 0; }
.rotulo { color: var(--discreto); font-size: .8rem; font-weight: 700; margin: 0 0 4px; }
.cartao { background: var(--cartao); border: 1px solid var(--borda); border-radius: 14px; padding: 20px; margin-bottom: 16px; }
label { display: block; font-weight: 700; font-size: .875rem; margin: 14px 0 4px; }
input[type=text], input:not([type]), input[type=password], input[type=datetime-local], input[type=file], select, textarea {
  width: 100%; padding: 10px 12px; font: inherit; color: inherit; background: #fff; border: 1px solid var(--borda); border-radius: 8px; }
input:focus-visible, select:focus-visible, textarea:focus-visible, button:focus-visible, a:focus-visible { outline: 3px solid var(--laranja); outline-offset: 1px; }
.opcao { display: flex; align-items: center; gap: 8px; font-weight: 500; font-size: 1rem; }
.opcao input { width: 18px; height: 18px; flex: none; }
.duas-colunas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.botao { display: inline-block; margin-top: 14px; padding: 10px 18px; font: inherit; font-weight: 800; color: var(--azul-escuro); background: var(--laranja); border: 0; border-radius: 10px; cursor: pointer; text-decoration: none; }
.botao:hover { filter: brightness(1.06); }
.botao:disabled { opacity: .5; cursor: not-allowed; }
.botao.secundario { background: #E6ECF1; }
.botao.pequeno { margin-top: 0; padding: 7px 12px; font-size: .875rem; }
.botao.grande { width: 100%; margin-top: 24px; padding: 14px; font-size: 1.05rem; }
.aviso { padding: 10px 14px; border-radius: 8px; margin-bottom: 12px; font-size: .95rem; }
.aviso.ok { background: #E3F5EC; color: #11613B; }
.aviso.erro { background: #FCE8E6; color: #A1261B; }
.aviso.info { background: #E6F1FA; color: #0A4A75; }
.filtros { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) auto; gap: 10px; align-items: end; margin-bottom: 16px; }
.filtros label { margin: 0; font-size: .8rem; }
.filtros .botao { margin: 0; }
.pauta { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 16px; background: var(--cartao); border: 1px solid var(--borda); border-radius: 14px; padding: 14px; margin-bottom: 12px; }
.pauta-foto { width: 100%; height: 118px; object-fit: cover; border-radius: 10px; background: #E6ECF1; display: block; }
.resumo { margin: 0 0 4px; font-size: .925rem; }
.selos { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 6px; }
.selo { padding: 2px 9px; border-radius: 99px; font-size: .75rem; font-weight: 700; background: #E6ECF1; }
.selo.cidade { background: var(--azul); color: #fff; }
.selo.ed-noticias { background: #C2E7FD; }
.selo.ed-negocios { background: #FDEAD6; }
.selo.ed-turismo { background: #C1F0E7; }
.selo.ed-cultura { background: #ECDFF9; }
.selo.ed-comunidade { background: #FED5E3; }
.selo.ed-politica { background: #E1E4FB; }
.selo.ed-esportes { background: #D9F2DF; }
.selo.radar { background: #FFF3CD; color: #6B4E00; }
.selo.policial { background: #FCE8E6; color: #A1261B; }
.selo.politica { background: #E8E4F8; color: #44307A; }
.selo.esporte { background: #E3F5EC; color: #11613B; }
.acoes { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.vazio { text-align: center; color: var(--discreto); padding: 48px 16px; background: var(--cartao); border-radius: 14px; border: 1px dashed var(--borda); }
.foto-externa { margin-top: 14px; padding: 12px 14px; border: 1px solid var(--borda); border-radius: 10px; }
.foto-externa summary { cursor: pointer; font-weight: 700; }
.linha-campo { display: flex; gap: 8px; }
.linha-campo input { flex: 1; min-width: 0; }
.linha-campo .botao { margin: 0; flex: none; }
.previa-foto { max-width: 280px; width: 100%; border-radius: 10px; display: block; margin-top: 8px; }
.arte { max-width: 400px; width: 100%; border-radius: 12px; display: block; margin: 16px 0; }
.tela-login { min-height: 100vh; display: grid; place-items: center; background: var(--azul); padding: 16px; }
.login { width: 100%; max-width: 380px; margin: 0; overflow: hidden; padding-top: 0; }
.login-logo { background: var(--azul-escuro); margin: 0 -20px 16px; padding: 20px; text-align: center; }
.login-logo img { height: 56px; }
.login .botao { width: 100%; }
@media (max-width: 680px) {
  .filtros { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .filtros .botao { grid-column: 1 / -1; }
  .pauta { grid-template-columns: minmax(0, 1fr); }
  .pauta-foto.vazia { display: none; }
  .pauta-foto { height: 170px; }
}
@media (max-width: 400px) { .duas-colunas { grid-template-columns: minmax(0, 1fr); } }
