html { color-scheme: dark; }
.theme-toggle { display:inline-flex; align-items:center; justify-content:center; width:44px; height:44px; flex:none; padding:10px; border:1px solid currentColor; border-radius:50%; background:transparent; color:inherit; cursor:pointer; }
.theme-toggle:hover { opacity:.75; }
.theme-toggle:focus-visible { outline:3px solid #8b5cf6; outline-offset:3px; }
.footer-affiliation { margin-bottom:24px; text-align:center; font-size:14px; }
.footer-affiliation a { text-decoration:underline; }
html[data-theme="light"] { color-scheme:light; --background:220 30% 98%; --foreground:222 47% 12%; --card:220 25% 94%; --card-foreground:222 47% 12%; --popover:0 0% 100%; --popover-foreground:222 47% 12%; --secondary:220 25% 92%; --secondary-foreground:222 47% 12%; --muted:220 25% 94%; --muted-foreground:220 15% 38%; --border:220 20% 84%; --input:220 20% 84%; --primary:265 70% 48%; --accent:199 95% 34%; --destructive:0 70% 40%; }
html[data-theme="light"] #home > .absolute.inset-0:first-child { background:linear-gradient(135deg,#f8fafc,#ede9fe,#f0f9ff); }
html[data-theme="light"] .glass, html[data-theme="light"] .glass-card { background:rgba(255,255,255,.82); border-color:#dce0ec; }
html[data-theme="light"] [class*="bg-white/5"] { background-color:rgba(15,23,42,.035); }
html[data-theme="light"] [class*="border-white/10"] { border-color:rgba(15,23,42,.14); }
html[data-theme="light"] [class*="from-[#0f172a]"] { --tw-gradient-from:#f8fafc; }
html[data-theme="light"] [class*="to-[#0f172a]"] { --tw-gradient-to:#f8fafc; }
html[data-theme="light"] input, html[data-theme="light"] textarea { background:#fff; color:#182033; }
html[data-theme="light"] [role="status"], html[data-theme="light"] [role="alert"] { color:#182033 !important; }
