:root {
  color-scheme: dark;
  --page: #101714;
  --surface: #1b2821;
  --field: #131e18;
  --border: #41564a;
  --text: #edf5ef;
  --muted: #b9c9bf;
}

html, body, #root {
  background: var(--page) !important;
  color: var(--text) !important;
}

#root :is(h1, h2, h3, h4, label, strong),
body > section :is(h2, h3, label) {
  color: var(--text) !important;
}

#root :is(p, small, dt), body > section :is(p, li) {
  color: var(--muted);
}

#root :is([class*="card" i], [class*="stat" i], [class*="panel" i],
          [class*="modal" i], [class*="dialog" i], table),
body > section {
  background: var(--surface) !important;
  color: var(--text) !important;
  border-color: var(--border) !important;
}

input, select, textarea {
  background: var(--field) !important;
  color: var(--text) !important;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 6px 8px;
}

body > section form {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 12px;
}

body > section form label {
  display: grid;
  gap: 4px;
}

body > section button {
  background: #16834a;
  color: #fff;
  border: 0;
  border-radius: 6px;
  padding: 8px 14px;
}

body > section button:disabled {
  opacity: 0.55;
}
