@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');
:root { --bg: #f4f4f9; --surface: #fff; --border: #e4e3ee; --border-strong: #cfcde0; --text: #17162b; --text-2: #4d4c63; --muted: #7f7e96; --primary: #6d5ce7; --primary-hover: #5a49d8; --danger: #d64545; }
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; min-height: 100svh; display: grid; place-items: center; padding: 24px 16px; font-family: 'Inter', system-ui, sans-serif; font-size: 14px; line-height: 1.5; color: var(--text); background: var(--bg) radial-gradient(ellipse at top, #e9e6fb, transparent 60%); -webkit-font-smoothing: antialiased; }
.panel { display: grid; grid-template-columns: 1fr 1fr; width: min(100%, 880px); min-height: 520px; overflow: hidden; background: var(--surface); border: 1px solid var(--border); border-radius: 20px; box-shadow: 0 24px 80px -30px rgba(23, 22, 43, .3); }
.art { background: #f6f5fc; }
.art img { display: block; width: 100%; height: 100%; object-fit: cover; }
.form-side { display: flex; flex-direction: column; justify-content: center; padding: 48px 44px; }
.brand { display: flex; align-items: center; gap: 10px; margin-bottom: 36px; font-weight: 700; font-size: 17px; letter-spacing: -.02em; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
h1 { margin: 0 0 8px; font-size: 26px; font-weight: 600; letter-spacing: -.02em; }
.intro { margin: 0 0 28px; color: var(--text-2); }
label { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 500; color: var(--text-2); }
.token-field { display: flex; align-items: stretch; border: 1px solid var(--border-strong); border-radius: 8px; overflow: hidden; background: var(--surface); }
.token-field:focus-within { outline: 2px solid var(--primary); outline-offset: -1px; }
.token-field input { flex: 1; min-width: 0; padding: 11px 12px; border: 0; background: transparent; font: inherit; color: inherit; }
.token-field input:focus { outline: none; }
.token-field button { display: grid; place-items: center; width: 42px; border: 0; border-left: 1px solid var(--border); background: transparent; color: var(--muted); cursor: pointer; }
.token-field button:hover { color: var(--text); }
.icon { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.token-field button[aria-pressed="false"] .eye-off, .token-field button[aria-pressed="true"] .eye { display: none; }
#error { min-height: 20px; margin: 10px 0 12px; font-size: 13px; color: var(--danger); }
.submit { width: 100%; padding: 12px; border: 0; border-radius: 8px; background: var(--primary); color: #fff; font: inherit; font-weight: 600; cursor: pointer; }
.submit:hover { background: var(--primary-hover); }
.submit:disabled { opacity: .6; cursor: wait; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
@media (max-width: 720px) {
  .panel { grid-template-columns: 1fr; min-height: 0; }
  .art { display: none; }
  .form-side { padding: 36px 26px; }
}
