/* nv-descarga-correo.css — correo para descargar el PDF de una norma del SII (7-oct-2026).
 * La lógica vive en /js/nv-descarga-correo.js. Mismo velo y panel que el popup Pro de descarga
 * (nv-popup-descarga-oficio.css). Cero hex: tokens de /assets/tokens.css.
 */
.nv-dlgate-ov {
  position: fixed;
  inset: 0;
  z-index: 100001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: var(--oc-scrim);
  box-sizing: border-box;
  opacity: 0;
  transition: opacity var(--oc-dur) var(--oc-ease-out);
}
.nv-dlgate-ov.is-open { opacity: 1; }

.nv-dlgate {
  position: relative;
  width: 100%;
  max-width: 440px;
  padding: 26px 28px 22px;
  background: var(--oc-surface);
  border-radius: var(--oc-r-lg);
  box-shadow: var(--oc-shadow-lg);
  font-family: var(--oc-font-sans);
  text-align: left;
  box-sizing: border-box;
  transform: translateY(10px);
  transition: transform var(--oc-dur) var(--oc-ease-out);
}
.nv-dlgate-ov.is-open .nv-dlgate { transform: none; }

.nv-dlgate-x {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border: 1px solid var(--oc-line-2);
  border-radius: var(--oc-r-circle);
  background: var(--oc-surface);
  color: var(--oc-body);
  font-family: var(--oc-font-sans);
  font-size: 19px;
  line-height: 1;
  cursor: pointer;
  transition: background var(--oc-dur) var(--oc-ease);
}
.nv-dlgate-x:hover { background: var(--oc-bg); }
.nv-dlgate-x:focus-visible { outline: 2px solid var(--oc-focus); outline-offset: 2px; }

.nv-dlgate-eyebrow {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 8px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--oc-mute);
}
.nv-dlgate-eyebrow svg { width: 14px; height: 14px; }

.nv-dlgate-t {
  margin: 0 40px 8px 0;
  font-family: var(--oc-font-serif);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--oc-ink);
  text-wrap: balance;
}
.nv-dlgate-sub { margin: 0 0 16px; font-size: 14.5px; line-height: 1.55; color: var(--oc-body); }
.nv-dlgate-sub b { font-weight: 600; color: var(--oc-ink); }

.nv-dlgate-form { display: flex; flex-wrap: wrap; gap: 8px; }
.nv-dlgate-in {
  flex: 1 1 200px;
  min-width: 0;
  padding: 10px 12px;
  font: inherit;
  font-size: 14px;
  color: var(--oc-body);
  background: var(--oc-surface);
  border: 1px solid var(--oc-line-2);
  border-radius: var(--oc-r);
  transition: border-color var(--oc-dur-fast) var(--oc-ease);
}
.nv-dlgate-in:focus-visible { outline: 2px solid var(--oc-focus); outline-offset: 1px; border-color: var(--oc-focus); }
.nv-dlgate-btn {
  flex: 0 0 auto;
  padding: 10px 18px;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--oc-surface);
  background: var(--oc-navy);
  border: 1px solid var(--oc-navy);
  border-radius: var(--oc-r);
  cursor: pointer;
  transition: background var(--oc-dur-fast) var(--oc-ease);
}
.nv-dlgate-btn:hover { background: var(--oc-navy-500); border-color: var(--oc-navy-500); }
.nv-dlgate-btn:active { transform: translateY(1px); }
.nv-dlgate-btn:focus-visible { outline: 2px solid var(--oc-focus); outline-offset: 2px; }

.nv-dlgate-msg { margin: 10px 0 0; font-size: 12.5px; line-height: 1.4; color: var(--oc-mute); }
.nv-dlgate-msg a { color: inherit; }
.nv-dlgate-msg.is-error { color: var(--oc-bad-strong); }

.nv-dlgate-pro {
  margin: 14px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--oc-line);
  font-size: 13px;
  color: var(--oc-mute);
}
.nv-dlgate-pro a { color: var(--oc-navy); font-weight: 600; }

@media (max-width: 640px) {
  .nv-dlgate-ov { align-items: flex-end; padding: 0; }
  .nv-dlgate { max-width: none; border-radius: var(--oc-r-lg) var(--oc-r-lg) 0 0; padding: 22px 18px 20px; }
  .nv-dlgate-btn { flex: 1 1 100%; }
}
