:root { color-scheme: light; }
* { box-sizing: border-box; }
body { margin: 0; background: #f5f7fb; color: #17233b; font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a:focus-visible, button:focus-visible { outline: 3px solid #5546d9; outline-offset: 3px; }
.auth-page { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr); min-height: 100vh; }
.auth-shell { display: flex; flex-direction: column; align-items: flex-start; width: min(100%, 720px); padding: clamp(1.5rem, 5vw, 4.5rem); }
.auth-brand { display: inline-flex; align-items: center; gap: .65rem; color: #17233b; font-size: 1.08rem; font-weight: 650; text-decoration: none; white-space: nowrap; }
.auth-brand strong { margin-left: -.35rem; }
.auth-mark { display: grid; place-items: center; width: 2.15rem; height: 2.15rem; border-radius: .68rem; background: #5546d9; color: #fff; font-weight: 850; }
.auth-card { width: 100%; margin: auto 0; padding: clamp(1.8rem, 4vw, 3.5rem); border: 1px solid #e2e9f2; border-radius: 1.35rem; background: #fff; box-shadow: 0 20px 60px rgba(24,37,75,.08); }
.auth-eyebrow { color: #5546d9; font-size: .74rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.auth-card h1 { max-width: 550px; margin: .7rem 0 1rem; font-size: clamp(2rem, 4vw, 3.1rem); line-height: 1.08; letter-spacing: -.055em; }
.auth-card p { max-width: 510px; margin: 0 0 2rem; color: #63718a; font-size: 1rem; line-height: 1.65; }
.auth-button { display: inline-flex; align-items: center; justify-content: space-between; gap: 2rem; min-height: 3rem; width: 100%; padding: .8rem 1.1rem; border: 1px solid #5546d9; border-radius: .75rem; background: #5546d9; color: #fff; font: inherit; font-weight: 750; text-decoration: none; cursor: pointer; }
.auth-button:hover { background: #4134bd; color: #fff; }
.auth-button:disabled { opacity: .65; cursor: wait; }
.auth-card .auth-status { margin: 1rem 0 0; padding: .75rem; border-radius: .6rem; background: #fff0f0; color: #9f3434; font-size: .88rem; }
.auth-footnote { margin: 0; color: #8793a8; font-size: .8rem; }
.auth-art { position: relative; display: grid; place-items: center; overflow: hidden; background: radial-gradient(circle at 65% 38%, #9d91ff 0, #6656e0 34%, #3b3aa7 100%); color: #fff; }
.auth-art-ring { position: absolute; width: min(38vw, 450px); height: min(38vw, 450px); border: 1px solid rgba(255,255,255,.23); border-radius: 50%; }
.ring-a { transform: translate(8%, -5%); }
.ring-b { width: min(55vw, 680px); height: min(55vw, 680px); transform: translate(8%, -5%); }
.auth-art-symbol { position: relative; font-size: clamp(8rem, 17vw, 17rem); line-height: 1; text-shadow: 0 22px 45px rgba(34,25,116,.25); }
.auth-art-caption { position: absolute; bottom: 3rem; font-size: .9rem; font-weight: 650; letter-spacing: .04em; }
#output { max-width: 100%; margin: 0; padding: .85rem 1rem; border-radius: .65rem; background: #f0f4fa; color: #63718a; font: inherit; font-size: .85rem; white-space: pre-wrap; overflow-wrap: anywhere; }
@media (max-width: 760px) {
  .auth-page { grid-template-columns: 1fr; }
  .auth-shell { min-height: 100vh; }
  .auth-art { display: none; }
}
