/* ============================================================================
   EVIDÊNCIAS FAG · APP DA EQUIPE · v1.1.1
   Celular primeiro (320–430 px), depois tablet e computador · modo claro e
   escuro · área segura do iPhone (notch e barra de gestos) · sem rolagem
   lateral · alvos de toque com 44–48 px ou mais.
   Nada de overflow no html/body: com overflow-x no body o celular deixava de
   rolar a página (a rolagem ficava presa no body). O corte lateral fica no .ec.
   ========================================================================== */

:root {
  --navy: #14233B; --navy2: #1B2A4A; --ciano: #27B8D8; --ciano2: #1888A8; --ciano-bg: #E5F6FA;
  --bg: #EDF1F6; --card: #FFFFFF; --card2: #F5F8FB; --tinta: #0B1220; --mut: #56667D; --mut2: #8090A6;
  --linha: #E1E7EF; --linha2: #CBD5E1; --foco: rgba(39, 184, 216, .28);
  --ok: #15803D; --ok-bg: #E6F6EC; --warn: #9A5806; --warn-bg: #FEF4DC; --bad: #B42318; --bad-bg: #FDECEA; --info: #1F6FB2; --info-bg: #E7F0FA;
  --ia: #6D4AFF; --ia2: #9B7BFF; --ia-bg: #F1EDFF;
  --sombra: 0 1px 2px rgba(11, 18, 32, .04), 0 4px 14px rgba(11, 18, 32, .05);
  --sombra-m: 0 2px 4px rgba(11, 18, 32, .04), 0 12px 30px rgba(11, 18, 32, .08);
  --sombra-l: 0 18px 48px rgba(11, 18, 32, .22);
  --r: 18px; --r-s: 13px;
  --mola: cubic-bezier(.2, .8, .2, 1);
  --topo: env(safe-area-inset-top, 0px); --baixo: env(safe-area-inset-bottom, 0px);
  --fonte: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
html[data-tema="escuro"] {
  --bg: #080E17; --card: #111A26; --card2: #162231; --tinta: #E7EDF5; --mut: #9AABC0; --mut2: #74859C;
  --linha: #1F2C3E; --linha2: #2C3B51; --ciano-bg: #0F2E39; --foco: rgba(39, 184, 216, .35);
  --ok: #6AC981; --ok-bg: #0F2A1A; --warn: #F5B062; --warn-bg: #2B2009; --bad: #FC887B; --bad-bg: #351A1A; --info: #83B4F0; --info-bg: #13263B;
  --ia: #B1A0FF; --ia2: #8C72FF; --ia-bg: #1E1939;
  --sombra: 0 1px 2px rgba(0, 0, 0, .35), 0 6px 20px rgba(0, 0, 0, .28);
  --sombra-m: 0 2px 4px rgba(0, 0, 0, .3), 0 14px 34px rgba(0, 0, 0, .35);
  color-scheme: dark;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; font: 15px/1.5 var(--fonte); background: var(--bg); color: var(--tinta); min-height: 100vh; min-height: 100dvh; -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
img { max-width: 100%; display: block; }
svg { flex: none; display: block; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }

.ec-carregando { min-height: 100dvh; display: grid; place-items: center; }
.ec-giro { width: 36px; height: 36px; border-radius: 50%; border: 3px solid var(--linha); border-top-color: var(--ciano); animation: ecGira .8s linear infinite; }
@keyframes ecGira { to { transform: rotate(360deg); } }
@keyframes ecSobe { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes ecBrilho { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }
@keyframes ecAurora { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-30px, 18px) scale(1.15); } 100% { transform: translate(0, 0) scale(1); } }
@keyframes ecReflexo { 0%, 62% { transform: translateX(-120%) skewX(-18deg); } 100% { transform: translateX(260%) skewX(-18deg); } }
@keyframes ecPulsa { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--ia) 45%, transparent); } 70% { box-shadow: 0 0 0 12px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
@keyframes ecOnda { to { transform: scale(1); opacity: 0; } }
@keyframes ecPisca { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--ia) 50%, transparent); } 100% { box-shadow: 0 0 0 14px transparent; } }

/* onda do toque (o JS põe um <span class="ec-onda"> no botão tocado) */
.ec-btn, .ec-foto, .ec-tile, .ec-item, .ec-pes, .ec-chip, .ec-op, .ec-ft-mais { position: relative; overflow: hidden; isolation: isolate; }
.ec-onda { position: absolute !important; flex: none !important; display: block !important; margin: 0 !important; border-radius: 50%; pointer-events: none; background: currentColor; opacity: .16; transform: scale(0); animation: ecOnda .6s ease-out forwards; z-index: 0; }
.ec-foto .ec-onda, .ec-btn-p .ec-onda, .ec-btn-ok .ec-onda, .ec-btn-n .ec-onda { background: #fff; opacity: .28; }

/* ── estrutura ───────────────────────────────────────────────────────── */
.ec { max-width: 560px; margin: 0 auto; min-height: 100dvh; display: flex; flex-direction: column; overflow-x: clip; }
.ec-topo { position: relative; overflow: hidden; color: #fff; padding: calc(var(--topo) + 14px) 18px 70px;
  background: linear-gradient(150deg, #0A1524 0%, #13223A 48%, #17506A 100%); }
.ec-topo::before { content: ''; position: absolute; width: 340px; height: 340px; right: -120px; top: -150px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(39, 184, 216, .55) 0%, rgba(39, 184, 216, 0) 68%); animation: ecAurora 14s ease-in-out infinite; }
.ec-topo::after { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background: radial-gradient(260px 160px at 0% 100%, rgba(109, 74, 255, .28), transparent 70%),
              repeating-linear-gradient(115deg, rgba(255, 255, 255, .025) 0 2px, transparent 2px 14px); }
.ec-barra { position: relative; z-index: 1; display: flex; align-items: center; gap: 10px; min-height: 40px; }
.ec-marca { display: flex; align-items: center; gap: 10px; min-width: 0; }
.ec-marca img { height: 26px; width: auto; }
.ec-marca span { font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: #9BE3F5; border-left: 1px solid rgba(255, 255, 255, .25); padding-left: 10px; white-space: nowrap; }
.ec-barra-b { margin-left: auto; display: flex; gap: 8px; }
.ec-ib { width: 40px; height: 40px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .08); color: #fff;
  display: grid; place-items: center; padding: 0; transition: background .2s, transform .15s; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.ec-ib:active { transform: scale(.9); background: rgba(255, 255, 255, .16); }
.ec-ola { position: relative; z-index: 1; margin-top: 20px; animation: ecSobe .5s var(--mola) both; }
.ec-ola small { display: block; font-size: 13px; font-weight: 600; color: #A9C4D8; }
.ec-ola h1 { margin: 2px 0 0; font-size: 28px; line-height: 1.15; letter-spacing: -.025em; font-weight: 800; overflow-wrap: anywhere;
  background: linear-gradient(90deg, #fff 0%, #CFF3FB 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ec-ola button { margin-top: 10px; display: inline-flex; align-items: center; gap: 6px; padding: 0 12px; min-height: 32px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .2);
  background: rgba(255, 255, 255, .07); color: #D7E7F2; font-size: 12.5px; font-weight: 600; }
.ec-ola button:active { background: rgba(255, 255, 255, .16); }

.ec-corpo { position: relative; z-index: 2; flex: 1; margin-top: -50px; padding: 0 14px calc(var(--baixo) + 24px); display: flex; flex-direction: column; gap: 14px; }
.ec-corpo > * { animation: ecSobe .5s var(--mola) both; }
.ec-corpo > :nth-child(2) { animation-delay: .05s; } .ec-corpo > :nth-child(3) { animation-delay: .1s; } .ec-corpo > :nth-child(4) { animation-delay: .15s; }
.ec-corpo > :nth-child(5) { animation-delay: .2s; } .ec-corpo > :nth-child(6) { animation-delay: .25s; } .ec-corpo > :nth-child(n+7) { animation-delay: .3s; }
.ec-card { background: var(--card); border: 1px solid var(--linha); border-radius: var(--r); box-shadow: var(--sombra-m); padding: 16px; min-width: 0; }
.ec-card h2 { margin: 0 0 2px; font-size: 16.5px; font-weight: 800; letter-spacing: -.01em; display: flex; align-items: center; gap: 8px; }
.ec-card h2 svg { color: var(--ciano2); }
.ec-card > p { margin: 0; color: var(--mut); font-size: 13.5px; }
.ec-sec { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 8px 2px -4px; }
.ec-sec h3 { margin: 0; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--mut); }

/* ── botões ──────────────────────────────────────────────────────────── */
.ec-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 18px; border-radius: 14px;
  border: 1px solid var(--linha2); background: var(--card); color: var(--tinta); font-weight: 700; font-size: 15px; text-decoration: none; white-space: nowrap;
  transition: transform .14s var(--mola), background .2s, box-shadow .2s, opacity .2s, border-color .2s; touch-action: manipulation; }
.ec-btn > :not(.ec-onda) { position: relative; z-index: 1; }
.ec-btn:active { transform: scale(.97); }
.ec-btn:disabled { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }
.ec-btn-p { background: linear-gradient(180deg, #2CC3E3, #1A9CC0); border-color: transparent; color: #fff; box-shadow: 0 8px 20px rgba(26, 156, 192, .35), inset 0 1px 0 rgba(255, 255, 255, .25); }
.ec-btn-n { background: linear-gradient(180deg, #213456, #14233B); border-color: transparent; color: #fff; box-shadow: 0 6px 16px rgba(20, 35, 59, .25), inset 0 1px 0 rgba(255, 255, 255, .12); }
html[data-tema="escuro"] .ec-btn-n { background: linear-gradient(180deg, #2A4670, #1F3657); }
.ec-btn-ok { background: linear-gradient(180deg, #22B35C, #15803D); border-color: transparent; color: #fff; box-shadow: 0 10px 24px rgba(21, 128, 61, .32), inset 0 1px 0 rgba(255, 255, 255, .22); }
.ec-btn-ok:not(:disabled)::after { content: ''; position: absolute; top: 0; bottom: 0; left: 0; width: 40%; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .28), transparent); animation: ecReflexo 3.2s ease-in-out infinite; }
.ec-btn-l { width: 100%; }
.ec-btn-s { min-height: 42px; padding: 0 14px; font-size: 13.5px; border-radius: 12px; }
.ec-link { background: none; border: 0; padding: 6px 2px; color: var(--ciano2); font-weight: 700; font-size: 13.5px; min-height: 36px; }
html[data-tema="escuro"] .ec-link { color: var(--ciano); }

/* ── ação principal ──────────────────────────────────────────────────── */
.ec-acao { display: grid; gap: 10px; padding: 12px; }
.ec-foto { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 96px; padding: 16px; border: 0; border-radius: 16px; text-align: left; color: #fff;
  background: linear-gradient(135deg, #2BC0E0 0%, #1786AE 55%, #12557C 100%); box-shadow: 0 14px 30px rgba(23, 134, 174, .38), inset 0 1px 0 rgba(255, 255, 255, .25);
  transition: transform .16s var(--mola), box-shadow .2s; }
.ec-foto:active { transform: scale(.98); box-shadow: 0 8px 18px rgba(23, 134, 174, .3); }
.ec-foto::before { content: ''; position: absolute; right: -40px; top: -60px; width: 170px; height: 170px; border-radius: 50%; background: rgba(255, 255, 255, .1); pointer-events: none; }
.ec-foto::after { content: ''; position: absolute; top: 0; bottom: 0; left: 0; width: 45%; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .22), transparent); animation: ecReflexo 4.5s ease-in-out infinite; }
.ec-foto > :not(.ec-onda) { position: relative; z-index: 1; }
.ec-foto-ic { flex: none; width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: rgba(255, 255, 255, .18);
  border: 1px solid rgba(255, 255, 255, .25); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25); }
.ec-foto-tx { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ec-foto-tx b { font-size: 18px; line-height: 1.2; font-weight: 800; letter-spacing: -.01em; }
.ec-foto-tx small { font-size: 13px; line-height: 1.35; opacity: .9; }
.ec-foto-seta { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .16); }
.ec-acao-2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.ec-tile { display: flex; align-items: center; gap: 10px; min-height: 60px; padding: 10px 12px; border: 1px solid var(--linha); border-radius: 14px; background: var(--card2);
  text-align: left; min-width: 0; transition: transform .14s var(--mola), border-color .2s, background .2s; }
.ec-tile:active { transform: scale(.97); border-color: var(--ciano); background: var(--ciano-bg); }
.ec-tile > :not(.ec-onda) { position: relative; z-index: 1; }
.ec-tile-ic { flex: none; width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--ciano-bg); color: var(--ciano2); }
html[data-tema="escuro"] .ec-tile-ic { color: var(--ciano); }
.ec-tile-pdf { background: var(--bad-bg); color: var(--bad); }
html[data-tema="escuro"] .ec-tile-pdf { color: var(--bad); }
.ec-tile-tx { min-width: 0; display: flex; flex-direction: column; }
.ec-tile-tx b { font-size: 14.5px; font-weight: 700; line-height: 1.25; }
.ec-tile-tx small { font-size: 12px; line-height: 1.3; color: var(--mut); overflow-wrap: anywhere; }

/* cartão de instalar */
.ec-inst { display: flex; gap: 12px; align-items: flex-start; }
.ec-inst-ic { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--info-bg); color: var(--info); }
.ec-inst b { display: block; font-size: 14.5px; }
.ec-inst span:not(.ec-inst-ic) { display: block; font-size: 13px; color: var(--mut); line-height: 1.4; }
.ec-inst-b { display: flex; justify-content: flex-end; gap: 8px; margin-top: 12px; }
.ec-inst-b .ec-btn { flex: 1; max-width: 170px; }

/* números do mês */
.ec-resumo { display: flex; align-items: stretch; gap: 10px; padding: 12px; background: var(--card); border: 1px solid var(--linha); border-radius: 18px; box-shadow: var(--sombra); }
.ec-res-mes { flex: 1 1 auto; min-width: 0; display: flex; align-items: center; gap: 12px; padding: 4px 4px 4px 2px; }
.ec-res-ic { flex: none; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--ciano), var(--ciano2)); box-shadow: 0 6px 14px color-mix(in srgb, var(--ciano) 35%, transparent); }
.ec-res-mes > div { min-width: 0; display: flex; flex-direction: column; }
.ec-res-mes small { font-size: 12.5px; font-weight: 600; color: var(--mut); line-height: 1.3; }
.ec-res-mes b { font-size: 22px; line-height: 1.2; font-weight: 800; letter-spacing: -.02em; color: var(--tinta); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.ec-res-2 { flex: none; display: flex; gap: 8px; }
.ec-res-n { min-width: 62px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 6px 8px; border-radius: 13px; background: var(--card2); border: 1px solid var(--linha); text-align: center; }
.ec-res-n b { font-size: 20px; line-height: 1.15; font-weight: 800; font-variant-numeric: tabular-nums; }
.ec-res-n small { font-size: 11.5px; color: var(--mut); line-height: 1.25; }
.ec-res-pend b { color: var(--warn); }
@media (max-width: 400px) { .ec-resumo { flex-wrap: wrap; } .ec-res-2 { flex: 1 1 100%; } .ec-res-n { flex: 1; flex-direction: row; gap: 6px; padding: 8px; } .ec-res-n small { font-size: 12.5px; } .ec-res-n b { font-size: 17px; } }

/* avisos */
.ec-aviso { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; font-size: 13.5px; line-height: 1.45; border: 1px solid transparent; }
.ec-aviso > svg { margin-top: 1px; }
.ec-aviso > div { flex: 1; min-width: 0; }
.ec-aviso b { display: block; }
.ec-aviso-bad { background: var(--bad-bg); color: var(--bad); border-color: color-mix(in srgb, var(--bad) 22%, transparent); }
.ec-aviso-warn { background: var(--warn-bg); color: var(--warn); border-color: color-mix(in srgb, var(--warn) 20%, transparent); }
.ec-aviso-info { background: var(--info-bg); color: var(--info); border-color: color-mix(in srgb, var(--info) 18%, transparent); }
.ec-aviso-ok { background: var(--ok-bg); color: var(--ok); border-color: color-mix(in srgb, var(--ok) 20%, transparent); }
.ec-aviso-ia { background: var(--ia-bg); color: var(--ia); }

/* ── lista de pessoas ────────────────────────────────────────────────── */
.ec-busca { display: flex; align-items: center; gap: 8px; height: 50px; padding: 0 14px; border: 1px solid var(--linha2); border-radius: 14px; background: var(--card2); margin: 12px 0 10px; transition: border-color .15s, box-shadow .15s; }
.ec-busca:focus-within { border-color: var(--ciano); box-shadow: 0 0 0 4px var(--foco); }
.ec-busca svg { color: var(--mut); }
.ec-busca input { flex: 1; min-width: 0; border: 0; background: transparent; outline: 0; font-size: 16px; height: 100%; }
.ec-pessoas { display: flex; flex-direction: column; gap: 8px; }
.ec-pes { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 62px; padding: 10px 12px; border: 1px solid var(--linha); border-radius: 14px; background: var(--card); text-align: left;
  transition: border-color .15s, background .15s, transform .14s var(--mola); animation: ecSobe .4s var(--mola) both; }
.ec-pes:nth-child(2) { animation-delay: .03s; } .ec-pes:nth-child(3) { animation-delay: .06s; } .ec-pes:nth-child(4) { animation-delay: .09s; }
.ec-pes:nth-child(5) { animation-delay: .12s; } .ec-pes:nth-child(6) { animation-delay: .15s; } .ec-pes:nth-child(n+7) { animation-delay: .18s; }
.ec-pes > :not(.ec-onda) { position: relative; z-index: 1; }
.ec-pes:active { transform: scale(.98); background: var(--ciano-bg); border-color: var(--ciano); }
.ec-pes > span:not(.ec-av):not(.ec-onda) { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.ec-pes b { font-size: 15.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ec-pes i { font-style: normal; font-size: 12.5px; color: var(--mut); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ec-pes > svg { color: var(--mut2); }
.ec-av { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, #1B2A4A, #1F7392); color: #fff; font-size: 14px; font-weight: 800; letter-spacing: .02em;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--ciano) 18%, transparent); }

/* ── histórico ───────────────────────────────────────────────────────── */
.ec-hist { display: flex; flex-direction: column; gap: 8px; }
.ec-hist > * { animation: ecSobe .4s var(--mola) both; }
.ec-dia { margin: 8px 4px 0; font-size: 12px; font-weight: 800; color: var(--mut); text-transform: capitalize; }
.ec-item { display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; align-items: center; gap: 12px; width: 100%; padding: 11px 12px; border: 1px solid var(--linha); border-radius: 15px;
  background: var(--card); text-align: left; min-height: 66px; box-shadow: var(--sombra); transition: transform .14s var(--mola), border-color .2s; }
.ec-item > :not(.ec-onda) { position: relative; z-index: 1; }
.ec-item:active { transform: scale(.985); border-color: var(--linha2); }
.ec-item-ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--ciano-bg); color: var(--ciano2); }
html[data-tema="escuro"] .ec-item-ic { color: var(--ciano); }
.ec-item-c { min-width: 0; display: flex; flex-direction: column; }
.ec-item-c b { font-size: 14.5px; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.ec-item-c i { font-style: normal; font-size: 12.5px; line-height: 1.3; color: var(--mut); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.ec-item-d { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.ec-item-d b { font-size: 14.5px; font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ec-st { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 800; line-height: 1; padding: 4px 8px; border-radius: 999px; white-space: nowrap; }
.ec-st svg { width: 11px; height: 11px; }
.ec-st-pendente { background: var(--warn-bg); color: var(--warn); }
.ec-st-aprovada { background: var(--ok-bg); color: var(--ok); }
.ec-st-recusada { background: var(--bad-bg); color: var(--bad); }
.ec-st-fila { background: var(--info-bg); color: var(--info); }
.ec-vazio { text-align: center; padding: 28px 14px; color: var(--mut); font-size: 13.5px; }
.ec-vazio svg { margin: 0 auto 10px; color: var(--mut2); }
.ec-vazio b { color: var(--tinta); }

/* ── envio ───────────────────────────────────────────────────────────── */
.ec-tela { min-height: 100dvh; display: flex; flex-direction: column; max-width: 560px; margin: 0 auto; overflow-x: clip; }
.ec-cab { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 8px; padding: calc(var(--topo) + 8px) 12px 8px; background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(1.5) blur(14px); -webkit-backdrop-filter: saturate(1.5) blur(14px); border-bottom: 1px solid var(--linha); }
.ec-cab h1 { flex: 1; margin: 0; font-size: 16.5px; font-weight: 800; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ec-cab .ec-ib { color: var(--tinta); background: var(--card); border-color: var(--linha); box-shadow: var(--sombra); }
.ec-cab-esp { width: 40px; flex: none; }
.ec-env { flex: 1; padding: 14px 14px calc(var(--baixo) + 160px); display: flex; flex-direction: column; gap: 14px; }
.ec-env > * { animation: ecSobe .45s var(--mola) both; }

.ec-fotos { display: flex; gap: 10px; overflow-x: auto; padding: 2px 2px 8px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.ec-fotos::-webkit-scrollbar { display: none; }
.ec-ft { position: relative; flex: none; width: 128px; height: 170px; border-radius: 16px; overflow: hidden; background: #0E1623; border: 1px solid var(--linha); scroll-snap-align: start; box-shadow: var(--sombra-m);
  animation: ecSobe .35s var(--mola) both; }
.ec-ft img { width: 100%; height: 100%; object-fit: cover; }
.ec-ft-pdf { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: #C6D3E2; font-size: 12px; font-weight: 700; padding: 8px; text-align: center; overflow-wrap: anywhere; }
.ec-ft-x { position: absolute; top: 6px; right: 6px; z-index: 3; width: 32px; height: 32px; padding: 0; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); background: rgba(8, 14, 24, .7); color: #fff; display: grid; place-items: center; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.ec-ft-env { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(8, 14, 24, .55); color: #fff; }
.ec-ft-lendo { border-color: color-mix(in srgb, var(--ia) 60%, transparent); }
.ec-ft-lendo::before { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(109, 74, 255, .12), rgba(39, 184, 216, .12)); }
.ec-ft-lendo::after { content: ''; position: absolute; left: 0; right: 0; height: 3px; top: 0; z-index: 2; pointer-events: none; background: #7DE3F7;
  box-shadow: 0 0 14px 4px rgba(39, 184, 216, .75), 0 -30px 40px rgba(39, 184, 216, .25); animation: ecScan 1.8s ease-in-out infinite alternate; }
@keyframes ecScan { from { top: 4%; } to { top: 95%; } }
.ec-ft-mais { flex: none; width: 128px; height: 170px; border-radius: 16px; border: 2px dashed var(--linha2); background: var(--card); color: var(--mut); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  font-size: 12.5px; font-weight: 700; text-align: center; padding: 8px; scroll-snap-align: start; transition: border-color .2s, color .2s; }
.ec-ft-mais > :not(.ec-onda) { position: relative; z-index: 1; }
.ec-ft-mais svg { width: 40px; height: 40px; padding: 9px; border-radius: 50%; background: var(--ciano-bg); color: var(--ciano2); }
.ec-ft-mais:active { border-color: var(--ciano); color: var(--ciano2); }

.ec-status { display: flex; align-items: center; gap: 12px; padding: 13px 14px; border-radius: 15px; background: var(--ia-bg); color: var(--ia); font-size: 13.5px; font-weight: 600;
  border: 1px solid color-mix(in srgb, var(--ia) 18%, transparent); }
.ec-status > svg { flex: none; }
.ec-status > div { flex: 1; min-width: 0; }
.ec-status .ec-giro { width: 22px; height: 22px; border-width: 2.5px; border-color: color-mix(in srgb, var(--ia) 25%, transparent); border-top-color: var(--ia); flex: none; }
.ec-status b { display: block; font-size: 14.5px; }
.ec-status span { display: block; font-weight: 500; opacity: .88; font-size: 12.5px; }
.ec-status-ok { background: var(--ok-bg); color: var(--ok); border-color: color-mix(in srgb, var(--ok) 20%, transparent); }
.ec-status-warn { background: var(--warn-bg); color: var(--warn); border-color: color-mix(in srgb, var(--warn) 20%, transparent); align-items: flex-start; }
.ec-status-bad { background: var(--bad-bg); color: var(--bad); border-color: color-mix(in srgb, var(--bad) 25%, transparent); align-items: flex-start; animation: ecSobe .35s var(--mola) both; }
.ec-status-bad > svg { margin-top: 2px; }
.ec-status-b { margin-top: 10px; color: var(--tinta); }
.ec-status-bad .ec-status-b { background: var(--card); border-color: color-mix(in srgb, var(--bad) 35%, var(--linha2)); color: var(--bad); }
.ec-status-l { display: block; margin-top: 4px; padding: 6px 0; min-height: 32px; font-size: 12.5px; color: var(--mut) !important; text-decoration: underline; text-underline-offset: 2px; }
.ec-cartao { padding: 12px; margin: -2px 0; border-radius: 14px; background: var(--card2); border: 1px dashed var(--linha2); animation: ecSobe .3s var(--mola) both; }
.ec-status-ia { background: linear-gradient(110deg, var(--ia-bg) 0%, color-mix(in srgb, var(--ia-bg) 60%, var(--ciano-bg)) 50%, var(--ia-bg) 100%); background-size: 200% 100%; animation: ecBrilho 2.6s linear infinite; }
.ec-ia-orb { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--ia2), #27B8D8); animation: ecPulsa 1.6s ease-out infinite; }
.ec-ia-orb svg { animation: ecGira 3s linear infinite; }

/* dúvidas da IA: pergunta com botões de resposta */
.ec-duvidas { display: flex; flex-direction: column; gap: 10px; }
.ec-duvidas:empty { display: none; }
.ec-duv { border-radius: 16px; padding: 14px; background: var(--card); border: 1.5px solid color-mix(in srgb, var(--ia) 45%, var(--linha)); box-shadow: 0 8px 24px color-mix(in srgb, var(--ia) 14%, transparent); animation: ecSobe .4s var(--mola) both; }
.ec-duv-ok { border-color: color-mix(in srgb, var(--ok) 45%, var(--linha)); box-shadow: var(--sombra); }
.ec-duv-cab { display: flex; gap: 10px; align-items: flex-start; }
.ec-duv-cab > div { min-width: 0; }
.ec-duv-cab small { display: block; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--ia); }
.ec-duv-ok .ec-duv-cab small { color: var(--ok); }
.ec-duv-cab b { display: block; font-size: 14.5px; line-height: 1.4; }
.ec-duv-ic { flex: none; width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--ia2), var(--ia)); }
.ec-duv-ok .ec-duv-ic { background: var(--ok); }
.ec-duv-ops { display: grid; gap: 8px; margin-top: 12px; }
.ec-op { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 48px; padding: 8px 14px; border-radius: 13px; border: 1px solid var(--linha2); background: var(--card2); text-align: left; font-size: 14px; font-weight: 700;
  transition: background .15s, border-color .15s, transform .14s var(--mola), color .15s; }
.ec-op > :not(.ec-onda) { position: relative; z-index: 1; }
.ec-op span { flex: 1; min-width: 0; }
.ec-op i { font-style: normal; font-size: 10.5px; font-weight: 800; padding: 3px 8px; border-radius: 999px; background: var(--ia-bg); color: var(--ia); white-space: nowrap; }
.ec-op svg { color: var(--mut); }
.ec-op:active { transform: scale(.98); }
.ec-op[aria-pressed="true"] { background: var(--ok); border-color: var(--ok); color: #fff; }
html[data-tema="escuro"] .ec-op[aria-pressed="true"] { background: #1C8F49; border-color: #1C8F49; }
.ec-op[aria-pressed="true"] svg { color: #fff; }
.ec-duv-pe { margin: 10px 2px 0; font-size: 12.5px; color: var(--mut); }
.ec-pisca { animation: ecPisca .7s ease-out 2; border-radius: 14px; }

.ec-form { display: flex; flex-direction: column; gap: 14px; background: var(--card); border: 1px solid var(--linha); border-radius: var(--r); padding: 16px; box-shadow: var(--sombra-m); }
.ec-campo { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.ec-campo > label, .ec-rot { display: flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; color: var(--mut); letter-spacing: .01em; }
.ec-campo > label i, .ec-rot i { font-style: normal; font-weight: 500; color: var(--mut2); }
.ec-ia-tag { display: inline-flex; align-items: center; gap: 3px; margin-left: auto; padding: 2px 8px; border-radius: 999px; background: var(--ia-bg); color: var(--ia); font-size: 10.5px; font-weight: 800; letter-spacing: .02em; }
.ec-ia-tag svg { width: 11px; height: 11px; }
.ec-in { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid var(--linha2); border-radius: 13px; background: var(--card); font-size: 16px; outline: 0; transition: border-color .15s, box-shadow .15s, background .2s; -webkit-appearance: none; appearance: none; }
.ec-in:focus { border-color: var(--ciano); box-shadow: 0 0 0 4px var(--foco); }
.ec-in.ec-ia { border-color: color-mix(in srgb, var(--ia) 45%, var(--linha2)); background: linear-gradient(0deg, color-mix(in srgb, var(--ia-bg) 60%, var(--card)), var(--card)); }
.ec-in.ec-erro { border-color: var(--bad); box-shadow: 0 0 0 4px color-mix(in srgb, var(--bad) 15%, transparent); }
input[type="date"].ec-in { min-height: 50px; display: block; }
select.ec-in { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2356667D' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
textarea.ec-in { min-height: 76px; resize: vertical; line-height: 1.45; }
.ec-dois { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
/* data + CNPJ: o CNPJ formatado (18 caracteres) não cabe em meia tela de celular */
@media (max-width: 459px) { .ec-dois.ec-dc { grid-template-columns: 1fr; gap: 14px; } }
.ec-valor { position: relative; }
.ec-valor span { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); font-size: 20px; font-weight: 800; color: var(--mut); pointer-events: none; }
.ec-valor .ec-in { padding-left: 52px; font-size: 27px; font-weight: 800; min-height: 64px; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }

.ec-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ec-chip { display: inline-flex; align-items: center; gap: 7px; min-height: 42px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--linha2); background: var(--card); font-size: 13.5px; font-weight: 600;
  transition: background .15s, border-color .15s, transform .14s var(--mola), color .15s, box-shadow .2s; }
.ec-chip > :not(.ec-onda) { position: relative; z-index: 1; }
.ec-chip svg { color: var(--mut); transition: color .15s; }
.ec-chip:active { transform: scale(.95); }
.ec-chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; box-shadow: 0 6px 14px rgba(20, 35, 59, .22); }
.ec-chip[aria-pressed="true"] svg { color: #7FDDF2; }
html[data-tema="escuro"] .ec-chip[aria-pressed="true"] { background: var(--ciano2); border-color: var(--ciano2); }
html[data-tema="escuro"] .ec-chip[aria-pressed="true"] svg { color: #fff; }
.ec-chip.ec-ia:not([aria-pressed="true"]) { border-color: var(--ia); }
.ec-chips.ec-erro .ec-chip { border-color: var(--bad); }

.ec-alertas { display: flex; flex-direction: column; gap: 8px; }
.ec-alertas:empty { display: none; }
.ec-mais { border: 1px solid var(--linha); border-radius: 14px; background: var(--card2); }
.ec-mais summary { list-style: none; display: flex; align-items: center; gap: 8px; min-height: 50px; padding: 0 14px; font-weight: 700; font-size: 14px; cursor: pointer; }
.ec-mais summary::-webkit-details-marker { display: none; }
.ec-mais summary svg:first-child { color: var(--ciano2); }
.ec-mais summary svg:last-child { margin-left: auto; transition: transform .25s var(--mola); color: var(--mut); }
.ec-mais[open] summary svg:last-child { transform: rotate(180deg); }
.ec-mais > div { padding: 0 14px 14px; display: flex; flex-direction: column; gap: 12px; animation: ecSobe .3s var(--mola) both; }
.ec-itens { margin: 0; padding: 0; list-style: none; border: 1px solid var(--linha); border-radius: 12px; overflow: hidden; background: var(--card); }
.ec-itens li { display: flex; justify-content: space-between; gap: 10px; padding: 9px 12px; font-size: 13px; border-bottom: 1px solid var(--linha); }
.ec-itens li:last-child { border-bottom: 0; }
.ec-itens li span { min-width: 0; overflow-wrap: anywhere; }
.ec-itens li b { white-space: nowrap; font-variant-numeric: tabular-nums; }

.ec-esq { display: block; height: 50px; border-radius: 13px; background: linear-gradient(90deg, var(--card2) 0%, var(--linha) 50%, var(--card2) 100%); background-size: 200% 100%; animation: ecBrilho 1.2s linear infinite; }

/* barra de confirmar (fica no pé, acima da barra de gestos) */
.ec-pe { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 10px 14px calc(var(--baixo) + 12px);
  background: color-mix(in srgb, var(--card) 90%, transparent); backdrop-filter: saturate(1.5) blur(16px); -webkit-backdrop-filter: saturate(1.5) blur(16px); border-top: 1px solid var(--linha); box-shadow: 0 -10px 30px rgba(11, 18, 32, .08); }
.ec-pe-in { max-width: 532px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.ec-conf { display: flex; align-items: center; gap: 12px; min-height: 44px; font-size: 14px; font-weight: 600; cursor: pointer; user-select: none; -webkit-user-select: none; }
.ec-conf input { position: absolute; opacity: 0; pointer-events: none; }
.ec-conf i { flex: none; width: 26px; height: 26px; border-radius: 8px; border: 2px solid var(--linha2); display: grid; place-items: center; background: var(--card); transition: background .15s, border-color .15s, transform .2s var(--mola); }
.ec-conf i svg { opacity: 0; color: #fff; transform: scale(.4); transition: opacity .15s, transform .25s var(--mola); }
.ec-conf input:checked + i { background: var(--ok); border-color: var(--ok); transform: scale(1.06); }
.ec-conf input:checked + i svg { opacity: 1; transform: none; }
.ec-conf input:focus-visible + i { box-shadow: 0 0 0 4px var(--foco); }

/* ── pronto ──────────────────────────────────────────────────────────── */
.ec-pronto { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 10px; padding: calc(var(--topo) + 30px) 24px calc(var(--baixo) + 30px); }
.ec-pronto > * { animation: ecSobe .5s var(--mola) both; }
.ec-pronto > :nth-child(2) { animation-delay: .2s; } .ec-pronto > :nth-child(3) { animation-delay: .28s; } .ec-pronto > :nth-child(n+4) { animation-delay: .36s; }
.ec-pronto h1 { margin: 10px 0 0; font-size: 27px; font-weight: 800; letter-spacing: -.02em; }
.ec-pronto p { margin: 0; color: var(--mut); max-width: 32ch; }
.ec-pronto .ec-btn { width: 100%; max-width: 340px; }
.ec-selo { position: relative; width: 108px; height: 108px; border-radius: 50%; display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, #2BC46A, #15803D); box-shadow: 0 16px 36px rgba(21, 128, 61, .35); animation: ecPulo .55s cubic-bezier(.2, 1.4, .4, 1) both !important; }
.ec-selo::before, .ec-selo::after { content: ''; position: absolute; inset: -10px; border-radius: 50%; border: 2px solid color-mix(in srgb, var(--ok) 45%, transparent); animation: ecAnel 1.6s .3s ease-out infinite; }
.ec-selo::after { animation-delay: .9s; }
.ec-selo svg path { stroke-dasharray: 30; stroke-dashoffset: 30; animation: ecRisco .45s .3s ease-out forwards; }
.ec-selo-fila { background: linear-gradient(135deg, #4A90D9, #1F6FB2); box-shadow: 0 16px 36px rgba(31, 111, 178, .35); }
.ec-selo-fila::before, .ec-selo-fila::after { border-color: color-mix(in srgb, var(--info) 45%, transparent); }
@keyframes ecPulo { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes ecRisco { to { stroke-dashoffset: 0; } }
@keyframes ecAnel { from { transform: scale(.9); opacity: 1; } to { transform: scale(1.5); opacity: 0; } }

/* ── detalhe (folha de baixo) ────────────────────────────────────────── */
.ec-folha-fundo { position: fixed; inset: 0; z-index: 50; background: rgba(5, 10, 18, .52); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); display: flex; align-items: flex-end; justify-content: center; animation: ecFade .2s both; }
@keyframes ecFade { from { opacity: 0; } }
.ec-folha { width: 100%; min-width: 0; max-width: 560px; max-height: 92dvh; overflow: auto; background: var(--card); border-radius: 24px 24px 0 0; padding: 8px 16px calc(var(--baixo) + 18px);
  animation: ecSobeF .32s var(--mola) both; overscroll-behavior: contain; box-shadow: var(--sombra-l); }
@keyframes ecSobeF { from { transform: translateY(60px); opacity: .3; } }
.ec-folha-alca { width: 44px; height: 5px; border-radius: 9px; background: var(--linha2); margin: 4px auto 14px; }
.ec-folha h2 { margin: 0; font-size: 19px; font-weight: 800; letter-spacing: -.01em; overflow-wrap: anywhere; }
.ec-folha-img { margin: 12px 0; border-radius: 16px; overflow: hidden; background: #0E1623; max-height: 46dvh; display: grid; grid-template-columns: minmax(0, 1fr); place-items: center; }
.ec-folha-img img { max-height: 46dvh; max-width: 100%; width: auto; object-fit: contain; }
.ec-folha-topo { display: flex; align-items: center; gap: 10px; justify-content: space-between; }
.ec-folha-topo h2 { flex: 1; min-width: 0; }
.ec-folha-topo > :last-child { flex: none; }
.ec-dl { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1px; margin: 12px 0; border-radius: 14px; overflow: hidden; background: var(--linha); border: 1px solid var(--linha); }
.ec-dl div { min-width: 0; background: var(--card2); padding: 10px 12px; }
.ec-dl small { display: block; font-size: 10.5px; font-weight: 800; color: var(--mut); text-transform: uppercase; letter-spacing: .05em; }
.ec-dl b { display: block; font-size: 14px; font-weight: 700; overflow-wrap: anywhere; }
.ec-passos-ios { margin: 12px 0 16px; padding-left: 22px; display: grid; gap: 8px; color: var(--mut); }
.ec-passos-ios b { color: var(--tinta); }

/* ── toast ───────────────────────────────────────────────────────────── */
.ec-toasts { position: fixed; left: 12px; right: 12px; top: calc(var(--topo) + 10px); z-index: 90; display: flex; flex-direction: column; align-items: center; gap: 8px; pointer-events: none; }
.ec-toast { max-width: 520px; width: 100%; display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; background: rgba(15, 26, 42, .94); color: #fff; font-size: 14px; font-weight: 600;
  box-shadow: var(--sombra-l); animation: ecToast .35s var(--mola) both; pointer-events: auto; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, .08); }
@keyframes ecToast { from { opacity: 0; transform: translateY(-14px) scale(.96); } }
.ec-toast svg { margin-top: 1px; }
.ec-toast-ok svg { color: #6AE39A; } .ec-toast-bad svg { color: #FF9C8F; } .ec-toast-warn svg { color: #FFC56E; } .ec-toast-info svg { color: #7FDDF2; }

/* rodapé da tela inicial */
.ec-rodape { margin: 22px 0 4px; text-align: center; font-size: 12px; color: var(--mut2); letter-spacing: .02em; }

/* ── telas maiores ───────────────────────────────────────────────────── */
@media (min-width: 600px) {
  .ec-topo { border-radius: 0 0 28px 28px; }
  .ec-corpo { padding-left: 0; padding-right: 0; }
  .ec-folha-fundo { align-items: center; }
  .ec-folha { border-radius: 24px; }
  .ec-env { padding-left: 0; padding-right: 0; }
}
/* celular estreito (iPhone SE 1ª geração, Androids pequenos) */
@media (max-width: 400px) { .ec-foto-seta { display: none; } .ec-foto-tx b { font-size: 17px; } }
@media (max-width: 359px) {
  .ec-corpo, .ec-env { padding-left: 10px; padding-right: 10px; }
  .ec-dois { grid-template-columns: 1fr; }
  .ec-foto { gap: 12px; padding: 14px; min-height: 88px; }
  .ec-foto-ic { width: 48px; height: 48px; border-radius: 14px; }
  .ec-foto-tx b { font-size: 16.5px; }
  .ec-foto-seta { display: none; }
  .ec-tile { padding: 10px; gap: 8px; }
  .ec-tile-ic { width: 34px; height: 34px; }
  .ec-item { grid-template-columns: 38px minmax(0, 1fr) auto; gap: 10px; padding: 10px; }
  .ec-item-ic { width: 38px; height: 38px; }
}
@media (prefers-reduced-motion: reduce) { .ec-topo::before, .ec-topo::after, .ec-foto::after, .ec-btn-p::after, .ec-status-ia, .ec-ia-orb, .ec-ia-orb svg, .ec-foto-ic { animation: none !important; } }

/* 1.1.2 · efeitos da tela inicial */
.ec-foto-ic { animation: ecRespira 2.8s ease-in-out infinite; }
@keyframes ecRespira { 0%, 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .35); } 50% { box-shadow: 0 0 0 8px rgba(255, 255, 255, 0); } }
.ec-tile, .ec-resumo, .ec-res-n { transition: transform .16s var(--mola), box-shadow .2s, border-color .2s; }
@media (hover: hover) { .ec-tile:hover, .ec-foto:hover { transform: translateY(-2px); box-shadow: var(--sombra2, 0 10px 24px rgba(15, 30, 60, .12)); } }
.ec-tile:active .ec-tile-ic { transform: scale(.9); }
.ec-tile-ic { transition: transform .16s var(--mola); }
.ec-resumo { animation: ecSobe .5s var(--mola) both; }
.ec-res-n { animation: ecPop .45s var(--mola) both; }
.ec-res-n:nth-child(2) { animation-delay: .08s; }
@keyframes ecPop { from { opacity: 0; transform: scale(.85); } to { opacity: 1; transform: none; } }
/* 1.1.2 · localização do envio */
.ec-geo { display: flex; align-items: center; gap: 6px; margin: 0 2px; font-size: 12px; font-weight: 600; color: var(--mut); line-height: 1.3; }
.ec-geo svg { flex: none; }
.ec-geo-ok { color: var(--ok); }
.ec-geo-bad { color: var(--warn); }
.ec-geo-busca svg { animation: ecPinga 1.1s ease-in-out infinite; }
@keyframes ecPinga { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
/* 1.1.3 · foto repetida */
.ec-status-rep { animation: ecSobe .35s var(--mola) both, ecTreme .4s ease-in-out .35s 1; }
@keyframes ecTreme { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
/* 1.2.0 · acesso pessoal: link, senha e digital */
.ec-ac { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 26px 18px 22px; }
.ec-ac-ic { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--ciano), var(--ciano2)); box-shadow: 0 10px 24px color-mix(in srgb, var(--ciano) 35%, transparent); animation: ecPop .45s var(--mola) both; }
.ec-ac-dig { width: 84px; height: 84px; border-radius: 26px; }
.ec-ac-t { font-size: 19px; font-weight: 800; letter-spacing: -.01em; line-height: 1.25; }
.ec-ac-p { margin: 0; max-width: 34ch; font-size: 14px; line-height: 1.45; color: var(--mut); }
.ec-ac-erro { margin: 0; min-height: 20px; font-size: 13.5px; font-weight: 600; color: var(--bad); }
.ec-ac .ec-btn-l { width: 100%; }
.ec-ac .ec-link { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; padding: 8px 4px; }
.ec-ac-esq { color: var(--mut) !important; font-weight: 600 !important; font-size: 13px !important; }
.ec-pin { width: 100%; max-width: 300px; display: flex; flex-direction: column; align-items: center; gap: 22px; margin-top: 6px; }
.ec-pin-pts { display: flex; gap: 18px; }
.ec-pin-pts i { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--linha2, var(--linha)); transition: background .15s, border-color .15s, transform .15s var(--mola); }
.ec-pin-pts i.on { background: var(--ciano2); border-color: var(--ciano2); transform: scale(1.15); }
.ec-pin-erro { animation: ecTreme .4s ease-in-out 1; }
.ec-pin-erro i { border-color: var(--bad) !important; }
.ec-pin-tec { width: 100%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.ec-pin-tec button { height: 62px; border-radius: 18px; border: 1px solid var(--linha); background: var(--card2); color: var(--tinta); font: inherit; font-size: 25px; font-weight: 700; display: grid; place-items: center; cursor: pointer; transition: transform .1s, background .15s; -webkit-tap-highlight-color: transparent; }
.ec-pin-tec button:active { transform: scale(.92); background: var(--ciano-bg); border-color: var(--ciano); }
.ec-pin-tec button[data-n="x"] { background: transparent; border-color: transparent; color: var(--mut); }
.ec-pin-ocupado { opacity: .55; pointer-events: none; }
.ec-dig-btn { width: 112px; height: 112px; border-radius: 50%; border: 0; display: grid; place-items: center; color: #fff; cursor: pointer; margin: 4px 0 6px;
  background: radial-gradient(circle at 30% 25%, color-mix(in srgb, var(--ciano) 80%, #fff), var(--ciano2)); box-shadow: 0 14px 34px color-mix(in srgb, var(--ciano) 40%, transparent); animation: ecPop .5s var(--mola) both, ecRespiraD 2.6s ease-in-out .5s infinite; transition: transform .15s; }
.ec-dig-btn:active { transform: scale(.94); }
.ec-dig-lendo { animation: ecPulsa 1s ease-out infinite; }
.ec-dig-ok { background: var(--ok) !important; animation: ecPop .3s var(--mola) both !important; }
@keyframes ecRespiraD { 0%, 100% { box-shadow: 0 14px 34px color-mix(in srgb, var(--ciano) 40%, transparent), 0 0 0 0 color-mix(in srgb, var(--ciano) 35%, transparent); } 50% { box-shadow: 0 14px 34px color-mix(in srgb, var(--ciano) 40%, transparent), 0 0 0 14px transparent; } }
.ec-menu { display: flex; flex-direction: column; gap: 8px; margin: 14px 0; }
.ec-menu-i { display: flex; align-items: center; gap: 12px; width: 100%; padding: 13px 14px; border: 1px solid var(--linha); border-radius: 14px; background: var(--card2); color: var(--tinta); font: inherit; text-align: left; cursor: pointer; }
.ec-menu-i > svg { flex: none; color: var(--ciano2); }
.ec-menu-i span { display: flex; flex-direction: column; min-width: 0; }
.ec-menu-i b { font-size: 14.5px; }
.ec-menu-i i { font-style: normal; font-size: 12.5px; color: var(--mut); }
.ec-menu-bad > svg, .ec-menu-bad b { color: var(--bad); }

/* 1.3.0 · menu "Qual cartão?" e parcelas */
.ec-cartao { display: flex; flex-direction: column; gap: 12px; }
.ec-cartao .ec-campo { margin: 0; }
.ec-cartoes .ec-chip i { font-style: normal; font-size: 12px; font-weight: 700; color: var(--mut); letter-spacing: .04em; }
.ec-cartoes .ec-chip[aria-pressed="true"] i { color: inherit; opacity: .85; }
.ec-chip-outro { border-style: dashed; }
.ec-parc select { max-width: 200px; }
