/* Radix Colors, MIT. See /radix-colors.LICENSE.txt. Color-only theme; existing layout and behavior preserved. */
:root{--c28-bg:#f7f9f8;--c28-surface:#ffffff;--c28-surface2:#eef1f0;--c28-line:#d7dad9;--c28-border:#cbcfcd;--c28-text:#1a211e;--c28-muted:#5f6563;--c28-accent:#218358;--c28-onAccent:#ffffff;--c28-accentText:#193b2d;--c28-accentSoft:#e6f6eb;--c28-accentHover:#d6f1df;--c28-accentBorder:#8eceaa;--c28-rowHover:#f4fbf6;--c28-shadow:rgba(20, 25, 23, .05);--bg:var(--c28-bg);--paper:var(--c28-surface);--ink:var(--c28-text);--muted:var(--c28-muted);--line:var(--c28-line);--blue:var(--c28-accentText);--soft:var(--c28-accentSoft);--orange:var(--c28-accentText);--warm:var(--c28-accentSoft);--shadow:0 8px 28px var(--c28-shadow);}
html[data-theme="dark"]{--c28-bg:#171918;--c28-surface:#101211;--c28-surface2:#202221;--c28-line:#373b39;--c28-border:#444947;--c28-text:#eceeed;--c28-muted:#adb5b2;--c28-accent:#30a46c;--c28-onAccent:#111111;--c28-accentText:#3dd68c;--c28-accentSoft:#132d21;--c28-accentHover:#113b29;--c28-accentBorder:#28684a;--c28-rowHover:#121b17;--c28-shadow:rgba(0, 0, 0, .18);--bg:var(--c28-bg);--paper:var(--c28-surface);--ink:var(--c28-text);--muted:var(--c28-muted);--line:var(--c28-line);--blue:var(--c28-accentText);--soft:var(--c28-accentSoft);--orange:var(--c28-accentText);--warm:var(--c28-accentSoft);--shadow:0 8px 28px var(--c28-shadow);}
html body{background-color:var(--c28-bg)!important;background-image:none!important;color:var(--c28-text)!important;}
html body .site-header,html body .primary-nav,html body .panel,html body .tool-cards>a,html body .game-card,html body .number-tile{background-color:var(--c28-surface)!important;background-image:none!important;color:var(--c28-text)!important;border-color:var(--c28-line)!important;box-shadow:0 8px 28px var(--c28-shadow)!important;}
html body .live-band,html body .side-feature,html body .playful{background-color:var(--c28-surface2)!important;background-image:none!important;color:var(--c28-text)!important;border-color:var(--c28-line)!important;box-shadow:0 8px 28px var(--c28-shadow)!important;}
html body .live-band .eyebrow,html body .live-band time,html body .live-band [role=status],html body .live-band .live-next>span,html body .side-feature p,html body .side-feature .eyebrow{color:var(--c28-muted)!important;}
html body .live-band .live-next>strong,html body .live-band .equation i{color:var(--c28-text)!important;}
html body .live-band .equation b,html body .history-ball,html body .history-ball.ball-1,html body .history-ball.ball-2{background-color:var(--c28-accentSoft)!important;background-image:none!important;color:var(--c28-accentText)!important;border-color:var(--c28-accentBorder)!important;box-shadow:none!important;}
html body .live-band .equation em,html body .row-equation em,html body .live-band .scratch-link,html body .primary-button{background-color:var(--c28-accent)!important;background-image:none!important;color:var(--c28-onAccent)!important;border-color:var(--c28-accent)!important;box-shadow:none!important;}
html body .live-band .refresh,html body .side-feature a{background-color:var(--c28-accentSoft)!important;background-image:none!important;color:var(--c28-accentText)!important;border-color:var(--c28-accentBorder)!important;box-shadow:none!important;}
html body .data-table thead th{background-color:var(--c28-surface2)!important;background-image:none!important;color:var(--c28-text)!important;border-color:var(--c28-line)!important;box-shadow:none!important;}
html body .data-table tbody tr:nth-child(even){background-color:var(--c28-bg)!important;background-image:none!important;}
html body .data-table tbody tr:first-child,html body .data-table tbody tr:hover{background-color:var(--c28-rowHover)!important;background-image:none!important;}
html body .nav-category,html body .grouped-nav .nav-category{background-color:var(--c28-surface2)!important;background-image:none!important;border-color:var(--c28-line)!important;--category-bg:var(--c28-surface2)!important;--category-border:var(--c28-line)!important;--category-ink:var(--c28-accentText)!important;}
html body .grouped-nav a,html body .feature-nav a{background-color:var(--c28-surface)!important;background-image:none!important;color:var(--c28-text)!important;border-color:var(--c28-line)!important;box-shadow:0 8px 28px var(--c28-shadow)!important;}
html body .grouped-nav a.active,html body .feature-nav a.active,html body .primary-nav a.active{background-color:var(--c28-accent)!important;background-image:none!important;color:var(--c28-onAccent)!important;border-color:var(--c28-accent)!important;box-shadow:none!important;}
html body .grouped-nav a span,html body .grouped-nav .feature-group-label,html body .primary-nav a>span{color:var(--c28-accentText)!important;}
html body .grouped-nav a.active span,html body .grouped-nav a.active .nav-icon{color:var(--c28-onAccent)!important;}
html body .tool-cards>a,html body .calendar-strip button,html body .live-band,html body .side-feature,html body .live-next{border-color:var(--c28-accentBorder)!important;}
html body main :is(input,select,textarea){background-color:var(--c28-surface)!important;color:var(--c28-text)!important;border-color:var(--c28-border)!important;}
