:root {
  --bg: #0e0f1a;
  --panel: #191b2e;
  --panel2: #22253d;
  --text: #f2f3f8;
  --muted: #9aa0bd;
  --accent: #ffcc00;
  --ok: #2ecc71;
  --bad: #ff4d4f;
  --radius: 14px;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  background: radial-gradient(circle at 50% -20%, #2b2f5a 0%, var(--bg) 60%);
  color: var(--text);
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  -webkit-tap-highlight-color: transparent;
}
h1, h2, h3 { margin: 0 0 .5em; }
button, input, select { font: inherit; }
button {
  cursor: pointer; border: 0; border-radius: 10px; padding: .65em 1.1em;
  background: var(--panel2); color: var(--text); font-weight: 600;
}
button:hover:not(:disabled) { filter: brightness(1.15); }
button:disabled { opacity: .4; cursor: default; }
button.primary { background: var(--accent); color: #111; }
button.ok { background: var(--ok); color: #06210f; }
button.bad { background: var(--bad); color: #fff; }
button.small { padding: .3em .6em; font-size: .85em; }
input[type=text], input[type=password], input[type=date], input[type=number] {
  background: #0b0c16; border: 1px solid #343857; color: var(--text);
  border-radius: 10px; padding: .65em .8em; width: 100%;
}
input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.hidden { display: none !important; }
.muted { color: var(--muted); }
.panel { background: var(--panel); border-radius: var(--radius); padding: 16px; }
.err { color: var(--bad); min-height: 1.3em; margin: .4em 0; }
.dot { display: inline-block; width: .75em; height: .75em; border-radius: 50%; vertical-align: middle; }
