.email-account-dialog {
  box-sizing: border-box;
  width: min(440px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  overflow: auto;
  padding: 24px;
  border: 1px solid var(--app-border);
  border-radius: 20px;
  color: var(--app-text);
  background: var(--app-surface);
  box-shadow: 0 28px 80px rgb(0 0 0 / 38%);
  font-family: var(--font-text, sans-serif);
}
.email-account-dialog::backdrop { background: rgb(7 12 22 / 90%); }
.email-account-dialog--blocked::backdrop { background: var(--app-bg, #0d111a); }
.email-account-top { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.email-account-icon { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border: 1px solid color-mix(in srgb, var(--app-accent) 30%, var(--app-border)); border-radius: 13px; background: color-mix(in srgb, var(--app-accent) 10%, var(--app-surface)); color: var(--app-accent); }
.email-account-icon svg { width: 23px; height: 23px; }
.email-account-brand, .email-account-product { display: block; font-family: var(--font-ui, sans-serif); }
.email-account-brand { font-size: 11px; font-weight: 700; letter-spacing: .1em; }
.email-account-product { margin-top: 2px; color: var(--app-muted); font-size: 11px; }
.email-account-dialog h2 { margin: 0 0 12px; font: 700 clamp(1.45rem, 4vw, 1.65rem)/1.18 var(--font-heading, sans-serif); letter-spacing: -.035em; }
.email-account-copy { margin: 0; color: var(--app-muted); line-height: 1.5; overflow-wrap: anywhere; }
.email-account-address { display: block; margin: 18px 0 16px; padding: 12px 14px; border: 1px solid var(--app-border); border-radius: 10px; background: var(--app-surface-soft); color: var(--app-text); font-family: var(--font-ui, sans-serif); font-size: .92rem; overflow-wrap: anywhere; }
.email-account-deadline { display: flex; align-items: flex-start; gap: 9px; margin: 0 0 20px; color: var(--app-muted); font-size: .82rem; line-height: 1.5; }
.email-account-dot { width: 6px; height: 6px; flex: none; margin-top: 6px; border-radius: 50%; background: var(--app-accent); }
.email-account-actions { display: grid; gap: 10px; }
.email-account-actions .email-account-action { width: 100%; min-height: 46px; height: auto; padding: 11px 14px; border-radius: 10px; font-size: .92rem; line-height: 1.4; white-space: normal; }
.email-account-link { min-height: 32px; padding: 4px 2px; border: 0; background: transparent; color: var(--app-accent); font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.email-account-resend { margin: 14px 0 0; color: var(--app-muted); font-size: .78rem; line-height: 1.65; text-align: center; }
.email-account-footer { margin-top: 16px; padding-top: 10px; border-top: 1px solid var(--app-border); text-align: center; }
.email-account-footer .email-account-link { color: var(--app-muted); text-decoration: none; }
.email-account-link:focus-visible, .email-account-actions button:focus-visible { outline: 3px solid var(--app-accent); outline-offset: 3px; }
.email-account-actions [hidden] { display: none; }
[data-email-message] { margin: 12px 0 0; color: var(--app-accent); font-size: .82rem; line-height: 1.5; text-align: center; }
[data-email-message]:empty { display: none; }
@media (max-width: 520px) { .email-account-dialog { padding: 22px; } }
