/* Mandatory e-mail verification screen (Brevo directive, 14 November 2026). Shared by index.html and nexus.html. */
.ev-dialog {
  --ev-navy: #0a2540; --ev-navy-2: #123a63; --ev-gold: #d4a017; --ev-ink: #1b2a3a; --ev-muted: #5b6b7c; --ev-line: #dbe3ee; --ev-bg: #ffffff; --ev-soft: #f3f6fb; --ev-error: #b42318;
  border: 0; padding: 0; width: 100vw; height: 100vh; max-width: 100vw; max-height: 100vh; margin: 0; background: transparent; color: var(--ev-ink);
  font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}
.ev-dialog::backdrop { background: radial-gradient(circle at 20% 10%, #16426e 0%, #071a2e 60%, #04101d 100%); }
@media (prefers-color-scheme: dark) {
  .ev-dialog { --ev-ink: #e6edf5; --ev-muted: #a9b7c6; --ev-line: #2a3d52; --ev-bg: #0f1d2c; --ev-soft: #15263a; --ev-error: #ff8a80; }
}
.ev-shell { min-height: 100%; display: grid; grid-template-columns: minmax(280px, 420px) minmax(320px, 520px); justify-content: center; align-content: center; gap: 0; padding: 32px 16px; box-sizing: border-box; }
.ev-shell-success { grid-template-columns: minmax(300px, 560px); }
.ev-brand { background: linear-gradient(150deg, var(--ev-navy) 0%, var(--ev-navy-2) 100%); color: #fff; padding: 40px 36px; border-radius: 20px 0 0 20px; position: relative; overflow: hidden; }
.ev-brand::after { content: ''; position: absolute; inset: auto -60px -60px auto; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(212, 160, 23, .28), transparent 70%); }
.ev-brand-mark { font-size: 22px; font-weight: 800; letter-spacing: .4px; }
.ev-brand-mark span { color: var(--ev-gold); }
.ev-shield { margin: 34px 0 14px; }
.ev-shield-body { fill: rgba(255, 255, 255, .08); stroke: var(--ev-gold); stroke-width: 2.5; }
.ev-shield-tick { fill: none; stroke: #fff; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.ev-brand h2 { margin: 0 0 10px; font-size: 24px; }
.ev-brand p { margin: 0 0 18px; color: #cfdbea; line-height: 1.6; font-size: 14.5px; }
.ev-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 14px; }
.ev-points li { padding-left: 26px; position: relative; color: #e8eff7; }
.ev-points li::before { content: '✓'; position: absolute; left: 0; top: 0; width: 18px; height: 18px; border-radius: 50%; background: var(--ev-gold); color: var(--ev-navy); font-size: 11px; font-weight: 800; display: grid; place-items: center; }
.ev-card { background: var(--ev-bg); padding: 40px 40px 28px; border-radius: 0 20px 20px 0; box-shadow: 0 30px 80px rgba(0, 0, 0, .35); display: flex; flex-direction: column; }
.ev-shell-success .ev-card { border-radius: 20px; text-align: center; align-items: center; }
.ev-steps { list-style: none; display: flex; gap: 8px; padding: 0; margin: 0 0 22px; font-size: 12.5px; color: var(--ev-muted); flex-wrap: wrap; }
.ev-steps li { display: flex; align-items: center; gap: 6px; }
.ev-steps li + li::before { content: ''; width: 18px; height: 1px; background: var(--ev-line); margin-right: 2px; }
.ev-steps span { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--ev-line); font-weight: 700; font-size: 11px; }
.ev-steps li.on { color: var(--ev-ink); font-weight: 600; }
.ev-steps li.on span { background: var(--ev-navy); border-color: var(--ev-navy); color: #fff; }
.ev-steps li.done span { background: var(--ev-gold); border-color: var(--ev-gold); color: var(--ev-navy); }
.ev-eyebrow { margin: 0 0 6px; font-size: 12px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--ev-gold); font-weight: 700; }
.ev-card h1 { margin: 0 0 10px; font-size: 26px; line-height: 1.25; color: var(--ev-ink); }
.ev-lead { margin: 0 0 20px; color: var(--ev-muted); line-height: 1.6; }
.ev-card p { line-height: 1.6; }
.ev-form { display: grid; gap: 14px; }
.ev-field { display: grid; gap: 6px; font-size: 13.5px; font-weight: 600; }
.ev-field em { font-weight: 400; color: var(--ev-muted); font-style: normal; }
.ev-field input { font: inherit; font-weight: 400; font-size: 16px; padding: 13px 14px; border-radius: 12px; border: 1px solid var(--ev-line); background: var(--ev-soft); color: var(--ev-ink); outline: none; transition: border-color .15s, box-shadow .15s; }
.ev-field input:focus { border-color: var(--ev-navy-2); box-shadow: 0 0 0 4px rgba(18, 58, 99, .15); background: var(--ev-bg); }
.ev-code { text-align: center; font-family: 'Courier New', Consolas, monospace !important; font-size: 30px !important; letter-spacing: 14px; padding-left: 28px !important; font-weight: 700 !important; }
.ev-hint { margin: -4px 0 0; font-size: 12.5px; color: var(--ev-muted); }
.ev-error { margin: 0; min-height: 1.2em; color: var(--ev-error); font-size: 13.5px; }
.ev-notice { margin: -8px 0 16px; padding: 10px 12px; border-radius: 10px; background: #edf7ee; color: #1e5c2b; font-size: 13.5px; }
.ev-primary { font: inherit; font-weight: 700; font-size: 15px; padding: 14px 18px; border-radius: 12px; border: 0; cursor: pointer; color: #fff; background: linear-gradient(135deg, var(--ev-navy), var(--ev-navy-2)); box-shadow: 0 10px 24px rgba(10, 37, 64, .25); }
.ev-primary:hover:not(:disabled) { filter: brightness(1.08); }
.ev-primary:disabled { opacity: .65; cursor: progress; }
.ev-danger { background: linear-gradient(135deg, #7a1b12, #b42318); }
.ev-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.ev-secondary { font: inherit; font-size: 14px; padding: 10px 14px; border-radius: 10px; border: 1px solid var(--ev-line); background: transparent; color: var(--ev-ink); cursor: pointer; }
.ev-secondary:disabled { color: var(--ev-muted); cursor: default; }
.ev-link { font: inherit; font-size: 13.5px; background: none; border: 0; padding: 0; color: var(--ev-navy-2); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
@media (prefers-color-scheme: dark) { .ev-link { color: #8fb8e6; } }
.ev-foot { margin-top: auto; padding-top: 24px; display: flex; gap: 10px; align-items: center; color: var(--ev-muted); font-size: 13px; flex-wrap: wrap; }
.ev-help { margin-top: 10px; padding: 12px 14px; border-radius: 12px; background: var(--ev-soft); font-size: 13.5px; color: var(--ev-muted); }
.ev-help a { color: inherit; }
.ev-seal { margin: 6px 0 14px; }
.ev-seal-ring { fill: rgba(212, 160, 23, .12); stroke: var(--ev-gold); stroke-width: 3; }
.ev-seal-tick { fill: none; stroke: var(--ev-navy-2); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 60; stroke-dashoffset: 60; animation: ev-draw .7s .2s ease-out forwards; }
@media (prefers-color-scheme: dark) { .ev-seal-tick { stroke: #8fb8e6; } }
.ev-success .ev-steps { justify-content: center; }
.ev-welcome { font-weight: 700; color: var(--ev-ink); }
.ev-success .ev-primary { margin-top: 10px; min-width: 260px; }
@keyframes ev-draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .ev-seal-tick { animation: none; stroke-dashoffset: 0; } }
@media (max-width: 820px) {
  .ev-shell { grid-template-columns: minmax(0, 560px); padding: 16px; align-content: start; }
  .ev-brand { border-radius: 18px 18px 0 0; padding: 24px 22px; }
  .ev-brand p, .ev-points, .ev-shield { display: none; }
  .ev-brand h2 { margin: 6px 0 0; font-size: 18px; }
  .ev-card { border-radius: 0 0 18px 18px; padding: 26px 22px 22px; }
  .ev-card h1 { font-size: 22px; }
}
