/* v60 — aba "Endereços" no cadastro do cliente (prefixo aen-) */
.app-modal__body.aen-on > :not(.acai-end-slot) { display: none !important; }
.aen-abas { display: flex; gap: 6px; border-bottom: 1px solid var(--border, #e7e4f0); margin: -4px 0 16px; }
.aen-abas button { border: 0; background: none; padding: 9px 14px; font-weight: 600; font-size: 14px; color: var(--ink-soft, #6b6478); border-bottom: 3px solid transparent; margin-bottom: -1px; display: inline-flex; align-items: center; gap: 6px; }
.aen-abas button[aria-selected="true"] { color: var(--purple, #7c2fcf); border-bottom-color: var(--purple, #7c2fcf); font-weight: 700; }
.aen-abas button:focus-visible { outline: 2px solid var(--purple, #7c2fcf); outline-offset: 2px; border-radius: 6px; }
.aen-n { background: #efe3fb; color: #4c1a6b; font-size: 12px; padding: 1px 8px; border-radius: 999px; }
.aen-painel { display: flex; flex-direction: column; gap: 10px; }
.aen-sub { margin: 0; font-size: 13px; color: var(--ink-soft, #6b6478); }
.aen-vazio { border: 1px dashed #d9cfe6; border-radius: 14px; padding: 14px; font-size: 14px; color: var(--ink-soft, #6b6478); text-align: center; }
.aen-card { border: 1px solid var(--border, #e7e4f0); border-radius: 14px; padding: 12px 14px; display: flex; gap: 12px; align-items: flex-start; }
.aen-card--pri { border: 2px solid var(--purple, #7c2fcf); background: #fbf8ff; }
.aen-ic { color: var(--ink-soft, #6b6478); flex: none; margin-top: 2px; }
.aen-card--pri .aen-ic { color: var(--purple, #7c2fcf); }
.aen-tx { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 3px; font-size: 14px; overflow-wrap: anywhere; }
.aen-tx small { color: var(--ink-soft, #6b6478); font-size: 12.5px; }
.aen-tit { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.aen-tag { font-size: 10.5px; font-weight: 700; color: #fff; background: var(--purple, #7c2fcf); padding: 2px 8px; border-radius: 999px; letter-spacing: .02em; }
.aen-tag--on { color: #168a48; background: #e6f8ec; }
.aen-link { border: 0; background: none; padding: 2px 0; color: var(--purple, #7c2fcf); font-weight: 600; font-size: 13px; align-self: flex-start; }
.aen-link:hover { text-decoration: underline; }
.aen-bts { display: flex; gap: 6px; flex: none; }
.aen-bt { width: 38px; height: 38px; border: 1px solid var(--border, #e7e4f0); border-radius: 10px; background: #fff; display: inline-flex; align-items: center; justify-content: center; color: #4c1a6b; padding: 0; }
.aen-bt svg { width: 17px; height: 17px; }
.aen-bt:hover { background: #f6f2fb; }
.aen-bt--x { color: #c2334d; }
.aen-add { border: 1.5px dashed #c8b8d8; background: #fff; border-radius: 14px; padding: 12px; font-weight: 700; font-size: 14px; color: var(--purple, #7c2fcf); display: flex; gap: 8px; align-items: center; justify-content: center; }
.aen-add:hover { background: #fbf8ff; }
.aen-dica { margin: 0; font-size: 12.5px; color: var(--ink-soft, #6b6478); }
.aen-form { display: flex; flex-direction: column; }
.aen-ft { font-family: Poppins, sans-serif; font-size: 16px; margin-bottom: 12px; }
.aen-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.aen-chip { border: 1px solid var(--border, #e7e4f0); background: #fff; color: var(--ink, #261238); border-radius: 999px; padding: 7px 14px; font-weight: 600; font-size: 13px; min-height: 36px; }
.aen-chip[aria-pressed="true"] { background: var(--purple, #7c2fcf); border-color: var(--purple, #7c2fcf); color: #fff; }
.aen-dois { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.aen-chk { display: flex; gap: 10px; align-items: center; font-size: 14px; margin-bottom: 8px; }
.aen-chk input { width: 18px; height: 18px; accent-color: var(--purple, #7c2fcf); }
.aen-erro { color: #b4233c; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.aen-fbts { display: flex; justify-content: flex-end; gap: 8px; margin-top: 6px; }
input[aria-invalid="true"].form-control { border-color: #c2334d; }
/* coluna "Endereço" da lista */
.acai-end-td small { display: block; }
@media (max-width: 520px) {
  .aen-dois { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .aen-card { display: grid; grid-template-columns: auto minmax(0, 1fr); }
  .aen-bts { grid-column: 1 / -1; justify-content: flex-end; }
}
