:root { color-scheme: light; font-family: 'Manrope', system-ui, sans-serif; color: #29163c; background: #f4effa; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100svh; display: grid; place-items: center; padding: 32px 24px; background: radial-gradient(ellipse at 10% 15%, #d9c7f2, transparent 50%), radial-gradient(ellipse at 95% 85%, #e2d6f7, transparent 45%), #f4effa; }
a { color: inherit; }
button, input { font: inherit; }
.login-shell { width: min(100%, 1040px); display: grid; grid-template-columns: 1fr 1fr; border: 1px solid #fff; border-radius: 30px; background: #fff; box-shadow: 0 30px 90px #3a176424; overflow: hidden; animation: login-enter .65s ease both; }
.login-story { background: radial-gradient(ellipse at 100% 100%, #8657b3, transparent 65%), #472078; color: #fff; padding: 34px 40px; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.login-brand { align-self: flex-start; background: #fff; border-radius: 12px; padding: 5px 9px; }
.login-brand img { display: block; width: 90px; height: 50px; object-fit: contain; }
.story-copy { padding: 35px 0 20px; }
.login-eyebrow { display: block; font-size: 10px; font-weight: 800; letter-spacing: .18em; }
.login-story .login-eyebrow { color: #dfcdec; }
.story-copy h2 { font-family: 'Space Grotesk', sans-serif; font-size: clamp(36px, 4vw, 54px); letter-spacing: -.055em; line-height: 1.08; margin: 20px 0; }
.story-copy h2 span { color: #dfcdec; }
.story-copy p { font-size: 14px; line-height: 1.8; max-width: 320px; color: #eee5f7; }
.back-home { text-decoration: none; font-size: 12px; font-weight: 700; color: #eee5f7; width: fit-content; }
.back-home:hover { color: #fff; }
.workspace-art { position: relative; border: 1px solid #ffffff60; border-radius: 14px; padding: 15px; margin: 25px 18px 15px 0; background: #ffffff0d; transform: rotate(-3deg); box-shadow: 15px 15px 0 #ffffff08; }
.workspace-top { display: flex; gap: 4px; margin-bottom: 16px; }
.workspace-top i { width: 5px; height: 5px; background: #dfcdec; border-radius: 50%; }
.workspace-grid { display: flex; gap: 8px; }
.workspace-grid span { height: 45px; flex: 1; border-radius: 6px; background: linear-gradient(135deg, #f2e7ff80, #ffffff18); }
.workspace-lines { margin-top: 14px; }
.workspace-lines i { display: block; height: 5px; width: 80%; margin-top: 7px; border-radius: 4px; background: #ffffff35; }
.workspace-lines i:nth-child(2) { width: 60%; }
.workspace-lines i:nth-child(3) { width: 70%; }
.workspace-art b { position: absolute; right: -18px; top: -28px; color: #dfcdec; font-size: 57px; animation: mark-turn 1.2s ease both; }
.login-panel { padding: 40px; }
.portal-switch { display: grid; grid-template-columns: 1fr 1fr; padding: 5px; border-radius: 13px; background: #f3edf8; gap: 4px; }
.portal-switch a { text-align: center; text-decoration: none; border-radius: 9px; padding: 11px 6px; color: #6b557d; font-size: 12px; font-weight: 800; transition: color .2s, background .2s, box-shadow .2s; }
.portal-switch a.active { background: #5f259f; color: #fff; box-shadow: 0 3px 10px #5f259f30; }
.portal-switch a:not(.active):hover { background: #e6d9f2; color: #472078; }
.login-heading { margin: 30px 0 27px; }
.portal-mark { display: grid; place-items: center; width: 43px; height: 43px; border-radius: 12px; background: #eee5f7; color: #5f259f; font-size: 26px; margin-bottom: 20px; }
.login-heading .login-eyebrow { color: #785891; }
.login-heading h1 { font-family: 'Space Grotesk', sans-serif; font-size: clamp(28px, 3vw, 36px); letter-spacing: -.05em; line-height: 1.2; color: #472078; margin: 10px 0; }
.login-heading p { font-size: 13px; color: #705c80; line-height: 1.6; margin: 0; }
.login-field { margin-bottom: 20px; }
.login-field label { display: block; font-size: 12px; font-weight: 800; color: #492c60; margin-bottom: 9px; }
.login-field input { display: block; width: 100%; min-height: 52px; border: 1px solid #dccfe8; border-radius: 11px; background: #fcfaff; padding: 13px 15px; color: #29163c; font-size: 14px; transition: border-color .2s, box-shadow .2s; }
.login-field input::placeholder { color: #897294; }
.login-field input:focus { outline: 0; border-color: #8c5ab8; box-shadow: 0 0 0 4px #5f259f12; }
.login-field input[aria-invalid] { border-color: #b8394d; }
.password-wrap { position: relative; }
.password-wrap input { padding-right: 70px; }
.password-wrap button { position: absolute; right: 10px; top: 10px; height: 32px; border: 0; border-radius: 6px; background: #eee5f7; color: #5f259f; font-size: 11px; font-weight: 800; cursor: pointer; }
.sign-in { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 53px; border: 0; border-radius: 11px; padding: 14px 20px; margin-top: 26px; background: linear-gradient(120deg, #5f259f, #7435b4); color: #fff; font-size: 14px; font-weight: 800; cursor: pointer; box-shadow: 0 8px 20px #5f259f25; transition: background .2s, box-shadow .2s; }
.sign-in span { font-size: 21px; line-height: 1; }
.sign-in:hover { background: #472078; box-shadow: 0 10px 24px #5f259f40; }
.login-note { margin: 22px 0 0; text-align: center; font-size: 10px; line-height: 1.6; color: #786383; }
.login-error { border: 1px solid #e9b0ba; background: #fff0f3; border-radius: 9px; padding: 12px; color: #a0233a; font-size: 12px; line-height: 1.6; margin-bottom: 20px; }
a:focus-visible, button:focus-visible { outline: 3px solid #bc8ce1; outline-offset: 4px; }
@keyframes login-enter { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes mark-turn { from { rotate: -35deg; } to { rotate: 0deg; } }
@media (max-width: 760px) { body { padding: 20px 14px; } .login-shell { max-width: 480px; grid-template-columns: 1fr; border-radius: 23px; } .login-story { padding: 20px 26px; flex-direction: row; align-items: center; gap: 16px; } .story-copy { display: none; } .login-panel { padding: 27px; } .login-heading { margin-top: 24px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
