/* =========================================================
   Monte sua colinha · Capitão Contar 221
   Os 6 votos da urna de MS, nenhum fixo. Cores do PL (azul,
   amarelo e verde da marca da campanha). Página autocontida:
   o subdomínio não tem site principal por trás.
   ========================================================= */

:root {
  --azul: #004F9F;
  --azul-esc: #003D7C;
  --azul-deep: #002B5C;
  --amarelo: #FFD500;
  --amarelo-esc: #E6BF00;
  --verde: #009640;
  --verde-esc: #00732F;
  --branco: #FFFFFF;
  --fundo: #EEF3F9;
  --grafite: #33415C;
  --erro: #B42318;
  --zap: #25D366;
  --radius: 16px;
  --fonte: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --fonte-titulo: "Barlow Condensed", "Barlow", system-ui, sans-serif;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--fonte);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--azul-deep);
  background: var(--fundo);
  -webkit-font-smoothing: antialiased;
}
h1, h2, p { margin: 0; }
ol, ul { margin: 0; padding: 0; list-style: none; }
img, svg, canvas { display: block; max-width: 100%; }
button, input { font: inherit; }
a { color: inherit; }

/* sem isto, elementos com [hidden] que recebem display de outra regra
   continuam visiveis */
[hidden] { display: none !important; }

:focus-visible { outline: 3px solid var(--azul-deep); outline-offset: 2px; }
.hero :focus-visible, .rodape :focus-visible { outline-color: var(--amarelo); }

.container {
  width: 100%;
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: 16px;
}

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 200;
  background: var(--amarelo);
  color: var(--azul-deep);
  font-weight: 800;
  padding: .6rem 1rem;
  border-radius: 10px;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* ---------- botoes ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 50px;
  padding: .7rem 1.3rem;
  border-radius: 12px;
  border: 2px solid transparent;
  font-family: var(--fonte);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.15;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 150ms ease, transform 150ms ease;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:active { transform: scale(.98); }
.btn[aria-busy="true"] { opacity: .6; pointer-events: none; }
.btn--ghost { background: var(--branco); border-color: var(--azul); color: var(--azul); }
.btn--ghost:hover, .btn--ghost:focus-visible { background: #E6EFFA; }
.btn--zap { background: var(--zap); border-color: #0F9D48; color: #06301A; }
.btn--zap:hover, .btn--zap:focus-visible { background: #2BE06F; }
.btn--sm { min-height: 46px; padding: .55rem .9rem; font-size: .95rem; }

/* ---------- topo (hero) ----------
   azul com as linhas finas e as faixas verde e amarela das artes da
   campanha; a foto do Contar encosta na borda de baixo */
.hero {
  position: relative;
  overflow: hidden;
  color: var(--branco);
  background:
    repeating-linear-gradient(180deg, rgba(255, 255, 255, .04) 0 2px, transparent 2px 6px),
    radial-gradient(130% 110% at 18% 0%, #0A63C2 0%, var(--azul) 48%, var(--azul-esc) 100%);
}
/* faixas da bandeira nos cantos, como nas artes */
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border-radius: 28px;
  transform: rotate(-32deg);
}
.hero::before {
  width: clamp(150px, 30vw, 340px);
  height: clamp(54px, 9vw, 110px);
  right: clamp(-90px, -8vw, -40px);
  top: clamp(-10px, 1vw, 16px);
  background: linear-gradient(180deg, var(--verde) 0 50%, var(--amarelo) 50% 100%);
  opacity: .95;
}
/* a de baixo so no computador, no canto que sobra fora do texto; no
   celular ela cairia em cima do texto */
.hero::after {
  display: none;
  width: 240px;
  height: 64px;
  left: -150px;
  bottom: -40px;
  background: linear-gradient(180deg, var(--amarelo) 0 50%, var(--verde) 50% 100%);
  opacity: .9;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "marca foto"
    "texto texto";
  column-gap: 12px;
  padding-top: 18px;
}
.hero__marca {
  grid-area: marca;
  align-self: start;
  display: block;
  width: min(100%, 340px);
  margin-top: 6px;
  border-radius: 8px;
}
.hero__marca img { width: 100%; height: auto; }

.hero__foto {
  grid-area: foto;
  align-self: end;
  width: min(40vw, 190px);
  margin-right: -16px;
  /* a foto some no azul embaixo, antes do texto */
  -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 72%, transparent 100%);
}
.hero__foto img { width: 100%; height: auto; }

.hero__texto {
  grid-area: texto;
  margin-top: -8px;
  padding-bottom: clamp(2rem, 7vw, 3rem);
}
.hero__sobre {
  font-family: var(--fonte-titulo);
  font-size: .95rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--amarelo);
  margin-bottom: .25rem;
}
.hero__titulo {
  font-family: var(--fonte-titulo);
  font-size: clamp(2.9rem, 13vw, 5rem);
  font-weight: 900;
  line-height: .95;
  letter-spacing: -.005em;
  text-transform: uppercase;
  margin-bottom: .8rem;
}
/* "colinha" no amarelo com a sombra verde do 221 */
.hero__titulo span {
  display: inline-block;
  color: var(--amarelo);
  text-shadow: .045em .045em 0 var(--verde);
}
.hero__lead {
  max-width: 38rem;
  font-size: 1.06rem;
  font-weight: 500;
  line-height: 1.55;
  color: rgba(255, 255, 255, .94);
}
.hero__lead strong { color: var(--amarelo); font-weight: 800; }

@media (min-width: 880px) {
  .hero__inner {
    grid-template-columns: minmax(0, 1fr) 420px;
    grid-template-areas:
      "marca foto"
      "texto foto";
    column-gap: 32px;
    padding-top: 36px;
  }
  .hero__marca { width: 400px; }
  .hero__foto {
    width: 420px;
    margin-right: 0;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .hero__texto { margin-top: 28px; padding-bottom: 3.4rem; }
  .hero::after { display: block; }
}

/* ---------- app ---------- */
.pagina-colinha {
  /* espaco pra barra fixa de acoes nao cobrir o fim do rodape */
  padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px));
}

.colinha-app { padding-block: clamp(1.4rem, 4vw, 2.2rem) clamp(2.5rem, 6vw, 4rem); }
.colinha-container { max-width: 640px; }

.colinha-ordem {
  font-family: var(--fonte-titulo);
  font-size: .95rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--azul);
  margin: 0 0 .7rem;
}

/* ---------- cartoes de voto ---------- */
.colinha-lista { display: grid; gap: .75rem; }

.voto {
  background: var(--branco);
  border: 2px solid rgba(0, 43, 92, .1);
  border-left: 6px solid var(--azul);
  border-radius: var(--radius);
  padding: .85rem 1rem 1rem;
  box-shadow: 0 2px 8px rgba(0, 43, 92, .05);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
.voto:focus-within { border-color: var(--azul); box-shadow: 0 0 0 3px rgba(0, 79, 159, .14); }
.voto.is-ok { border-color: rgba(0, 150, 64, .55); border-left-color: var(--verde); }
.voto.is-erro { border-color: var(--erro); }

.voto__topo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: .6rem;
  min-height: 26px;
}
.voto__cargo {
  font-family: var(--fonte-titulo);
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--azul);
}
.voto__limpar {
  background: none;
  border: 0;
  min-height: 32px;
  padding: .25rem .2rem;
  font-size: .85rem;
  font-weight: 700;
  color: rgba(0, 43, 92, .65);
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

.voto__linha {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .75rem 1rem;
}

.voto__digitos {
  position: relative;
  display: flex;
  gap: .4rem;
  flex: none;
}
.voto__caixa {
  width: 44px;
  height: 56px;
  display: grid;
  place-items: center;
  border: 2px solid rgba(0, 43, 92, .22);
  border-radius: 10px;
  background: #F2F5F9;
  font-family: var(--fonte);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--azul-deep);
  font-variant-numeric: tabular-nums;
  transition: border-color 120ms ease, background-color 120ms ease;
}
.voto__caixa.is-cheia { background: var(--branco); border-color: var(--azul); }
.voto__digitos.is-foco .voto__caixa.is-atual {
  border-color: var(--amarelo-esc);
  box-shadow: 0 0 0 3px rgba(255, 213, 0, .55);
  background: var(--branco);
}
.voto.is-ok .voto__caixa.is-cheia { border-color: var(--verde); }
.voto.is-erro .voto__caixa.is-cheia { border-color: var(--erro); }

/* o campo real fica por cima das caixas, invisivel: recebe toque, teclado,
   colar e leitor de tela, e as caixas so desenham o que ele tem */
.voto__input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  border: 0;
  padding: 0;
  font-size: 16px; /* abaixo disso o iOS da zoom ao focar */
  color: transparent;
  caret-color: transparent;
  background: transparent;
  cursor: text;
}

.voto__cand {
  display: flex;
  align-items: center;
  gap: .7rem;
  min-width: 0;
  flex: 1 1 180px;
}
.voto__foto {
  width: 46px;
  height: 64px;
  object-fit: cover;
  border-radius: 8px;
  border: 2px solid var(--verde);
  background: #E9EEF4;
  flex: none;
}
.voto__info { display: flex; flex-direction: column; min-width: 0; }
.voto__nome {
  font-family: var(--fonte-titulo);
  font-weight: 800;
  font-size: 1.2rem;
  line-height: 1.1;
  letter-spacing: .01em;
  color: var(--azul-deep);
  overflow-wrap: anywhere;
}
.voto__partido {
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: rgba(0, 43, 92, .68);
}

.voto__buscar {
  background: none;
  border: 0;
  min-height: 40px;
  padding: .4rem 0;
  font-size: 1rem;
  font-weight: 800;
  color: var(--azul);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 2px;
  cursor: pointer;
}

.voto__aviso {
  width: 100%;
  margin: .6rem 0 0;
  font-size: .9rem;
  font-weight: 700;
  line-height: 1.45;
  color: var(--erro);
}
.voto__aviso--neutro { color: rgba(0, 43, 92, .7); }

/* ---------- imprimir / limpar ---------- */
.colinha-extra {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .6rem;
  margin: 1.4rem 0 0;
}
.colinha-imprimir { width: 100%; max-width: 360px; }
.colinha-limpar-tudo {
  background: none;
  border: 0;
  min-height: 40px;
  padding: .4rem;
  font-size: .9rem;
  font-weight: 700;
  color: rgba(0, 43, 92, .65);
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

/* ---------- informacoes ---------- */
.colinha-info { margin-top: 1.8rem; display: grid; gap: .8rem; }
.colinha-info__bloco {
  background: var(--branco);
  border: 2px solid rgba(0, 43, 92, .1);
  border-radius: var(--radius);
  padding: 1rem 1.15rem;
}
.colinha-info__bloco--alerta {
  background: #FFF6C2;
  border-color: var(--amarelo-esc);
}
.colinha-info__bloco h2 {
  font-family: var(--fonte-titulo);
  font-size: 1.25rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .02em;
  color: var(--azul-deep);
  margin: 0 0 .35rem;
}
.colinha-info__bloco p {
  font-size: .98rem;
  font-weight: 500;
  line-height: 1.6;
  color: var(--grafite);
}
.colinha-info__bloco p strong { color: var(--azul-deep); font-weight: 800; }
.colinha-info__offline {
  display: flex;
  align-items: center;
  gap: .45rem;
  margin-top: .6rem !important;
  color: var(--verde-esc) !important;
  font-weight: 800 !important;
}
.colinha-info__offline svg { width: 20px; height: 20px; flex: none; }
.colinha-fonte {
  font-size: .85rem;
  font-weight: 600;
  line-height: 1.5;
  color: rgba(0, 43, 92, .68);
  text-align: center;
}

/* ---------- rodape ---------- */
.rodape {
  color: var(--branco);
  background:
    linear-gradient(90deg, var(--verde) 0 50%, var(--amarelo) 50% 100%) top / 100% 6px no-repeat,
    var(--azul-deep);
  padding: 2.4rem 0 2.2rem;
  text-align: center;
}
.rodape__inner { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.rodape__marca { display: block; width: min(300px, 80%); border-radius: 8px; }
.rodape__marca img { width: 100%; height: auto; }
.rodape__slogan {
  font-family: var(--fonte-titulo);
  font-style: italic;
  font-size: 1.7rem;
  font-weight: 900;
  line-height: 1;
}
.rodape__slogan span { color: var(--amarelo); }
.rodape__legal {
  max-width: 46rem;
  font-size: .8rem;
  font-weight: 600;
  line-height: 1.55;
  color: rgba(255, 255, 255, .85);
}
.rodape__site {
  font-size: .85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, .78);
}
.rodape__site a { color: var(--amarelo); font-weight: 800; text-underline-offset: 2px; }

/* ---------- barra fixa de acoes ---------- */
.colinha-barra {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  background: rgba(255, 255, 255, .97);
  border-top: 1px solid rgba(0, 43, 92, .12);
  box-shadow: 0 -6px 18px rgba(0, 33, 68, .1);
  padding: .55rem clamp(.6rem, 3vw, 1rem) calc(.55rem + env(safe-area-inset-bottom, 0px));
}
.colinha-barra__inner {
  max-width: 640px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr;
  gap: .4rem;
}
.colinha-barra__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  min-height: 50px;
  padding: .4rem .45rem;
  text-align: center;
  text-decoration: none;
  border-radius: 12px;
  border: 2px solid var(--azul);
  background: var(--branco);
  color: var(--azul);
  font-size: .95rem;
  font-weight: 800;
  line-height: 1.15;
  cursor: pointer;
  transition: background-color 150ms ease, transform 150ms ease;
}
.colinha-barra__btn svg { width: 20px; height: 20px; flex: none; }
.colinha-barra__btn:hover, .colinha-barra__btn:focus-visible { background: #E6EFFA; }
.colinha-barra__btn:active { transform: scale(.98); }
.colinha-barra__btn--zap {
  background: var(--zap);
  border-color: #0F9D48;
  color: #06301A;
}
.colinha-barra__btn--zap:hover, .colinha-barra__btn--zap:focus-visible { background: #2BE06F; }
.colinha-barra__btn[aria-busy="true"] { opacity: .6; pointer-events: none; }

/* no celular: icone em cima, texto embaixo */
@media (max-width: 640px) {
  .colinha-barra__btn { flex-direction: column; gap: .2rem; min-height: 58px; font-size: .8rem; }
}

/* com o teclado aberto a barra nao disputa espaco nem cobre o campo
   (a classe vem do colinha.js, que mede o viewport visual) */
.colinha-barra.is-escondida { display: none; }

/* ---------- dialogos ---------- */
.colinha-dialogo {
  width: min(560px, calc(100% - 24px));
  max-width: none;
  max-height: calc(100dvh - 24px);
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 20px;
  background: var(--branco);
  color: var(--azul-deep);
  box-shadow: 0 24px 60px rgba(0, 20, 40, .35);
  overflow: hidden;
}
.colinha-dialogo[open] { display: flex; flex-direction: column; }
.colinha-dialogo::backdrop { background: rgba(0, 25, 55, .65); }
html.dialogo-aberto { overflow: hidden; }

.colinha-dialogo__topo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1rem .6rem 1.2rem;
  flex: none;
}
.colinha-dialogo__topo h2 {
  font-family: var(--fonte-titulo);
  font-size: 1.45rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .01em;
  line-height: 1.1;
}
.colinha-dialogo__fechar {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: #EEF2F8;
  color: var(--azul-deep);
  cursor: pointer;
  flex: none;
}
.colinha-dialogo__fechar svg { width: 22px; height: 22px; }

/* busca */
.busca { height: min(720px, calc(100dvh - 24px)); }
.busca__input {
  margin: 0 1.2rem;
  min-height: 50px;
  padding: .7rem 1rem;
  border-radius: 12px;
  border: 2px solid rgba(0, 43, 92, .22);
  font-size: 16px;
  font-weight: 600;
  color: var(--azul-deep);
  flex: none;
}
.busca__input:focus { outline: 3px solid var(--azul); outline-offset: 1px; }
.busca__contagem {
  padding: .5rem 1.2rem .3rem;
  font-size: .85rem;
  font-weight: 700;
  color: rgba(0, 43, 92, .65);
  flex: none;
}
.busca__lista {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 0 .7rem 1rem;
}
.busca__item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: .8rem;
  padding: .6rem .5rem;
  border: 0;
  border-bottom: 1px solid rgba(0, 43, 92, .08);
  background: none;
  text-align: left;
  color: inherit;
  cursor: pointer;
  border-radius: 10px;
}
.busca__item:hover, .busca__item:focus-visible { background: #EEF4FB; }
.busca__item[disabled] { opacity: .45; cursor: not-allowed; }
.busca__foto {
  width: 42px;
  height: 58px;
  object-fit: cover;
  border-radius: 7px;
  background: #E9EEF4;
  flex: none;
}
.busca__texto { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.busca__nome {
  font-family: var(--fonte-titulo);
  font-weight: 800;
  font-size: 1.12rem;
  line-height: 1.1;
  overflow-wrap: anywhere;
}
.busca__sub { font-size: .8rem; font-weight: 600; color: rgba(0, 43, 92, .65); overflow-wrap: anywhere; }
.busca__num {
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--azul);
  font-variant-numeric: tabular-nums;
  flex: none;
}
.busca__vazio {
  padding: 1.5rem .8rem;
  text-align: center;
  font-size: .95rem;
  font-weight: 600;
  color: rgba(0, 43, 92, .7);
}

/* eu + colinha */
.eu { overflow-y: auto; }
.eu__palco {
  position: relative;
  margin: 0 1.2rem;
  border-radius: 14px;
  overflow: hidden;
  background: var(--azul);
  touch-action: none;
  flex: none;
  aspect-ratio: 1080 / 1350;
  max-height: 58dvh;
  align-self: center;
}
.eu.is-stories .eu__palco { aspect-ratio: 1080 / 1920; }
.eu__palco canvas {
  display: block;
  width: 100%;
  height: 100%;
  cursor: grab;
}
.eu__palco canvas:active { cursor: grabbing; }
.eu__vazio {
  position: absolute;
  left: 4%;
  top: 50%;
  transform: translateY(-50%);
  width: 44%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  padding: 1rem .6rem;
  border-radius: 14px;
  border: 2px dashed rgba(255, 255, 255, .8);
  background: rgba(0, 43, 92, .55);
  font-size: .95rem;
  font-weight: 800;
  text-align: center;
  color: var(--branco);
  cursor: pointer;
}
.eu__vazio svg { width: 34px; height: 34px; }
/* no stories a foto fica em cima (metade de cima da arte) */
.eu.is-stories .eu__vazio {
  left: 50%;
  top: 25%;
  transform: translate(-50%, -50%);
  width: 58%;
}
.eu__dica {
  position: absolute;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  background: rgba(0, 20, 40, .75);
  color: var(--branco);
  font-size: .8rem;
  font-weight: 700;
  padding: .35rem .75rem;
  border-radius: 999px;
  white-space: nowrap;
  pointer-events: none;
}

.eu__formato {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .3rem;
  margin: .8rem 1.2rem 0;
  padding: .25rem;
  background: #EEF2F8;
  border-radius: 12px;
  flex: none;
}
.eu__formato-btn {
  min-height: 42px;
  border: 0;
  border-radius: 9px;
  background: none;
  font-size: .98rem;
  font-weight: 800;
  color: rgba(0, 43, 92, .68);
  cursor: pointer;
}
.eu__formato-btn.is-ativo { background: var(--azul); color: var(--branco); }

.eu__acoes {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: .8rem 1.2rem 0;
  flex: none;
}
.eu__acoes > * { flex: 1 1 120px; cursor: pointer; }
.eu__nota {
  margin: .7rem 1.2rem 1.1rem;
  font-size: .82rem;
  font-weight: 600;
  text-align: center;
  color: rgba(0, 43, 92, .65);
  flex: none;
}

/* ---------- aviso flutuante ---------- */
.colinha-aviso {
  position: fixed;
  left: 50%;
  bottom: calc(92px + env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%);
  z-index: 95;
  width: max-content;
  max-width: calc(100% - 32px);
  background: var(--azul-deep);
  color: var(--branco);
  font-size: .95rem;
  font-weight: 700;
  padding: .65rem 1rem;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 20, 40, .3);
  text-align: center;
}

/* ---------- impressao ---------- */
.impressao { display: none; }

@media print {
  @page { margin: 12mm; }
  html, body { background: #fff !important; }
  .pagina-colinha { padding-bottom: 0; }
  body.pagina-colinha > *:not(.impressao) { display: none !important; }
  .impressao { display: block !important; }
  .impressao__recorte {
    width: 9.5cm;
    padding: 3mm;
    border: 1.5px dashed #555;
  }
  .impressao__recorte img { width: 100%; height: auto; }
  .impressao__nota {
    margin-top: 3mm;
    font: 600 9pt/1.4 Barlow, Arial, sans-serif;
    color: #333;
  }
}

/* no celular o nome vai sempre embaixo dos numeros: sem isto os cargos de
   2 digitos ficavam com o nome ao lado e os de 4 e 5, embaixo */
@media (max-width: 520px) {
  .voto__cand { flex-basis: 100%; }
}

@media (max-width: 420px) {
  .voto { padding: .8rem .8rem .9rem; }
  .voto__caixa { width: 40px; height: 52px; font-size: 1.6rem; }
  .voto__digitos { gap: .32rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
