.prep-enviar-overlay {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(15, 23, 42, 0.55);
}

.prep-enviar-box {
  width: min(520px, 94vw);
  background: #fff;
  color: #273142;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.28);
}

.prep-enviar-box .ui-modal__header {
  padding: 16px 18px 0;
}

.prep-enviar-box .ui-title,
.prep-enviar-box .ui-modal__close,
.prep-enviar-lead,
.prep-enviar-lead strong,
.prep-enviar-opcao-txt strong,
.prep-enviar-progresso-top strong {
  color: #273142;
}

.prep-enviar-box .ui-modal__body {
  padding: 14px 18px 8px;
  gap: 12px;
}

.prep-enviar-box .ui-modal__actions {
  padding: 8px 18px 16px;
}

.prep-enviar-box .ui-modal__actions:empty {
  display: none;
}

.prep-enviar-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 10px 12px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #273142;
  font-size: 13px;
  font-weight: 700;
}

.prep-enviar-flow i {
  color: #667085;
  font-size: 12px;
}

.prep-enviar-lead {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: #273142;
}

.prep-enviar-opcoes {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.prep-enviar-opcao {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  text-align: left;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  background: #fff;
  color: #273142;
  cursor: pointer;
}

.prep-enviar-opcao:hover {
  border-color: #059669;
  background: #f0fdf4;
}

.prep-enviar-opcao-ico {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ecfdf5;
  color: #047857;
  font-size: 16px;
}

.prep-enviar-opcao-txt {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.prep-enviar-opcao-txt strong {
  font-size: 14px;
}

.prep-enviar-opcao-txt small,
.prep-enviar-nota,
.prep-enviar-progresso-top span,
.prep-enviar-resumo {
  color: #667085;
  font-size: 12px;
  line-height: 1.4;
}

.prep-enviar-nota {
  margin: 0;
}

.prep-enviar-erro {
  margin: 0;
  color: #b91c1c;
  font-size: 13px;
}

.prep-enviar-progresso-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
  margin-bottom: 8px;
}

.prep-enviar-progresso-top strong {
  font-size: 13px;
  text-align: right;
}

.prep-enviar-trilho {
  height: 8px;
  border-radius: 999px;
  background: #e2e8f0;
  overflow: hidden;
}

.prep-enviar-trilho > div {
  height: 100%;
  background: #059669;
  border-radius: 999px;
}

.prep-enviar-resumo {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.prep-enviar-resumo .ok { color: #166534; font-weight: 700; }
.prep-enviar-resumo .erro { color: #b91c1c; font-weight: 700; }

.prep-enviar-lista {
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
  max-height: 240px;
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.prep-enviar-lista li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  padding: 8px 10px;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  font-size: 13px;
  line-height: 1.4;
  color: #273142;
}

.prep-enviar-lista .ok i { color: #166534; margin-top: 2px; }
.prep-enviar-lista .erro {
  color: #273142;
  background: #fef2f2;
  border-color: #fecaca;
}
.prep-enviar-lista .erro i { color: #b91c1c; margin-top: 2px; }

.prep-enviar-lista-topo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: #273142;
  font-size: 13px;
  font-weight: 700;
}

.prep-enviar-escolha {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 240px;
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.prep-enviar-escolha li {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 8px 10px;
  color: #273142;
}

.prep-enviar-escolha .prep-enviar-check {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: #273142;
}

.prep-enviar-escolha .prep-enviar-check span {
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: #273142;
}

.prep-enviar-escolha .prep-enviar-check small {
  color: #667085;
  font-size: 12px;
}

.prep-enviar-check {
  display: inline-flex;
  align-items: center;
  margin-right: 8px;
}

.prep-enviar-check input {
  width: 18px;
  height: 18px;
  accent-color: #059669;
  cursor: pointer;
}

.prep-enviar-bar {
  position: sticky;
  bottom: 12px;
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #1e293b;
  color: #e2e8f0;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.prep-enviar-bar[hidden] { display: none !important; }
