.count-auth-dialog {
    box-sizing: border-box;
    position: fixed;
    inset: 0;
    margin: auto;
    width: min(440px, calc(100vw - 32px));
    max-height: calc(100dvh - 32px);
    overflow-y: auto;
    padding: 32px;
    border: 1px solid #dce2e8;
    border-radius: 20px;
    background: #fff;
    color: #17202c;
    box-shadow: 0 20px 70px #0003;
    font-family: inherit;
}
.count-auth-dialog::backdrop { background: #0a132b99; }
.count-auth-dialog h2 { margin: 0 0 16px; font-size: 24px; line-height: 1.25; }
.count-auth-dialog p { margin: 0 0 20px; line-height: 1.6; }
.count-auth-dialog button { font: inherit; cursor: pointer; border-radius: 10px; padding: 12px 16px; width: 100%; }
.count-auth-primary { background: #1a56db; color: #fff; border: 1px solid #1a56db; }
.count-auth-secondary { background: #fff; color: #17202c; border: 1px solid #cbd5e1; }
.count-auth-dialog button:disabled { opacity: .6; cursor: wait; }
.count-auth-dialog .count-auth-error { color: #a32121; margin: 12px 0; }
.count-auth-privacy { display: block; text-align: center; margin-top: 20px; font-size: 14px; color: #344b70; }
.count-auth-footer { display: flex; align-items: center; gap: 0.35rem; min-width: 0; }
.count-auth-footer button { padding: 0; border: 0; background: none; color: inherit; font: inherit; letter-spacing: inherit; cursor: pointer; }
.count-auth-footer button:hover { color: #fff; text-decoration: underline; }
.count-auth-footer__email { max-width: 240px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.count-auth-dialog button:focus-visible, .count-auth-footer button:focus-visible { outline: 3px solid #7598ed; outline-offset: 3px; }
