:root { font-family: 'Segoe UI', Arial, sans-serif; color: #24314b; background: #f2f4f9; font-synthesis: none; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; }
.site-header { height: 86px; background: #19243b; color: #fff; display: flex; align-items: center; justify-content: space-between; padding: 0 max(5vw, 24px); }
.brand { display: flex; align-items: center; gap: 13px; color: #fff; text-decoration: none; font-size: 19px; letter-spacing: 1px; }
.brand b { color: #b0b9ff; font-weight: 600; }
.brand small { display: block; color: #a7b3c9; letter-spacing: 0; font-size: 11px; margin-top: 4px; }
.brand-icon { display: grid; place-items: center; width: 39px; height: 39px; border: 1px solid #5b6aa0; border-radius: 10px; color: #b2bbff; font-size: 28px; }
.header-link { text-decoration: none; color: #d4dcf0; font-size: 13px; }
.header-link:hover { color: #fff; }
.auth-layout { max-width: 1120px; margin: 0 auto; min-height: calc(100vh - 146px); padding: 60px 26px; }
.login-layout { display: grid; grid-template-columns: 1fr 440px; align-items: center; gap: 90px; padding-top: 20px; }
.eyebrow { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; font-weight: 600; color: #6672ab; }
h1 { font-size: clamp(28px, 3vw, 43px); line-height: 1.2; font-weight: 650; letter-spacing: -1px; margin: 18px 0 18px; }
.intro p { font-size: 16px; line-height: 1.7; color: #657189; max-width: 450px; }
.feature { margin-top: 28px; padding-left: 16px; border-left: 2px solid #6573d5; color: #455475; font-size: 13px; line-height: 1.65; }
.card { background: #fff; border: 1px solid #e0e5ef; border-radius: 16px; padding: 32px; box-shadow: 0 15px 50px #26365b08; }
.card h2 { font-size: 22px; margin: 0 0 9px; letter-spacing: -.3px; }
.muted, .hint { color: #728097; font-size: 13px; line-height: 1.6; }
.hint { font-size: 12px; }
form { margin-top: 24px; }
label { display: block; font-size: 13px; font-weight: 600; margin: 17px 0 7px; }
input, select { display: block; width: 100%; height: 44px; border: 1px solid #cfd7e6; background: #fff; border-radius: 7px; padding: 9px 12px; font: inherit; font-size: 14px; color: #25324a; }
input:focus, select:focus { border-color: #5a68d7; outline: 3px solid #5a68d716; }
button, .button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 0; border-radius: 7px; min-height: 42px; padding: 10px 17px; background: #4f5dd5; color: #fff; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; text-decoration: none; }
button:hover, .button:hover { background: #3d4bb9; }
button:disabled { opacity: .6; cursor: progress; }
.secondary { background: #eef0f8; color: #455475; }
.secondary:hover { background: #e3e7f5; }
.wide { width: 100%; margin-top: 23px; }
.message { min-height: 22px; margin-top: 15px; font-size: 13px; line-height: 1.6; }
.message.error { color: #a43f35; }
.message.success { color: #2f7750; }
.account-title { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 25px; }
.account-title h1 { font-size: 30px; margin: 0 0 7px; }
.account-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 23px; align-items: start; }
.account-grid > .full { grid-column: 1 / -1; }
.pill { display: inline-block; background: #edf6f0; color: #37794f; font-size: 11px; font-weight: 600; border-radius: 30px; padding: 6px 11px; margin-bottom: 14px; }
.pill.pending { background: #fff5df; color: #936f25; }
.qr { display: block; width: 240px; max-width: 100%; margin: 18px auto; border: 1px solid #eef0f6; border-radius: 10px; }
.setup-key { display: block; word-break: break-all; padding: 12px; background: #f3f5fb; border-radius: 7px; font-size: 13px; letter-spacing: 1px; user-select: all; }
.recovery { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 18px; border: 1px solid #d7e4d9; border-radius: 8px; background: #f3faf4; margin: 20px 0; }
.recovery code { font-family: Consolas, monospace; font-size: 12px; user-select: all; }
.invite-result { word-break: break-all; padding: 13px; background: #f2f5fc; border-radius: 7px; margin-top: 16px; font-size: 12px; user-select: all; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
details { margin-top: 20px; }
summary { cursor: pointer; font-size: 13px; font-weight: 600; }
footer { text-align: center; height: 60px; color: #919aab; font-size: 11px; padding: 18px; }
@media(max-width: 850px) { .login-layout { grid-template-columns: 1fr; max-width: 460px; gap: 25px; padding: 0; margin: auto; } .intro h1 { font-size: 30px; } .intro p, .feature { display: none; } .account-grid { grid-template-columns: 1fr; } .account-grid > .full { grid-column: auto; } .auth-layout { padding-top: 30px; } }
@media(max-width: 480px) { .site-header { height: 76px; padding: 0 18px; } .brand { font-size: 15px; } .brand-icon { width: 31px; height: 31px; font-size: 23px; } .header-link { font-size: 11px; } .auth-layout { padding: 30px 17px; } .card { padding: 23px; } .account-title { align-items: flex-start; } .account-title h1 { font-size: 25px; } .recovery { grid-template-columns: 1fr; } }
