.auth-page { min-height: 100svh; display: grid; place-items: center; padding: 32px; background: #eeece1; }
.auth-shell { width: min(1120px,100%); max-width: none; min-height: 680px; display: grid; grid-template-columns: 1fr 1fr; padding: 0; margin: 0; gap: 0; align-items: stretch; background: #fbfaf7; border-radius: 26px; overflow: hidden; box-shadow: 0 24px 80px #263d3d12; }
.auth-story { position: relative; display: flex; flex-direction: column; padding: 48px; color: #eeece1; background: #263b40; overflow: hidden; }
.auth-story::after { content: ''; position: absolute; width: 520px; height: 520px; border: 1px solid #eeece11a; border-radius: 50%; top: -290px; right: -300px; box-shadow: 0 0 0 64px #eeece106,0 0 0 128px #eeece104; pointer-events: none; }
.auth-brand { font: 700 25px var(--sans); letter-spacing: 6px; position: relative; z-index: 1; }
.auth-brand span { display: block; margin-top: 7px; font: 400 12px var(--sans); color: #b9c8c9; letter-spacing: 1px; }
.auth-story-copy { margin: auto 0 40px; padding-top: 90px; position: relative; z-index: 1; }
.auth-kicker { font-size: 11px; letter-spacing: 1.6px; text-transform: uppercase; color: #b9c8c9; display: flex; align-items: center; gap: 10px; margin-bottom: 22px; }
.auth-kicker span { width: 6px; height: 6px; background: #b9c8c9; border-radius: 50%; }
.auth-story h1 { font: 400 clamp(38px,4.1vw,54px)/1.13 var(--serif); letter-spacing: -1.8px; margin: 0 0 24px; }
.auth-story h1 em { color: #c0d0d3; font-weight: 400; }
.auth-story-copy p { font-size: 15px; line-height: 1.8; max-width: 34ch; margin: 0; color: #bdc9c9; }
.auth-journey { margin-top: auto; display: flex; align-items: center; gap: 15px; padding: 24px 0; border-top: 1px solid #eeece126; border-bottom: 1px solid #eeece126; font-size: 13px; }
.auth-journey span { display: flex; gap: 8px; align-items: center; }
.auth-journey i { font: 400 11px var(--sans); color: #a4b9bf; }
.auth-journey b { color: #80999e; font-weight: 400; }
.auth-story-foot { color: #a4b9bf; font-size: 11px; margin-top: 26px; }
.auth-entry { display: flex; flex-direction: column; justify-content: center; padding: 52px 58px 28px; min-width: 0; }
.auth-form-wrap { width: 100%; max-width: 370px; margin: auto; padding: 28px 0; }
.auth-step { font-size: 10px; font-weight: 600; letter-spacing: 1.8px; color: #647b85; margin-bottom: 32px; }
.auth-icon { display: grid; place-items: center; width: 48px; height: 48px; background: #e6eced; color: #4f666f; border-radius: 15px; margin-bottom: 23px; }
.auth-icon svg { width: 24px; height: 24px; }
.auth-entry h2 { font: 400 36px/1.15 var(--serif); letter-spacing: -1px; text-transform: none; color: #1c1c1c; margin: 0 0 14px; }
.auth-intro { font-size: 14px; line-height: 1.8; color: #666c6d; margin: 0 0 30px; }
.auth-form { display: grid; gap: 10px; }
.auth-form label { font-size: 12px; font-weight: 600; color: #3f4c4f; }
.auth-form input { min-width: 0; width: 100%; min-height: 56px; font: 400 16px var(--sans); background: #fff; border: 1px solid #cdd6d7; border-radius: 12px; padding: 15px 16px; color: #1c1c1c; outline: none; transition: box-shadow .15s,border-color .15s; }
.auth-form input::placeholder { color: #959ea0; }
.auth-form input:focus { border-color: #647b85; box-shadow: 0 0 0 3px #647b8520; }
.auth-form .auth-code { font-size: 27px; letter-spacing: .35em; font-variant-numeric: tabular-nums; text-align: center; padding-left: calc(16px + .35em); }
.auth-submit { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; padding: 16px 19px; border-radius: 12px; background: #263b40; color: #fff; font-size: 13px; font-weight: 500; margin-top: 5px; transition: background .15s; }
.auth-submit:hover { background: #3b5359; }
.auth-submit span { font-size: 21px; font-weight: 400; line-height: 1; }
.auth-hint { font-size: 11px; color: #7a8385; text-align: center; margin: 5px 0 0; line-height: 1.7; }
.auth-footer { display: flex; justify-content: center; align-items: center; gap: 7px; font-size: 10px; color: #7a8385; padding-top: 28px; }
.auth-footer svg { width: 13px; height: 13px; }
.auth-recipient { overflow-wrap: anywhere; margin: -12px 0 18px; font-size: 13px; color: #3f555b; font-weight: 500; }
.auth-message { font-size: 12px; line-height: 1.65; padding: 12px 14px; border-radius: 10px; background: #e6eced; color: #4f666f; margin: 0 0 20px; }
.auth-error { background: #f6e9e5; color: #854936; }
.auth-resend { margin-top: 24px; font-size: 11px; color: #7a8385; line-height: 1.8; }
.auth-resend button { min-height: 44px; color: #3f555b; text-decoration: underline; text-underline-offset: 3px; padding: 0 3px; font-size: inherit; }
.auth-change { margin-top: 8px; font-size: 12px; color: #4f666f; }
.auth-change summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; text-decoration: underline; text-underline-offset: 3px; }
.auth-change[open] .auth-form { margin: 8px 0; }
.auth-change summary:focus-visible { outline: 3px solid #647b85; outline-offset: 3px; border-radius: 6px; }
@media(max-width:1100px) { .auth-story { padding: 38px; } .auth-entry { padding: 38px 36px 26px; } .auth-journey { gap: 12px; } }
@media(max-width:760px) { .auth-page { padding: 20px; } .auth-shell { grid-template-columns: 1fr; min-height: 0; max-width: 520px; border-radius: 20px; } .auth-story { padding: 28px 30px; } .auth-brand { font-size: 22px; } .auth-story-copy { margin: 30px 0 0; padding: 0; } .auth-kicker,.auth-story-copy p,.auth-journey,.auth-story-foot { display: none; } .auth-story h1 { font-size: 35px; margin: 0; } .auth-story h1 br { display: none; } .auth-entry { padding: 30px; } .auth-form-wrap { padding: 0; max-width: none; } .auth-step { margin-bottom: 24px; } .auth-icon { display: none; } .auth-entry h2 { font-size: 31px; } .auth-intro { margin-bottom: 24px; } .auth-footer { margin-top: 12px; } }
@media(max-width:400px) { .auth-page { padding: 12px; } .auth-story,.auth-entry { padding: 25px; } .auth-story h1 { font-size: 32px; } }
