.auth-page { --auth-border: #dce3ec; color: var(--ink, #0b1220); background: #fff; }
.auth-page [hidden] { display: none !important; }
.auth-page button, .auth-page input { font: inherit; }
.auth-page button, .auth-page a, .auth-page input, .choice-card, .hardware-card { -webkit-tap-highlight-color: transparent; }
.auth-page button { cursor: pointer; }
.auth-page button:disabled { cursor: wait; }
.auth-page a { color: inherit; text-decoration: none; }
.auth-page :focus-visible { outline: 3px solid var(--blue-200, #b9d6ff); outline-offset: 4px; }
.auth-page h1, .auth-page h2, .auth-page p { margin-top: 0; }
.auth-page .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.auth-skip { position: fixed; z-index: 100; top: 12px; left: 20px; padding: 12px 20px; border-radius: 12px; background: white; box-shadow: 0 6px 30px #0a2a6b22; transform: translateY(-160%); }
.auth-skip:focus { transform: translateY(0); }
.auth-header { position: absolute; z-index: 20; top: 0; left: 0; width: 100%; height: 100px; padding: 0 40px; display: flex; align-items: center; justify-content: space-between; }
.auth-brand { display: inline-flex; transition: opacity 150ms ease; }
.auth-brand:hover { opacity: .7; }
.auth-brand img { display: block; width: 112px; height: auto; }
.auth-back-site { display: inline-flex; gap: 10px; align-items: center; font-size: 13px; font-weight: 500; color: var(--ink-2, #3a4253) !important; }
.auth-back-site span { transition: transform 150ms ease; }
.auth-back-site:hover span { transform: translateX(-3px); }
.auth-layout { display: grid; grid-template-columns: 58% 42%; min-height: 100svh; transition: opacity 450ms ease, transform 450ms ease; }
.auth-scene { position: relative; isolation: isolate; overflow: hidden; min-height: 820px; height: 100svh; position: sticky; top: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; background: linear-gradient(165deg, #fff 8%, #f4f8ff 40%, #e5efff 78%, #dcebff 100%); padding: 112px 32px 46px; }
.auth-scene::before { content: ''; position: absolute; z-index: -1; inset: 0; opacity: .035; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23000' filter='url(%23n)' opacity='.7' d='M0 0h180v180H0z'/%3E%3C/svg%3E"); }
.auth-scene::after { content: ''; position: absolute; z-index: -1; width: 72%; height: 170px; left: 14%; bottom: 20%; border-radius: 50%; background: #8ab8ff; filter: blur(70px); opacity: .14; }
.auth-glows { position: absolute; z-index: -2; inset: 0; overflow: hidden; pointer-events: none; }
.auth-glows span { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .35; animation: auth-glow-drift 48s ease-in-out infinite alternate; }
.auth-glows span:nth-child(1) { width: 620px; height: 620px; background: #b9d6ff; top: 10%; left: -30%; }
.auth-glows span:nth-child(2) { width: 440px; height: 440px; background: #5b9bff; right: -28%; bottom: 16%; opacity: .22; animation-delay: -16s; }
.auth-glows span:nth-child(3) { width: 500px; height: 500px; background: #dcebff; bottom: -16%; left: -10%; animation-delay: -28s; }
@keyframes auth-glow-drift { to { transform: translate(7%, -7%) scale(1.12); } }
.scene-intro { position: relative; z-index: 2; flex: 0 0 auto; text-align: center; }
.auth-eyebrow { margin-bottom: 14px; font-size: 10px; font-weight: 700; line-height: 1.4; letter-spacing: .15em; color: #4f6690; }
.scene-intro h2 { margin-bottom: 16px; font-size: clamp(36px, 3.35vw, 60px); font-weight: 600; letter-spacing: -.047em; line-height: 1.08; }
.auth-page .gradient-text { color: var(--blue-600); }
.scene-intro > p:last-child { margin: 0; font-size: 14px; color: #53657f; }
.scanner-stage { width: 100%; height: clamp(330px, 45vh, 590px); flex: 0 1 auto; position: relative; margin-top: 3px; }
.scanner-stage > img { display: block; width: 100%; height: 100%; object-fit: contain; }
.scanner-stage canvas { display: block; width: 100%; height: 100%; touch-action: pan-y; }
.scene-caption { position: relative; z-index: 2; text-align: center; flex: 0 0 auto; margin-top: -8px; }
.scene-caption p { font-size: 11px; letter-spacing: .015em; color: #51647f; margin-bottom: 13px; }
.scene-caption p > span { display: inline-block; padding: 0 5px; }
.payment-stages { display: flex; align-items: center; justify-content: center; gap: 7px; height: 8px; }
.payment-stages > span { display: block; width: 5px; height: 5px; border-radius: 50%; background: #aabbd4; transition: background 300ms ease, transform 300ms ease; }
.payment-stages > span.is-active, .payment-stages > span.active, .payment-stages > span[aria-current="true"] { background: #0a5cff; transform: scale(1.25); }
.scene-footnote { font-size: 10px; color: #4f627e; letter-spacing: .01em; margin: 34px 0 0; }
.auth-form-panel { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 116px 40px 84px; min-height: 100svh; background: #fff; }
.auth-form-wrap { width: 100%; max-width: 384px; }
.auth-view { animation: auth-view-in 300ms var(--ease, ease); }
.form-mark { display: block; width: 40px; height: 40px; margin-bottom: 22px; }
.auth-form-wrap h1 { margin-bottom: 12px; font-size: 31px; font-weight: 650; line-height: 1.13; letter-spacing: -.04em; outline: none; }
.auth-subline { color: #687286; font-size: 14px; line-height: 1.6; margin-bottom: 27px; max-width: 360px; }
.social-options { display: grid; gap: 10px; }
.social-button { display: flex; justify-content: center; align-items: center; position: relative; gap: 10px; border: 1px solid var(--auth-border); width: 100%; height: 46px; padding: 0 16px; background: white; color: #182031; border-radius: 12px; font-size: 13px !important; font-weight: 600 !important; transition: background 150ms ease, border-color 150ms ease, transform 150ms ease; }
.social-button svg { width: 19px; height: 19px; }
.social-button:hover { background: #f7faff; border-color: #aacbff; }
.social-button:active { transform: scale(.99); }
.social-notice { padding: 11px 13px; border-radius: 10px; background: #eef5ff; color: #315383; font-size: 12px; line-height: 1.6; margin: 12px 0 0; }
.form-divider { position: relative; display: flex; gap: 14px; align-items: center; color: #8590a2; margin: 24px 0; font-size: 10px; }
.form-divider::before, .form-divider::after { content: ''; flex: 1; height: 1px; background: #e9edf3; }
.field { margin-bottom: 14px; }
.field-input { position: relative; }
.field-input input { display: block; width: 100%; height: 55px; border: 1px solid var(--auth-border); border-radius: 12px; padding: 22px 38px 8px 15px; background: #fff; color: #152239; font-size: 14px; line-height: 1.35; outline: none; box-shadow: none; transition: border-color 150ms ease, box-shadow 150ms ease; appearance: none; }
.field-input label { position: absolute; left: 15px; top: 18px; color: #687286; font-size: 13px; line-height: 1.3; pointer-events: none; transform-origin: left top; transition: transform 150ms ease, color 150ms ease; }
.field-input input:focus, .field-input input:hover { border-color: #8cb7fa; }
.field-input input:focus { border-color: #2f7bff; box-shadow: 0 0 0 4px #dcebff; }
.field-input input:focus + label, .field-input input:not(:placeholder-shown) + label { transform: translateY(-10px) scale(.77); }
.field-input input:focus + label { color: #0a5cff; }
.field-valid { position: absolute; right: 16px; top: 18px; color: #16874d; opacity: 0; transform: scale(.6); font-size: 13px; transition: opacity 150ms ease, transform 150ms ease; }
.field.is-valid .field-valid { opacity: 1; transform: scale(1); }
.field-error, .choice-error { color: #bc2f28; font-size: 11px; line-height: 1.5; margin: 6px 0 0; }
.field-error:empty, .choice-error:empty { display: none; }
.field.is-invalid input { border-color: #e3736c; }
.field.is-invalid input:focus { box-shadow: 0 0 0 4px #fff0ef; }
.field.is-invalid .field-error::before, .choice-error:not(:empty)::before { content: '⊕'; padding-right: 5px; }
.field.shake { animation: input-shake 300ms ease; }
@keyframes input-shake { 20%, 60% { transform: translateX(-3px); } 40%, 80% { transform: translateX(3px); } }
.has-password input { padding-right: 48px; }
.password-toggle { position: absolute; right: 5px; top: 5px; width: 44px; height: 44px; padding: 12px; display: grid; place-items: center; border: 0; border-radius: 9px; background: transparent; color: #7b879b; transition: color 150ms ease, background 150ms ease; }
.password-toggle:hover { color: #0a5cff; background: #f2f7ff; }
.password-toggle svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.eye-slash { opacity: 0; transition: opacity 150ms ease; }
.password-toggle[aria-pressed="true"] .eye-slash { opacity: 1; }
.caps-warning { width: fit-content; color: #8a5800; background: #fff5df; padding: 4px 8px; border-radius: 6px; font-size: 11px; margin: 8px 0 0; }
.form-options { display: flex; justify-content: space-between; gap: 10px; align-items: center; margin: 20px 0 24px; }
.auth-checkbox { display: inline-flex; align-items: center; position: relative; gap: 8px; font-size: 11px; color: #59677b; cursor: pointer; user-select: none; }
.auth-checkbox input { position: absolute; width: 18px; height: 18px; opacity: 0; }
.checkbox-drawing { display: grid; place-items: center; width: 17px; height: 17px; background: #fff; border: 1px solid #cdd6e2; border-radius: 5px; transition: border-color 150ms ease, background 150ms ease; }
.checkbox-drawing svg { width: 14px; height: 14px; fill: none; stroke: white; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 15; stroke-dashoffset: 15; transition: stroke-dashoffset 200ms ease; }
.auth-checkbox:hover .checkbox-drawing { border-color: #2f7bff; }
.auth-checkbox input:checked + .checkbox-drawing { background: #2f7bff; border-color: #2f7bff; }
.auth-checkbox input:checked + .checkbox-drawing svg { stroke-dashoffset: 0; }
.auth-checkbox input:focus-visible + .checkbox-drawing { outline: 3px solid #b9d6ff; outline-offset: 3px; }
.inline-link { appearance: none; padding: 0; border: 0; background: none; color: #0a5cff; font-size: 11px !important; font-weight: 500 !important; text-decoration: none; }
.inline-link:hover { color: #053eac; text-decoration: underline; text-underline-offset: 3px; }
.auth-page .button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; border-radius: 999px; padding: 0 24px; font-size: 14px; font-weight: 600; line-height: 1.3; border: 1px solid transparent; transition: background 150ms ease, box-shadow 150ms ease, transform 150ms ease; }
.auth-page .button-primary { background: #0a5cff; color: #fff; box-shadow: inset 0 1px 0 #ffffff33, 0 4px 14px #2f7bff24; }
.auth-page .button-primary:hover { background: #064cda; box-shadow: inset 0 1px 0 #ffffff33, 0 7px 18px #2f7bff30; transform: translateY(-1px); }
.auth-page .button:active { transform: scale(.98); }
.auth-page .button-secondary { background: #fff; color: #3a4253; border-color: #dce3ec; }
.auth-page .button-secondary:hover { background: #eef5ff; border-color: #b9d6ff; }
.auth-page .auth-submit { height: 52px; width: 100%; position: relative; overflow: hidden; }
.auth-submit [data-button-label] { transition: opacity 150ms ease; }
.button-spinner { position: absolute; width: 19px; height: 19px; border: 2px solid #ffffff55; border-top-color: white; border-radius: 50%; opacity: 0; }
.button-check { display: none; width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.auth-submit.is-loading [data-button-label] { opacity: 0; }
.auth-submit.is-loading .button-spinner { opacity: 1; animation: auth-spin 700ms linear infinite; }
.auth-submit.is-success { background: #16874d; box-shadow: none; }
.auth-submit.is-success .button-check { display: block; }
@keyframes auth-spin { to { transform: rotate(360deg); } }
.switch-auth { margin: 24px 0 0; text-align: center; color: #6b7385; font-size: 12px; }
.switch-auth a { display: inline-flex; align-items: center; gap: 3px; font-weight: 600; color: #0a5cff; }
.switch-auth a:hover { color: #053eac; }
.switch-auth a span { font-size: 18px; transition: transform 150ms ease; }
.switch-auth a:hover span { transform: translateX(2px); }
.preview-note { text-align: center; font-size: 10px; line-height: 1.6; color: #738095; margin: 23px 0 0; }
.preview-note > span { padding-right: 3px; font-size: 13px; }
.auth-legal { display: flex; align-items: center; justify-content: center; gap: 13px; position: absolute; bottom: 26px; font-size: 11px; color: #8c96a5; }
.auth-legal button { background: none; border: 0; padding: 5px 0; color: #6b7385; font-size: 11px; }
.auth-legal button:hover { color: #0a5cff; }
.reset-back { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 42px; font-size: 13px !important; }
.auth-feature-icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 19px; background: #eef5ff; margin-bottom: 24px; }
.auth-feature-icon svg { width: 34px; height: 34px; fill: none; stroke: #2f7bff; stroke-width: 1.6; stroke-linejoin: round; }
.reset-detail { font-size: 14px; line-height: 1.7; color: #687286; overflow-wrap: anywhere; margin-bottom: 28px; }
.reset-detail strong { font-weight: 500; color: #243953; }
@keyframes auth-view-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.auth-page.is-completing .auth-layout, .auth-page.is-completing .auth-header { opacity: 0; pointer-events: none; }
.auth-header { transition: opacity 450ms ease; }
.welcome-screen { display: flex; min-height: 100svh; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 70px 24px; background: radial-gradient(ellipse at 50% 40%, #eef5ff 0%, #fff 65%); animation: auth-view-in 700ms ease both; }
.welcome-screen > img { margin-bottom: 36px; }
.welcome-screen h1 { font-size: clamp(44px, 5vw, 72px); letter-spacing: -.05em; line-height: 1.1; margin-bottom: 20px; }
.welcome-screen > p:not(.auth-eyebrow):not(.preview-note) { color: #687286; font-size: 17px; margin-bottom: 32px; }
.auth-page .text-link { color: #0a5cff; font-size: 13px; font-weight: 500; display: inline-flex; gap: 5px; align-items: center; }
.auth-page .text-link:hover { color: #073c9c; }
.welcome-screen .text-link { margin-top: 22px; }
.welcome-screen .preview-note { margin-top: 44px; }
.signup-wrap { max-width: 400px; }
.signup-signin { display: block; text-align: right; font-size: 11px; color: #637089 !important; margin-bottom: 33px; }
.signup-signin strong { color: #0a5cff; font-weight: 600; margin-left: 3px; }
.signup-signin:hover strong { text-decoration: underline; text-underline-offset: 3px; }
.signup-progress { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 0; margin: 0 0 35px; }
.signup-progress li { color: #7c8799; font-size: 10px; }
.signup-progress li > span { display: block; width: 100%; height: 3px; background: #e8edf4; border-radius: 9px; margin-bottom: 9px; position: relative; overflow: hidden; }
.signup-progress li > span::after { content: ''; position: absolute; inset: 0; background: #2f7bff; transform: translateX(-100%); transition: transform 300ms ease; }
.signup-progress li.is-current { color: #0a5cff; font-weight: 600; }
.signup-progress li.is-complete { color: #476381; }
.signup-progress li.is-current > span::after, .signup-progress li.is-complete > span::after { transform: translateX(0); }
.step-count { font-size: 9px; letter-spacing: .12em; font-weight: 600; color: #8a95a7; margin-bottom: 12px; }
.signup-step h1 { font-size: clamp(27px, 2.2vw, 32px); }
.signup-step .auth-subline { font-size: 13px; margin-bottom: 26px; }
.signup-step { transition: opacity 150ms ease, transform 150ms ease; }
.signup-step.is-leaving { opacity: 0; transform: translateX(-16px); }
.signup-step.is-entering { animation: signup-step-enter 300ms ease both; }
@keyframes signup-step-enter { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: translateX(0); } }
.password-strength { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 18px 0 12px; }
.strength-bars { display: flex; gap: 4px; width: 120px; }
.strength-bars span { height: 3px; width: 25%; background: #e8edf4; border-radius: 4px; transition: background 200ms ease; }
.password-strength p { font-size: 10px; color: #778397; margin: 0; }
.password-strength[data-score="1"] .strength-bars span.is-filled { background: #e66b63; }
.password-strength[data-score="2"] .strength-bars span.is-filled { background: #e5a134; }
.password-strength[data-score="3"] .strength-bars span.is-filled { background: #54a47b; }
.password-strength[data-score="4"] .strength-bars span.is-filled { background: #16874d; }
.password-requirements { list-style: none; margin: 0 0 26px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 6px; }
.password-requirements li { display: flex; align-items: center; gap: 5px; color: #7e889b; font-size: 9px; line-height: 1.5; }
.password-requirements li > span { color: #b3bbc7; font-size: 10px; }
.password-requirements li.is-met, .password-requirements li.is-met > span { color: #16874d; }
.signup-actions { display: flex; gap: 12px; margin-top: 26px; }
.signup-actions .signup-back { width: 104px; height: 52px; flex: 0 0 auto; padding: 0 15px; }
.signup-actions .auth-submit { flex: 1; }
.signup-terms { font-size: 10px; color: #7e889b; text-align: center; line-height: 1.6; margin: 22px 16px 0; }
.signup-terms button { border: 0; padding: 0; background: none; font-size: inherit; color: #4e617e; text-decoration: underline; text-underline-offset: 2px; }
.signup-terms button:hover { color: #0a5cff; }
.signup-wrap .preview-note { margin-top: 14px; }
.choice-fieldset { border: 0; padding: 0; min-width: 0; margin: 25px 0 0; }
.choice-fieldset legend { font-size: 12px; font-weight: 500; color: #46546b; padding: 0; margin-bottom: 12px; }
.business-choices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.choice-card { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 83px; border: 1px solid #dce3ec; border-radius: 12px; color: #687b95; gap: 9px; cursor: pointer; background: #fff; transition: background 150ms ease, border-color 150ms ease, transform 150ms ease; }
.choice-card input, .hardware-card input, .location-choices input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.choice-card svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.choice-card > span { font-size: 10px; font-weight: 500; color: #52627a; }
.choice-card:hover, .hardware-card:hover { background: #f7faff; border-color: #a7c7fa; transform: translateY(-1px); }
.choice-card:has(input:checked) { border-color: #2f7bff; background: #f1f6ff; color: #0a5cff; box-shadow: 0 0 0 1px #2f7bff; }
.choice-card:has(input:checked) > span { color: #0a5cff; }
.choice-card:has(input:focus-visible), .hardware-card:has(input:focus-visible) { outline: 3px solid #b9d6ff; outline-offset: 3px; }
.location-choices { display: flex; gap: 4px; padding: 4px; border: 1px solid #e5eaf2; border-radius: 10px; background: #f4f6fa; }
.location-choices label { position: relative; flex: 1; cursor: pointer; }
.location-choices span { display: block; text-align: center; border-radius: 7px; padding: 8px; font-size: 12px; color: #6b7a92; border: 1px solid transparent; transition: background 150ms ease, color 150ms ease; }
.location-choices input:checked + span { background: #fff; border-color: #e6ebf3; color: #0a5cff; box-shadow: 0 1px 4px #092b6312; }
.location-choices label:hover span { color: #0a5cff; }
.location-choices input:focus-visible + span { outline: 3px solid #b9d6ff; outline-offset: 1px; }
.hardware-choices { display: grid; gap: 12px; }
.hardware-card { position: relative; border: 1px solid #dce3ec; border-radius: 14px; display: flex; gap: 13px; align-items: center; min-height: 92px; padding: 17px 15px; cursor: pointer; transition: background 150ms ease, border-color 150ms ease, transform 150ms ease; }
.hardware-icon { display: grid; place-items: center; width: 40px; height: 45px; color: #617b9c; flex: 0 0 auto; }
.hardware-icon svg { width: 38px; height: 38px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.hardware-card strong { display: block; color: #31455f; font-size: 12px; font-weight: 600; margin-bottom: 4px; }
.hardware-card small { display: block; color: #79869a; font-size: 10px; line-height: 1.5; }
.choice-radio { display: block; width: 16px; height: 16px; border: 1px solid #cad3e0; border-radius: 50%; margin-left: auto; flex: 0 0 auto; }
.hardware-card:has(input:checked) { border-color: #2f7bff; background: #f3f7ff; box-shadow: 0 0 0 1px #2f7bff; }
.hardware-card:has(input:checked) .hardware-icon { color: #0a5cff; }
.hardware-card:has(input:checked) .choice-radio { border: 5px solid #2f7bff; background: #fff; }
.setup-summary { display: flex; align-items: center; gap: 12px; background: #f7f9fc; border-radius: 12px; padding: 15px; margin-top: 24px; }
.summary-check { width: 23px; height: 23px; border-radius: 50%; background: #e9f4ee; color: #16874d; display: grid; place-items: center; font-size: 12px; flex: 0 0 auto; }
.setup-summary p { font-size: 10px; color: #54647c; line-height: 1.7; margin: 0; }
.setup-summary p span { color: #8a94a5; }
.signup-success { text-align: center; animation: auth-view-in 500ms ease both; }
.success-ring { width: 88px; height: 88px; margin: 0 auto 30px; }
.success-ring svg { width: 100%; height: 100%; fill: none; stroke: #16874d; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.success-ring circle { fill: #eefaf3; stroke: #d5f0e1; stroke-width: 1; }
.success-ring path { stroke-dasharray: 50; stroke-dashoffset: 50; animation: success-check 600ms 150ms ease forwards; }
@keyframes success-check { to { stroke-dashoffset: 0; } }
.signup-success h1 { font-size: 46px; }
.signup-success .auth-subline { margin-left: auto; margin-right: auto; }
.completed-business { text-align: left; background: #f5f8fd; border: 1px solid #e3ebf7; border-radius: 16px; padding: 23px; margin: 28px 0; overflow-wrap: anywhere; }
.complete-label { display: block; font-size: 9px; letter-spacing: .1em; color: #7c90ab; margin-bottom: 10px; }
.completed-business strong { display: block; font-size: 20px; letter-spacing: -.02em; margin-bottom: 6px; }
.completed-business p { margin: 0; font-size: 11px; color: #71819a; }
.signup-success .text-link { margin-top: 20px; }
.signup-success .preview-note { margin-top: 30px; }
.auth-dialog { width: min(440px, calc(100% - 40px)); padding: 36px; border: 1px solid #e3ebf5; border-radius: 24px; box-shadow: 0 30px 100px #0a2a6b2a; color: #0b1220; margin: auto; }
.auth-dialog::backdrop { background: #07142e44; backdrop-filter: blur(8px); }
.auth-dialog > img { margin-bottom: 20px; }
.auth-dialog h2 { font-size: 27px; letter-spacing: -.03em; margin: 0 0 12px; }
.auth-dialog p { color: #687286; font-size: 14px; line-height: 1.7; margin-bottom: 25px; }
.dialog-close { position: absolute; top: 12px; right: 12px; border: 0; border-radius: 50%; width: 32px; height: 32px; background: #f1f5fa; color: #6b7385; font-size: 23px !important; line-height: 1; }
.dialog-close:hover { background: #dcebff; color: #0a5cff; }
.auth-page :is(.form-divider, .preview-note, .step-count, .signup-progress li, .password-strength p, .password-requirements li, .signup-terms, .hardware-card small, .setup-summary p span, .complete-label, .completed-business p) { color: #637089; }
.auth-page .password-requirements li.is-met { color: #16874d; }
@media (min-width: 1600px) { .auth-form-wrap { max-width: 400px; } .auth-form-panel { padding-left: 64px; padding-right: 64px; } .scanner-stage { height: 52vh; } }
@media (min-width: 1024px) and (max-height: 850px) { .scene-intro h2 { font-size: 40px; } .auth-scene { min-height: 800px; padding-top: 106px; } .scanner-stage { height: 370px; } .scene-footnote { margin-top: 26px; } .auth-form-panel { min-height: 800px; padding-top: 100px; } .form-mark { margin-bottom: 18px; } }
@media (max-width: 1199px) and (min-width: 1024px) { .auth-layout { grid-template-columns: 54% 46%; } .auth-form-panel { padding-left: 30px; padding-right: 30px; } .scene-intro h2 { font-size: 42px; } }
@media (max-width: 1023px) {
  .auth-header { padding: 0 28px; height: 86px; }
  .auth-layout { display: block; }
  .auth-scene { height: 45vh; min-height: 360px; max-height: 530px; position: relative; padding: 68px 24px 27px; justify-content: flex-start; }
  .scene-intro, .scene-footnote { display: none; }
  .scanner-stage { margin: 0; height: calc(100% - 36px); min-height: 0; flex: 1 1 auto; max-width: 600px; }
  .scene-caption { margin-top: -5px; }
  .scene-caption p { margin-bottom: 10px; font-size: 10px; }
  .auth-form-panel { min-height: auto; padding: 56px 24px 90px; }
  .auth-form-wrap { max-width: 400px; }
  .auth-form-wrap h1 { font-size: 32px; }
  .auth-legal { bottom: 25px; }
  .auth-glows span:nth-child(1) { top: -90%; }
  .auth-glows span:nth-child(2) { bottom: -90%; right: 0; }
  .form-mark { display: none; }
  .signup-signin { margin-bottom: 26px; }
}
@media (max-width: 767px) {
  .auth-header { height: 72px; padding: 0 22px; }
  .auth-brand img { width: 98px; }
  .auth-back-site { font-size: 11px; gap: 6px; }
  .auth-scene { height: 38vh; min-height: 310px; max-height: 390px; padding: 62px 16px 42px; }
  .scanner-stage { max-width: 420px; }
  .scene-caption p { font-size: 9px; margin-bottom: 9px; }
  .payment-stages > span { width: 4px; height: 4px; }
  .auth-form-panel { margin-top: -24px; border-radius: 28px 28px 0 0; padding: 35px 24px 82px; box-shadow: 0 -8px 30px #0a2a6b05; }
  .auth-form-wrap h1 { font-size: 29px; }
  .auth-subline { font-size: 13px; margin-bottom: 24px; }
  .social-button { height: 46px; }
  .form-divider { margin: 22px 0; }
  .field-input input { font-size: 16px; }
  .form-options { margin: 18px 0 22px; }
  .auth-checkbox { font-size: 10px; }
  .inline-link { font-size: 10px !important; }
  .switch-auth { font-size: 11px; }
  .signup-signin { font-size: 10px; margin-bottom: 24px; }
  .signup-progress { margin-bottom: 28px; }
  .password-requirements li { font-size: 9px; }
  .signup-success h1 { font-size: 42px; }
  .reset-back { font-size: 12px !important; margin-bottom: 28px; }
  .welcome-screen h1 { font-size: 48px; }
  .welcome-screen > p:not(.auth-eyebrow):not(.preview-note) { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  .auth-page *, .auth-page *::before, .auth-page *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .success-ring path { stroke-dashoffset: 0; }
  .auth-glows span { animation: none !important; }
}
