/* banco BV / FENAUTO 2026 - base.css: layout + components (CONTRATO-FRONT 1.3).
   Mobile only: a 360-430 px column, centered on --bg on desktop (telao/ and impressao/ opt out).
   Load AFTER tokens.css. Flat colors, no gradients, no red on brand surfaces: --err only on field
   errors, staff status pills and the destructive button. Touch targets >= 44 px, inputs 52 px / 16 px+.
   Fixed elements (tabbar, toast, folha) live OUTSIDE transformed ancestors (animated screens never wrap them). */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
[hidden] { display: none !important; }
button, input, select, textarea { font-family: var(--font); }
a { color: var(--primary); }
img, svg, canvas, video { max-width: 100%; }
[tabindex="-1"]:focus { outline: none; }
a:focus-visible, button:focus-visible, select:focus-visible, textarea:focus-visible { outline: none; box-shadow: var(--focus-ring); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------------- body.app: centered mobile column ---------------- */
body.app {
  min-height: 100vh; min-height: 100dvh;
  display: flex; flex-direction: column; align-items: center;
  background: var(--bg); overflow-x: clip;
  padding-left: env(safe-area-inset-left, 0); padding-right: env(safe-area-inset-right, 0);
  -webkit-tap-highlight-color: transparent;
}
body.app > header, body.app > main, body.app > nav, body.app > footer { width: 100%; max-width: var(--col-max); }
body.app > main { flex: 1 0 auto; display: flex; flex-direction: column; }
body.folha-aberta { overflow: hidden; }
/* Regras separadas: um navegador sem :has() descartaria a lista inteira. body.com-tabbar (ui.js marca sozinho) cobre esse caso. */
body.com-tabbar > main { padding-bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom, 0px)); }
body.app:has(> .tabbar) > main { padding-bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom, 0px)); }

/* ---------------- topo ---------------- */
.topo { position: relative; overflow: hidden; min-height: var(--topo-h); padding-top: env(safe-area-inset-top, 0px); background: var(--bv-blue-deep); color: var(--bv-white); }
.topo-inner { position: relative; z-index: 1; display: flex; align-items: center; gap: 14px; min-height: var(--topo-h); padding: 12px 16px; }
.topo .logo { width: 62px; height: 45px; fill: var(--bv-white); flex: 0 0 auto; }
.topo-texto { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; }
.topo-label { font-size: 12px; text-transform: uppercase; letter-spacing: var(--track-tiny); color: var(--bv-white-70); }
.topo-titulo { font-size: 22px; font-weight: var(--fw-black); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.topo-acao {
  margin-left: auto; display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-width: 44px; min-height: 44px; padding: 0 14px; border: 2px solid var(--bv-white-15); border-radius: var(--radius-pill);
  background: transparent; color: var(--bv-white); font-size: 14px; font-weight: var(--fw-black); cursor: pointer; text-decoration: none;
}
.topo-acao:hover { background: var(--bv-white-15); }
.topo-acao:focus-visible { box-shadow: 0 0 0 3px var(--bv-cyan); }
.listras { position: absolute; right: -10px; bottom: -6px; z-index: 0; display: flex; gap: 10px; transform: skewX(-28deg); pointer-events: none; }
.listras i { display: block; width: 14px; height: 54px; background: var(--bv-blue-light); opacity: 0.55; border-radius: 3px; }
.listras i:nth-child(2) { height: 40px; opacity: 0.4; }
.listras i:nth-child(3) { height: 26px; opacity: 0.25; }

/* ---------------- screens ---------------- */
.tela { display: none; flex-direction: column; gap: 14px; flex: 1 0 auto; width: 100%; padding: 24px 16px 32px; }
.tela.ativa { display: flex; animation: telaIn var(--dur-base) var(--ease) backwards; }
@keyframes telaIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.tela h1 { margin: 0; font-size: 28px; color: var(--primary); }
.tela h2 { margin: 0; font-size: 20px; color: var(--primary); }
.tela p { margin: 0; }
.rotulo-secao { margin: 0; font-size: 12px; text-transform: uppercase; letter-spacing: var(--track-caps); font-weight: var(--fw-black); color: var(--primary); }

/* ---------------- step bar ---------------- */
.passos { display: flex; gap: 6px; padding: 12px 16px 0; }
.passos i { flex: 1; height: 6px; border-radius: 3px; background: var(--bv-tint-2); }
.passos i.feito { background: var(--bv-cyan); }
.passos i.atual { background: var(--primary); }

/* ---------------- forms ---------------- */
.campo { display: flex; flex-direction: column; gap: 6px; }
.campo label { font-size: 14px; font-weight: var(--fw-black); color: var(--primary); }
.campo label .muted { font-weight: var(--fw-regular); }
.campo .input { font-size: 18px; }
.campo .ajuda { font-size: 13px; color: var(--text-muted); }
.campo .erro-campo { margin-top: 0; }
textarea.input { min-height: 104px; padding: var(--sp-3) var(--sp-4); resize: vertical; }

.btn-largo { width: 100%; min-height: 52px; }
.btn-ghost { min-height: 44px; }
.btn-perigo { background: var(--err); color: var(--bv-white); }
.btn-perigo:hover { background: #B8132A; }
.btn .spinner { width: 20px; height: 20px; margin: 0; border-width: 3px; border-color: rgba(255, 255, 255, 0.35); border-top-color: var(--bv-white); }
.btn-secondary .spinner { border-color: var(--bv-tint-2); border-top-color: var(--primary); }

/* teclado aberto: o foco rola o campo para fora da barra sticky; com tela baixa a barra volta ao fluxo (nao cobre o 2.o campo) */
html { scroll-padding-bottom: 96px; }
@media (max-height: 480px) { .acoes { position: static; } }

/* sticky bottom action bar: primary + secondary */
.acoes {
  position: sticky; bottom: 0; z-index: 5; display: flex; flex-direction: column; gap: 10px;
  margin: auto -16px 0; padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
  background: var(--bg); border-top: 1px solid var(--border);
}
body.com-tabbar .acoes { bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom, 0px)); padding-bottom: 12px; }
body.app:has(> .tabbar) .acoes { bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom, 0px)); padding-bottom: 12px; }

/* ---------------- cards and rows ---------------- */
.cartao { display: flex; flex-direction: column; gap: 8px; padding: 16px; border-radius: var(--radius-card); background: var(--surface); box-shadow: var(--shadow-card); }
.linha {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 12px; row-gap: 2px;
  min-height: 56px; padding: 14px 16px; border: 0; border-radius: var(--radius-card); background: var(--surface); box-shadow: var(--shadow-card);
  color: var(--text); text-align: left; text-decoration: none; font-size: 16px;
}
a.linha, button.linha { cursor: pointer; width: 100%; }
.linha-titulo { grid-column: 1; font-size: 17px; font-weight: var(--fw-black); color: var(--text); overflow-wrap: anywhere; }
.linha-sub { grid-column: 1; font-size: 14px; color: var(--text-muted); overflow-wrap: anywhere; }
.linha-lado { grid-column: 2; grid-row: 1 / span 2; align-self: center; justify-self: end; text-align: right; }

/* ---------------- status pill ---------------- */
.st { display: inline-flex; align-items: center; padding: 2px 10px; border-radius: var(--radius-pill); background: var(--bv-tint); color: var(--primary); font-size: 12px; font-weight: var(--fw-black); white-space: nowrap; }
.st-agendado, .st-ativo { background: var(--st-agendado-bg); color: var(--st-agendado); }
.st-retirado, .st-resgatado, .st-entregue, .st-done { background: var(--st-retirado-bg); color: var(--st-retirado); }
.st-cancelado, .st-estornada { background: var(--st-cancelado-bg); color: var(--st-cancelado); }
.st-nao_compareceu, .st-blocked { background: var(--st-falta-bg); color: var(--st-falta); }
.st-pending { background: var(--st-cancelado-bg); color: var(--st-cancelado); }
.st-processing { background: var(--bv-tint-2); color: var(--primary); }
.st-failed { background: var(--err-bg); color: var(--err); }
.pill-alerta { display: inline-flex; align-items: center; padding: 2px 10px; border-radius: var(--radius-pill); background: var(--st-falta-bg); color: var(--st-falta); font-size: 12px; font-weight: var(--fw-black); }

/* ---------------- chips, slot grid ---------------- */
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 8px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.chips::-webkit-scrollbar { display: none; }
.chips .chip { flex: 0 0 auto; }
.chip { min-height: 44px; }
.chip:focus-visible { outline: none; box-shadow: var(--focus-ring); }
.grade-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.grade-slots .chip { flex-direction: column; gap: 2px; min-height: 64px; padding: 8px 4px; border-radius: 12px; line-height: 1.1; }
.grade-slots .slot-hora { font-size: 20px; font-weight: var(--fw-black); }
.grade-slots .chip small { font-size: 12px; font-weight: var(--fw-regular); color: var(--text-muted); }
.grade-slots .chip.ativo small { color: var(--bv-white-70); }
.grade-slots .chip.lotado, .grade-slots .chip[disabled] { border-style: dashed; border-color: var(--bv-tint-2); background: transparent; }
.grade-slots .chip.lotado small, .grade-slots .chip[disabled] small { color: var(--text-muted); }

/* ---------------- stepper ---------------- */
.stepper { display: inline-flex; align-items: center; gap: 8px; }
.stepper button { width: 48px; height: 48px; padding: 0; border: 2px solid var(--primary); border-radius: 12px; background: var(--bv-white); color: var(--primary); font-size: 26px; font-weight: var(--fw-black); line-height: 1; cursor: pointer; }
.stepper button:active { background: var(--bv-tint); }
.stepper button[disabled] { opacity: 0.4; cursor: not-allowed; }
.stepper input { width: 76px; min-height: 48px; padding: 0 8px; border: 2px solid var(--border); border-radius: 12px; background: var(--bv-white); color: var(--text); font-size: 20px; font-weight: var(--fw-black); text-align: center; -moz-appearance: textfield; appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper input:focus { outline: none; border-color: var(--bv-cyan); box-shadow: var(--focus-ring); }

/* ---------------- medidor (quota bar) ---------------- */
.medidor-barra { height: 10px; border-radius: var(--radius-pill); background: var(--bv-tint-2); overflow: hidden; }
.medidor-barra > i { display: block; height: 100%; border-radius: var(--radius-pill); background: var(--primary); transition: width var(--dur-base) var(--ease); }
.medidor-legenda { display: flex; justify-content: space-between; gap: 8px; margin-top: 6px; font-size: 13px; color: var(--text-muted); }

/* ---------------- progress bar ---------------- */
.barra-progresso { position: relative; height: 10px; border-radius: var(--radius-pill); background: var(--bv-tint-2); }
.barra-progresso > i { display: block; height: 100%; max-width: 100%; border-radius: var(--radius-pill); background: var(--primary); transition: width var(--dur-base) var(--ease); }
.barra-legenda { display: block; margin-top: 6px; font-size: 13px; color: var(--text-muted); }
.barra-progresso .barra-legenda { position: absolute; top: 100%; left: 0; }
.barra-progresso:has(.barra-legenda) { margin-bottom: 26px; }

/* ---------------- bottom sheet ---------------- */
.folha-fundo { position: fixed; inset: 0; z-index: 100; display: flex; align-items: flex-end; justify-content: center; background: rgba(0, 22, 80, 0.5); animation: fundoIn var(--dur-fast) var(--ease); }
.folha {
  width: 100%; max-width: var(--col-max); max-height: 90vh; max-height: 90dvh; overflow-y: auto; overscroll-behavior: contain;
  padding: 20px 16px calc(20px + env(safe-area-inset-bottom, 0px)); border-radius: 20px 20px 0 0; background: var(--bv-white); color: var(--text);
  box-shadow: var(--shadow-pop); animation: folhaIn var(--dur-base) var(--ease); outline: none;
}
.folha-conteudo { display: flex; flex-direction: column; gap: 12px; }
.folha-conteudo h2 { margin: 0; font-size: 22px; color: var(--primary); }
.folha-conteudo p { margin: 0; }
.folha-acoes { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
@keyframes fundoIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes folhaIn { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------------- toast ---------------- */
.toast {
  position: fixed; top: calc(env(safe-area-inset-top, 0px) + 12px); left: 50%; z-index: 200;
  width: max-content; max-width: min(calc(100% - 32px), calc(var(--col-max) - 32px)); padding: 12px 18px;
  border-left: 5px solid var(--bv-cyan); border-radius: 14px; background: var(--bv-blue-deep); color: var(--bv-white);
  font-size: 15px; line-height: 1.3; text-align: left; pointer-events: none; box-shadow: var(--shadow-pop);
  transform: translateX(-50%); animation: toastIn var(--dur-base) var(--ease);
}
.toast.ok { border-left-color: var(--ok); }
.toast.erro { border-left-color: var(--err); }
@keyframes toastIn { from { opacity: 0; transform: translate(-50%, -12px); } to { opacity: 1; transform: translateX(-50%); } }

/* ---------------- loading, empty, banners ---------------- */
.spinner { width: 42px; height: 42px; margin: 40px auto 0; border-radius: 50%; border: 4px solid var(--bv-tint-2); border-top-color: var(--primary); animation: girar 0.9s linear infinite; }
@keyframes girar { to { transform: rotate(360deg); } }
.esqueleto { display: block; height: 64px; margin-bottom: 10px; border-radius: var(--radius-card); background: var(--bv-tint-2); animation: pulsar 1.2s ease-in-out infinite; }
@keyframes pulsar { 0%, 100% { opacity: 0.45; } 50% { opacity: 0.9; } }
.vazio { padding: 32px 16px; text-align: center; color: var(--text-muted); }
.vazio-titulo { margin: 0 0 6px; font-size: 18px; font-weight: var(--fw-black); color: var(--primary); }
.vazio-texto { margin: 0; font-size: 15px; }
.msg { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 12px 14px; border-radius: var(--radius-input); background: var(--bv-tint); color: var(--bv-blue-deep); font-size: 15px; }
.msg.info { background: var(--bv-tint); color: var(--bv-blue-deep); }
.msg.erro { background: var(--err-bg); color: var(--err); }
.msg .msg-texto { flex: 1 1 200px; }
.msg .btn { min-height: 44px; padding: 0 var(--sp-4); font-size: 16px; }

/* aviso de rede (BvRede), neutro de tema: o Azul sobrescreve em tema-azul.css, os admins Branco usam este */
.az-banner-rede { position: fixed; top: 0; left: 0; right: 0; z-index: 300; display: flex; justify-content: center; pointer-events: none; }
.az-banner-rede[hidden] { display: none; }
.az-banner-rede-in {
  display: flex; align-items: center; gap: 12px; width: 100%; max-width: var(--col-max); padding: calc(env(safe-area-inset-top, 0px) + 10px) 16px 10px;
  border-radius: 0 0 16px 16px; background: var(--bv-blue-light); color: var(--bv-blue-deep); font-size: 15px; font-weight: var(--fw-black); line-height: 1.25; pointer-events: auto;
  animation: bvDesce var(--dur-base) var(--ease) backwards;
}
.az-banner-texto { flex: 1 1 auto; min-width: 0; }
.az-banner-btn { flex: 0 0 auto; min-width: 44px; min-height: 44px; padding: 0 16px; border: 0; border-radius: 12px; background: var(--bv-blue-deep); color: var(--bv-white); font-size: 15px; font-weight: var(--fw-black); cursor: pointer; touch-action: manipulation; }
.az-banner-btn:focus-visible { outline: none; box-shadow: 0 0 0 3px #FFFFFF, 0 0 0 6px var(--bv-blue-deep); }
body.az-offline .toast { top: calc(env(safe-area-inset-top, 0px) + 76px); }
@keyframes bvDesce { from { opacity: 0; transform: translateY(-100%); } to { opacity: 1; transform: none; } }

/* ---------------- tabbar ---------------- */
.tabbar {
  position: fixed; bottom: 0; left: 50%; z-index: 50; transform: translateX(-50%); display: flex;
  width: 100%; max-width: var(--col-max); height: calc(var(--tabbar-h) + env(safe-area-inset-bottom, 0px)); padding-bottom: env(safe-area-inset-bottom, 0px);
  background: var(--bv-white); border-top: 1px solid var(--border);
}
.tabbar a { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 44px; border-top: 3px solid transparent; color: var(--text-muted); font-size: 12px; font-weight: var(--fw-black); text-decoration: none; }
.tabbar a svg { width: 24px; height: 24px; fill: currentColor; }
.tabbar a.ativo { color: var(--primary); border-top-color: var(--bv-cyan); }

/* ---------------- QR card ---------------- */
.qr-cartao { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 20px; border-radius: var(--radius-card); background: var(--bv-white); box-shadow: var(--shadow-card); text-align: center; }
.qr-cartao canvas, .qr-cartao img { display: block; width: 100%; min-width: 260px; max-width: 300px; height: auto; }
.qr-cartao .qr-codigo { font-size: 28px; font-weight: var(--fw-black); letter-spacing: 0.12em; color: var(--primary); }

/* ---------------- toggle (switch) ---------------- */
.toggle { display: flex; align-items: center; gap: 12px; min-height: 44px; }
.toggle label { flex: 1; display: flex; align-items: center; min-height: 44px; font-size: 16px; color: var(--text); cursor: pointer; }
.toggle input[type="checkbox"] { position: relative; flex: 0 0 auto; width: 52px; height: 32px; margin: 0; border-radius: var(--radius-pill); background: var(--bv-tint-2); -webkit-appearance: none; appearance: none; cursor: pointer; transition: background var(--dur-fast) var(--ease); }
.toggle input[type="checkbox"]::before { content: ''; position: absolute; inset: -6px -2px; }
.toggle input[type="checkbox"]::after { content: ''; position: absolute; top: 4px; left: 4px; width: 24px; height: 24px; border-radius: 50%; background: var(--bv-white); box-shadow: 0 1px 3px rgba(0, 43, 171, 0.3); transition: transform var(--dur-fast) var(--ease); }
.toggle input[type="checkbox"]:checked { background: var(--primary); }
.toggle input[type="checkbox"]:checked::after { transform: translateX(20px); }
.toggle input[type="checkbox"]:focus-visible { outline: none; box-shadow: var(--focus-ring); }
.toggle input[type="checkbox"]:disabled { opacity: 0.5; cursor: not-allowed; }

/* ---------------- select ---------------- */
.select {
  width: 100%; min-height: 52px; padding: 0 44px 0 var(--sp-4); border: 2px solid var(--border); border-radius: var(--radius-input);
  background-color: var(--bv-white); color: var(--text); font-size: 18px; -webkit-appearance: none; appearance: none; outline: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%23223AD2' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 20px 20px;
}
.select:focus { border-color: var(--bv-cyan); box-shadow: var(--focus-ring); }
.select:disabled { opacity: 0.55; cursor: not-allowed; }

/* ---------------- check (consent checkbox) ---------------- */
.check { display: flex; align-items: flex-start; gap: 12px; min-height: 44px; padding: 0; }
.check input[type="checkbox"] { position: relative; flex: 0 0 auto; width: 24px; height: 24px; margin: 11px 0 0; border: 2px solid var(--primary); border-radius: 6px; background: var(--bv-white); -webkit-appearance: none; appearance: none; cursor: pointer; }
.check input[type="checkbox"]::before { content: ''; position: absolute; inset: -10px; }
.check input[type="checkbox"]:checked { background: var(--primary); }
.check input[type="checkbox"]:checked::after { content: ''; position: absolute; left: 6px; top: 1px; width: 6px; height: 12px; border: solid var(--bv-white); border-width: 0 3px 3px 0; transform: rotate(45deg); }
.check input[type="checkbox"]:focus-visible { outline: none; box-shadow: var(--focus-ring); }
/* link dentro da linha do aceite: area de toque de 44 px sem mudar a linha de texto */
.check label a { position: relative; }
.check label a::after { content: ""; position: absolute; left: 0; right: 0; top: -12px; bottom: -12px; }
.check label { flex: 1; padding: 10px 0; font-size: 15px; line-height: 1.35; color: var(--text); overflow-wrap: anywhere; }

/* ---------------- KPI tiles ---------------- */
.kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.kpi { display: flex; flex-direction: column; gap: 2px; padding: 14px; border-radius: var(--radius-card); background: var(--surface); box-shadow: var(--shadow-card); }
.kpi-valor { font-size: 28px; font-weight: var(--fw-black); line-height: 1.1; color: var(--primary); }
.kpi-rotulo { font-size: 13px; color: var(--text-muted); }
.kpi-alerta { align-self: flex-start; margin-top: 4px; padding: 2px 10px; border-radius: var(--radius-pill); background: var(--st-falta-bg); color: var(--st-falta); font-size: 12px; font-weight: var(--fw-black); }

/* ---------------- photo grid (thumbnails only use object-fit: cover) ---------------- */
.grade-fotos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.impressao .grade-fotos, .grade-fotos.larga { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
.foto-item { position: relative; aspect-ratio: 9 / 16; overflow: hidden; border-radius: 12px; background: var(--bv-tint-2); }
.foto-item img { display: block; width: 100%; height: 100%; object-fit: cover; }
.foto-item .st { position: absolute; left: 8px; bottom: 8px; }

/* ---------------- chips editor ---------------- */
.chips-editor { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.chips-editor .chip { gap: 6px; padding-right: 6px; cursor: default; }
.chips-editor .remover { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; padding: 0; border: 0; border-radius: 50%; background: var(--bv-tint); color: var(--primary); font-size: 18px; font-weight: var(--fw-black); line-height: 1; cursor: pointer; }
.chips-editor .remover::after { content: ''; position: absolute; inset: -8px; }
.chips-editor input { flex: 1 1 120px; min-width: 0; min-height: 44px; padding: 0 var(--sp-3); border: 2px solid var(--border); border-radius: var(--radius-pill); background: var(--bv-white); color: var(--text); font-size: 16px; outline: none; }
.chips-editor input:focus { border-color: var(--bv-cyan); box-shadow: var(--focus-ring); }

/* ---------------- identity strip ---------------- */
.identidade { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; padding: 10px 12px; border: 1px solid var(--border); border-radius: var(--radius-input); background: var(--bv-white); color: var(--text-muted); font-size: 14px; line-height: 1.3; }
.identidade a.trocar { display: inline-flex; align-items: center; min-height: 44px; margin: -10px 0; padding: 0 4px; font-weight: var(--fw-black); }

/* ---------------- states ---------------- */
.travado { pointer-events: none; }

@media (prefers-reduced-motion: reduce) {
  .tela.ativa, .folha-fundo, .folha, .toast, .esqueleto, .az-banner-rede-in { animation: none !important; }
  html { scroll-behavior: auto; }
}
