/* Canal v2: aviso de analise e aviso de divergencia no resumo. */
.v2-opcoes { padding: 16px 24px 32px; display: flex; flex-direction: column; gap: 16px; }
.v2-erro { color: var(--red); font-size: 13px; margin: 0; }
.v2-aviso-texto { margin: 0; color: var(--text-medium); line-height: 1.65; }
/* Aviso de divergencia no resumo (etapa8): a Offer oficial saiu pior que a simulacao. */
.v2-divergencia { display: grid; gap: 4px; margin: 0 0 14px; padding: 12px 14px; border-radius: var(--r-md);
  background: var(--card-yellow-bg); border: 1px solid var(--card-yellow-border); font-size: 13px; line-height: 1.5; }
.v2-divergencia strong { font-size: 14px; }
/* BUG-04: o display de .btn anulava o atributo hidden. */
.v2-opcoes [hidden] { display: none !important; }

/* ── Telas do v2 conforme o prototipo do UX "Tamu · Receber mais dinheiro" (spec 7.0) ───────────── */
.v2p { background: #010326; color: #ffffff; font-family: Poppins, sans-serif; display: flex; flex-direction: column; }
.v2p-topo { display: flex; align-items: center; padding: 8px 24px; flex-shrink: 0; }
.v2p-topo .v2p-voltar { margin-left: -12px; margin-right: 4px; }
.v2p-logo { background: none; border: 0; padding: 0; color: #ebf227; display: inline-flex; cursor: pointer; }
.v2p-logo svg { height: 30px; width: auto; }
.v2p-ola { margin: 0; font-weight: 700; font-size: 22px; line-height: 28px; }
.v2p-rotulo { margin: 0; font-weight: 700; font-size: 11px; line-height: 16px; letter-spacing: 1.32px; }
.v2p-rotulo--suave { color: rgba(255,255,255,0.6); }
.v2p-carregando { color: rgba(255,255,255,0.6); font-size: 13px; margin: 0; }
/* [D-CAN-V2-LOADING] carregamento visivel: spinner + texto + esqueleto */
.v2p-loading { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px;
  background: rgba(235,242,39,0.06); border: 1px solid rgba(235,242,39,0.22); }
.v2p-loading-spinner { width: 26px; height: 26px; flex-shrink: 0; border-radius: 50%;
  border: 3px solid rgba(235,242,39,0.25); border-top-color: #ebf227; animation: spin 0.8s linear infinite; }
.v2p-loading-titulo { margin: 0; color: #fff; font-size: 15px; font-weight: 600; line-height: 20px; }
.v2p-loading-sub { margin: 2px 0 0; color: rgba(255,255,255,0.65); font-size: 12px; line-height: 17px; }
@keyframes v2p-skel-pulse { 0%, 100% { opacity: 0.45; } 50% { opacity: 0.9; } }
.v2p-skel { border-radius: 14px; background: rgba(255,255,255,0.07); animation: v2p-skel-pulse 1.4s ease-in-out infinite; }
.v2p-skel-campo { height: 56px; margin-top: 16px; }
.v2p-skel-botao { height: 52px; margin-top: 12px; border-radius: 16px; }
.v2p-skel-card { height: 92px; margin-top: 12px; }
@media (prefers-reduced-motion: reduce) {
  .v2p-loading-spinner, .v2p-skel { animation: none; }
}
.v2p-aviso-topo { margin: 0; padding: 10px 12px; border-radius: 14px; border: 1px solid rgba(227,202,15,0.6);
  background: rgba(227,202,15,0.08); color: #e3ca0f; font-size: 12px; line-height: 17px; }
/* tela 1 */
.v2p-valor { flex: 1; display: flex; flex-direction: column; gap: 40px; padding: 48px 24px; }
.v2p-campo-area { display: flex; flex-direction: column; gap: 8px; }
.v2p-campo { display: flex; align-items: center; gap: 10px; padding: 16px 20px; border-radius: 14px; border: 1px solid rgba(255,255,255,0.25); }
.v2p-campo.is-fora { border-color: rgba(227,202,15,0.6); }
.v2p-rs { font-weight: 700; font-size: 22px; line-height: 28px; color: rgba(255,255,255,0.45); }
.v2p-input { background: transparent; border: 0; outline: none; color: #ffffff; font: 700 32px/38px Poppins, sans-serif; width: 100%; min-width: 0; padding: 0; }
.v2p-input::placeholder { color: rgba(255,255,255,0.3); }
.v2p-faixa { margin: 0; font-size: 12px; line-height: 17px; color: rgba(255,255,255,0.6); }
.v2p-faixa.is-fora { color: #e3ca0f; }
.v2p-botao { height: 52px; width: 100%; border: 0; border-radius: 12px; background: #ebf227; color: #010326;
  font: 700 16px/22px Poppins, sans-serif; cursor: pointer; transition: opacity .2s; }
.v2p-campo-area .v2p-botao { margin-top: 32px; }
.v2p-botao:disabled { opacity: .4; cursor: not-allowed; }
.v2p-botao:focus-visible, .v2p-oferta:focus-visible, .v2p-switch:focus-visible, .v2p-logo:focus-visible, .v2p-check:focus-visible { outline: 2px solid #ebf227; outline-offset: 2px; }
/* tela 2 */
.v2p-corpo { display: flex; flex-direction: column; align-items: stretch; gap: 24px; padding: 16px 24px 24px; }
.v2p-atendente { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 16px; border-radius: 8px;
  background: #1db954; color: #ffffff; text-decoration: none; font-weight: 600; font-size: 18px; line-height: 24px; }
.v2p-bloco { display: flex; flex-direction: column; gap: 8px; }
.v2p-protegido { display: flex; flex-direction: column; gap: 12px; padding: 14px 16px; border: 1px solid rgba(255,255,255,0.08); border-radius: 14px; }
.v2p-protegido-linha { display: flex; align-items: center; gap: 12px; }
.v2p-protegido-texto { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; padding: 2px 0; }
.v2p-protegido-titulo { font-weight: 600; font-size: 15px; line-height: 22px; }
.v2p-protegido-sub { font-size: 12px; line-height: 17px; color: rgba(255,255,255,0.6); }
.v2p-switch { position: relative; width: 48px; height: 28px; flex-shrink: 0; border: 0; padding: 0; border-radius: 999px; background: #5c5e7a; cursor: pointer; transition: background .2s; }
.v2p-switch span { position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #010326; transition: left .2s; }
.v2p-switch.is-on { background: #ebf227; }
.v2p-switch.is-on span { left: 23px; }
.v2p-aviso { display: flex; align-items: flex-start; gap: 10px; padding: 8px 12px; border: 1px solid rgba(227,202,15,0.6); border-radius: 14px;
  background: rgba(227,202,15,0.08); color: #e3ca0f; }
.v2p-aviso svg { flex-shrink: 0; margin-top: 1px; }
.v2p-aviso p { margin: 0; flex: 1; font-size: 12px; line-height: 17px; }
.v2p-lista { display: flex; flex-direction: column; gap: 12px; }
.v2p-oferta-wrap { position: relative; }
.v2p-oferta { width: 100%; display: flex; flex-direction: column; gap: 8px; text-align: left; color: #ffffff; border-radius: 20px;
  padding: 12px 16px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); font-family: inherit; cursor: pointer; }
.v2p-oferta.is-selected { padding: 16px; background: rgba(235,242,39,0.08); border-color: #ebf227; }
.v2p-oferta-topo { display: flex; align-items: center; gap: 12px; padding: 4px 0; }
.v2p-radio { width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center; border: 1.5px solid rgba(255,255,255,0.35); }
.v2p-radio span { width: 10px; height: 10px; border-radius: 50%; }
.v2p-oferta.is-selected .v2p-radio { border-color: #ebf227; }
.v2p-oferta.is-selected .v2p-radio span { background: #ebf227; }
.v2p-oferta-valor { font-weight: 700; font-size: 22px; line-height: 28px; white-space: nowrap; }
.v2p-oferta.is-selected .v2p-oferta-valor { font-size: 28px; line-height: 34px; }
.v2p-rs-mini { color: rgba(255,255,255,0.6); }
.v2p-oferta-parcelas { display: flex; flex-direction: column; gap: 2px; }
.v2p-oferta-rotulo { font-size: 12px; line-height: 17px; color: rgba(255,255,255,0.6); }
.v2p-oferta-parcela { font-weight: 700; font-size: 14px; line-height: 22px; }
.v2p-selo { position: absolute; top: -11px; left: 50%; transform: translateX(-50%); padding: 2px 8px; border-radius: 999px;
  background: #ebf227; color: #010326; font-weight: 600; font-size: 10px; line-height: 16px; letter-spacing: .4px; white-space: nowrap; pointer-events: none; }
.v2p-meta { display: flex; gap: 35px; font-size: 13px; line-height: 19px; }
.v2p-meta > div { flex: 1; display: flex; flex-direction: column; padding: 4px 0; }
.v2p-meta span { color: rgba(255,255,255,0.6); }
.v2p-meta strong { font-weight: 600; color: rgba(255,255,255,0.45); }
.v2p-meta .v2p-meta-dir { align-items: flex-end; }
.v2p-vazio { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 16px 0; text-align: center; }
.v2p-vazio-titulo { margin: 0; font-weight: 600; font-size: 18px; line-height: 24px; }
.v2p-vazio-texto { margin: 0; max-width: 317px; font-size: 12px; line-height: 17px; color: rgba(255,255,255,0.6); }
.v2p-link { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 16px 12px; border: 0; background: none;
  color: #ebf227; text-decoration: none; font: 600 18px/24px Poppins, sans-serif; cursor: pointer; }
.v2p-erro { margin: 0; color: #ff8f8f; font-size: 13px; }
.v2p-rodape { flex-shrink: 0; display: flex; flex-direction: column; gap: 12px; padding: 16px 24px 20px; border-top: 1px solid rgba(255,255,255,0.08); background: #010326; }
.v2p-check { appearance: none; -webkit-appearance: none; margin: 0; width: 22px; height: 22px; flex-shrink: 0; border: 1.5px solid rgba(255,255,255,0.35);
  border-radius: 6px; background: transparent; cursor: pointer; display: grid; place-content: center; }
.v2p-check:checked { background: #ebf227; border-color: #ebf227; }
.v2p-check:checked::after { content: ""; width: 6px; height: 11px; border: solid #010326; border-width: 0 2.5px 2.5px 0; transform: translate(0,-1px) rotate(45deg); }
.v2p [hidden], .v2p-rodape [hidden] { display: none !important; }
.v2p-vazio-texto strong { color: rgba(255,255,255,0.85); font-weight: 700; }
/* QA2 (fidelidade ao prototipo): atendente na largura do conteudo, meta colada a lista, respiro inferior de 16px. */
.v2p-atendente { align-self: center; }
.v2p-meta { margin-top: -12px; }
.v2p-corpo { padding-bottom: 16px; }
.v2p-erro-area { display: flex; flex-direction: column; align-items: flex-start; gap: 0; }
.v2p-link--pequeno { padding: 6px 0; font-size: 14px; line-height: 20px; }
