/* Daylight with definition: pearl surfaces, rose-violet light, grounded shadows. */
html.light-theme{--scene-text:#3e355c;--scene-muted:#716480;--scene-line:#a483b43b;color-scheme:light}
html.light-theme,html.light-theme body{background:#eee7f3!important;color:#3e355c!important}
html.light-theme body{background-image:radial-gradient(ellipse at 100% 12%,#f5bddd80,transparent 35%),radial-gradient(ellipse at 0% 36%,#b7c8f880,transparent 36%),radial-gradient(ellipse at 90% 65%,#d8b6ed73,transparent 36%),linear-gradient(155deg,#f8f3ea,#e9e6f7 45%,#f1dfe9 78%,#e1e5f3)!important;background-attachment:scroll!important}
.light-theme body:after{background:radial-gradient(ellipse at 70% 30%,#ffecf436,transparent 45%)!important}
.light-theme header.shell{background:linear-gradient(100deg,#fffbf1eF,#f0dcf0eb,#dee4faed)!important;border-bottom:1px solid #fff9ff!important;box-shadow:0 5px 25px #6550781a;backdrop-filter:blur(18px)}
.light-theme header .logo,.light-theme header .logo b,.light-theme .links{color:#4d3e67!important}.light-theme header .logo b{color:#a35793!important}.light-theme .links a:hover{color:#b04f91!important}
.light-theme #home.brand-hero h1{color:#fffaff!important;text-shadow:0 3px 2px #5c467229,0 9px 30px #47355f40,0 0 55px #ffe8f8a1}
.light-theme #home.brand-hero .lead{color:#463054!important;font-weight:400;text-shadow:0 1px 12px #fff8ffb3}
.light-theme .brand-description{color:#614469!important;text-shadow:0 1px 12px #fff8ff99!important}
.light-theme #home.brand-hero .eyebrow{color:#725578!important}.light-theme .hero-memory{color:#85527e;text-shadow:0 0 14px #fff9ff}.light-theme .brand-caption{color:#76617e}
.light-theme .section h2,.light-theme .section h3{color:#443453!important}
.light-theme .gradient{background:linear-gradient(105deg,#8d4d99,#bd659d 50%,#7968bd)!important;background-clip:text!important;-webkit-background-clip:text!important;color:transparent!important;-webkit-text-fill-color:transparent!important}
.light-theme .eyebrow,.light-theme .doc-tag,.light-theme .journal-index,.light-theme .doc-caption{color:#99648f!important;font-weight:600}
.light-theme .muted,.light-theme .note,.light-theme .catalog-caption,.light-theme .doc-copy p,.light-theme .team-info p,.light-theme .process-grid p{color:#71607a!important}
.light-theme .story-about{background:radial-gradient(ellipse at 80% 35%,#d79fc238,transparent 60%)}
.light-theme .story-lead{color:#614b68;font-weight:400}.light-theme .story-text-link{color:#a24d89;border-color:#ad72a466}
.light-theme .story-art-window{filter:brightness(1.02) saturate(.95);box-shadow:0 20px 55px #98599b33,0 0 55px #f4b3d74d}.light-theme .story-art-star{color:#fff6ff;text-shadow:0 3px 15px #d897bd,0 0 35px #dcb4f1}
.light-theme .story-route a{border-color:#b28bb35c}.light-theme .story-route strong{color:#705080}.light-theme .story-route span{color:#9f6a96}.light-theme .story-route small{color:#87708d}
.light-theme #ideas .atom-visual{background:radial-gradient(ellipse at 50% 45%,#c3b0e27a,transparent 70%),linear-gradient(140deg,#faf3ff70,#dbddf27a)!important;box-shadow:inset 0 1px 0 #fff,0 18px 45px #705a8d1f!important;border:1px solid #fff7ffb3!important}
.light-theme .story-mission:before{opacity:.42;filter:saturate(.8)}
.light-theme #topic-grid .topic,.light-theme .journal-card,.light-theme .team-card{background:linear-gradient(145deg,#fffaf3ed,#f3e4f2d9 58%,#e2e6f5e6)!important;border:1px solid #fffaff!important;box-shadow:0 4px 10px #7652840b,0 18px 35px #7051811f,inset 0 1px 0 #fff!important;transition:transform .3s,box-shadow .3s}
.light-theme #topic-grid .topic:hover,.light-theme .journal-card:hover,.light-theme .team-card:hover{transform:translateY(-4px);box-shadow:0 8px 18px #76528414,0 25px 45px #8b5c9b2e!important}
.light-theme #topic-grid .topic strong,.light-theme .team-info h3,.light-theme .journal-content h3{color:#59405f!important}
.light-theme .team-photo img{filter:saturate(.9) contrast(.97) brightness(1.03)}
.light-theme .journal-content p,.light-theme .team-links a,.light-theme .topic-summary,.light-theme .topic-branches,.light-theme .topic-more,.light-theme .topic small{color:#806987!important}
.light-theme .featured-exam{background:radial-gradient(ellipse at 0% 0%,#ffc8de4d,transparent 65%),linear-gradient(120deg,#fffbf2,#ecdef2 58%,#dce4f7)!important;border:1px solid #fff9ff!important;box-shadow:0 14px 36px #75538726,inset 0 1px 0 #fff!important}
.light-theme .featured-copy h3,.light-theme .doc-copy h3,.light-theme .qdb h2{color:#5c3b68!important}.light-theme .featured-copy p,.light-theme .featured-copy small,.light-theme .featured-meta{color:#7f6486!important}.light-theme .featured-label,.light-theme .featured-meta strong,.light-theme .team-info small{color:#ad5d94!important}
.light-theme .navcta,.light-theme .primary,.light-theme .featured-copy button,.light-theme .qdb button.primary{background:linear-gradient(110deg,#c679aa,#a77cc2 60%,#8e90d1)!important;color:#fffaff!important;border:1px solid #d99bca!important;box-shadow:0 5px 12px #a0589d26,0 10px 25px #9873bd33,inset 0 1px 0 #f9d7ed80!important}
.light-theme .navcta:hover,.light-theme .primary:hover,.light-theme .featured-copy button:hover{box-shadow:0 6px 18px #a0589d40,0 15px 30px #9873bd4d!important;filter:brightness(1.06)}
.light-theme .catalog-search,.light-theme .catalog-bar input,.light-theme .ux-chip{background:#fff8f4c9!important;color:#785780!important;border-color:#c9aad54d!important;box-shadow:0 4px 12px #80658a0d}
.light-theme .story-library{border-color:#bba0c366}.light-theme .story-library summary{color:#87518b}.light-theme .story-library summary small{color:#9a7ca1}
.light-theme .qdb{background:radial-gradient(ellipse at 100% 0%,#e7b4d666,transparent 65%),linear-gradient(120deg,#fff9ec,#ebdff1 50%,#dde2f5)!important;border:1px solid #fffaff!important;box-shadow:0 16px 40px #85658f26,inset 0 1px 0 #fff!important}
.light-theme .qdb .panel,.light-theme .qdb .form-card{background:#fffaf2b3!important;border-color:#d1bad866!important;box-shadow:0 6px 15px #8a6e9312}
.light-theme .qdb input,.light-theme .qdb textarea,.light-theme .qdb select{background:#fffcf6!important;color:#765c83!important;border-color:#c9add180!important;box-shadow:inset 0 2px 5px #9071990d}
.light-theme #documents .doc-layout{background:radial-gradient(ellipse at 100% 30%,#d2c1f080,transparent 65%),linear-gradient(115deg,#fff8efb3,#e9d9edb3)!important;border:1px solid #fff9ffa1!important;box-shadow:0 15px 40px #8b699221,inset 0 1px 0 #fff!important}
.light-theme .doc-showcase{background:radial-gradient(ellipse,#ffd9ea99,#d0c6ed33 60%,transparent)!important}.light-theme .doc-page{box-shadow:0 10px 15px #79598526,0 25px 45px #76538233,0 0 25px #fff4f0b3!important}.light-theme .doc-options span{background:#fff6f466;color:#8b6491!important;border-color:#c8a7ce66!important}
.light-theme .process-grid>div{border-color:#b28abd99!important}.light-theme .process-grid span{color:#b66b9d!important}
.light-theme .fund.contact-panel{background:linear-gradient(110deg,#fff8eeeF,#eddaedd9 55%,#dce3f4c9),url('cosmic-garden-day.png') center/cover!important;border:1px solid #fffaff!important;box-shadow:0 16px 40px #84599126,inset 0 1px 0 #fff!important}
.light-theme .brief-label{color:#7f5887}.light-theme .brief-label select,.light-theme .brief-label textarea{background:#fffaf4e6!important;color:#74567f!important;border-color:#cdb1d27a!important;box-shadow:inset 0 2px 5px #80608a0d}.light-theme .brief-status,.light-theme .pill{color:#927a9b}
.light-theme .footer-guide{border-color:#bda2c466}.light-theme .footer-guide h2{color:#72517d}.light-theme .footer-guide-links strong{color:#a26094}.light-theme .footer-guide p,.light-theme .footer-guide-links small{color:#8e7297}
.light-theme .footer{background:transparent!important;border-color:#bda2c455!important}.light-theme .footer .logo,.light-theme .footer .logo b{color:#aa6b9f!important}
.light-theme .theme-toggle{background:linear-gradient(110deg,#b88ccc,#cc9bbd)!important;color:#fff8ff!important;border-color:#e9c7e5!important;box-shadow:0 5px 18px #a56bbd40!important}
.light-theme dialog{background:linear-gradient(140deg,#fffbf5f5,#eee3f5f5)!important;color:#735980!important;border-color:#fff9ff!important;box-shadow:0 10px 25px #6e4b7d33,0 30px 90px #694c7d40!important}.light-theme dialog::backdrop{background:#54406880}
@media(prefers-reduced-motion:reduce){.light-theme #topic-grid .topic:hover,.light-theme .journal-card:hover,.light-theme .team-card:hover{transform:none}}
