:root { color-scheme: light; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #17243b; background: #fff; -webkit-font-smoothing: antialiased; }
* { box-sizing: border-box; }
body { margin: 0; font-size: 14px; line-height: 1.6; }
a { color: #245fdf; text-decoration: none; }
a:hover { text-decoration: underline; }
button, input { font: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #83a9f6; outline-offset: 4px; }
[hidden] { display: none !important; }
.auth-skip { position: fixed; top: -100px; left: 16px; z-index: 10; padding: 10px 16px; background: white; border-radius: 6px; }
.auth-skip:focus { top: 12px; }
.auth-layout { display: grid; grid-template-columns: minmax(380px, 43%) minmax(0, 1fr); min-height: 100dvh; }
.auth-story { display: flex; flex-direction: column; position: relative; overflow: hidden; padding: 42px 52px 30px; color: #e9f0fe; background: #111f36; }
.auth-story::after { content: ""; position: absolute; width: 500px; height: 500px; top: 18%; right: -340px; border-radius: 50%; border: 1px solid #263b5c; box-shadow: 0 0 0 65px #20365035, 0 0 0 130px #20365020; pointer-events: none; }
.auth-brand { display: inline-flex; align-items: center; gap: 11px; width: fit-content; color: white; font-size: 27px; font-weight: 720; letter-spacing: -1px; }
.auth-brand:hover { text-decoration: none; }
.auth-brand-light { color: #a9c1e7; font-weight: 400; }
.auth-brand-icon { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 42px; border-radius: 10px; background: #243c62; border: 1px solid #3e5a83; font-size: 28px; line-height: 1; }
.auth-brand-icon > span { color: #80aafd; }
.auth-story-content { position: relative; z-index: 1; width: 100%; max-width: 460px; margin: auto 0; padding: 70px 0; }
.auth-eyebrow { margin: 0 0 20px; color: #a2bce6; font-size: 10px; font-weight: 600; letter-spacing: 2.3px; }
.auth-story h2 { margin: 0; font-size: clamp(34px, 3.1vw, 48px); font-weight: 620; letter-spacing: -1.8px; line-height: 1.17; }
.auth-story-description { color: #aebfd7; max-width: 360px; margin: 24px 0 32px; font-size: 14px; line-height: 1.9; }
.auth-code-card { border: 1px solid #3a4b63; border-radius: 11px; background: #17283f; overflow: hidden; box-shadow: 0 20px 40px #07132625; }
.auth-code-heading { display: flex; align-items: center; justify-content: space-between; padding: 13px 18px; border-bottom: 1px solid #2f405a; color: #92a9ca; }
.auth-code-heading > span { display: flex; gap: 5px; }
.auth-code-heading b { width: 6px; height: 6px; border-radius: 50%; background: #566b89; }
.auth-code-heading b:first-child { background: #a47b89; }
.auth-code-heading b:nth-child(2) { background: #b4a379; }
.auth-code-heading b:nth-child(3) { background: #7eab9c; }
.auth-code-heading small { font-size: 10px; font-family: ui-monospace, monospace; }
.auth-code-line { padding: 20px 20px 0; font: 10px/1.8 ui-monospace, SFMono-Regular, Consolas, monospace; color: #dbe7fa; overflow-wrap: anywhere; }
.auth-code-line > span:first-child { margin-right: 6px; color: #9bd8ba; font-size: 9px; font-weight: 600; }
.auth-code-query { color: #91a8ca; }
.auth-code-card pre { margin: 20px; font: 11px/1.9 ui-monospace, SFMono-Regular, Consolas, monospace; color: #d7e4f9; }
.code-dim { color: #8c9fba; }
.code-key { color: #a5c7ff; }
.code-boolean { color: #9bd8ba; }
.auth-code-caption { display: flex; align-items: center; gap: 7px; padding: 12px 18px; border-top: 1px solid #2f405a; color: #8fa8ca; font-size: 9px; }
.auth-code-caption > span { width: 5px; height: 5px; border-radius: 50%; background: #9bd8ba; }
.auth-story-footer { display: flex; justify-content: space-between; gap: 16px; color: #8fa2bd; font-size: 10px; }
.auth-story-footer a { color: #b5c5dd; }
.auth-main { display: flex; flex-direction: column; min-width: 0; padding: 32px 42px 24px; }
.auth-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.auth-back { color: #65758e; font-size: 11px; }
.auth-back span { margin-right: 5px; }
.auth-language { display: flex; gap: 4px; padding: 3px; border: 1px solid #e2e8f1; border-radius: 7px; }
.auth-language a { padding: 5px 10px; color: #64748b; font-size: 10px; font-weight: 550; border-radius: 4px; }
.auth-language a[aria-current] { background: #edf3ff; color: #2456be; }
.auth-form-wrap { width: 100%; max-width: 380px; margin: auto; padding: 64px 0; }
.auth-form-icon { display: grid; place-items: center; width: 45px; height: 45px; border-radius: 12px; border: 1px solid #dce6f8; background: #f1f5fd; color: #3966b2; margin-bottom: 26px; }
.auth-form-eyebrow { margin: 0 0 8px; color: #7c8ca4; letter-spacing: 1.9px; font-size: 9px; font-weight: 650; }
.auth-form-heading h1 { margin: 0 0 10px; font-size: 32px; font-weight: 680; line-height: 1.2; letter-spacing: -1px; }
.auth-form-heading > p:last-child { margin: 0; max-width: 330px; color: #718098; font-size: 13px; line-height: 1.8; }
.auth-form { margin-top: 30px; }
.auth-field { margin-bottom: 20px; }
.auth-field label { display: block; margin-bottom: 8px; color: #3a4a65; font-weight: 550; font-size: 12px; }
.auth-field input { display: block; width: 100%; min-height: 48px; border: 1px solid #d9e1ed; border-radius: 7px; background: #fff; color: #223854; padding: 12px 14px; font-size: 13px; transition: border-color .15s, box-shadow .15s; }
.auth-field input:focus { outline: none; border-color: #779de8; box-shadow: 0 0 0 3px #245fdf10; }
.auth-field input::placeholder { color: #9aa7ba; }
.auth-password { position: relative; }
.auth-password input { padding-right: 50px; }
.auth-password button { display: grid; place-items: center; position: absolute; right: 3px; top: 3px; width: 42px; height: 42px; border: 0; border-radius: 5px; color: #8798b1; background: transparent; cursor: pointer; }
.auth-password button:hover { color: #245fdf; background: #f4f7fc; }
.auth-eye-slash { display: none; }
.auth-password button[aria-pressed="true"] .auth-eye-slash { display: block; }
.auth-caps-warning { margin: 7px 0 0; font-size: 11px; color: #8b5b08; }
.auth-submit { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 48px; padding: 12px 17px; margin-top: 27px; border: 1px solid #245fdf; border-radius: 7px; background: #245fdf; color: white; font-size: 13px; font-weight: 550; cursor: pointer; transition: background .15s; }
.auth-submit:hover { background: #174cbf; border-color: #174cbf; }
.auth-submit span { font-size: 18px; line-height: 1; }
.auth-form-footer { margin-top: 27px; padding-top: 24px; border-top: 1px solid #e8ecf3; font-size: 12px; color: #74829a; }
.auth-form-footer p { margin: 0; }
.auth-form-footer a { font-size: 12px; font-weight: 550; }
.auth-help { margin-top: 30px; color: #8b98ad; font-size: 11px; }
.auth-help a { color: #637b9f; }
.auth-bottom { text-align: center; font-size: 10px; color: #94a0b3; }
.auth-error { margin-top: 22px; padding: 13px 15px; background: #fff3f3; border: 1px solid #f1d0d4; border-radius: 7px; font-size: 12px; color: #a3374c; }
.auth-error strong { font-weight: 600; }
.auth-error p { margin: 4px 0 0; line-height: 1.7; }
@media (min-width: 1600px) { .auth-story { padding-left: max(52px, calc((100vw - 1400px) / 2)); } }
@media (max-width: 1100px) { .auth-layout { grid-template-columns: 40% minmax(0, 1fr); } .auth-story { padding: 32px; } .auth-story h2 { font-size: 35px; } .auth-code-query { display: block; padding-left: 30px; } .auth-main { padding: 28px; } }
@media (max-width: 760px) {
    .auth-layout { display: flex; flex-direction: column; }
    .auth-story { padding: 24px; }
    .auth-brand { font-size: 24px; }
    .auth-brand-icon { width: 32px; height: 35px; font-size: 24px; }
    .auth-story-content, .auth-story-footer, .auth-story::after { display: none; }
    .auth-main { flex: 1; padding: 22px 24px; }
    .auth-toolbar { gap: 10px; }
    .auth-back { font-size: 10px; }
    .auth-form-wrap { padding: 42px 0; }
    .auth-form-heading h1 { font-size: 29px; }
    .auth-field input { font-size: 16px; }
    .auth-form-icon { margin-bottom: 22px; }
}
@media (max-width: 360px) { .auth-story, .auth-main { padding-left: 20px; padding-right: 20px; } .auth-language a { padding: 5px 7px; } .auth-back { max-width: 90px; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
