.auth-stage{isolation:isolate;background:var(--stone-100);min-height:100svh;color:var(--ink);font-family:var(--font-sans);box-sizing:border-box;grid-template-columns:minmax(0,1.5fr) minmax(360px,.85fr);gap:20px;padding:20px;display:grid;position:relative}.auth-stage--overlay{z-index:9999;position:fixed;inset:0;overflow:auto}.auth-stage-card{box-sizing:border-box;text-align:left;width:100%;max-width:350px;animation:.32s ease-out both auth-stage-enter}.auth-stage-logo{object-fit:contain;width:240px;height:240px;display:block}.auth-stage-eyebrow{letter-spacing:.2em;color:var(--ink-muted);margin:0 0 12px;font-size:10px}html body .auth-stage h1{font:600 clamp(30px,3vw,38px)/1.16 var(--font-sans);letter-spacing:-.035em;color:var(--ink);margin:0}.auth-stage-description{color:var(--ink-muted);max-width:32ch;margin:12px auto 0;font-size:14px;line-height:1.6}.auth-stage-footer{border-top:1px solid var(--line);letter-spacing:.04em;text-align:center;color:var(--ink-muted);margin:30px 0 0;padding-top:20px;font-size:10px}.auth-stage-footer span{margin:0 7px}.auth-stage-progress{background:var(--line);border-radius:3px;width:100%;height:3px;margin:28px 0 0;display:block;overflow:hidden}.auth-stage-progress:after{content:"";background:var(--ink-muted);border-radius:inherit;width:40%;height:100%;animation:1.7s ease-in-out infinite alternate auth-stage-progress;display:block}.auth-code-form{text-align:left;gap:14px;margin-top:26px;display:grid}.auth-code-destination{background:var(--stone-100);text-align:center;color:var(--ink-muted);border-radius:12px;margin:0;padding:14px 16px;font-size:12px;line-height:1.6}.auth-code-destination strong{color:var(--ink);overflow-wrap:anywhere;font-size:14px;font-weight:500;display:block}.auth-code-form label{color:var(--ink-muted);margin:3px 0 -6px;font-size:12px}html body .auth-code-form input{box-sizing:border-box;border:1px solid var(--line);background:var(--stone-100);width:100%;height:58px;color:var(--ink);font:500 25px var(--font-sans);letter-spacing:.35em;text-align:center;border-radius:12px;padding:0 12px}html body .auth-stage .auth-stage-action{border:1px solid var(--line);background:var(--stone-200);width:100%;min-height:48px;color:var(--ink);font:500 14px var(--font-sans);cursor:pointer;border-radius:12px;justify-content:center;align-items:center;gap:10px;margin:4px 0 0;padding:12px 20px;text-decoration:none;transition:background .18s,box-shadow .18s;display:flex;box-shadow:0 3px 9px #00000005}html body .auth-stage .auth-stage-action:hover:not(:disabled){background:color-mix(in srgb,var(--stone-200) 80%,var(--stone-50));box-shadow:0 5px 15px #00000009}html body .auth-stage .auth-stage-link{width:fit-content;min-height:32px;color:var(--ink-muted);box-shadow:none;font:400 12px var(--font-sans);cursor:pointer;background:0 0;border:0;border-radius:8px;justify-self:center;margin:0 auto;padding:7px 10px;text-decoration:none;display:block}html body .auth-stage .auth-stage-link:hover{color:var(--ink);background:var(--stone-100)}html body .auth-stage :is(button,input,a):focus-visible{outline:2px solid var(--ink-muted);outline-offset:3px}html body .auth-stage button:disabled{opacity:.5;cursor:default}.auth-stage-message{color:var(--ink-muted);background:var(--stone-100);border-radius:10px;margin:0;padding:10px 12px;font-size:12px;line-height:1.6}.auth-stage-return{margin-top:24px}.auth-stage-return p{color:var(--ink-muted);margin:0 0 12px;font-size:12px;line-height:1.6}html[data-theme=dark] .auth-stage-logo{filter:invert()}@keyframes auth-stage-enter{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}@keyframes auth-stage-progress{0%{transform:translate(-100%)}to{transform:translate(250%)}}@media (prefers-reduced-motion:reduce){.auth-stage-card,.auth-stage-progress:after{animation:none}.auth-stage-progress:after{width:100%}}.auth-stage-card>.auth-stage-action{margin-top:24px!important}html[data-theme=quiet] .auth-stage-logo{filter:invert()}.auth-stage-brand{isolation:isolate;border:1px solid var(--line);background:var(--stone-50);border-radius:24px;flex-direction:column;justify-content:space-between;min-width:0;padding:clamp(24px,5vh,48px) clamp(32px,5vw,80px);display:flex;position:relative;overflow:hidden}.auth-stage-brand:before{content:"";z-index:-1;background:url(/brand/topfling-pattern-full.webp) center/var(--tf-pattern-size,820px auto);pointer-events:none;position:absolute;inset:0}.auth-stage-brand-message{max-width:560px;padding:24px 0}.auth-stage-brand-message p,.auth-stage-eyebrow{font:500 10px var(--font-sans);letter-spacing:.18em;text-transform:uppercase;color:var(--ink-muted)}html body .auth-stage-brand-message h2{font:500 clamp(34px,4.3vw,64px)/1.08 var(--font-sans);letter-spacing:-.05em;color:var(--ink);margin:22px 0}.auth-stage-brand-message span{max-width:32ch;color:var(--ink-muted);font-size:14px;line-height:1.7;display:block}.auth-stage-content{isolation:isolate;place-items:center;min-width:0;padding:24px clamp(24px,3vw,48px);display:grid;position:relative}.auth-stage-content:before{content:"";z-index:-1;pointer-events:none;background:url(/brand/topfling-pattern-full.webp) center/var(--tf-pattern-size,820px auto);opacity:.6;position:absolute;inset:0;-webkit-mask-image:linear-gradient(#000,#0000002e 35% 65%,#000);mask-image:linear-gradient(#000,#0000002e 35% 65%,#000)}.auth-stage-eyebrow{align-items:center;gap:10px;margin-bottom:24px;display:flex}.auth-stage-eyebrow:before{content:"";background:var(--ink-muted);opacity:.6;width:25px;height:1px}.auth-stage-description{margin-left:0;margin-right:0}html body .auth-stage .auth-stage-action{border:1px solid var(--line);background:linear-gradient(120deg,#ffffff24,transparent),var(--stone-200);min-height:52px;color:var(--ink);border-radius:12px;font-weight:600;box-shadow:inset 0 1px #ffffff30,0 4px 12px #00000006}html body .auth-stage .auth-stage-action:hover:not(:disabled){background:color-mix(in srgb,var(--stone-200) 75%,var(--stone-50))}html body .auth-stage .auth-stage-link{box-shadow:none!important;background:0 0!important;border:0!important}html body .auth-stage :is(.auth-stage-action,.auth-stage-link):before,html body .auth-stage :is(.auth-stage-action,.auth-stage-link):after{content:none!important}@media (max-width:850px){.auth-stage{grid-template-rows:auto 1fr;grid-template-columns:1fr;gap:0;padding:12px}.auth-stage-brand{border-radius:18px;flex-direction:row;align-items:center;gap:20px;min-height:90px;padding:12px 20px}.auth-stage-logo{flex-shrink:0;width:112px;height:112px}.auth-stage-brand-message{padding:0}.auth-stage-brand-message p{margin:0;font-size:9px}html body .auth-stage-brand-message h2{margin:6px 0 0;font-size:21px}.auth-stage-brand-message span{display:none}.auth-stage-content{padding:22px 12px}.auth-stage-card{max-width:390px}html body .auth-stage h1{font-size:28px}.auth-stage-eyebrow{margin-bottom:16px}.auth-stage-footer{margin-top:20px;padding-top:14px}.auth-code-form{gap:10px;margin-top:20px}}@media (min-width:851px) and (max-height:760px){.auth-stage-logo{width:190px;height:190px}.auth-stage-brand-message h2{font-size:clamp(32px,4vw,52px)}}@media (max-width:850px) and (max-height:700px){.auth-stage-content{padding:16px 12px}.auth-stage-eyebrow{margin-bottom:12px}.auth-stage-description{margin-top:8px;font-size:13px}.auth-code-form{gap:8px;margin-top:14px}.auth-code-destination{padding:8px 12px}html body .auth-code-form input{height:48px}html body .auth-stage .auth-stage-action{min-height:46px;padding:10px 16px}html body .auth-stage .auth-stage-link{min-height:28px;padding:4px 10px}.auth-stage-footer{margin-top:14px;padding-top:12px}}
