/* CodeDiggs workspace tokens, shared with Truth Tables Lab. */
:root {
  color-scheme: dark;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  --bg: #020617;
  --panel: #0f172a;
  --raised: #152138;
  --sidebar: #080f20;
  --field: #050d1c;
  --ink: #f1f5f9;
  --muted: #a8b6c9;
  --line: #26344b;
  --line-strong: #526786;
  --cyan: #22d3ee;
  --cyan-hover: #67e8f9;
  --accent-soft: #10303e;
  --accent-line: #205565;
  --danger: #fda4af;
  --online: #86efac;
  --success: #9aead3;
  --hero-start: #122b3a;
  --hero-end: #091624;
  --modal-shadow: #0007;
  --backdrop: #020617c9;
  --tier-selected: #0d2937;
  --featured: #112c37;
  color: var(--ink);
  background: var(--bg);
}
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #fffbf3;
  --panel: #f4ead7;
  --raised: #eadeca;
  --sidebar: #faf3e5;
  --field: #fff8ec;
  --ink: #241e17;
  --muted: #5b5144;
  --line: #cdbfa8;
  --line-strong: #88785f;
  --cyan: #07545b;
  --cyan-hover: #063b41;
  --accent-soft: #e4e8d9;
  --accent-line: #8fa69b;
  --danger: #982d40;
  --online: #2e7247;
  --success: #21644f;
  --hero-start: #e7e0c9;
  --hero-end: #fbf4e5;
  --modal-shadow: #49351d38;
  --backdrop: #332b20a8;
  --tier-selected: #e3e7d6;
  --featured: #e0e5d5;
}

.theme-choice {
  min-height: 44px;
  max-width: 100%;
  padding: 0 8px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: var(--panel);
  color: var(--ink);
  font: 600 .85rem/1.4 system-ui, sans-serif;
  cursor: pointer;
}
.theme-choice:hover { background: var(--raised); border-color: var(--cyan); }
.theme-choice:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }
