:root {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #201b35;
  background: #f6f5fa;
  --accent: #523be0;
  --muted: #5d5772;
  --line: #e2dfee;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { min-height: 100vh; margin: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
button, input { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .61; }
.shell-inner { width: min(100% - 32px, 1160px); margin: 0 auto; padding: 16px 0; }
.brand { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; font-size: .88rem; font-weight: 800; }
.brand img { display: block; }
.login-main { width: min(100% - 32px, 440px); margin: clamp(24px, 9vh, 105px) auto 40px; display: grid; gap: 15px; }
.login-card { border: 1px solid var(--line); border-radius: 18px; background: #fff; padding: clamp(20px, 5vw, 32px); display: grid; gap: 18px; }
h1, p { margin: 0; }
h1 { font-size: clamp(2rem, 6vw, 2.55rem); font-weight: 750; line-height: 1.07; letter-spacing: -.045em; }
h1:focus { outline: none; }
p { line-height: 1.5; color: var(--muted); }
form { display: grid; gap: 10px; }
label { color: #201b35; font-weight: 690; margin-top: 5px; }
input { min-width: 0; min-height: 48px; border: 1px solid #b8b0cd; border-radius: 12px; padding: 11px 12px; color: inherit; }
.primary { background: var(--accent); color: #fff; border: 0; border-radius: 14px; min-height: 46px; font-weight: 700; margin-top: 6px; }
.primary:hover:not(:disabled) { background: #4530c5; }
.actions { display: flex; flex-wrap: wrap; column-gap: 15px; }
.text, .help { color: #4530c5; font-size: .875rem; font-weight: 680; }
.text { appearance: none; min-height: 42px; padding: 5px 0; background: transparent; border: 0; text-align: left; }
.text:hover:not(:disabled) { text-decoration: underline; }
.help { justify-self: start; text-underline-offset: 3px; }
#feedback { border-radius: 10px; padding: 8px 11px; font-size: .875rem; background: #fff0f2; color: #95273d; }
