* { box-sizing: border-box; }

html, body { height: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -0.01em; }
h1 { font-size: 20px; }
h2 { font-size: 16px; }
h3 { font-size: 14px; }

p { margin: 0 0 8px; }

button, input, select, textarea {
  font-family: inherit;
  font-size: 14px;
  color: var(--fg);
}

input, select, textarea {
  width: 100%;
  padding: 7px 9px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  outline: none;
}

input:focus, select:focus, textarea:focus {
  border-color: var(--line-strong);
}

textarea { min-height: 72px; resize: vertical; }

label { display: block; font-size: 12px; color: var(--fg-muted); margin-bottom: 4px; }

code, .mono { font-family: var(--mono); font-size: 12px; }

table { border-collapse: collapse; width: 100%; }

th, td {
  text-align: left;
  padding: 8px 10px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}

th { font-size: 12px; font-weight: 500; color: var(--fg-muted); text-transform: uppercase; letter-spacing: 0.04em; }

tbody tr:hover { background: var(--bg-soft); }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: var(--line); border-radius: 0; }
::-webkit-scrollbar-track { background: transparent; }
