:root {
  --navy: #003880;
  --navy-deep: #002868;
  --red: #b01020;
  --gold: #f09818;
  --ink: #102033;
  --muted: #4c5d72;
  --line: #d7e0ec;
  --wash: #f3f6fb;
  --paper: #f6f7fb;
  --white: #fff;
  --gutter: clamp(20px, 4vw, 32px);
  --shadow: 0 12px 32px rgba(0, 40, 104, .08);
}

* , *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.5;
}
main { flex: 1 0 auto; }
body.fantasma { background: #fff8dc; }
body.fantasma .topo { background: #fff8dc; }
body.monitoria { background: #d4eafb; }
body.monitoria .topo { background: #d4eafb; }
.voltar-fantasma { margin: 10px 0 0; }
.acoes-fantasma { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 10px; }
.acoes-fantasma .voltar-fantasma { margin: 0; }
img { max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button, summary { cursor: pointer; }
a { color: var(--navy); font-weight: 700; }
h1, h2, h3 { font-family: Fraunces, Georgia, serif; font-weight: 640; letter-spacing: -.03em; line-height: 1.05; }
h1 { margin: 8px 0; font-size: clamp(36px, 6vw, 64px); }
h2 { margin: 28px 0 12px; font-size: clamp(26px, 3vw, 36px); }
p { margin: 0 0 12px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.miolo {
  width: min(1120px, 100%);
  margin-inline: auto;
  padding-inline: var(--gutter);
  min-width: 0;
}
.tricolor { display: grid; grid-template-columns: 1.4fr .8fr 1fr; height: 7px; }
.tricolor i:nth-child(1) { background: var(--navy); }
.tricolor i:nth-child(2) { background: var(--gold); }
.tricolor i:nth-child(3) { background: var(--red); }

.topo { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.94); backdrop-filter: blur(12px); padding-top: env(safe-area-inset-top); }
.topo-linha, .rodape-linha, .dock-linha, .painel-head, .acoes, .busca-linha {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.topo-linha { min-height: 74px; }
.sair-topo { margin: 0; flex: none; }
.topo-entrada .topo-linha { position: relative; }
.sair-entrada { position: absolute; right: var(--gutter); }
.topo-acoes { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.marca { display: flex; align-items: center; justify-content: flex-start; }
.marca img { width: auto; max-width: min(220px, 46vw); max-height: 58px; height: auto; object-fit: contain; object-position: left center; }
.nav { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.nav-segunda { flex: 1 0 100%; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.nav a, .nav-mobile a, .nav-mobile button {
  padding: 8px 10px; border-radius: 999px; text-decoration: none; color: var(--navy-deep); background: transparent; border: 0;
}
.nav a:hover, .nav-mobile a:hover { background: var(--wash); }
.nav-mobile { display: none; position: relative; }
.nav-mobile summary { list-style: none; display: flex; align-items: center; min-height: 44px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; font-weight: 700; }
.nav-mobile summary::-webkit-details-marker { display: none; }
.nav-mobile nav {
  position: absolute; right: 0; top: calc(100% + 8px); display: grid; min-width: 200px;
  padding: 8px; background: white; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow);
}
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 16px; border-radius: 999px; border: 1.5px solid transparent;
  text-decoration: none; font-family: Outfit, "Segoe UI", sans-serif; font-weight: 700; letter-spacing: .01em;
}
.btn-vermelho { background: var(--red); color: white; }
.btn-vermelho:hover { background: #8e0d1a; }
.btn-navy { background: var(--navy); color: white; }
.btn-navy:hover { background: var(--navy-deep); }
.btn-fantasma { background: white; color: var(--navy); border-color: var(--line); }
.nav .btn { color: white; }
.nav .btn-fantasma { color: var(--navy); background: white; }
.nav a.btn-vermelho,
.nav a.btn-vermelho:hover { background: var(--red); color: white; }
.nav a.btn-vermelho:hover { background: #8e0d1a; }

.aviso { margin: 12px 0; padding: 12px 14px; border-radius: 14px; background: #e8f6ee; color: #0d5a32; }
.popup {
  position: fixed; inset: 0; z-index: 40; display: grid; place-items: center;
  padding: var(--gutter); background: rgba(0, 24, 64, .45);
}
.popup-caixa {
  position: relative; width: min(100%, 440px); margin: 0;
  padding: 28px 22px 22px; background: white; border-radius: 20px;
  box-shadow: 0 18px 48px rgba(0, 40, 104, .22);
}
.popup-fechar {
  position: absolute; top: 6px; right: 6px; width: 44px; height: 44px;
  border: 0; border-radius: 50%; background: transparent; color: var(--navy);
  font-size: 32px; line-height: 1;
}
.popup-caixa p { margin: 12px 36px 0 0; font-size: 18px; line-height: 1.45; }
.aviso-erro { background: #fdecef; color: var(--red); }
.avisos { padding-top: 12px; }

.hero { padding: 28px 0 10px; }
.hero-grade { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(240px, .8fr); gap: 28px; align-items: center; }
.hero-figura { margin: 0; padding: 18px; border-radius: 28px; background: white; box-shadow: var(--shadow); }
.cabeca-lista { display: flex; align-items: center; gap: 16px; margin-bottom: 4px; }
.cabeca-lista img { display: none; width: 148px; flex: none; }
.cabeca-lista h1 { margin: 2px 0 0; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.15; }
.saudacao { padding-top: 22px; margin-bottom: 1cm; }
.saudacao p { margin: 0; }
.saudacao-ola { color: var(--navy); font-family: Fraunces, Georgia, serif; font-size: clamp(22px, 2.4vw, 28px); font-weight: 560; letter-spacing: -.02em; line-height: 1.2; }
.saudacao-perfil { margin-top: 2px; color: var(--ink); font-size: 16px; line-height: 1.35; }
.perfis-acesso { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.perfis-acesso form { margin: 0; }
.perfis-acesso .btn { margin: 0; }
.linha-acesso { display: flex; align-items: flex-start; justify-content: flex-end; gap: 8px; flex-wrap: wrap; min-width: 0; }
.linha-acesso form, .linha-acesso .form-funcao { margin: 0; }
.saudacao + .pagina, .saudacao + .hero, .saudacao + .capa { padding-top: 12px; }
.saudacao + .vitrine { padding-top: 4px; }
.olho { display: flex; align-items: center; gap: 10px; margin: 0; color: var(--red); font-family: Outfit, sans-serif; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.cartao .olho { flex-wrap: wrap; margin-bottom: 8px; letter-spacing: .08em; }
.olho i { display: block; flex: none; width: 28px; height: 3px; background: var(--gold); }
.tema { margin: 0; max-width: 40rem; font-family: Fraunces, Georgia, serif; font-size: clamp(20px, 2.4vw, 28px); font-weight: 560; line-height: 1.25; }
.lead { max-width: 42rem; color: var(--muted); }
.fatos { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; padding: 0; list-style: none; }
.fatos li { padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: white; font-size: 14px; font-weight: 700; }
.acoes { display: flex; align-items: center; gap: 8px; margin-top: 8px; flex-wrap: wrap; justify-content: flex-start; }
.passos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; padding-block: 28px; }
.passos article, .formulario, .ficha, .quadro-card, .cartao, .convite {
  background: white; border: 1px solid var(--line); border-radius: 20px;
}
.passos article { padding: 18px; }
.passos span { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: white; font-family: Fraunces, serif; }
.passos h2 { margin: 10px 0 6px; font-size: 26px; }
.sobre { padding-bottom: 48px; }
.rodape { margin-top: auto; padding-top: 20px; color: var(--muted); font-size: 14px; }
.rodape-linha { min-height: 64px; }
.rodape a { color: var(--muted); }

.pagina { padding-block: 28px 56px; }
.estreita { max-width: 720px; }
.formulario { display: grid; gap: 14px; padding: 18px; margin-top: 16px; margin-bottom: 28px; }
.perfis { display: grid; gap: 14px; }
.perfil-caixa {
  display: grid; gap: 10px; margin: 0; padding: 16px;
  border: 1px solid var(--line); border-radius: 16px; background: var(--wash);
}
.perfil-caixa legend { padding: 0 6px; font-family: Fraunces, Georgia, serif; font-size: 1.35rem; font-weight: 640; }
@media (min-width: 900px) { .perfis { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); align-items: start; } }
.painel-head { margin-bottom: 20px; }
.quadro-filtros { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 8px 0 18px; }
.quadro-filtros .btn { flex: 0 0 auto; }
.quadro-filtros input, .quadro-filtros select { width: auto; margin: 0; }
.quadro-filtros input { flex: 1 1 240px; min-width: 200px; }
.quadro-filtros select { flex: 0 1 220px; min-width: 160px; }
.painel-filtros { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0 0 8px; align-items: end; }
.painel-numeros { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0 0 18px; padding-top: 0; color: var(--ink); }
.painel-quadro { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: flex-start; min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px; }
.painel-quadro-vazio { background: transparent; border: 0; padding: 0; }
.painel-quadro-geral { grid-column: 1 / -1; }
.painel-numeros .painel-quadro > span { display: flex; flex: 1 1 88px; flex-direction: column; gap: 2px; min-width: 0; }
.painel-numeros b { font-family: Fraunces, Georgia, serif; font-size: clamp(36px, 4vw, 52px); font-weight: 640; line-height: .95; letter-spacing: -.03em; }
.painel-numeros em { color: var(--muted); font-style: normal; font-size: 15px; font-weight: 700; line-height: 1.3; }
.painel-numeros .num-navy { color: var(--navy); }
.painel-numeros .num-gold { color: var(--gold); }
.painel-numeros .num-red { color: var(--red); }
.painel-numeros .num-verde { color: #1f6f4a; }
@media (min-width: 1100px) {
  .painel-filtros, .painel-numeros { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .painel-quadro[data-coluna="1"] { grid-column: 1; }
  .painel-quadro[data-coluna="2"] { grid-column: 2; }
  .painel-quadro[data-coluna="3"] { grid-column: 3; }
  .painel-quadro[data-coluna="4"] { grid-column: 4; }
  .painel-quadro[data-coluna="5"] { grid-column: 5; }
}
@media (min-width: 801px) and (max-width: 1099px) {
  .painel-quadro[data-coluna="1"] { grid-column: 1; }
  .painel-quadro[data-coluna="2"] { grid-column: 2; }
  .painel-quadro[data-coluna="3"] { grid-column: 3; }
  .painel-quadro[data-coluna="4"] { grid-column: 1; }
  .painel-quadro[data-coluna="5"] { grid-column: 2; }
}
.painel-filtros select, .painel-filtros button { margin: 0; }
.painel-grade { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.painel-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px; min-height: 250px; }
.painel-larga { grid-column: 1 / -1; }
.painel-card h3 { margin: 0 0 10px; font-size: 1.02rem; line-height: 1.3; }
.painel-card svg { width: 100%; height: auto; display: block; }
.painel-card [data-dica] { cursor: pointer; }
.painel-dica {
  position: fixed; z-index: 40; max-width: 280px; margin: 0; padding: 6px 10px;
  border-radius: 8px; background: var(--navy); color: white; font-size: 13px; font-weight: 700; line-height: 1.35;
  pointer-events: none; box-shadow: 0 6px 16px rgba(0, 24, 64, .18);
}
.painel-card .painel-vazio { margin: 28px 0; color: #5c6b80; }
@media (max-width: 800px) {
  .painel-filtros, .painel-numeros { grid-template-columns: 1fr; }
  .painel-grade { grid-template-columns: 1fr; }
  .painel-quadro[data-coluna] { grid-column: auto; }
  .painel-quadro-vazio { display: none; }
}
.prog-filtros { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; margin: 0 0 18px; }
.prog-cinco { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.prog-cinco .busca-estudante { grid-column: 1 / -1; }
.prog-monitor .limpar-filtros { width: auto; margin: 0; min-height: 42px; padding: 8px 14px; white-space: nowrap; font-size: 14px; }
.prog-filtros input, .prog-filtros select { width: 100%; min-width: 0; margin: 0; padding: 10px 12px; font-size: 14px; }
.prog-filtros select { padding-right: 32px; }
@media (min-width: 801px) {
  .prog-filtros.prog-monitor { grid-template-columns: minmax(150px, 1.5fr) repeat(5, minmax(0, 1fr)) auto; }
  .prog-filtros.prog-monitor .busca-estudante { grid-column: auto; }
}
@media (max-width: 1000px) { .prog-filtros { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 800px) {
  .prog-filtros.prog-monitor .busca-estudante,
  .prog-filtros.prog-monitor .limpar-filtros { grid-column: 1 / -1; }
}
table.resp tr[hidden] { display: none !important; }
.prog-paginas { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 2px; margin: 16px 0 0; }
.prog-paginas button {
  min-width: 36px; height: 36px; padding: 0 8px; border: 0; border-radius: 8px;
  background: transparent; color: var(--navy); font-weight: 700;
}
.prog-paginas button[aria-current="page"] { background: var(--navy); color: white; }
.prog-paginas button:disabled { color: var(--muted); cursor: default; }
.prog-paginas .reticencias { padding: 0 6px; color: var(--navy); font-weight: 700; }
.prog-paginas .prog-todos { margin-left: 10px; padding: 0 12px; border: 1px solid var(--line); background: white; }
label { display: grid; gap: 6px; font-weight: 700; }
input, select, textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: white;
}
select {
  appearance: none;
  padding-right: 40px;
  background-image: linear-gradient(45deg, transparent 50%, var(--navy) 50%), linear-gradient(135deg, var(--navy) 50%, transparent 50%);
  background-position: calc(100% - 20px) 54%, calc(100% - 14px) 54%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--navy); outline: 3px solid rgba(240, 152, 24, .45); outline-offset: 1px; }
.grade-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.grade-horario { display: grid; grid-template-columns: minmax(140px, 1fr) auto minmax(180px, 1.2fr); gap: 14px; align-items: end; }
.simultanea { margin: 0; padding: 8px 12px 10px; }
.sim-nao { display: flex; gap: 16px; align-items: center; }
.sim-nao .check { margin: 0; }
.check { display: flex; align-items: center; gap: 8px; font-weight: 700; }
.check input { width: auto; }
.nota, .chamada { color: var(--muted); }
.popup-confirmar { width: min(440px, calc(100% - 32px)); padding: 22px; border: 0; border-radius: 18px; background: white; box-shadow: var(--shadow); }
.popup-confirmar::backdrop { background: rgba(0, 28, 64, .45); }
.popup-confirmar h2 { margin: 0 0 8px; font-size: 28px; }
.popup-confirmar p { margin: 0 0 16px; }
form.form-funcao { display: inline-block; vertical-align: bottom; margin: 0 8px 0 0; }
form.form-funcao label { gap: 4px; font-size: .85rem; }
.acoes-tabela form.form-funcao { display: inline-block; vertical-align: bottom; margin-right: 0; }
.acoes-tabela select.mudar-funcao { width: auto; min-width: 148px; margin: 0; padding: 8px 32px 8px 12px; }
.situacao-evento { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.situacao-evento .btn { white-space: nowrap; }
.periodo-linha td { background: var(--wash); }
.periodo-botoes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.periodo-botoes .btn { width: 100%; flex-direction: column; gap: 2px; white-space: normal; text-align: center; }
.periodo-botoes small { font-size: 12px; font-weight: 600; color: var(--muted); line-height: 1.2; }
.popup-periodo { width: min(520px, calc(100% - 32px)); padding: 22px; border: 0; border-radius: 18px; background: white; box-shadow: var(--shadow); }
.popup-periodo::backdrop { background: rgba(0, 28, 64, .45); }
.popup-periodo h2 { margin: 0 0 8px; font-size: 28px; }
.popup-periodo form { display: grid; gap: 12px; }
.popup-periodo .acoes { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.capa-atual { max-width: 420px; border-radius: 16px; }
.logo-atual { max-width: 220px; max-height: 80px; object-fit: contain; }
fieldset { margin: 0; padding: 14px; border: 1px solid var(--line); border-radius: 16px; }
fieldset legend { padding: 0 6px; font-weight: 700; }
.cores { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.cores input[type="color"] { width: 100%; height: 48px; padding: 4px; }
.amostra { display: grid; grid-template-columns: 1.4fr .8fr 1fr; height: 18px; border-radius: 999px; overflow: hidden; }
.amostra i { display: block; }
.escolhas { display: grid; gap: 12px; }
.escolha { display: grid; gap: 4px; width: 100%; padding: 16px 18px; text-align: left; background: white; border: 1px solid var(--line); border-left: 4px solid var(--navy); border-radius: 16px; box-shadow: var(--shadow); }
.escolha span { color: var(--muted); font-weight: 600; }
.cartoes-evento { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.cartoes-evento > form { display: contents; }
.cartao-evento { display: flex; flex-direction: column; min-width: 0; overflow: hidden; text-align: left; text-decoration: none; color: inherit; background: white; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
button.cartao-evento { font: inherit; cursor: pointer; }
.cartao-evento img { width: 100%; height: 148px; object-fit: cover; background: var(--wash); }
.cartao-evento .corpo { display: grid; gap: 8px; padding: 14px 16px 16px; }
.cartao-evento h2 { margin: 0; font-size: 1.2rem; }
.cartao-evento p { margin: 0; color: var(--muted); font-weight: 600; }
.cartao-evento .acao { justify-self: start; }
.eventos-admin { display: grid; gap: 16px; }
.evento-admin {
  display: grid; grid-template-columns: 240px minmax(0, 1fr); min-width: 0;
  background: white; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow);
}
.evento-admin img { width: 100%; height: 100%; min-height: 200px; object-fit: contain; object-position: center; background: white; }
.evento-admin-corpo { display: grid; gap: 14px; align-content: start; padding: 16px 18px 18px; min-width: 0; }
.evento-admin-topo { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.evento-admin h2 { margin: 0; font-size: clamp(24px, 2.4vw, 32px); }
.evento-admin-topo p { margin: 4px 0 0; color: var(--muted); font-weight: 600; }
.evento-admin .fatos { margin: 0; }
.evento-admin-acoes, .evento-admin-acoes form { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0; }
.evento-admin .nota { margin: 0 0 8px; font-weight: 700; }
@media (max-width: 800px) {
  .evento-admin { grid-template-columns: 1fr; }
  .evento-admin img { height: 180px; min-height: 0; }
}
.lista-professor { display: grid; gap: 16px; }
.lista-professor article {
  display: grid; gap: 8px; padding: 18px;
  background: white; border: 1px solid var(--line); border-radius: 20px;
}
.lista-professor h2 { margin: 0; font-size: clamp(22px, 2.4vw, 28px); }
.lista-professor p { margin: 0; }
.lista-professor .btn { justify-self: start; }
.acoes-tabela form { display: inline; margin-right: 8px; }
.so-print { display: none; }
.freq { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.freq .check { min-height: 44px; }
.freq small { color: var(--muted); font-weight: 600; }
.freq-salvar { margin-top: 16px; }
.bloco-extra { padding: 12px 0; }
.selo-ok {
  display: inline-flex; margin: 0; padding: 6px 12px; border-radius: 999px; background: var(--gold); color: var(--navy-deep);
  font-family: Outfit, sans-serif; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
.ficha { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 0; margin: 18px 0; }
.ficha div { min-width: 0; padding: 12px; border-radius: 14px; background: var(--wash); }
.ficha dt { color: var(--muted); font-size: 13px; font-weight: 700; }
.ficha dd { margin: 2px 0 0; font-weight: 700; overflow-wrap: anywhere; }
.lista-inscricao { display: grid; gap: 12px; margin: 0 0 18px; padding: 0; list-style: none; }
.lista-inscricao li { display: grid; gap: 8px; min-width: 0; padding: 14px; border: 1px solid var(--line); border-left: 4px solid var(--navy); border-radius: 16px; background: white; }
.lista-inscricao strong { font-size: 18px; overflow-wrap: anywhere; }
.dados-atividade { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; margin: 0; }
.dados-atividade div { min-width: 0; }
.dados-atividade dt { color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.dados-atividade dd { margin: 2px 0 0; font-weight: 650; overflow-wrap: anywhere; }
.nomes { margin: 0; padding: 0; list-style: none; }
.papel { display: block; color: var(--muted); font-size: 14px; font-weight: 700; }
.vazio { margin: 12px 0; padding: 22px; border: 1px dashed var(--line); border-radius: 16px; color: var(--muted); text-align: center; background: white; }

.capa { padding: 18px 0 8px; }
.nome-evento { margin: 16px 0 0; font-family: Fraunces, Georgia, serif; font-weight: 640; letter-spacing: -.03em; line-height: 1.05; font-size: clamp(28px, 4vw, 40px); color: var(--ink); }
.capa h1 { margin-top: 2px; }
.controles { position: sticky; top: calc(81px + env(safe-area-inset-top)); z-index: 15; background: rgba(246,247,251,.94); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.controles .miolo { padding-block: 12px 0; }
.dias { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.dia, .turno, .filtro { border: 1px solid var(--line); background: white; }
.dia { padding: 12px 14px; border-radius: 16px; text-align: left; box-shadow: inset 4px 0 0 transparent; }
.dia[aria-selected="true"] { border-color: var(--navy); background: var(--navy); color: white; box-shadow: inset 4px 0 0 var(--gold); }
.dia-kicker, .turno-nome, .selo, .parte, .continuacao, .grupo, .convite-rotulo, .rotulo-parte {
  font-family: Outfit, sans-serif; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.dia-kicker { display: block; font-size: 11px; }
.dia-linha { display: flex; align-items: baseline; gap: 8px; }
.dia-num { font-family: Fraunces, Georgia, serif; font-size: 34px; font-weight: 640; line-height: 1; }
.dia-semana { display: block; color: var(--muted); font-size: 14px; }
.dia[aria-selected="true"] .dia-semana { color: rgba(255,255,255,.82); }
.dica-dia { margin: 12px 0 2px; color: var(--red); font-family: Outfit, sans-serif; font-weight: 700; }
.turnos { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 8px; }
.turno { display: flex; flex-direction: column; align-items: center; padding: 12px 6px; border-width: 0 0 3px; border-radius: 0; background: transparent; }
.turno-nome { font-size: 15px; }
.turno-qtd { color: var(--muted); font-size: 12px; }
.turno[aria-selected="true"] { border-bottom-color: var(--red); }
.ferramentas, .resumo { padding-top: 16px; }
.busca, .busca-linha input { width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: 12px; background: white; }
.filtros { display: flex; gap: 8px; margin-top: 12px; overflow-x: auto; padding-bottom: 4px; }
.filtro { flex: none; padding: 7px 12px; border-radius: 999px; font-family: Outfit, sans-serif; font-size: 13px; font-weight: 700; }
.filtro[aria-pressed="true"] { background: var(--navy); color: white; border-color: var(--navy); }
.resumo { color: var(--muted); font-weight: 700; }
.hora { margin: 4px 0 0; color: var(--red); font-family: Outfit, sans-serif; font-size: 22px; font-weight: 700; }
#paineis .faixa {
  display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 16px;
  padding: 18px 0; border-top: 1px solid var(--line); height: auto; background: transparent;
}
.cards { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.cartao { border-left: 4px solid var(--navy); overflow: hidden; }
.cartao[data-familia="oficina"] { border-left-color: var(--red); }
.cartao[data-familia="paineis"], .cartao[data-familia="rodas"] { border-left-color: var(--gold); }
.cartao[data-familia="credenciamento"] { border-left-color: #c5d0dc; background: var(--wash); }
.cartao.is-selected { border-color: var(--gold); box-shadow: var(--shadow); }
.cartao.is-full:not(.is-selected) { opacity: .78; }
.cartao[data-enrollable="1"] { cursor: pointer; }
.cartao-corpo { padding: 16px 18px 0; }
.card-form { padding: 0 18px 14px; }
.cartao[data-enrollable="0"] .cartao-corpo { padding-bottom: 14px; }
.cartao.is-selected { background: #fff8ee; }
.cartao.is-presente { background: #e5f6ec; border-color: #1f6f4a; }
.cartao.is-sem-frequencia { background: #fff1f4; border-color: #f3b7c6; }
.aviso-frequencia { display: inline-flex; margin: 0 0 10px; padding: 4px 10px; border-radius: 999px; background: #f8d0dc; color: #9d2748; font-family: Outfit, sans-serif; font-size: 12px; font-weight: 800; letter-spacing: .04em; }
.selo-linha, .meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.meta { margin-top: 12px; }
.selo, .parte, .continuacao, .grupo { display: inline-flex; max-width: 100%; padding: 4px 10px; border-radius: 999px; font-size: 11px; white-space: normal; overflow-wrap: anywhere; }
.selo-minicurso, .selo-institucional { background: var(--navy); color: white; }
.selo-oficina { background: white; color: var(--red); box-shadow: inset 0 0 0 1.5px var(--red); }
.selo-paineis, .selo-rodas { background: white; color: var(--navy); box-shadow: inset 0 0 0 1.5px var(--gold); }
.selo-credenciamento { background: white; color: var(--muted); }
.parte, .grupo { background: var(--wash); color: var(--navy); letter-spacing: .04em; }
.continuacao { background: var(--red); color: white; }
.titulo, .quadro-card strong, h1, h2, .lead, .quem { overflow-wrap: break-word; }
.titulo { margin: 8px 0 0; font-family: "Source Sans 3", sans-serif; font-size: 18px; letter-spacing: 0; line-height: 1.35; }
.quem, .nota-card { margin: 8px 0 0; color: var(--muted); font-size: 15px; }
.quem strong { color: var(--ink); }
.rotulo-parte { margin: 12px 0 0; color: var(--red); font-size: 11px; }
.pill { display: inline-flex; max-width: 100%; padding: 6px 10px; border-radius: 999px; background: var(--wash); font-size: 13.5px; font-weight: 700; white-space: normal; }
.cartao.is-selected .vagas-num { background: var(--gold); color: var(--navy-deep); }
.cartao.is-full:not(.is-selected) .vagas-num { background: #fdecef; color: var(--red); }
.acao { display: inline-flex; margin-top: 14px; padding: 8px 12px; border: 0; border-radius: 999px; background: var(--red); color: white; font-family: Outfit, sans-serif; font-weight: 700; }
.acao:disabled { cursor: not-allowed; }
.is-selected .acao { background: var(--navy); }
.is-full:not(.is-selected) .acao { background: var(--muted); }
.link-linha { margin: 0; padding: 0 18px 14px; }
.convite { margin: 22px 0; padding: 24px; border-left: 4px solid var(--gold); }
.convite-rotulo { margin: 0; color: var(--red); font-size: 13px; }
[hidden] { display: none !important; }

.quadro { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.quadro-card { display: grid; gap: 6px; padding: 14px; text-decoration: none; color: inherit; box-shadow: none; }
.quadro-card[hidden], .quadro-grupo[hidden] { display: none !important; }
.quadro-card strong { font-size: 16px; line-height: 1.3; }
.quadro-card span:not(.selo), .quadro-card em { color: var(--muted); font-size: 14px; font-style: normal; }
.quadro-card .selo-minicurso, .quadro-card .selo-institucional { color: #fff; }
.quadro-card b { font-family: Fraunces, Georgia, serif; font-size: 28px; color: var(--navy); }
.quadro-card.is-full { border-color: var(--red); }
.quadro-card.is-full em { color: var(--red); font-weight: 700; }
.tabela-wrap { overflow-x: auto; margin-top: 8px; border: 1px solid var(--line); border-radius: 16px; background: white; }
.recaptcha-caixa { margin: 8px 0 16px; max-width: 100%; overflow: hidden; }
@media (max-width: 380px) {
  .recaptcha-caixa { height: 72px; }
  .g-recaptcha { transform: scale(0.86); transform-origin: 0 0; }
}
.lista-frequencia { display: none; width: 100%; border-collapse: collapse; }
.lista-frequencia .campo-assinatura { width: 34%; height: 42px; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; font-size: 15px; }
.ministrantes { display: block; margin-top: 2px; color: var(--navy); font-size: 14px; }
th { background: var(--navy); color: white; font-size: 13px; }
.vincular-linha { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0 0 8px; }
.vincular-linha select { flex: 1 1 220px; width: auto; min-width: 0; margin: 0; }
.vincular-linha .btn { flex: none; margin: 0; }
.tabela-ministrantes table { table-layout: fixed; width: 100%; }
.tabela-ministrantes th:nth-child(1),
.tabela-ministrantes td:nth-child(1) { width: 14%; }
.tabela-ministrantes th:nth-child(2),
.tabela-ministrantes td:nth-child(2) { width: 12%; }
.tabela-ministrantes th:nth-child(3),
.tabela-ministrantes td:nth-child(3) { width: 14%; }
.tabela-ministrantes th:nth-child(5),
.tabela-ministrantes td:nth-child(5) { width: 22%; }
.tabela-ministrantes .acoes-tabela { white-space: normal; }
.tabela-ministrantes .linha-acesso { display: flex; align-items: flex-start; justify-content: flex-end; gap: 8px; width: 100%; min-width: 0; }
.tabela-ministrantes .linha-acesso .form-funcao { flex: 0 1 auto; min-width: 0; margin: 0; }
.tabela-ministrantes .linha-acesso form { margin: 0; }
.tabela-ministrantes .acoes-tabela select.mudar-funcao { width: auto; min-width: 148px; max-width: 100%; }
.remover-x {
  flex: none; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 50%;
  background: var(--red); color: white; font-size: 18px; font-weight: 700; line-height: 1; cursor: pointer;
}
.remover-x:hover { background: #8e0d1a; }
.vinculos { list-style: none; margin: 0; padding: 0; }
.vinculos li { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; margin: 0 0 10px; min-width: 0; }
.vinculo-nome { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; overflow-wrap: break-word; }
.vinculos form { margin: 0; }
.vinculo-x {
  flex: none; width: 28px; height: 28px; padding: 0; border: 0; border-radius: 8px;
  background: transparent; color: var(--red); font-size: 22px; font-weight: 700; line-height: 1; cursor: pointer;
}
.vinculo-x:hover { background: #fdecef; }
.acoes-tabela { white-space: nowrap; }
.acoes-tabela a + a { margin-left: 14px; }
.bloco-qr { margin-top: 22px; }
.qr-linha, .qr-grade { display: flex; flex-wrap: wrap; gap: 16px; }
.qr-linha figure, .qr-grade article {
  margin: 0; padding: 12px; width: min(100%, 240px); border: 1px solid var(--line); border-radius: 16px; background: white; text-align: center;
}
.qr-grade h2 { font-family: "Source Sans 3", sans-serif; font-size: 16px; letter-spacing: 0; line-height: 1.3; }
.qr-grade img, .qr-linha img { width: 160px; height: 160px; }
.qr-abre {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  width: 100%; margin: 0; padding: 0; border: 0; background: transparent;
  color: inherit; font: inherit; cursor: pointer;
}
.qr-abre .qr-nome { color: var(--navy); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.popup-qr {
  position: relative; width: auto; max-width: calc(100% - 32px); padding: 48px 28px 28px;
  border: 0; border-radius: 20px; background: white; box-shadow: var(--shadow); text-align: center;
}
.popup-qr::backdrop { background: rgba(0, 0, 0, .78); }
.popup-qr img { width: min(640px, 88vw, 74vh); height: auto; }
.folhas-qr { display: none; }
.popup-qr p { margin: 12px 0 0; color: var(--navy); font-weight: 700; }
.busca-linha { margin: 12px 0 18px; }
.busca-linha input { flex: 1; }
#toast {
  position: fixed; left: 50%; bottom: 96px; transform: translateX(-50%); z-index: 30;
  max-width: min(520px, calc(100% - 32px)); padding: 12px 16px; border-radius: 14px;
  background: var(--navy-deep); color: white; box-shadow: var(--shadow);
}
.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 25;
  background: white; border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(0, 40, 104, .08);
  padding-bottom: env(safe-area-inset-bottom);
}
.dock-linha { min-height: 72px; }
.com-dock main { padding-bottom: 96px; }

@media (max-width: 800px) {
  h1 { font-size: clamp(30px, 9vw, 42px); }
  h2 { font-size: clamp(24px, 7vw, 32px); }
  .marca img { max-width: min(150px, 42vw); max-height: 46px; width: auto; }
  .so-desktop, .nav-desktop { display: none; }
  .nav-mobile { display: block; }
  .nav-mobile nav { z-index: 30; max-height: min(70vh, 420px); overflow: auto; }
  .nav-mobile a, .nav-mobile button { min-height: 44px; display: flex; align-items: center; width: 100%; text-align: left; }
  .hero-grade, .passos, .ficha, .grade-2, .grade-horario, .cores, .dados-atividade, #paineis .faixa { grid-template-columns: 1fr; }
  .dia-num { font-size: 28px; }
  .turno { min-height: 64px; }
  .turno-nome { font-size: 14px; }
  .filtro, .acao { min-height: 44px; }
  .filtros { max-width: 100%; }
  .painel-head, .busca-linha, .dock-linha, .cabeca-lista, .rodape-linha, .quadro-filtros { align-items: stretch; flex-direction: column; }
  .quadro-filtros input, .quadro-filtros select { width: 100%; min-width: 0; }
  .prog-filtros { grid-template-columns: 1fr; }
  .periodo-botoes { grid-template-columns: 1fr 1fr; }
  .rodape-linha { min-height: 0; padding-block: 16px; }
  .cabeca-lista img { width: 132px; }
  .formulario > .btn, .busca-linha .btn, .painel-head .btn, .dock-linha .btn, .freq-salvar { width: 100%; }
  .qr-linha figure, .qr-grade article { width: 100%; }
  table.resp thead { display: none; }
  table.resp, table.resp tbody, table.resp tr, table.resp td { display: block; width: 100%; }
  table.resp tr { padding: 12px 14px; border-bottom: 8px solid var(--wash); }
  table.resp td { display: block; padding: 8px 0; border: 0; overflow-wrap: anywhere; }
  table.resp td::before { content: attr(data-label); display: block; margin-bottom: 2px; color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
  table.resp td.acoes-tabela { display: flex; flex-wrap: wrap; gap: 8px; }
  table.resp td.acoes-tabela::before { flex-basis: 100%; }
  .acoes-tabela { white-space: normal; }
  .acoes-tabela a { display: inline-flex; align-items: center; min-height: 44px; margin: 0; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; }
}
@media (max-width: 520px) {
  .acoes { flex-direction: column; align-items: stretch; }
  .acoes .btn { width: 100%; }
}
body.entrada { min-height: 100dvh; display: flex; flex-direction: column; }
body.entrada main { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 100%; min-width: 0; }
body.entrada .saudacao { width: min(980px, 100%); padding-top: 8px; padding-bottom: 10px; text-align: center; }
.topo-centro { justify-content: center; }
.topo-entrada .topo-linha { min-height: 0; padding-block: 10px; }
.marca-entrada { display: block; width: auto; max-width: min(640px, 100%); max-height: 64px; height: auto; object-fit: contain; min-width: 0; }
.imagem-inicial-atual { display: block; width: auto; max-width: min(640px, 100%); max-height: 72px; object-fit: contain; margin-bottom: 12px; }
.vitrine { width: min(980px, 100%); margin: 0 auto; padding: 8px var(--gutter) 28px; min-width: 0; }
.vitrine-palco { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; align-items: center; gap: clamp(6px, 2vw, 14px); min-width: 0; }
.vitrine-so { grid-template-columns: minmax(0, 1fr); }
.vitrine-caixa { min-width: 0; background: white; border-radius: clamp(18px, 4vw, 28px); box-shadow: var(--shadow); padding: clamp(14px, 3.5vw, 24px) clamp(14px, 3.5vw, 24px) 6px; }
.vitrine-trilho { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; min-width: 0; max-width: 100%; }
.vitrine-trilho::-webkit-scrollbar { display: none; }
.vitrine-slide { flex: 0 0 100%; scroll-snap-align: center; scroll-snap-stop: always; min-width: 0; }
.vitrine-card { position: relative; display: block; width: 100%; margin: 0; padding: 0 0 8px; border: 0; background: transparent; text-align: left; }
.vitrine-dias { display: flex; align-items: center; gap: 10px; margin: 2px 0 12px; color: var(--navy); font-family: Outfit, sans-serif; font-size: 14px; font-weight: 700; letter-spacing: .02em; }
.vitrine-dias i { width: 28px; height: 3px; background: var(--gold); flex: none; }
.vitrine-card img { display: block; width: 100%; height: auto; max-height: min(46dvh, 380px); margin: 0 auto; object-fit: contain; }
.vitrine-entrar {
  position: absolute; right: 0; bottom: 12px;
  padding: 8px 16px; border-radius: 999px; background: var(--red); color: white;
  font-family: Outfit, sans-serif; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.bolinhas { display: flex; justify-content: center; flex-wrap: wrap; gap: 0; margin-top: 4px; }
.bolinha { width: 44px; height: 44px; margin: 0; padding: 0; border: 0; background: transparent; display: grid; place-items: center; }
.bolinha::before { content: ""; width: 11px; height: 11px; border-radius: 50%; border: 2px solid var(--navy); background: transparent; }
.bolinha[aria-selected="true"]::before { background: var(--navy); }
.vitrine-seta {
  width: 44px; height: 44px; border: 0; border-radius: 50%; background: white; color: var(--navy);
  box-shadow: var(--shadow); font-size: 28px; line-height: 1;
}
.vitrine-seta:disabled { opacity: .35; }
.vitrine-passados { width: min(980px, 100%); margin: 22px auto 0; min-width: 0; }
.vitrine-passados h2 { margin: 0 0 10px; text-align: center; font-size: clamp(20px, 2.4vw, 28px); }
.vitrine-trilho-mini { gap: 12px; padding-bottom: 8px; }
.vitrine-mini-slide { flex: 0 0 calc((100% - 24px) / 3); scroll-snap-align: start; min-width: 0; }
.vitrine-mini { padding: 8px; border: 1px solid var(--line); border-radius: 16px; background: white; }
.vitrine-mini .vitrine-dias { margin-bottom: 8px; font-size: 12px; }
.vitrine-mini img { max-height: 110px; }
.vitrine-mini .vitrine-entrar { right: 8px; bottom: 8px; padding: 6px 10px; font-size: 11px; }
@media (max-width: 700px) {
  .marca-entrada { max-height: 48px; }
  .vitrine-palco { grid-template-columns: minmax(0, 1fr); }
  .vitrine-seta { position: absolute; top: 38%; z-index: 2; }
  .seta-anterior { left: 0; }
  .seta-proxima { right: 0; }
  .vitrine-card img { max-height: min(36dvh, 240px); }
  .vitrine-entrar { right: 4px; bottom: 8px; padding: 8px 14px; }
  .vitrine-mini-slide { flex-basis: 78%; }
  .vitrine-mini img { max-height: 92px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .vitrine-trilho { scroll-behavior: auto; }
}
@media print {
  body { display: block; min-height: 0; }
  body.fantasma, body.fantasma .topo, body.monitoria, body.monitoria .topo { background: white; }
  .so-print { display: block; }
  .cabeca-lista img { display: block; width: 148px; height: auto; }
  .topo, .rodape, .dock, .no-print, .avisos, .btn, .ferramentas, .controles, .saudacao { display: none !important; }
  #prog-tabela tbody tr[hidden] { display: table-row !important; }
  body, .cartao, .quadro-card { background: white; box-shadow: none; }
  .qr-grade article, .lista-inscricao li, tr { break-inside: avoid; }
  body.imprimir-qr .bloco-lista { display: none !important; }
  body.imprimir-lista .bloco-qr { display: none !important; }
  body.imprimir-qr .pagina { padding: 0; }
  body.imprimir-qr .cabeca-lista { flex-direction: column; align-items: center; justify-content: center; gap: 3mm; width: 100%; margin: 0 auto 3mm; text-align: center; }
  body.imprimir-qr .cabeca-lista > div { min-width: 0; max-width: 160mm; }
  body.imprimir-qr .cabeca-lista img { width: 222px; height: auto; }
  body.imprimir-qr .cabeca-lista h1 { margin: 0; font-size: 16pt; line-height: 1.15; text-align: center; }
  body.imprimir-qr .olho { justify-content: center; font-size: 9pt; }
  body.imprimir-qr .lead { margin: 0 0 2mm; text-align: center; font-size: 11pt; }
  body.imprimir-qr .fatos { justify-content: center; margin: 2mm 0 4mm; }
  body.imprimir-qr .fatos li { padding: 1mm 3mm; font-size: 9pt; }
  body.imprimir-qr .folha-qr { display: flex; flex-direction: column; align-items: center; width: 100%; text-align: center; }
  body.imprimir-qr .folha-qr .qr-linha { justify-content: center; width: 100%; }
  body.imprimir-qr .folha-qr .qr-linha figure { width: auto; border: 0; padding: 0; background: transparent; }
  body.imprimir-qr .folha-qr .qr-linha img { width: 92mm; height: 92mm; }
  body.imprimir-qr .folha-qr .qr-linha figure:first-child:nth-last-child(2) img,
  body.imprimir-qr .folha-qr .qr-linha figure:first-child:nth-last-child(2) ~ figure img { width: 64mm; height: 64mm; }
  body.imprimir-qr .folha-qr figcaption,
  body.imprimir-qr .folha-qr .qr-nome { margin-top: 2mm; font-size: 13pt; font-weight: 700; text-decoration: none; }
  body.imprimir-qr .qr-abre { display: flex; width: auto; border: 0; background: transparent; color: inherit; cursor: default; }
  body.imprimir-qr .qr-evento { display: block; width: auto; height: auto; max-width: 95mm; max-height: 28mm; margin: 5mm auto 4mm; object-fit: contain; }
  body.imprimir-qr .qr-aviso { display: block; margin: 0; }
  body.imprimir-qr .qr-aviso p { margin: 0; color: #003880; font-family: Fraunces, Georgia, serif; font-size: 18pt; font-weight: 640; line-height: 1.2; }
  body.imprimir-qr .qr-aviso p + p { margin-top: 2mm; color: #b01020; }
  .folhas-qr { display: block; }
  .popup-qr, body.imprimir-qr .qr-grade { display: none !important; }
  .folha-atividade { break-inside: avoid; break-after: auto; page-break-after: auto; }
  .folha-atividade[hidden] { display: none !important; }
  .folha-atividade:not([hidden]):has(~ .folha-atividade:not([hidden])) { break-after: page; page-break-after: always; }
  .pagina:has(.folhas-qr) { padding: 0; }
  .folha-atividade .cabeca-lista { flex-direction: column; align-items: center; justify-content: center; gap: 3mm; width: 100%; margin: 0 auto 3mm; text-align: center; }
  .folha-atividade .cabeca-lista > div { min-width: 0; max-width: 160mm; }
  .folha-atividade .cabeca-lista img { width: 222px; height: auto; }
  .folha-atividade .cabeca-lista h1 { margin: 0; font-size: 16pt; line-height: 1.15; text-align: center; }
  .folha-atividade .olho { justify-content: center; font-size: 9pt; }
  .folha-atividade .lead { margin: 0 0 2mm; text-align: center; font-size: 11pt; }
  .folha-atividade .fatos { justify-content: center; margin: 2mm 0 4mm; }
  .folha-atividade .fatos li { padding: 1mm 3mm; font-size: 9pt; }
  .folha-atividade .folha-qr { display: flex; flex-direction: column; align-items: center; width: 100%; margin-top: 0; text-align: center; }
  .folha-atividade .folha-qr .qr-linha { justify-content: center; width: 100%; }
  .folha-atividade .folha-qr .qr-linha figure { width: auto; border: 0; padding: 0; background: transparent; }
  .folha-atividade .folha-qr .qr-linha img { width: 92mm; height: 92mm; }
  .folha-atividade .folha-qr figcaption { margin-top: 2mm; font-size: 13pt; font-weight: 700; text-decoration: none; }
  .folha-atividade .qr-evento { display: block; width: auto; height: auto; max-width: 95mm; max-height: 28mm; margin: 5mm auto 4mm; object-fit: contain; }
  .folha-atividade .qr-aviso { display: block; margin: 0; }
  .folha-atividade .qr-aviso p { margin: 0; color: #003880; font-family: Fraunces, Georgia, serif; font-size: 18pt; font-weight: 640; line-height: 1.2; }
  .folha-atividade .qr-aviso p + p { margin-top: 2mm; color: #b01020; }
  .tabela-tela { display: none !important; }
  table.lista-frequencia { display: table !important; }
  table.lista-frequencia thead { display: table-header-group !important; }
  table.lista-frequencia tbody { display: table-row-group !important; }
  table.lista-frequencia tr { display: table-row !important; break-inside: avoid; }
  table.lista-frequencia th,
  table.lista-frequencia td { display: table-cell !important; border: 1px solid #1a1a1a; padding: 10px 12px; vertical-align: middle; }
  table.lista-frequencia td::before { content: none !important; }
}
