/* Login shell and component measurements sourced from Simulynth Assistant v2:
   v2/web/src/styles.css at commit 3af2a5442bef02bfc83728f76b8031674a8f9bde.
   Fonts and orb are copied from the same Assistant source family; see assets/OFL-*.txt. */
@font-face { font-family: "Inter Variable"; src: url("/login/assets/inter-latin-wght-normal.woff2") format("woff2"); font-style: normal; font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Manrope Variable"; src: url("/login/assets/manrope-latin-wght-normal.woff2") format("woff2"); font-style: normal; font-weight: 200 800; font-display: swap; }
:root { font-family: "Inter Variable", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #f5f3fa; background: #0d0d11; font-synthesis: none; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; --accent: #b18bff; --accent-bright: #c0a1ff; --muted: #9b98aa; --safe-bottom: env(safe-area-inset-bottom, 0px); }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { width: 100%; min-width: 320px; min-height: 100%; margin: 0; }
body { background: #0d0d11; }
button, input, select { font: inherit; }
button { color: inherit; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
button:disabled { opacity: .55; cursor: wait; }
.connect-page { min-height: 100dvh; display: grid; place-items: center; padding: 25px; background: radial-gradient(ellipse at 50% 35%, rgba(84, 58, 129, .18), transparent 43%), #0e0e12; }
.connect-card { width: min(430px, 100%); padding: 29px 30px 25px; border: 1px solid #302d37; border-radius: 24px; background: rgba(20, 20, 25, .94); box-shadow: 0 24px 80px #0005; }
.wordmark { display: inline-flex; min-height: 44px; align-items: center; color: #fbfaff; font: 600 25px/1 "Manrope Variable", Manrope, sans-serif; letter-spacing: -1.4px; text-decoration: none; }
.connect-orb { width: 150px; height: 150px; margin: 18px auto 2px; filter: drop-shadow(0 0 28px rgba(152, 104, 255, .3)); animation: orb-float 7s ease-in-out infinite; }
.connect-orb img { width: 100%; height: 100%; object-fit: contain; transform-origin: center; animation: orb-idle-turn 16s linear infinite; will-change: transform; }
.eyebrow { margin: 0 0 6px; color: #aaa6b4; font-size: 10px; font-weight: 700; letter-spacing: .12em; text-align: center; }
.connect-card h1 { margin: 0; color: #f8f6fc; font: 600 27px/1.2 "Manrope Variable", Manrope, sans-serif; letter-spacing: -.8px; text-align: center; }
.connect-copy { max-width: 335px; margin: 11px auto 24px; color: #a6a2b1; font-size: 13px; line-height: 1.65; text-align: center; }
.connect-form { display: grid; gap: 10px; }
#auth-fields { display: grid; gap: 10px; }
.connect-form label { display: grid; gap: 10px; color: #c3bfcc; font-size: 11px; font-weight: 600; }
.connect-form input, .connect-form select { width: 100%; min-height: 47px; padding: 0 13px; border: 1px solid #393642; border-radius: 10px; color: #f4f1f8; background: #101014; font-size: 13px; }
.connect-form input::placeholder { color: #aaa6b4; }
.connect-form select option { color: #f4f1f8; background: #101014; }
.primary-button, .secondary-button { min-height: 45px; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 0 14px; border: 0; border-radius: 10px; font-size: 12px; font-weight: 700; cursor: pointer; }
.primary-button { margin-top: 3px; color: #181221; background: #b18bff; }
.primary-button:hover:not(:disabled) { background: #c2a5ff; }
.secondary-button { margin-top: 9px; border: 1px solid #35313e; color: #d0c0ed; background: #1a191f; }
.secondary-button:hover:not(:disabled) { border-color: #705894; background: #23202b; }
.login-link { display: block; min-height: 44px; margin: 4px auto 0; padding: 0 10px; border: 0; color: #c5a4ff; background: transparent; font-size: 11px; font-weight: 600; cursor: pointer; }
.login-link:hover:not(:disabled) { color: #ddcaff; text-decoration: underline; }
.recover-session { display: inline-flex; width: auto; min-height: 44px; margin: 0; padding: 0 13px; justify-self: start; font-size: 11px; font-weight: 600; }
.error-text, .auth-notice { margin: 2px 0; font-size: 11px; line-height: 1.5; }
.error-text { color: #f0a7ac; }
.auth-notice { color: #d7c6f6; }
.auth-challenge-note { margin: 0; color: #aaa6b4; font-size: 12px; line-height: 1.55; }
.auth-challenge-note code { overflow-wrap: anywhere; color: #d3c3ee; }
@media (max-width: 680px) { .connect-page { overflow-y: auto; align-items: safe center; padding-top: calc(20px + env(safe-area-inset-top, 0px)); padding-bottom: calc(20px + var(--safe-bottom)); } .connect-card { padding: 24px 21px 21px; border-radius: 20px; } .connect-orb { width: 128px; height: 128px; } .connect-card h1 { font-size: 24px; } .connect-form input, .connect-form select, .primary-button, .secondary-button, .login-link { min-height: 44px; } }
@media (max-height: 690px) and (max-width: 680px) { .connect-orb { height: 112px; width: 112px; margin-top: 8px; } .connect-card { padding-top: 18px; } .connect-card h1 { font-size: 22px; } .connect-copy { margin-bottom: 14px; } }
@keyframes orb-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes orb-idle-turn { 0% { transform: rotate(0deg) scale(1); } 50% { transform: rotate(180deg) scale(1.04); } 100% { transform: rotate(360deg) scale(1); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
