* { box-sizing: border-box; }
body {
  margin: 0;
  color: var(--color-text);
  background: var(--color-bg);
  font: 14px/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
}
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea { outline-offset: 4px; }
:focus-visible { outline: 3px solid var(--color-primary); }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: 28px; line-height: 1.4; font-weight: 650; letter-spacing: -.6px; }
h2 { font-size: 18px; line-height: 1.5; font-weight: 600; }
h3 { font-size: 15px; font-weight: 600; }
small, .muted { color: var(--color-muted); }
small { font-size: 12px; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .5; }
svg { display: inline-block; vertical-align: middle; }
table { border-collapse: collapse; width: 100%; white-space: nowrap; }
th, td { text-align: left; padding: 18px 16px; border-bottom: 1px solid var(--color-border); }
th { font-size: 12px; color: var(--color-muted); font-weight: 500; background: var(--color-bg); }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: var(--color-surface-hover); }
label { display: block; font-weight: 500; }
input, select, textarea {
  width: 100%; min-height: 44px; padding: 11px 14px;
  border: 1px solid var(--color-border); border-radius: var(--radius-small);
  background: var(--color-surface); color: var(--color-text);
  transition: border-color 160ms var(--ease), box-shadow 160ms var(--ease);
}
input::placeholder, textarea::placeholder { color: var(--color-muted); font-weight: 400; }
input:focus, select:focus, textarea:focus { border-color: var(--color-primary); box-shadow: 0 0 0 3px var(--color-soft); }
input[type=checkbox] { width: 16px; height: 16px; min-height: 0; flex: 0 0 16px; accent-color: var(--color-primary); }
textarea { min-height: 110px; resize: vertical; }
label input, label select, label textarea { margin-top: 7px; }
form { display: grid; gap: 18px; }
hr { border: 0; border-top: 1px solid var(--color-border); margin: 24px 0; }
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

