/* 2026-11: sign-in and reset-password, design "C" (chosen 2026-11-21). One dark window with the form in the
   middle; the orange fluid (the same animated blobs as before) rises from the bottom as a blurred horizon glow,
   with a second soft glow behind the form that drifts and follows the pointer (auth-glow-2026.js sets
   --glow-x/--glow-y). Sizes follow the window, so it works from a small window up to full screen. */
body.auth-page.auth-c { --c-bg: #0d0e10; --c-line: #2a2b2f; --c-field: #141518; --c-text: #f3f1ed; --c-mute: #a5a8ae; --c-accent: #ff8a12; }
body.auth-page.auth-c .app-main { min-height: calc(100vh - 50px) !important; position: relative !important; display: grid !important; grid-template-columns: minmax(0, 1fr) !important; place-items: center !important; overflow: hidden !important; isolation: isolate; background: var(--c-bg) !important; }

/* the horizon: the fluid, blurred and faded out at its edges */
body.auth-page.auth-c .brand-stage { display: block !important; position: absolute !important; z-index: 0 !important; left: -18% !important; right: -18% !important; top: auto !important; bottom: -64% !important; height: 100% !important; min-height: 0 !important; border: 0 !important; border-radius: 50% !important; box-shadow: none !important; overflow: hidden !important; pointer-events: none; filter: blur(clamp(10px, 1.6vw, 22px)) saturate(1.08); -webkit-mask-image: radial-gradient(closest-side, #000 62%, transparent 100%); mask-image: radial-gradient(closest-side, #000 62%, transparent 100%); animation: auth-c-rise 1.1s cubic-bezier(.16, 1, .3, 1) both, auth-c-breathe 9s ease-in-out 1.1s infinite alternate !important; }
body.auth-page.auth-c .brand-stage::before, body.auth-page.auth-c .brand-stage::after { display: none !important; }

/* a soft glow behind the form, drifting slowly and leaning towards the pointer */
body.auth-page.auth-c .app-main::before { content: ""; position: absolute; z-index: 0; left: 50%; top: 46%; width: min(760px, 90vw); height: min(520px, 70vh); border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 122, 10, .16), rgba(255, 138, 18, .06) 55%, transparent 100%); filter: blur(30px); transform: translate(calc(-50% + var(--glow-x, 0px)), calc(-50% + var(--glow-y, 0px))); transition: transform 1.4s cubic-bezier(.16, 1, .3, 1); animation: auth-c-drift 14s ease-in-out infinite alternate; pointer-events: none; }
/* keeps the text calm and readable over the horizon on short windows */
body.auth-page.auth-c .access-stage::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(180deg, rgba(13, 14, 16, .92) 0%, rgba(13, 14, 16, .8) 42%, rgba(13, 14, 16, .3) 78%, rgba(13, 14, 16, 0) 100%); pointer-events: none; }
body.auth-page.auth-c .access-stage { position: relative !important; z-index: 2 !important; isolation: isolate; width: 100% !important; height: 100% !important; min-height: 0 !important; display: grid !important; place-items: center !important; overflow-y: auto !important; padding: clamp(20px, 4vh, 40px) 24px clamp(90px, 16vh, 170px) !important; box-sizing: border-box; background: transparent !important; border: 0 !important; }
body.auth-page.auth-c .access-content { width: min(380px, 100%) !important; max-width: none !important; margin: 0 !important; padding: 0 !important; display: grid !important; gap: 0 !important; background: transparent !important; border: 0 !important; box-shadow: none !important; }

body.auth-page.auth-c .access-brand { display: grid !important; justify-items: center; gap: 14px; margin: 0 0 18px !important; text-align: center; }
body.auth-page.auth-c .access-brand .auth-c-logo { display: block; width: 62px; height: auto; }
body.auth-page.auth-c .access-brand small { display: none !important; }
body.auth-page.auth-c .access-brand h1 { margin: 0 !important; color: #f6f2ec !important; font-family: Archivo, Inter, "Segoe UI", sans-serif !important; font-size: clamp(22px, 2.3vw, 27px) !important; font-weight: 700 !important; letter-spacing: -.02em !important; line-height: 1.15 !important; text-align: center; }
body.auth-page.auth-c .access-intro { margin: -8px 0 24px !important; color: var(--c-mute) !important; font-size: 13.5px !important; line-height: 1.5 !important; text-align: center; }

body.auth-page.auth-c .access-form { display: grid !important; gap: 14px !important; margin: 0 !important; }
body.auth-page.auth-c .access-form[hidden] { display: none !important; }
body.auth-page.auth-c .access-form .field:not(.loader-email-field), body.auth-page.auth-c .access-form:not(.saved-profile-mode) .loader-email-field { display: grid !important; gap: 7px !important; margin: 0 !important; }
body.auth-page.auth-c .access-form.saved-profile-mode > .loader-email-field { display: none !important; }
body.auth-page.auth-c .access-form .field label { color: #c9c4be !important; font-size: 12.5px !important; font-weight: 500 !important; letter-spacing: 0 !important; text-transform: none !important; }
body.auth-page.auth-c .access-form input:not([type="checkbox"]) { height: 46px !important; box-sizing: border-box; padding: 0 14px !important; border: 1px solid var(--c-line) !important; border-radius: 9px !important; background: var(--c-field) !important; color: var(--c-text) !important; font-size: 14px !important; box-shadow: none !important; transition: border-color .15s ease, box-shadow .15s ease; }
body.auth-page.auth-c .access-form input:not([type="checkbox"]):focus { border-color: var(--c-accent) !important; box-shadow: 0 0 0 3px rgba(255, 138, 18, .14) !important; outline: 0 !important; }
body.auth-page.auth-c .access-form .button-primary, body.auth-page.auth-c .saved-login button { height: 46px !important; border-radius: 9px !important; }
body.auth-page.auth-c .form-message { min-height: 0; margin: 0 !important; text-align: left; }
body.auth-page.auth-c .access-password-step .field + .stay-signed-in { margin-top: 14px; }

/* the saved profile: a card, then Continue below it */
body.auth-page.auth-c .saved-login:not([hidden]) { margin: 18px 0 12px !important; border: 1px solid var(--c-line) !important; border-radius: 12px !important; background: var(--c-field) !important; box-shadow: none !important; }

body.auth-page.auth-c .auth-secondary-action:not([hidden]) { height: 44px !important; min-height: 0 !important; margin-top: 2px !important; border: 1px solid var(--c-line) !important; border-radius: 9px !important; background: transparent !important; color: #e6e2dd !important; font: 600 13.5px/1 Inter, "Segoe UI", sans-serif !important; transform: none !important; }
body.auth-page.auth-c .auth-secondary-action:hover { border-color: #3a3b40 !important; background: rgba(255, 255, 255, .03) !important; color: #fff !important; }

/* Forgot password / Request access / Back to sign in: one quiet row of links */
body.auth-page.auth-c .auth-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin-top: 20px; }
body.auth-page.auth-c .auth-links a, body.auth-page.auth-c .access-content > .auth-helper-link { display: inline !important; width: auto !important; height: auto !important; min-height: 0 !important; margin: 0 !important; padding: 0 !important; border: 0 !important; background: none !important; box-shadow: none !important; color: #ffab35 !important; font-size: 13px !important; font-weight: 600 !important; text-decoration: none !important; }
body.auth-page.auth-c .auth-links a:hover, body.auth-page.auth-c .access-content > .auth-helper-link:hover { color: #ffc46e !important; text-decoration: underline !important; text-underline-offset: 3px; }
body.auth-page.auth-c .auth-links a.auth-link-quiet { color: #c9c4be !important; }
body.auth-page.auth-c .access-content > .auth-helper-link { justify-self: center; margin-top: 20px !important; }
body.auth-page.auth-c .access-content > .separator { display: none !important; }

@keyframes auth-c-rise { from { opacity: 0; transform: translateY(12%); } to { opacity: 1; transform: none; } }
@keyframes auth-c-breathe { from { transform: translateY(0) scale(1); } to { transform: translateY(-3%) scale(1.04); } }
@keyframes auth-c-drift { 0% { translate: -3% 2%; } 50% { translate: 3% -2%; } 100% { translate: -1% -3%; } }

/* short windows: the horizon sits lower so it never reaches the form */
@media (max-height: 640px) { body.auth-page.auth-c .brand-stage { bottom: -74% !important; } }
@media (max-width: 720px) { body.auth-page.auth-c .brand-stage { left: -40% !important; right: -40% !important; } }
@media (prefers-reduced-motion: reduce) {
  body.auth-page.auth-c .brand-stage { animation: none !important; }
  body.auth-page.auth-c .brand-stage .fluid-scene, body.auth-page.auth-c .brand-stage .fluid-blob, body.auth-page.auth-c .brand-stage .fluid-highlight { animation: none !important; }
  body.auth-page.auth-c .app-main::before { animation: none; transition: none; }
}

@keyframes auth-shader-in { to { opacity: 1; } }

/* 2026-11-21: the landscape background (auth-landscape-2026.js): a city at dusk, hills with trees, grass,
   slightly blurred, with the form on a card (the card of design F1). Replaces the horizon and the glow. */
body.auth-page.auth-c .auth-landscape { position: absolute; z-index: 0; inset: -20px; width: calc(100% + 40px); height: calc(100% + 40px); display: block; filter: blur(2.6px) saturate(1.08); pointer-events: none; opacity: 0; animation: auth-shader-in 1s ease .05s forwards; }
body.auth-page.auth-c .app-main.has-landscape .brand-stage, body.auth-page.auth-c .app-main.has-landscape::before { display: none !important; }
body.auth-page.auth-c .app-main.has-landscape .access-stage::before { background: radial-gradient(40% 50% at 50% 48%, rgba(10, 8, 8, .35), transparent 75%); }
body.auth-page.auth-c .auth-landscape > g { transition: transform 1.4s cubic-bezier(.16, 1, .3, 1); }
body.auth-page.auth-c .auth-landscape .rtl-far { transform: translate(calc(var(--glow-x, 0px) * -.2), calc(var(--glow-y, 0px) * -.1)); }
body.auth-page.auth-c .auth-landscape .rtl-city, body.auth-page.auth-c .auth-landscape .rtl-road { transform: translate(calc(var(--glow-x, 0px) * -.35), calc(var(--glow-y, 0px) * -.16)); }
body.auth-page.auth-c .auth-landscape .rtl-mid { transform: translate(calc(var(--glow-x, 0px) * -.55), calc(var(--glow-y, 0px) * -.25)); }
body.auth-page.auth-c .auth-landscape .rtl-near { transform: translate(calc(var(--glow-x, 0px) * -.9), calc(var(--glow-y, 0px) * -.4)); }
body.auth-page.auth-c .auth-landscape .rtl-front { transform: translate(calc(var(--glow-x, 0px) * -1.3), calc(var(--glow-y, 0px) * -.6)); }
body.auth-page.auth-c .auth-landscape .rtl-sun { transform-box: fill-box; transform-origin: center; animation: rtl-sun 7s ease-in-out infinite alternate; }
body.auth-page.auth-c .auth-landscape .rtl-mist1 { animation: rtl-mist 26s ease-in-out infinite alternate; }
body.auth-page.auth-c .auth-landscape .rtl-mist2 { animation: rtl-mist 19s ease-in-out infinite alternate-reverse; }
body.auth-page.auth-c .auth-landscape .rtl-stars { animation: rtl-stars 5s ease-in-out infinite alternate; }
body.auth-page.auth-c .auth-landscape .rtl-windows rect { opacity: .85; }
body.auth-page.auth-c .auth-landscape .rtl-windows .w1 { opacity: .55; }
body.auth-page.auth-c .auth-landscape .rtl-windows .w2 { animation: rtl-window 6s steps(1) infinite; }
body.auth-page.auth-c .auth-landscape .rtl-windows .w3 { opacity: .35; animation: rtl-window 9s steps(1) infinite reverse; }
body.auth-page.auth-c .auth-landscape .car0 { fill: #ffd27a; animation: rtl-car-right linear infinite; }
body.auth-page.auth-c .auth-landscape .car1 { fill: #ff5a1f; animation: rtl-car-left linear infinite; }
body.auth-page.auth-c .auth-landscape .rtl-g1 { fill: url(#rtl-blade1); transform-box: fill-box; transform-origin: 50% 100%; animation: rtl-sway 6s ease-in-out infinite alternate; }
body.auth-page.auth-c .auth-landscape .rtl-g2 { fill: url(#rtl-blade2); transform-box: fill-box; transform-origin: 50% 100%; animation: rtl-sway 4.5s ease-in-out infinite alternate-reverse; }
body.auth-page.auth-c .auth-landscape .sp { opacity: 0; animation-name: rtl-spark; animation-timing-function: linear; animation-iteration-count: infinite; }
@keyframes rtl-sun { from { transform: scale(.96); opacity: .9; } to { transform: scale(1.04); opacity: 1; } }
@keyframes rtl-mist { from { transform: translateX(-120px); } to { transform: translateX(120px); } }
@keyframes rtl-stars { from { opacity: .25; } to { opacity: .6; } }
@keyframes rtl-window { 0% { opacity: .9; } 40% { opacity: .2; } 70% { opacity: .75; } }
@keyframes rtl-car-right { from { transform: translateX(0); } to { transform: translateX(1720px); } }
@keyframes rtl-car-left { from { transform: translateX(1720px); } to { transform: translateX(0); } }
@keyframes rtl-sway { from { transform: skewX(-4deg); } to { transform: skewX(4deg); } }
@keyframes rtl-spark { 0% { opacity: 0; transform: translate(0, 0); } 15% { opacity: .9; } 100% { opacity: 0; transform: translate(40px, -420px); } }
body.auth-page.auth-c .app-main.has-landscape .access-content { box-sizing: border-box; width: min(460px, 100%) !important; padding: 34px 40px 30px !important; background: rgba(17, 17, 19, .94) !important; border: 1px solid rgba(255, 255, 255, .1) !important; border-radius: 18px !important; box-shadow: 0 30px 80px rgba(0, 0, 0, .45) !important; }
body.auth-page.auth-c .app-main.has-landscape .access-stage { padding-bottom: clamp(20px, 4vh, 40px) !important; }
@media (prefers-reduced-motion: reduce) { body.auth-page.auth-c .auth-landscape, body.auth-page.auth-c .auth-landscape * { animation: none !important; opacity: 1; transition: none !important; } body.auth-page.auth-c .auth-landscape .sp { opacity: 0 !important; } }
