/* "Create a free account" dialog (views/partials/quick-signup.php) and the small site pop-ups that share its look. */
.qs { width: min(440px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); padding: 28px 26px 24px; border: 1px solid var(--line); border-radius: var(--r-lg, 18px); background: var(--surface); color: var(--text); box-shadow: var(--shadow-lg, var(--shadow)); overflow: auto; }
.qs::backdrop { background: rgba(3, 12, 40, .55); }
.qs__x { position: absolute; inset-block-start: 12px; inset-inline-end: 12px; display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--muted); cursor: pointer; }
.qs__x:hover { background: var(--bg-soft); color: var(--heading); }
.qs__x .icon { width: 18px; height: 18px; }
.qs__step { display: grid; gap: 14px; }
.qs__step[hidden] { display: none; }
.qs__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--accent-soft); color: var(--accent-text); }
.qs__icon .icon { width: 24px; height: 24px; }
.qs__icon--ok { background: #e7f6ec; color: #18794e; }
.qs h2 { margin: 0; padding-inline-end: 28px; font-size: 1.3rem; line-height: 1.25; }
.qs__text { margin: 0; color: var(--text); }
.qs__small { margin: 0; font-size: .84rem; color: var(--muted); text-align: center; }
.qs__error { margin: 0; padding: 10px 14px; border-radius: 10px; background: #fef3f2; color: #b42318; font-size: .92rem; font-weight: 600; }
.qs__error[hidden] { display: none; }
.qs__code { font-size: 1.4rem; letter-spacing: .3em; text-align: center; font-variant-numeric: tabular-nums; }
.qs__back { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 4px; border: 0; background: none; color: var(--muted); font: inherit; font-size: .88rem; font-weight: 600; cursor: pointer; }
.qs__back:hover { color: var(--heading); }
.qs__back .icon { width: 14px; height: 14px; }
.qs .field { display: grid; gap: 6px; }
.qs .field__label { font-weight: 650; font-size: .92rem; color: var(--heading); }
.qs .btn.is-busy { opacity: .7; pointer-events: none; }
.qs .auth-providers { display: grid; gap: 10px; }
.qs .auth-provider { position: relative; flex-wrap: wrap; justify-content: center; gap: 6px 12px; min-height: 50px; white-space: normal; text-align: center; border: 1px solid var(--line-strong); background: var(--surface); color: var(--heading); font-weight: 700; }
.qs .auth-provider:hover { border-color: var(--heading); background: var(--bg-soft); }
.qs .auth-provider__logo { width: 22px; height: 22px; flex: none; }
.qs .auth-provider__logo--in { display: grid; place-items: center; border-radius: 5px; background: #0A66C2; color: #fff; }
.qs .auth-provider__logo--in .icon { width: 15px; height: 15px; }
.qs .auth-provider__off { padding: 2px 8px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-text); font-size: .7rem; font-weight: 750; }
.qs .auth-divider { display: flex; align-items: center; gap: 14px; margin: 0; color: var(--muted); font-size: .86rem; font-weight: 600; }
.qs .auth-divider::before, .qs .auth-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
[data-theme="dark"] .qs__error { background: rgba(240, 68, 56, .16); color: #fda29b; }
[data-theme="dark"] .qs__icon--ok { background: rgba(24, 121, 78, .22); color: #75e0a7; }
