/* Ruthless Ideas color themes (2026-11-10): Black (default) / Navy / Granite / White.
   The only place this app's palette is written. Switched by theme.js, saved as localStorage 'ri-theme'. */
:root{--bg:#0a0a0a;--surface:#0f0f0f;--raised:#151515;--line:#1a1a1a;--line-strong:#2a2a2a;--ink:#f0f0ff;--muted:#9ca3af;--faint:#7c818c;--gold:#f5c518;--gold-text:#f5c518;--on-gold:#14151a;--wash:rgba(240,240,255,.1);--hover:rgba(240,240,255,.06);--sel:rgba(240,240,255,.55);--scrim:rgba(10,10,10,.78);color-scheme:dark}
html[data-theme=navy]{--bg:#0f1524;--surface:#161e30;--raised:#1d263b;--line:#263049;--line-strong:#35405c;--muted:#a3acc0;--faint:#8089a0;--scrim:rgba(15,21,36,.78)}
html[data-theme=granite]{--bg:#1c1d21;--surface:#24262b;--raised:#2c2e34;--line:#34373e;--line-strong:#464a53;--muted:#a3a8b3;--faint:#8a8f9a;--scrim:rgba(28,29,33,.78)}
html[data-theme=white]{--bg:#f5f5f2;--surface:#fcfcfa;--raised:#f0f0ec;--line:#e3e3de;--line-strong:#cfcfc8;--ink:#14151a;--muted:#4b5160;--faint:#6b7080;--gold-text:#8a6900;--wash:rgba(20,21,26,.09);--hover:rgba(20,21,26,.05);--sel:rgba(20,21,26,.45);--scrim:rgba(20,21,26,.35);color-scheme:light}

/* the switch: four round swatches, 44px tap targets */
html body .ri-theme{display:inline-flex;align-items:center;flex-wrap:nowrap;gap:0;margin:0;padding:0;border:0;background:none}
html body .ri-theme button.ri-sw{width:44px;height:44px;min-width:44px;min-height:44px;padding:0;margin:0;border:0;border-radius:50%;background:transparent;display:inline-grid;place-items:center;box-shadow:none;transform:none;filter:none;cursor:pointer;flex:0 0 auto}
html body .ri-theme button.ri-sw:hover{background:var(--hover)}
html body .ri-theme button.ri-sw i{display:block;width:20px;height:20px;border-radius:50%;border:1px solid var(--line-strong);box-sizing:border-box}
html body .ri-theme button.ri-sw[aria-pressed=true] i{box-shadow:0 0 0 2px var(--bg),0 0 0 4px var(--ink)}
html body .ri-theme button.ri-sw:focus-visible{outline:2px solid var(--ink);outline-offset:0}
html body .ri-theme [data-ri-theme=black] i{background:#0a0a0a}
html body .ri-theme [data-ri-theme=navy] i{background:#0f1524}
html body .ri-theme [data-ri-theme=granite] i{background:#1c1d21}
html body .ri-theme [data-ri-theme=white] i{background:#f5f5f2}
