/* Shared Nunchi UI tokens: quiet surfaces, clear type, one strong action. */
:root {
  color-scheme: light;
  --bg: #ffffff;
  --panel: #f9f9f9;
  --card: #ffffff;
  --line: #e5e5e5;
  --line2: #f0f0f0;
  --txt: #202123;
  --mut: #707070;
  --acc: #202123;
  --acc2: #f0f0f0;
  --grn: #16845c;
  --teal: #347566;
  --amber: #926b24;
  --shadow: none;
}
/* Dark (Settings → General → Appearance; ui/theme-boot.js sets data-theme before the page paints) */
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #212121;
  --panel: #1a1a1a;
  --card: #2a2a2a;
  --line: #3a3a3a;
  --line2: #303030;
  --txt: #ececec;
  --mut: #a0a0a0;
  --acc: #ececec;
  --acc2: #303030;
  --grn: #4cc38a;
  --teal: #5fb3a1;
  --amber: #d6a548;
}
button, input, select, textarea { font-family: inherit; }
button { transition: background-color .15s, border-color .15s, box-shadow .15s; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible,
textarea:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid #737373;
  outline-offset: 3px;
}
button:disabled { opacity: .5; cursor: default; }
button:not(:disabled):hover { filter: brightness(.96); }
input[type="checkbox"] { accent-color: var(--acc); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
