/* Email confirmation uses the same restrained navy and Plex Sans as the application. */
body .email-verification {
  width: min(100%, 560px);
  margin: 24px auto 56px;
  padding: clamp(24px, 4vw, 40px);
  border-radius: 14px;
  background: #fff;
  color: #10283e;
  font-family: "IBM Plex Sans", Arial, sans-serif;
}
body .email-verification[hidden], body [data-kyc-form][hidden] { display: none !important; }
body .email-verification__icon { display: flex; color: #246792; margin-bottom: 20px; }
body .email-verification__icon svg { width: 28px; height: 28px; }
body .email-verification h2 { margin: 0 0 14px; font-size: 28px !important; font-weight: 400; line-height: 1.2; }
body .email-verification p { font: inherit; font-size: 14px; line-height: 1.6; margin: 12px 0; }
body .email-verification [data-code-address] { display: block; color: #071f36; overflow-wrap: anywhere; }
body .email-verification .email-verification__hint { color: #526879; font-size: 13px; }
html body :is(#customer-email-form, #kyc-email-step) .email-code { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; margin: 24px 0; }
html body :is(#customer-email-form, #kyc-email-step) .email-code input[data-code-digit] {
  box-sizing: border-box; width: 100%; min-width: 0; height: auto !important; aspect-ratio: 1;
  padding: 0 !important; border: 1px solid #9bafbd !important; border-radius: 8px !important;
  background: #fff !important; color: #071f36; text-align: center; font-family: inherit;
  font-size: clamp(18px, 3vw, 24px) !important; line-height: 1; font-variant-numeric: tabular-nums;
  caret-color: #246792;
}
html body :is(#customer-email-form, #kyc-email-step) .email-code input[data-code-digit]:focus-visible { outline: 2px solid #246792; outline-offset: 2px; }
html body :is(#customer-email-form, #kyc-email-step) .email-code input[data-code-digit]:disabled { opacity: .65; }
body .email-verification [data-code-confirm] { width: 100%; min-height: 46px; margin-top: 8px; }
body .email-verification__actions { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin: 16px 0; }
body .email-verification__actions .btn { min-height: 44px; padding: 8px 10px; font-size: 13px; }
body .email-verification button:disabled { opacity: .6; cursor: default; }
@media (max-width: 480px) {
  body .email-verification { padding: 24px 16px; }
  html body :is(#customer-email-form, #kyc-email-step) .email-code { gap: 5px; }
}

body[data-confirming-email] .registration-head,
body[data-confirming-email] .verification-page-head { display: none !important; }
body[data-scope="app"][data-confirming-email] main.page-content { padding: calc(var(--shell-header-height, 64px) + 24px) 0 40px !important; }
body[data-scope="app"][data-confirming-email] main.page-content > .container { width: calc(100% - 24px) !important; padding: 0 !important; }
body[data-scope="app"] .email-verification [data-code-confirm] { width: 100% !important; min-height: 46px !important; justify-content: center; }
html body :is(#customer-email-form, #kyc-email-step) .email-code input[data-code-digit] { min-height: 0 !important; }
body[data-confirming-email] .email-verification { margin-top: 0; margin-bottom: 0; }

body .email-recovery h1 { margin: 0 0 16px; font-size: 28px !important; font-weight: 400; line-height: 1.2; }
body .email-recovery [hidden] { display: none !important; }
body .email-recovery label { display: block; margin: 16px 0 8px; color: #30495d; font-size: 13px; }
body #customer-email-form input:not([data-code-digit]):not([type=hidden]) { width: 100%; min-height: 48px; box-sizing: border-box; border: 1px solid #9bafbd !important; border-radius: 8px !important; padding: 12px !important; font: inherit; }
body #customer-email-form .btn { width: 100% !important; min-height: 46px !important; justify-content: center; }
body .email-recovery .email-recovery__address { margin-top: 24px; color: #071f36; overflow-wrap: anywhere; }
body .email-recovery__back { display: block; margin-top: 24px; text-align: center; font-size: 13px; color: #246792; text-underline-offset: 3px; }
body .email-recovery #email-status:empty { display: none; }
body .email-recovery #email-status { color: #526879; font-size: 13px; }
