:root { color-scheme: light; font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; --text:#10233f; --muted:#607087; --border:#dbe4ee; --accent:#1664d8; --accent-deep:#0b3f91; --soft:#eef5ff; }
* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; min-height: 100vh; background: #fff; color: var(--text); }
button, input, select { font: inherit; }
.auth-layout { display: grid; grid-template-columns: minmax(360px, 0.85fr) minmax(440px, 1.15fr); min-height: 100vh; }
.brand-panel { display: flex; flex-direction: column; justify-content: space-between; gap: 48px; padding: clamp(30px, 6vw, 76px); background: #f4f8fd; border-right: 1px solid var(--border); }
.brand { display: flex; align-items: center; gap: 12px; }
.brand > span { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: var(--accent); color: #fff; font-weight: 900; }
.brand div { display: grid; gap: 3px; }
.brand small, .brand-copy > p:last-child, .intro { color: var(--muted); }
.brand-copy > p:first-child { color: var(--accent); font-size: .7rem; font-weight: 900; letter-spacing: .14em; }
h1 { max-width: 620px; margin: 16px 0; font-size: clamp(2.35rem, 5vw, 4.8rem); line-height: .98; letter-spacing: -.065em; }
.brand-copy > p:last-child { max-width: 590px; line-height: 1.7; }
ul { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; list-style: none; }
li, .preview-badge { padding: 9px 12px; border: 1px solid #c8daf2; border-radius: 999px; color: var(--accent-deep); font-size: .78rem; }
.form-panel { display: grid; place-items: center; padding: 28px; background: #fff; }
.auth-card { width: min(100%, 460px); }
.hidden { display: none; }
h2 { margin: 26px 0 8px; font-size: clamp(2rem, 4vw, 3.2rem); letter-spacing: -.055em; }
.notice { display: grid; gap: 5px; margin: 24px 0; padding: 15px; border: 1px solid #c8daf2; border-radius: 14px; background: var(--soft); color: #294b77; font-size: .84rem; }
.portal-note { min-height: 38px; margin: 0 0 18px; color: var(--muted); font-size: .78rem; line-height: 1.5; }
form { display: grid; gap: 11px; }
label { font-size: .82rem; font-weight: 800; }
.label-row { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; }
input, select { width: 100%; min-height: 52px; padding: 0 15px; border: 1px solid var(--border); border-radius: 12px; background: #fff; color: var(--text); outline: none; }
input:focus, select:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(15,159,122,.12); }
.password-field { position: relative; }
.password-field input { padding-right: 76px; }
.password-field button { position: absolute; top: 7px; right: 7px; height: 38px; border: 0; border-radius: 9px; background: #edf3f6; color: #385066; cursor: pointer; }
.eye-icon { position:relative; display:block; width:18px; height:12px; border:2px solid currentColor; border-radius:70% 15%; transform:rotate(45deg); }.eye-icon::after { content:""; position:absolute; left:4px; top:1px; width:5px; height:5px; border-radius:50%; background:currentColor; }
.password-field button[aria-pressed="false"] .eye-icon::before { content:""; position:absolute; left:7px; top:-5px; width:2px; height:19px; background:currentColor; }
.human-check { display:grid; grid-template-columns:1fr 90px; gap:8px 12px; margin-top:8px; padding:14px; border:1px solid var(--border); border-radius:12px; background:#f8fafc; }.human-check > div { display:grid; gap:5px; }.human-check strong { color:var(--accent-deep); font-size:1.05rem; }.human-check input { grid-column:2; grid-row:1; text-align:center; }.human-check p { grid-column:1 / -1; margin:0; color:var(--muted); font-size:.7rem; line-height:1.45; }
.text-button { border: 0; background: transparent; color: var(--accent); cursor: pointer; font-size: .8rem; font-weight: 800; }
.recovery-trigger { justify-self: center; min-height: 36px; margin-top: -2px; padding: 6px 14px; border-radius: 9px; }
.recovery-trigger:hover, .recovery-trigger:focus-visible { background: var(--soft); outline: 2px solid transparent; }
.primary-button { min-height: 52px; margin-top: 12px; border: 0; border-radius: 12px; background: linear-gradient(135deg, var(--accent), var(--accent-deep)); color: #fff; font-weight: 900; cursor: pointer; }
.form-status { min-height: 22px; margin: 3px 0; color: #a23b42; font-size: .82rem; line-height: 1.5; }
.form-status[data-tone="success"] { color: #23725d; font-weight: 800; }
.field-note { margin: -2px 0 3px; color: var(--muted); font-size: .72rem; line-height: 1.5; }
.account-recovery-workspace { min-width: 0; padding: clamp(22px, 4vw, 34px); border: 1px solid var(--border); border-radius: 20px; background: #fff; box-shadow: 0 24px 70px rgba(16,35,63,.1); }
.account-recovery-form { margin-top: 22px; }
.recovery-back-button { width: 100%; margin-top: 4px; background: #edf3f6; color: #385066; }
@media (max-width: 820px) { .auth-layout { grid-template-columns: 1fr; } .brand-panel { min-height: auto; padding: 28px 22px; } .brand-copy h1 { font-size: 2.35rem; } .brand-panel ul { display: none; } .form-panel { padding: 38px 20px; } }
@media (max-width: 420px) { .brand-copy > p:last-child { display: none; } .form-panel { place-items: start center; } }
