/* Shared Chronacal palette and theme control for web and mobile. */
.theme-toggle{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-width:44px;min-height:44px;padding:9px 10px;border:1px solid var(--line);border-radius:30px;background:transparent;color:var(--ink);font:10px var(--mono);letter-spacing:.04em;flex-shrink:0}
.theme-toggle svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.theme-toggle:hover{border-color:var(--ink)}
.theme-moon{display:none}
html[data-theme="light"] .theme-sun{display:none}
html[data-theme="light"] .theme-moon{display:block}

html[data-theme="dark"]{
  color-scheme:dark;
  --lime:#d6fa46;--lavender:#ddd5f6;--lav:var(--lavender);--peach:#f5d4bd;--gray:#2a2d33;
  --ink:#f3f2ee;--paper:#151618;--muted:#afb2ba;--line:#393c43;
  --surface:#1e2024;--raised:#2a2d33;--edge:#69717d;--shadow:#0c0d10;
  --lime-deep:#343e29;--lavender-deep:#41384f;--peach-deep:#4a372e;
  --lime-soft:#e5f3b9;--lavender-soft:#eee4ff;--peach-soft:#ffe3ce;
  --quiet:#9399a4;--control:#1a1c20;--card-shadow:0 18px 45px #00000030,0 1px 0 #ffffff08 inset;
}
