/* theme-v1.css — explicit light / dark UI theme for seedmapviewer.com.
   The pages' own <style> follows the OS via prefers-color-scheme;
   this file lets the reader override it. assets/theme-v1.js sets
   data-theme on <html> before first paint from localStorage
   ("sm-theme"); with no stored choice the attribute stays unset
   and the OS-preference rules apply exactly as before. The
   variable values and component declarations below are the
   pages' own, copied verbatim — biome colours are not UI
   variables and never change with the theme. */
:root[data-theme="light"]{--bg:#f4f6ed; --bg2:#eef2e2; --surface:#ffffff; --surface2:#f8faf2; --ink:#1c2a16; --muted:#5a6b52; --line:#dce5cf; --grass:#4e7d2e; --grass-dark:#3a6322; --grass-light:#7ab648; --dirt:#8a6a4a; --sand:#e8d9a8; --accent:#e07a2c; --accent-dark:#c2611a; --chip:#eaf2dd; --header-bg:rgba(244,246,237,.92); --shadow:0 10px 30px rgba(42,66,28,.10); --radius:18px;}
:root[data-theme="dark"]{--bg:#121a0f; --bg2:#0f160c; --surface:#1a2615; --surface2:#1f2d19; --ink:#e9f1df; --muted:#a9bda0; --line:#2e4023; --grass:#6fa843; --grass-dark:#5b8f36; --grass-light:#8bc464; --chip:#24381a; --header-bg:rgba(18,26,15,.92); --shadow:0 10px 30px rgba(0,0,0,.35);}
html[data-theme="dark"] .eyebrow b{color:var(--grass-light)}
html[data-theme="light"] .eyebrow b{color:var(--grass-dark);background:var(--chip);padding:2px 8px;border-radius:999px}
html[data-theme="dark"] .demo-tag{background:#3a2a12;color:#f2c078;border-color:#5c441c}
html[data-theme="light"] .demo-tag{font-size:11.5px;font-weight:900;letter-spacing:.06em;text-transform:uppercase;background:#fdf0dd;color:#9a5a12;border:1px solid #f0d3a0;padding:4px 9px;border-radius:999px}
html[data-theme="dark"] .demo-tag.live{background:#223a16;color:#a5d68a;border-color:#3c5c26}
html[data-theme="light"] .demo-tag.live{background:#e2f2d2;color:#33691e;border-color:#b7dda0}
html[data-theme="dark"] .bedrock-note{background:#3a2a12;border-color:#5c441c;color:#f2c078}
html[data-theme="light"] .bedrock-note{background:#fdf0dd;border:1px solid #f0d3a0;color:#7c4a0e;border-radius:12px;padding:10px 13px;font-size:13.5px;font-weight:600}
html[data-theme="dark"] .card a.open{color:var(--grass-light)}
html[data-theme="light"] .card a.open{display:inline-flex;align-items:center;gap:6px;margin-top:12px;font-weight:800;color:var(--grass-dark);text-decoration:none;padding:6px 0;min-height:36px}
html[data-theme="dark"] .tag{color:var(--grass-light)}
html[data-theme="light"] .tag{font-size:11.5px;font-weight:900;letter-spacing:.03em;padding:4px 9px;border-radius:999px;background:var(--chip);color:var(--grass-dark)}
html[data-theme="dark"] .tag.cat{background:#3a2a12;color:#f2c078}
html[data-theme="light"] .tag.cat{background:#fdf0dd;color:#9a5a12}
html[data-theme="dark"] .copy-btn{color:var(--grass-light)}
html[data-theme="light"] .copy-btn{margin-top:14px;border:1.5px solid var(--grass);color:var(--grass-dark);background:transparent;border-radius:11px;font-weight:800;font-size:14.5px;padding:11px;cursor:pointer;width:100%}
html[data-theme="dark"] .read-link{color:var(--grass-light)}
html[data-theme="light"] .read-link{font-weight:800;color:var(--grass-dark);text-decoration:none;display:inline-flex;padding:8px 0;min-height:36px}
html[data-theme="dark"] .crumb a{color:var(--grass-light)}
html[data-theme="light"] .crumb a{color:var(--grass-dark);text-decoration:none}
html[data-theme="dark"] .mini-btn{color:var(--grass-light)}
html[data-theme="light"] .mini-btn{border:1.5px solid var(--grass);color:var(--grass-dark);background:transparent;border-radius:10px;font-weight:800;font-size:13.5px;padding:9px 13px;cursor:pointer;min-height:40px}
html[data-theme="dark"] .more-tools a{color:var(--grass-light)}
html[data-theme="light"] .more-tools a{font-weight:800;color:var(--grass-dark);text-decoration:none}
html[data-theme="dark"] .prose a{color:var(--grass-light)}
html[data-theme="light"] .prose a{font-weight:700;color:var(--grass-dark);text-decoration:none}
html[data-theme="dark"] .verdict .vlabel{color:var(--grass-light)}
html[data-theme="light"] .verdict .vlabel{font-size:12.5px;font-weight:900;letter-spacing:.06em;text-transform:uppercase;color:var(--grass-dark)}
.theme-toggle{flex:none;border:1.5px solid var(--line);background:var(--surface);color:var(--ink);border-radius:999px;font-weight:700;font-size:13.5px;padding:8px 13px;cursor:pointer;min-height:40px}
