/* A deeper off-white in the default theme; follows the background in other themes. */
:root{--two-factor-surface:color-mix(in srgb,var(--bg) 70%,var(--line) 30%);--two-factor-glow:color-mix(in srgb,var(--line) 65%,transparent)}
/* Public 2FA discovery and setup guide; follows the site's active theme. */
.two-factor-notice{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-top:24px;padding:20px 24px;border:1px solid var(--line);border-radius:10px;background:var(--two-factor-surface)}
.two-factor-notice h2{font-size:20px;line-height:1.4;margin:0 0 6px;font-weight:600}.two-factor-notice p{font-size:14px;line-height:1.75;max-width:80ch}.two-factor-notice .button{flex-shrink:0;white-space:nowrap}
.two-factor-page .page-heading{max-width:900px}.two-factor-page .page-heading p{max-width:72ch;line-height:1.85}.two-factor-page .two-factor-path{display:flex;gap:10px;flex-wrap:wrap;padding:20px 24px;margin:24px 0 32px;border:1px solid var(--line);border-radius:10px;background:var(--two-factor-surface);font-size:15px}.two-factor-path strong{font-weight:600}.two-factor-page .journey-section{scroll-margin-top:24px}.two-factor-page .setup-note{margin:24px 0;padding:20px 24px;border:1px solid var(--line);background:var(--two-factor-surface);font-size:14px;line-height:1.85}.two-factor-page .actions{flex-wrap:wrap}.two-factor-page .guide-steps p+p{margin-top:10px}.two-factor-guide-link{margin:24px 0;padding:20px 24px;border:1px solid var(--line);border-radius:10px;background:var(--two-factor-surface)}.two-factor-guide-link h3{font-size:21px;margin-bottom:10px}.two-factor-guide-link p{font-size:15px;line-height:1.85;margin-bottom:14px}
@media(max-width:620px){.two-factor-notice{align-items:flex-start;flex-direction:column;gap:14px;margin-top:16px;padding:18px}.two-factor-notice h2{font-size:18px}.two-factor-notice .button{padding:10px 16px}.two-factor-page .two-factor-path{padding:18px;font-size:14px}.two-factor-page .setup-note{padding:18px}.two-factor-guide-link{padding:18px}}
.two-factor-live{margin:28px 0 32px;padding:26px;border:1px solid var(--line);border-radius:12px;background:var(--two-factor-surface)}.two-factor-live h2{font-size:27px;margin:0 0 16px}.two-factor-live h3{font-size:22px;margin:24px 0 12px}.two-factor-live p{font-size:15px;line-height:1.85;margin:12px 0}.two-factor-live button{margin-top:12px;padding:12px 20px;border:1px solid var(--ink);border-radius:7px;background:var(--ink);color:var(--bg)}.two-factor-live form{max-width:380px;margin-top:20px}.two-factor-live code{overflow-wrap:anywhere}.two-factor-live #security-qr{display:block;border:8px solid white;background:white;box-sizing:content-box;max-width:calc(100% - 16px);height:auto}.two-factor-live [hidden]{display:none!important}.two-factor-live details{margin-top:18px}.two-factor-live summary{font-size:14px}.two-factor-live #security-device-row{font-size:13px}.two-factor-live #security-device{font-size:12px}@media(max-width:620px){.two-factor-live{padding:20px}.two-factor-live h2{font-size:24px}}

.two-factor-notice,.two-factor-live,.two-factor-guide-link,.two-factor-page .setup-note{position:relative;isolation:isolate}
.two-factor-notice::before,.two-factor-live::before,.two-factor-guide-link::before,.two-factor-page .setup-note::before{content:"";position:absolute;inset:4px -10px -12px;z-index:-1;border-radius:inherit;background:radial-gradient(ellipse at 50% 68%,var(--two-factor-glow),transparent 74%);filter:blur(20px);opacity:.65;pointer-events:none}
