:root { color-scheme: light; font-family: "Segoe UI", Arial, sans-serif; color: #172b3b; background: #eef2f5; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; display: grid; place-items: center; padding: 40px; }
.login-shell { width: min(1080px, 100%); min-height: 650px; display: grid; grid-template-columns: 46% 54%; background: white; border-radius: 24px; overflow: hidden; box-shadow: 0 24px 80px #14283d12; }
.intro { padding: 48px; background: radial-gradient(ellipse at 100% 100%, #2c6e68 0, transparent 65%), #123c41; color: #fff; display: flex; flex-direction: column; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 700; letter-spacing: 1.8px; flex-wrap: wrap; }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; background: #ffffff1c; border: 1px solid #ffffff30; border-radius: 9px; letter-spacing: 0; }
.brand-sub { font-size: 10px; font-weight: 500; color: #a9ceca; letter-spacing: 2px; }
.eyebrow { font-size: 10px; font-weight: 700; letter-spacing: 2px; color: #467671; }
.intro .eyebrow { color: #9bd6c8; }
h1 { font-size: clamp(32px, 3.5vw, 43px); line-height: 1.2; letter-spacing: -1.4px; font-weight: 600; margin: 20px 0; }
.intro-copy p { color: #bfd2d2; font-size: 15px; line-height: 1.7; max-width: 280px; }
.intro-footer { display: flex; align-items: center; gap: 10px; font-size: 11px; color: #b5d0cd; }
.status-dot { width: 6px; height: 6px; background: #83cdb6; border-radius: 50%; }
.form-panel { display: flex; flex-direction: column; justify-content: center; padding: 72px 64px 30px; }
.form-content { flex: 1; display: flex; flex-direction: column; justify-content: center; }
h2 { font-size: 27px; letter-spacing: -.8px; font-weight: 650; margin: 14px 0 10px; }
.subtitle { color: #687884; font-size: 14px; margin: 0 0 34px; }
label { display: block; font-size: 12px; font-weight: 600; margin-bottom: 9px; }
input { width: 100%; height: 49px; padding: 0 14px; border: 1px solid #dce3e6; border-radius: 8px; font: inherit; font-size: 14px; margin-bottom: 22px; background: #fcfdfd; transition: border-color .15s, box-shadow .15s; }
input::placeholder { color: #94a0a9; }
input:focus { outline: none; border-color: #2a756a; box-shadow: 0 0 0 3px #2a756a20; }
input[aria-invalid="true"] { border-color: #b64040; }
button { width: 100%; border: 0; border-radius: 8px; padding: 15px 18px; display: flex; justify-content: center; align-items: center; gap: 10px; background: #1c6158; color: #fff; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
button:hover { background: #154d47; }
button:focus-visible { outline: 3px solid #89bdb5; outline-offset: 3px; }
button:disabled { opacity: .7; cursor: wait; }
.button-arrow { margin-left: auto; }
#button-label { margin-left: auto; }
.spinner { width: 16px; height: 16px; border: 2px solid #ffffff50; border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; }
.message { font-size: 12px; line-height: 1.5; margin: -8px 0 16px; }
.message:empty { display: none; }
.error { color: #a82e36; }
.help { color: #75838c; font-size: 11px; text-align: center; margin: 24px 0 40px; line-height: 1.6; }
footer { border-top: 1px solid #edf0f2; padding-top: 20px; color: #7b8992; font-size: 10px; display: flex; justify-content: space-between; gap: 12px; }
.success-panel { padding: 24px; border: 1px solid #d0e7df; background: #f1faf6; border-radius: 12px; text-align: center; }
.success-icon { font-size: 28px; color: #1c6158; }
.success-panel h3 { margin: 10px 0; }
.success-panel p { overflow-wrap: anywhere; font-size: 14px; color: #467671; }
[hidden] { display: none !important; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spinner { animation: none; } }
@media (max-width: 760px) { body { padding: 20px; } .login-shell { grid-template-columns: 1fr; min-height: auto; } .intro { padding: 28px; gap: 28px; } .intro-copy h1 { font-size: 32px; } .intro-copy p, .intro-footer { display: none; } .form-panel { padding: 36px 28px 24px; } h2 { font-size: 24px; } }

.workspace-link { display: inline-block; margin-top: 8px; padding: 12px 18px; border-radius: 8px; background: #1c6158; color: white; font-size: 13px; text-decoration: none; font-weight: 600; }
.workspace-link:hover { background: #154d47; }
.workspace-link:focus-visible { outline: 3px solid #89bdb5; outline-offset: 3px; }
