:root {
  color-scheme: light;
  --font-ui: Arial, sans-serif;
  --ink: #152033;
  --accent: #111A29;
  --bg: #F6F5F1;
  --surface: #FFFEFA;
  --line: #DFE1E8;
  --muted: #777E89;
  --secondary: #56606F;
  --link: #2945AD;
  --action-secondary: #3857CF;
  --elevated: #DFE1E8;
  --input: #FFFFFF;
  --radius-field: 6px;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --shadow: 0 1px 2px rgba(21, 32, 51, .04);
  --shadow-overlay: var(--shadow), 0 8px 24px rgba(21, 32, 51, .045);
  --radius-button: .6rem;
  --radius-card: .8rem;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; color: var(--ink); background: var(--bg); font: 1rem/1.55 var(--font-ui); }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: none; }
a:not([class]):hover, .text-link:hover, .auth-home:hover { color: var(--accent); background: var(--elevated); }
h1, h2, h3, p { margin: 0; }
h1 { font-size: clamp(2rem, 1.5rem + 2vw, 3rem); line-height: 1.08; letter-spacing: -.045em; }
h2 { font-size: 20px; line-height: 1.3; letter-spacing: -.02em; }
h3 { font-size: 16px; line-height: 1.4; }
p + p { margin-top: 8px; }
.muted { color: var(--secondary); }
:where(a, button, input, select, textarea, summary):focus-visible { outline: 2px solid var(--link); outline-offset: 3px; }

.panel { min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-card); padding: 32px; box-shadow: var(--shadow); }
button, .button-link { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; border: 1px solid var(--ink); border-radius: var(--radius-button); padding: .65rem 1rem; background: var(--ink); color: white; font: 700 14px/1.4 var(--font-ui); text-decoration: none; cursor: pointer; }
button:hover, .button-link:hover { background: var(--accent); }
.button-link-secondary { background: var(--surface); border-color: var(--line); color: var(--link); }
.button-link-secondary:hover { background: var(--bg); border-color: var(--action-secondary); color: var(--link); }
.text-link {color:var(--link);text-decoration:none;font-weight:600;border-radius:4px;transition:color .15s,background-color .15s}

