:root {
  --bg: #f4f5f7; --card: #fff; --text: #1b1f24; --muted: #687080; --line: #e3e6ea; --hover: #f0f2f5;
  --accent: #128c4a; --accent-soft: #e3f4ea; --err: #c0392b; --warn: #b7791f; --sale: #2563eb; --sale-soft: #e5edfd;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1214; --card: #181c1f; --text: #e8eaed; --muted: #98a0aa; --line: #262b30; --hover: #1f2428;
    --accent: #3ccf7d; --accent-soft: #173524; --err: #ff6b5b; --warn: #e0a84a; --sale: #6ea0ff; --sale-soft: #1a2640;
  }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font: 14px/1.45 system-ui, -apple-system, "Segoe UI", sans-serif; }
a { color: inherit; }
input, select, textarea, button { font: inherit; color: var(--text); }
input, select, textarea {
  background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; min-width: 0;
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--accent); outline-offset: -1px; }
button {
  background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; cursor: pointer;
}
button:hover { background: var(--hover); }
button.primary { background: var(--accent); border-color: var(--accent); color: #fff; font-weight: 600; }
button.danger { color: var(--err); }
