.auth-dialog { box-sizing: border-box; width: min(430px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); overflow-y: auto; padding: 36px 28px 28px; border: 1px solid #e8ece9; border-radius: 22px; background: #fff; color: #17251e; text-align: center; font-family: 'Plus Jakarta Sans', sans-serif; box-shadow: 0 20px 64px #071b2333; }
.auth-dialog *, .auth-dialog *::before, .auth-dialog *::after { box-sizing: border-box; }
.auth-dialog::backdrop { background: rgb(9 21 16 / 48%); backdrop-filter: blur(3px); }
.auth-dialog[open] { animation: auth-dialog-in 180ms ease-out; }
.auth-dialog.auth-dialog--closing { animation: auth-dialog-out 180ms ease-in forwards; }
.auth-dialog__close { position: absolute; top: 9px; right: 9px; width: 36px; height: 36px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: transparent; color: #657169; font: 26px/1 sans-serif; cursor: pointer; }
.auth-dialog__icon { display: grid; place-items: center; margin: 4px auto 22px; width: 60px; height: 60px; border-radius: 20px; color: #24563f; background: #edf8f1; }
.auth-dialog__icon svg { width: 30px; height: 30px; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; fill: none; }
.auth-dialog h2 { margin: 0 0 12px; font-size: 23px; font-weight: 700; line-height: 1.3; }
.auth-dialog p { margin: 0 auto 28px; color: #657169; font-size: 14px; line-height: 1.7; }
.auth-dialog__actions { display: flex; gap: 12px; }
.auth-dialog__button { flex: 1; min-width: 0; min-height: 46px; padding: 12px 10px; border: 1px solid transparent; border-radius: 10px; background: #24563f; color: white; font: 600 14px/1.4 'Plus Jakarta Sans', sans-serif; cursor: pointer; }
.auth-dialog__button:hover { background: #1b4532; }
.auth-dialog__button--neutral { background: #f2f4f3; color: #34433a; }
.auth-dialog__button--neutral:hover { background: #e6ebe8; }
.auth-dialog button:focus-visible, [data-logout-open]:focus-visible { outline: 3px solid #3c8963; outline-offset: 3px; }
.auth-dialog button:disabled { opacity: .65; cursor: wait; }
button[data-logout-open] { font: inherit; cursor: pointer; width: 100%; text-align: left; border: 0; background: transparent; }
.auth-public-notice { margin: 12px auto; max-width: 640px; padding: 14px 20px; background: #f1f7f3; color: #244a35; border: 1px solid #d5e5da; border-radius: 10px; }
@keyframes auth-dialog-in { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes auth-dialog-out { to { opacity: 0; transform: translateY(6px); } }
@media (prefers-reduced-motion: reduce) { .auth-dialog[open], .auth-dialog.auth-dialog--closing { animation: none; } }
