/* light theme: polished gold and steel with a blue sheen instead of neon */
html body .kv-theme { position: fixed; left: 16px; bottom: 16px; z-index: 9998; width: 44px; height: 44px; border-radius: 50%; cursor: pointer; font-size: 19px; line-height: 1;
  color: #FFE3A3; background: #0D0B10; border: 1px solid rgba(244,201,105,.55); box-shadow: 0 0 16px rgba(245,166,35,.3); }
html[data-theme=light] body .kv-theme { color: #1E2A44; background: linear-gradient(180deg,#FBFCFE,#DCE3EE 45%,#A9B7CE 55%,#F4F7FB); border-color: #8D9CB6; box-shadow: 0 6px 16px -8px rgba(40,70,130,.5); }
html[data-theme=light] { color-scheme: light; --bg-primary: #F5F3EE; --bg-secondary: #EFECE5; --bg-card: #FFFFFF; --bg-input: #FFFFFF; --border: #E2DED4;
  --accent: #8A5F0E; --accent-hover: #A8761A; --text-primary: #23232A; --text-secondary: #565A66; --text-muted: #7A7E8A;
  --bg: #F5F3EE; --card: #FFFFFF; --line: #E2DED4; --acc: #A8761A; }
html[data-theme=light] body { background: radial-gradient(ellipse 70% 50% at 50% 0%, #FFFFFF, #F5F3EE 70%) fixed !important; color: #23232A !important; }
html[data-theme=light] body::before, html[data-theme=light] body::after, html[data-theme=light] .bg-glow, html[data-theme=light] .bg-glow-2 { display: none !important; }
html[data-theme=light] body :is(h1, h1 b) { color: #161A24 !important; text-shadow: none !important; }
html[data-theme=light] body :is(h2, h3) { color: #8A5F0E !important; text-shadow: none !important; }
html[data-theme=light] body :is(p, li, td, dd, .item, .meta, .date, .back) { color: #2E3039 !important; }
html[data-theme=light] body a:not(.cta):not(.btn):not(.kv-btn):not(.brand) { color: #8A5F0E !important; }
html[data-theme=light] body :is(.card, section.lesson, .lesson, nav.toc, .note, .feature-card, details, blockquote) { background: #FFFFFF !important; border-color: #E2DED4 !important; box-shadow: 0 10px 30px -22px rgba(40,50,80,.35); }
html[data-theme=light] body :is(kbd, code) { background: #F1EEE6 !important; border-color: #E2DED4 !important; color: #3A2804 !important; }
html[data-theme=light] body :is(table th, table td) { border-color: #E2DED4 !important; } html[data-theme=light] body table th { background: #F6F3EC !important; color: #1D2433 !important; }
html[data-theme=light] body :is(header, header.top, .top) { background: rgba(250,249,246,.9) !important; border-bottom-color: #E2DED4 !important; }
html[data-theme=light] body :is(header.top b, .top .brand) { color: #1D2433 !important; -webkit-text-fill-color: #1D2433; text-shadow: none !important; }
html[data-theme=light] body :is(.header-logo, header.top .in > img, .brand img, .top .brand::before, .hero-logo) { animation: none !important;
  filter: brightness(0) saturate(100%) invert(22%) sepia(18%) saturate(900%) hue-rotate(185deg) drop-shadow(0 1px 0 #fff) drop-shadow(0 2px 6px rgba(60,90,150,.25)) !important; }
html[data-theme=light] body :is(.tabs a, .badge, .client-badge, .tag, .pill, .chip) { background: #FFFFFF !important; color: #3A3D47 !important; border-color: #D9D4C8 !important; box-shadow: none !important; text-shadow: none !important; }
html[data-theme=light] body header.top .bar { background: #E6E2D8 !important; } html[data-theme=light] body header.top .bar i { background: linear-gradient(90deg,#B07A16,#F4C969,#B07A16) !important; }
html[data-theme=light] body :is(a.cta, a.btn:not(.ghost):not(.quiet):not(.btn-max), button.btn:not(.ghost):not(.quiet), .btn.primary, .btn.go, .cover .go, .btn-tg, .cta-btn, .header-cta, .hero-cta-primary, .role-cta, a.price-cta, .pack-cta, .kv-btn, .tabs a.on) { color: #3A2804 !important; text-shadow: 0 1px 0 rgba(255,255,255,.6) !important;
  background: linear-gradient(180deg, #FFF4D2 0%, #F1CF78 38%, #C9962A 52%, #E9C062 70%, #FFF0C4 100%) !important;
  border: 1px solid #B4841C !important; box-shadow: inset 0 1px 0 rgba(255,255,255,.8), 0 6px 16px -8px rgba(150,100,10,.55) !important; }
html[data-theme=light] body :is(.btn.ghost, .btn.quiet, .hero-cta-secondary, .kv-btn-line, .btn-max, .hl) { color: #1E2A44 !important; text-shadow: none !important;
  background: linear-gradient(180deg, #FBFCFE 0%, #DCE3EE 40%, #A9B7CE 52%, #D3DCEA 68%, #F4F7FB 100%) !important;
  border: 1px solid #8D9CB6 !important; box-shadow: inset 0 1px 0 #fff, 0 6px 16px -10px rgba(40,70,130,.5) !important; }
html[data-theme=light] body :is(a.cta, a.btn:not(.ghost):not(.quiet):not(.btn-max), button.btn:not(.ghost):not(.quiet), .btn.primary, .btn.go, .cover .go, .btn-tg, .cta-btn, .header-cta, .hero-cta-primary, .role-cta, a.price-cta, .pack-cta, .kv-btn)::after { background: linear-gradient(105deg, transparent, rgba(255,255,255,.7), transparent) !important; }
html[data-theme=light] body .item a b { color: #161A24 !important; } html[data-theme=light] body .item a:hover b { color: #8A5F0E !important; text-shadow: none !important; }
html[data-theme=light] body .item { border-bottom-color: #E2DED4 !important; }
html[data-theme=light] body h1 .accent { color: #A8761A !important; }
html[data-theme=light] body .hl { display: inline-block; padding: 7px 14px; border-radius: 12px; text-decoration: none; font-weight: 600; }
