:root { color-scheme: light; --auth-ink: #252525; --auth-muted: #747a77; --auth-accent: #2e5e4e; --auth-line: #e0e4e2; }
* { box-sizing: border-box; }
.auth-page { margin: 0; background: #f7f8f5; color: var(--auth-ink); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 14px; -webkit-font-smoothing: antialiased; }
.auth-page a { color: inherit; text-decoration: none; }
.auth-page a:hover { text-decoration: underline; text-underline-offset: 4px; }
.auth-page button, .auth-page input { font: inherit; }
.auth-page button, .auth-page a, .auth-page input { -webkit-tap-highlight-color: transparent; }
.auth-page :focus-visible { outline: 3px solid #97c4ae; outline-offset: 4px; }
.auth-page [hidden] { display: none !important; }
.auth-skip-link { position: fixed; top: -100px; left: 16px; z-index: 10; padding: 12px 18px; background: #fff; border-radius: 6px; }
.auth-skip-link:focus { top: 16px; }
.auth-shell { display: grid; grid-template-columns: minmax(0, 49fr) minmax(0, 51fr); min-height: 100vh; min-height: 100svh; padding: 14px; gap: 14px; }
.auth-story { position: relative; display: flex; flex-direction: column; min-width: 0; overflow: hidden; padding: 34px 44px 26px; color: #e9efec; background: #234a3d; border-radius: 16px; }
.auth-story::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse at 100% 65%, #526e6055, transparent 60%); }
.auth-story-content { position: relative; width: 100%; max-width: 530px; margin: auto; padding: 58px 0 50px; }
.auth-eyebrow { display: flex; align-items: center; gap: 8px; color: #bec9c4; font-size: 10px; letter-spacing: 1.9px; font-weight: 600; margin: 0 0 22px; }
.auth-eyebrow > span { height: 6px; width: 6px; border-radius: 50%; background: #d0e4da; box-shadow: 0 0 0 4px #d0e4da12; }
.auth-story h2 { margin: 0; font-size: clamp(36px, 3.55vw, 56px); line-height: 1.13; letter-spacing: -2.2px; font-weight: 450; }
.auth-story h2 em { font-family: Georgia, "Times New Roman", serif; font-weight: 400; color: #e4ba9f; }
.auth-story-description { color: #bdc8c3; line-height: 1.8; font-size: 14px; max-width: 360px; margin: 22px 0 0; }
.auth-illustration { position: relative; max-width: 442px; margin: 44px auto 0; padding: 10px 24px 28px 8px; }
.auth-orbit { position: absolute; border: 1px solid #c2dccf1c; border-radius: 50%; pointer-events: none; }
.auth-orbit-one { width: 450px; height: 450px; left: -65px; top: -40px; }
.auth-orbit-two { width: 350px; height: 350px; left: -15px; top: 10px; }
.auth-image-card { position: relative; background: #ebf2ef; border: 1px solid #ffffff75; padding: 10px; border-radius: 13px; transform: rotate(-5deg); box-shadow: 0 22px 45px #14241c40; color: #565e5a; }
.auth-image-card-top { display: flex; align-items: center; gap: 6px; font-size: 9px; padding: 2px 2px 10px; }
.auth-image-card-top > span:last-child { margin-left: auto; font-size: 15px; }
.auth-mini-dot { width: 5px; height: 5px; background: #788b82; border-radius: 50%; }
.auth-artwork { display: block; width: 100%; height: auto; border-radius: 5px; }
.auth-image-card-bottom { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 12px 2px 2px; font-size: 9px; }
.auth-search-icon { font-size: 16px; vertical-align: -1px; margin-right: 4px; }
.auth-image-tag { border: 1px solid #cdd6d2; border-radius: 4px; padding: 4px 6px; font-size: 8px; white-space: nowrap; }
.auth-match-card { position: absolute; bottom: 2px; right: -3px; display: flex; align-items: center; gap: 12px; padding: 15px 18px; width: 268px; border: 1px solid #fff; border-radius: 11px; background: #fafcfb; color: #355e4a; box-shadow: 0 15px 35px #121f1935; transform: rotate(3deg); }
.auth-match-icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 9px; background: #e6eeea; }
.auth-match-icon svg { width: 23px; height: 23px; }
.auth-match-card strong { display: block; font-size: 12px; font-weight: 600; }
.auth-match-card small { display: block; margin-top: 5px; font-size: 9px; color: #6d7772; }
.auth-match-check { display: grid; place-items: center; margin-left: auto; height: 20px; width: 20px; border-radius: 50%; background: #d3e6dd; font-size: 11px; }
.auth-story-footer { position: relative; display: flex; align-items: center; justify-content: space-between; color: #adb8b3; font-size: 11px; letter-spacing: .2px; }
.auth-footer-symbol { color: #afcebf; font-size: 26px; }
.auth-main { display: flex; min-width: 0; flex-direction: column; padding: 24px 38px 14px; }
.auth-topbar, .auth-footer { display: flex; justify-content: space-between; align-items: center; gap: 16px; color: var(--auth-muted); font-size: 11px; }
.auth-workspace-label { font-size: 9px; letter-spacing: 1.6px; color: #6e7873; }
.auth-topbar a { color: #56615c; }
.auth-topbar a > span { margin-right: 5px; }
.auth-form-area { width: 100%; max-width: 382px; margin: auto; padding: 66px 0; }
.auth-form-area-register { max-width: 420px; padding-top: 42px; padding-bottom: 42px; }
.auth-form-brand { display: inline-block; max-width: 100%; margin-bottom: 27px; }
.auth-form-brand img { display: block; width: 245px; max-width: 100%; height: auto; }
.auth-form-eyebrow { margin: 0 0 12px; font-size: 9px; letter-spacing: 1.6px; font-weight: 600; color: #67776f; }
.auth-form-area h1 { margin: 0; font-size: 38px; font-weight: 550; letter-spacing: -1.7px; line-height: 1.2; }
.auth-form-description { color: var(--auth-muted); margin: 12px 0 34px; font-size: 13px; line-height: 1.6; }
.auth-field { margin-bottom: 21px; }
.auth-register-form .auth-field { margin-bottom: 16px; }
.auth-field label { display: block; font-size: 12px; font-weight: 600; margin-bottom: 9px; }
.auth-label-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.auth-label-row a { color: #5a6f65; font-size: 11px; }
.auth-input-wrap { position: relative; }
.auth-input-wrap input { display: block; width: 100%; min-width: 0; height: 49px; border: 1px solid #dae1de; border-radius: 7px; padding: 0 44px 0 42px; background: #fff; color: var(--auth-ink); font-size: 13px; transition: border-color .15s, box-shadow .15s; }
.auth-input-wrap input::placeholder { color: #767c79; }
.auth-input-wrap input:focus { outline: none; border-color: #6b7e75; box-shadow: 0 0 0 3px #6b7e7515; }
.auth-input-wrap input[readonly] { border-color: #e1e6e3; background: #f2f5f3; color: #68736e; }
.auth-input-icon { position: absolute; top: 15px; left: 14px; width: 18px; height: 18px; color: #8d9491; pointer-events: none; }
.auth-password-toggle { position: absolute; right: 3px; top: 3px; width: 43px; height: 43px; padding: 12px; border: 0; border-radius: 5px; background: transparent; color: #8d9491; cursor: pointer; }
.auth-password-toggle:hover { color: var(--auth-ink); background: #f0f4f2; }
.auth-password-toggle svg { display: block; width: 19px; height: 19px; }
.auth-eye-slash { display: none; }
.auth-password-toggle[aria-pressed="true"] .auth-eye-slash { display: block; }
.auth-remember { display: inline-flex; align-items: center; gap: 9px; margin: 0 0 25px; color: #6c7470; font-size: 12px; cursor: pointer; }
.auth-remember input { accent-color: var(--auth-accent); margin: 0; height: 15px; width: 15px; cursor: pointer; }
.auth-submit { display: flex; align-items: center; justify-content: center; gap: 14px; width: 100%; min-height: 49px; padding: 12px 20px; border: 1px solid var(--auth-accent); border-radius: 7px; color: #fff; background: var(--auth-accent); font-size: 13px; font-weight: 600; cursor: pointer; box-shadow: 0 4px 8px #1f352a10; transition: background .15s, box-shadow .15s; }
.auth-submit span { font-size: 20px; font-weight: 400; line-height: 1; }
.auth-submit:hover { background: #234a3d; box-shadow: 0 5px 14px #1f352a25; }
.auth-register { margin: 23px 0 28px; text-align: center; color: var(--auth-muted); font-size: 12px; line-height: 1.8; }
.auth-register a { color: var(--auth-accent); font-weight: 600; margin-left: 3px; }
.auth-confirmation { display: flex; flex-direction: column; align-items: center; gap: 8px; padding-top: 23px; border-top: 1px solid var(--auth-line); font-size: 11px; color: #707a75; }
.auth-confirmation a { color: #5e7067; }
.auth-footer { font-size: 10px; }
.auth-footer a span { margin-left: 5px; }
.auth-field-error { display: block; color: #b13434; font-size: 12px; margin-top: 7px; line-height: 1.5; }
.auth-field-error:empty, .auth-validation-summary.validation-summary-valid { display: none; }
.auth-field-help { display: block; color: #6b7a71; font-size: 12px; margin-top: 7px; line-height: 1.5; }
.auth-validation-summary.validation-summary-errors { margin-bottom: 23px; border: 1px solid #eaccca; border-radius: 7px; padding: 12px 14px; background: #fff3f1; color: #a53636; font-size: 12px; line-height: 1.6; }
.auth-validation-summary ul { padding-left: 16px; margin: 0; }
.auth-input-wrap input.input-validation-error { border-color: #c76760; }
.auth-invitation { display: flex; align-items: flex-start; gap: 11px; margin-bottom: 21px; padding: 13px 14px; border: 1px solid #cfe0d6; border-radius: 8px; background: #eff5f1; color: #52665b; font-size: 11px; line-height: 1.6; }
.auth-invitation-icon { display: grid; width: 21px; height: 21px; flex: 0 0 auto; margin-top: 1px; border-radius: 50%; background: var(--auth-accent); color: #fff; font-size: 11px; place-items: center; }
.auth-invitation strong { color: #30493c; font-weight: 650; }
.turnstile-status { margin-bottom: 12px; color: var(--auth-muted); font-size: 12px; line-height: 1.5; }
.turnstile-widget { margin-bottom: 16px; }
@media (min-width: 1500px) {
    .auth-story { padding: 42px 64px 30px; }
    .auth-story-content { max-width: 560px; }
    .auth-illustration { max-width: 475px; margin-top: 54px; }
    .auth-form-area { max-width: 410px; }
    .auth-form-area-register { max-width: 440px; }
    .auth-main { padding: 34px 52px 24px; }
}
@media (max-width: 1050px) {
    .auth-story { padding: 28px 28px 22px; }
    .auth-main { padding: 22px 26px 16px; }
    .auth-workspace-label { display: none; }
    .auth-topbar { justify-content: flex-end; }
    .auth-story h2 { font-size: 37px; letter-spacing: -1.6px; }
    .auth-image-card-bottom { font-size: 8px; }
    .auth-image-tag { display: none; }
    .auth-match-card { width: 238px; padding: 13px; }
}
@media (max-width: 760px) {
    .auth-shell { display: flex; flex-direction: column; gap: 0; padding: 10px; }
    .auth-story { padding: 20px 24px; border-radius: 11px; }
    .auth-story-content { max-width: none; padding: 24px 0 8px; }
    .auth-eyebrow, .auth-illustration, .auth-story-footer, .auth-story-description { display: none; }
    .auth-story h2 { font-size: 28px; line-height: 1.2; letter-spacing: -.8px; }
    .auth-story h2 br { display: none; }
    .auth-main { flex: 1; padding: 18px 18px 12px; }
    .auth-form-area { padding: 28px 0 45px; }
    .auth-form-brand img { width: 210px; }
    .auth-form-area h1 { font-size: 34px; }
    .auth-form-description { margin-bottom: 28px; }
    .auth-input-wrap input { font-size: 16px; }
    .auth-footer { margin-top: auto; }
}
@media (prefers-reduced-motion: reduce) {
    .auth-page *, .auth-page *::before, .auth-page *::after { transition: none !important; }
}
