/* Scoped light-mode paint overrides; original template CSS remains intact. */
:root { color-scheme: dark; }
:root[data-theme="light"] {
 color-scheme: light;
 --ink:#f8f9fb; --ink-raised:#ffffff; --ink-2:#eef0f4; --pewter:#d8dbe2;
 --slate:#565b66; --bone:#16171a; --amber:#126598; --amber-hi:#106ca6;
 --hair:rgba(22,23,26,.1); --hair-strong:rgba(22,23,26,.2);
 --theme-shadow:rgba(22,23,26,.08);
}
.mast__card .menu-btn.theme-toggle {
 display:inline-flex;align-items:center;justify-content:center;flex:0 0 36px;
 width:36px;height:36px;padding:0;margin-left:10px;margin-right:8px;
 border:1px solid var(--hair-strong);border-radius:var(--radius-pill);
 color:var(--bone);background:var(--ink-raised);pointer-events:auto;
}
.theme-toggle svg {width:18px;height:18px;flex-shrink:0;}
.theme-toggle:hover {border-color:var(--amber);}
:root[data-theme="light"] .calc::before,:root[data-theme="light"] .mini-tier::before,:root[data-theme="light"] .panel::before,:root[data-theme="light"] .pv::before,:root[data-theme="light"] .tier::before{background:linear-gradient(90deg,transparent,rgba(22,22,22,.62),transparent);}
:root[data-theme="light"] .glow::after{background:radial-gradient(closest-side,rgba(22,22,22,.26),rgba(22,22,22,.06) 46%,transparent 74%);}
:root[data-theme="light"] .plot::before{background-image:repeating-linear-gradient(90deg,rgba(22,22,22,.045) 0 1px,transparent 1px 152px),repeating-linear-gradient(0deg,rgba(22,22,22,.045) 0 1px,transparent 1px 152px);}
:root[data-theme="light"] #hero-h .ch{color:color-mix(in srgb,currentColor,#161e2c calc(var(--lit,0) * 100%));}
:root[data-theme="light"] .btn--solid{background:#262626;border:1px solid #262626;}
:root[data-theme="light"] .btn--solid::before{background:#161616;}
:root[data-theme="light"] .btn--solid:focus-visible,:root[data-theme="light"] .btn--solid:hover{border-color:#161616;}
:root[data-theme="light"] .btn.btn--roll::after{background:linear-gradient(100deg,transparent,rgba(22,22,22,.16) 42%,rgba(26,142,214,.22) 58%,transparent);}
:root[data-theme="light"] #stage::before{background:radial-gradient(ellipse 44% 40% at 50% 47%,rgba(106,101,88,.11),rgba(177,174,163,.05) 48%,transparent 76%);}
:root[data-theme="light"] .intro::before{background:#f8f8f8;}
:root[data-theme="light"] .masthead::before{background:linear-gradient(180deg,rgba(248,248,248,.96) 0,rgba(248,248,248,.82) 38%,rgba(248,248,248,.35) 70%,rgba(248,248,248,0));}
:root[data-theme="light"] .hero__brand-ghost{color:rgba(22,22,22,.007);}
:root[data-theme="light"] .beams b{background:linear-gradient(to bottom,transparent,rgba(22,22,22,.055) 18%,rgba(22,22,22,.055) 74%,transparent);}
:root[data-theme="light"] .beams i{background:linear-gradient(to bottom,transparent,var(--c,#161616) 48%,transparent);}
:root[data-theme="light"] .chrome-cta{color:#25272c;}
:root[data-theme="light"] .chrome-cta::before{background:conic-gradient(from 60deg,#afb0ad,#212229,#848681,#1a1c22,#c2c3bf,#303440,#1e2127,#a6a8a5);}
:root[data-theme="light"] .chrome-cta__face{background:radial-gradient(ellipse at var(--px,40%) 0,#b8b9b5,#d5d5d2 55%,#e3e3e0);}
:root[data-theme="light"] .chrome-cta__face::before{background:radial-gradient(ellipse at var(--px,50%) 0,#a6a7a3,#cdcdc9 55%,#e0e0dd);}
:root[data-theme="light"] .chrome-cta .glyph{color:#575a63;}
:root[data-theme="light"] .beam-cta__beam{background:conic-gradient(from 90deg at 50% 50%,transparent 0,transparent 72%,rgba(26,142,214,.55) 90%,#161616 100%);}
:root[data-theme="light"] .beam-cta__edge{background:#d3d3cf;}
:root[data-theme="light"] .beam-cta__face{background:linear-gradient(180deg,#d6d6d4,#eeeeec);color:#626469;}
:root[data-theme="light"] .beam-cta:focus-visible .beam-cta__face,:root[data-theme="light"] .beam-cta:hover .beam-cta__face{color:#161616;}
@media  (prefers-reduced-motion:reduce){:root[data-theme="light"] .beam-cta:focus-visible .beam-cta__edge,:root[data-theme="light"] .beam-cta:hover .beam-cta__edge{background:#999a96;}}
:root[data-theme="light"] .bcard::before{background:linear-gradient(90deg,transparent,rgba(22,22,22,.6),transparent);}
:root[data-theme="light"] .bcard__vis::after{background:radial-gradient(closest-side,rgba(22,22,22,.11),transparent 70%);}
:root[data-theme="light"] .sch-frame{fill:rgba(22,22,22,.014);}
:root[data-theme="light"] .sch-node{fill:rgba(22,22,22,.026);}
:root[data-theme="light"] .sch-pulse{stroke:#161616;}
:root[data-theme="light"] .sch-dot{fill:#161616;}
:root[data-theme="light"] .sch-btn{fill:rgba(22,22,22,.10);}
:root[data-theme="light"] .sch-btn--ghost{fill:rgba(22,22,22,.02);}
:root[data-theme="light"] .iso{stroke:rgba(22,22,22,.3);}
:root[data-theme="light"] .iso-t{fill:#e5e5e1;}
:root[data-theme="light"] .iso-r{fill:#ecece9;}
:root[data-theme="light"] .iso-l{fill:#f0f0ee;}
:root[data-theme="light"] .iso-t--hi{fill:#dededa;stroke:rgba(22,22,22,.5);}
:root[data-theme="light"] .iso-t--ghost{fill:#ececea;}
:root[data-theme="light"] .iso-line{stroke:rgba(22,22,22,.26);}
:root[data-theme="light"] .iso-wire{stroke:rgba(22,22,22,.22);}
:root[data-theme="light"] .iso-floor{stroke:rgba(22,22,22,.12);}
:root[data-theme="light"] .iso-rule{stroke:rgba(22,22,22,.2);}
:root[data-theme="light"] .iso-dash{stroke:rgba(22,22,22,.28);}
:root[data-theme="light"] .iso-axis{stroke:rgba(22,22,22,.34);}
:root[data-theme="light"] .iso-bar{fill:rgba(22,22,22,.2);}
:root[data-theme="light"] .iso-bar--hi{fill:rgba(22,22,22,.55);}
:root[data-theme="light"] .iso-bar--ghost{stroke:rgba(22,22,22,.25);}
:root[data-theme="light"] .iso-sun{fill:#161616;}
:root[data-theme="light"] .iso-rays{stroke:rgba(22,22,22,.6);}
:root[data-theme="light"] .pin-rail__line i{background:linear-gradient(180deg,rgba(22,22,22,.35),var(--bone));}
:root[data-theme="light"].motion .beat{background:rgba(248,248,248,.62);}
:root[data-theme="light"] .ship:focus-within .pv,:root[data-theme="light"] .ship:hover .pv{border-color:rgba(22,22,22,.24);}
:root[data-theme="light"] .pv-btn--brass{background:#262626;border-color:#262626;}
:root[data-theme="light"] .pv-row.is-lit{background:rgba(22,22,22,.06);}
:root[data-theme="light"] .pv-block.is-lit{border-color:rgba(22,22,22,.42);}
:root[data-theme="light"] #pricing::before{background:linear-gradient(90deg,transparent 8%,rgba(22,22,22,.5) 50%,transparent 92%);}
:root[data-theme="light"] #pricing .shaft{background:radial-gradient(58% 52% at 50% 0,rgba(22,22,22,.24),rgba(22,22,22,.08) 46%,transparent 78%),radial-gradient(96% 74% at 50% 0,rgba(22,22,22,.08),transparent 72%);}
:root[data-theme="light"] #pricing .shaft::before{background:linear-gradient(180deg,rgba(22,22,22,.18),transparent 74%);}
:root[data-theme="light"] .ship::before{background:linear-gradient(90deg,transparent,rgba(22,22,22,.5),transparent);}
:root[data-theme="light"] .ship__meta::before{background:rgba(22,22,22,.32);}
:root[data-theme="light"] .compass::after{background:radial-gradient(closest-side,rgba(22,22,22,.1),transparent 70%);}
:root[data-theme="light"] .pv--tui{background:#eeeeec;}
:root[data-theme="light"] .gauge-card .gc-plate{background:radial-gradient(120% 100% at 30% 0,#e8e8e5 0,#f0f0ef 55%,#f3f3f2 100%);border:1px solid rgba(22,22,22,.03);}
:root[data-theme="light"] .gauge-card:hover .gc-plate{border-color:rgba(22,22,22,.08);}
:root[data-theme="light"] .gauge-card .gc-shell{background:var(--tex-metal),conic-gradient(from 210deg,#c5c5c2 0deg,#e4e4e1 60deg,#d1d1cd 130deg,#ececeb 200deg,#cdcdc9 280deg,#e7e7e5 340deg,#c5c5c2 360deg);}
:root[data-theme="light"] .gauge-card .bezel{background:radial-gradient(closest-side,#eeeeec 76%,#dbdbd7 92%,#f1f1ef 100%);}
:root[data-theme="light"] .gauge-card .bezel::before{background:repeating-conic-gradient(from 0deg,rgba(22,22,22,.16) 0deg .5deg,rgba(248,248,248,0) .5deg 2.2deg);}
:root[data-theme="light"] .gauge-card .screw{background:radial-gradient(circle at 34% 26%,rgba(22,22,22,.55) 0,rgba(22,22,22,.08) 26%,rgba(22,22,22,0) 46%),radial-gradient(closest-side,rgba(248,248,248,0) 58%,rgba(248,248,248,.45) 84%,rgba(248,248,248,.7) 100%),conic-gradient(from calc(var(--a,0deg) - 52deg),#706f69 0deg,#bdbcb6 34deg,#4b4a45 74deg,#b4b3ad 118deg,#64635e 168deg,#c7c6c2 214deg,#5a5954 262deg,#bbbab5 312deg,#706f69 360deg);}
:root[data-theme="light"] .gauge-card .screw::before{background:linear-gradient(#f4f4f3,#ddddd9) center/100% 20% no-repeat,linear-gradient(#f4f4f3,#ddddd9) center/20% 100% no-repeat,linear-gradient(rgba(22,22,22,.62),rgba(22,22,22,.62)) center calc(50% + .11cqw)/100% 20% no-repeat,linear-gradient(rgba(22,22,22,.62),rgba(22,22,22,.62)) calc(50% + .11cqw) center/20% 100% no-repeat;}
:root[data-theme="light"] .gauge-card .blade::after{background:linear-gradient(rgba(22,22,22,.34),rgba(22,22,22,0));}
:root[data-theme="light"] .gauge-card .hub{background:radial-gradient(circle at 34% 30%,#a6a6a0,#e0e0dd 60%,#f4f4f3);}
:root[data-theme="light"] .gauge-card .glass{background:radial-gradient(120% 78% at 22% 6%,rgba(22,22,22,.2) 0,rgba(22,22,22,.05) 32%,rgba(22,22,22,0) 56%),linear-gradient(148deg,rgba(22,22,22,.12) 0,rgba(22,22,22,0) 40%);}
:root[data-theme="light"] .gauge-card .gauge-icon{color:rgba(22,22,22,.25);}
:root[data-theme="light"] .cmp-sweep{stroke:#161616;}
:root[data-theme="light"] .cmp-needle-n{fill:#161616;}
:root[data-theme="light"] .cmp-glow{fill:#161616;}
:root[data-theme="light"] .hive__corona{background:radial-gradient(circle,#f8f8f8 0 31%,rgba(170,222,255,.95) 33.5%,rgba(105,186,236,.62) 37%,rgba(26,142,214,.26) 46%,rgba(26,142,214,.08) 58%,transparent 68%);}
:root[data-theme="light"] .hive__big{background:linear-gradient(180deg,rgba(22,22,22,.34),rgba(22,22,22,.12) 50%,rgba(22,22,22,0) 95%);}
:root[data-theme="light"] .hex{color:#1f2229;background:linear-gradient(165deg,rgba(22,22,22,.08),rgba(22,22,22,.018) 55%,rgba(22,22,22,.045));}
:root[data-theme="light"] .hex::before{background:linear-gradient(170deg,rgba(22,22,22,.38),rgba(22,22,22,.06) 46%,rgba(22,22,22,.14));}
:root[data-theme="light"] .hex--blank{background:linear-gradient(165deg,rgba(22,22,22,.05),rgba(22,22,22,.01) 60%);}
:root[data-theme="light"] .cg__card{background:linear-gradient(180deg,rgba(22,22,22,.022),transparent 40%),var(--ink-raised);}
:root[data-theme="light"] .cg__stage{background:linear-gradient(rgba(26,142,214,.035) 1px,transparent 1px) 0 0/18px 18px,linear-gradient(90deg,rgba(26,142,214,.035) 1px,transparent 1px) 0 0/18px 18px,#f2f2f0;}
:root[data-theme="light"] .gr::before{background:radial-gradient(circle at 50% 50%,rgba(105,186,236,.09),transparent 46%),radial-gradient(rgba(22,22,22,.09) 1px,transparent 1.4px) 0 0/22px 22px;}
:root[data-theme="light"] .gr-w{stroke:rgba(22,22,22,.16);}
:root[data-theme="light"] .gr-n i{background:radial-gradient(circle at 34% 30%,rgba(22,22,22,.55),rgba(22,22,22,.1) 42%,rgba(248,248,248,.35) 100%),#d6d6d2;}
:root[data-theme="light"] .gr-n span{border:1px solid rgba(22,22,22,.12);background:rgba(240,240,238,.82);color:rgba(38,38,38,.72);}
:root[data-theme="light"] .gr-n--src i{background:radial-gradient(circle at 50% 40%,#e4e5e1,#f3f3f2 70%);}
:root[data-theme="light"] .gr__lens{background:#eeeeec;}
:root[data-theme="light"] .gr__lens::after{background:radial-gradient(60% 40% at 34% 18%,rgba(22,22,22,.2),transparent 70%),radial-gradient(circle at 50% 50%,transparent 62%,rgba(22,22,22,.06) 100%);}
:root[data-theme="light"] .gr__zoom{background:radial-gradient(circle at 50% 50%,rgba(105,186,236,.1),transparent 46%),radial-gradient(rgba(22,22,22,.11) 1px,transparent 1.4px) 0 0/22px 22px,#f0f0ee;}
:root[data-theme="light"] .tok__row input::-webkit-slider-runnable-track{background:linear-gradient(90deg,var(--amber-hi) var(--p),rgba(22,22,22,.12) var(--p));}
:root[data-theme="light"] .tok__row input::-moz-range-track{background:linear-gradient(90deg,var(--amber-hi) var(--p),rgba(22,22,22,.12) var(--p));}
:root[data-theme="light"] .tok__row input::-webkit-slider-thumb{background:#262626;}
:root[data-theme="light"] .tok__row input::-moz-range-thumb{background:#262626;}
:root[data-theme="light"] .tok__img{background:linear-gradient(135deg,#d1d1cd,#e4e4e1);}
:root[data-theme="light"] .tok__btn{background:#262626;color:#eeeeec;}
:root[data-theme="light"] .rt__wire{stroke:rgba(22,22,22,.22);}
:root[data-theme="light"] .rt__tip{stroke:rgba(22,22,22,.34);}
:root[data-theme="light"] .rt__src{background:linear-gradient(90deg,transparent,#eaeae7 72%);}
:root[data-theme="light"] .rt__pill{background:linear-gradient(180deg,#e0e0dd,#e6e6e4);}
:root[data-theme="light"] .rt__card{background:linear-gradient(180deg,#e7e7e5,#ebebe8);}
:root[data-theme="light"] .rt__dot--err::after{background:#eeeeec;}
:root[data-theme="light"] .ob__orb{background:radial-gradient(circle at 42% 30%,#dcdcd8,#ececea 62%,#f1f1ef);}
:root[data-theme="light"] .ob__orb--from{color:#41413c;}
:root[data-theme="light"] .check input:checked{background:#262626;border-color:#262626;}
:root[data-theme="light"] .fan__deck{background:radial-gradient(ellipse 60% 26% at 50% 92%,rgba(22,22,22,.07),transparent 72%);}
:root[data-theme="light"] .chip{background:#27282c;}
:root[data-theme="light"] .chip__sw{background-image:linear-gradient(180deg,rgba(22,22,22,.09),transparent 34%);}
:root[data-theme="light"] .chip__lab{background:linear-gradient(180deg,#222327,#303137);}
:root[data-theme="light"] .chip__n{color:#e6e6e3;}
:root[data-theme="light"] .chip__hex{color:#999993;}
:root[data-theme="light"] .spec-try input::placeholder{color:#adada6;}
:root[data-theme="light"] .step__b{background:linear-gradient(180deg,#c5c5be,#dfdfdb);}
:root[data-theme="light"] .step--no .step__b{border:1px dashed rgba(22,22,22,.22);}
:root[data-theme="light"] .step--no .step__n{color:#a6a69f;}
:root[data-theme="light"] .vol__cue{background:rgba(237,237,235,.86);}
:root[data-theme="light"] .reader__scrim{background:rgba(248,248,248,.84);}
:root[data-theme="light"] .rb__shadow{background:radial-gradient(ellipse at 50% 40%,rgba(22,22,22,.12),transparent 70%);}
:root[data-theme="light"] .rb__back{background:linear-gradient(135deg,#e0e0dc,#eeeeec);}
:root[data-theme="light"] .rb__fore{background:linear-gradient(90deg,rgba(248,248,248,.5),transparent 25%,transparent 75%,rgba(248,248,248,.45)),repeating-linear-gradient(90deg,#3c3d42 0 1px,#626368 1px 2px);}
:root[data-theme="light"] .rb__head{background:linear-gradient(180deg,rgba(248,248,248,.45),transparent 25%,transparent 75%,rgba(248,248,248,.4)),repeating-linear-gradient(180deg,#2e2f34 0 1px,#505157 1px 2px);}
:root[data-theme="light"] .rb__spine{background:linear-gradient(90deg,#eeeeec,#deded9 55%,#ececea);}
:root[data-theme="light"] .rb__front{background-image:linear-gradient(90deg,transparent 14px,rgba(248,248,248,.55) 15px,rgba(22,22,22,.07) 17px,transparent 19px),var(--noise);}
:root[data-theme="light"] .rb__inside{background:linear-gradient(120deg,#e6e6e2,#eeeeec);}
:root[data-theme="light"] .rp{color:#e3e3de;background:radial-gradient(120% 90% at 30% 0,rgba(22,22,22,.55),transparent 60%),linear-gradient(180deg,#212225,#2e3035);}
:root[data-theme="light"] .rp__k{color:#999993;}
:root[data-theme="light"] .rp__t{color:#bbbbb4;}
:root[data-theme="light"] .rp__fig{fill:#e3e3de;}
:root[data-theme="light"] .rp__l{color:#bbbbb4;}
:root[data-theme="light"] .rp__l b{color:#e3e3de;}
:root[data-theme="light"] .rp__demo{background:rgba(227,227,222,.08);}
:root[data-theme="light"] .rp__dur span{color:#bbbbb4;}
:root[data-theme="light"] .rp__dur span::before{background:#e3e3de;}
:root[data-theme="light"] .rp__code{background:#e3e3de;color:#2a2c32;}
:root[data-theme="light"] .reader__close{background:rgba(237,237,235,.8);}
:root[data-theme="light"] .book__leaf{background:linear-gradient(90deg,#797970 0 5px,#46463f 5px 7px,#97978e 7px 100%),linear-gradient(180deg,#585850,#8a8a81);}
:root[data-theme="light"] .book__page{background:linear-gradient(158deg,#242422,#494941 84%);border:1px solid rgba(22,22,22,.24);}
:root[data-theme="light"] .book__page i{background:rgba(229,229,223,.3);}
:root[data-theme="light"] .book__page i:first-child{background:rgba(236,236,231,.8);}
:root[data-theme="light"] .book__page i:nth-child(6){background:rgba(229,229,223,.2);}
:root[data-theme="light"] .book__leaf::after{background:repeating-linear-gradient(180deg,rgba(248,248,248,.22) 0 1px,transparent 1px 3px);}
:root[data-theme="light"] .book__fore{background:linear-gradient(90deg,rgba(248,248,248,.55),transparent 22%,transparent 78%,rgba(248,248,248,.5)),repeating-linear-gradient(90deg,#464640 0 1px,#67675f 1px 2px),linear-gradient(180deg,#393933,#7b7b72);}
:root[data-theme="light"] .book__head{background:linear-gradient(180deg,rgba(248,248,248,.5),transparent 22%,transparent 78%,rgba(248,248,248,.45)),repeating-linear-gradient(180deg,#30302a 0 1px,#51514a 1px 2px),linear-gradient(90deg,#54544d,#242421);}
:root[data-theme="light"] .book__spine{background:linear-gradient(90deg,#eeeeec,#dfdfda 55%,#ececea);}
:root[data-theme="light"] .book__spine::after{border-inline:1px solid rgba(22,22,22,.10);}
:root[data-theme="light"] .book__cover{background-image:linear-gradient(90deg,transparent 10px,rgba(248,248,248,.55) 11px,rgba(22,22,22,.07) 13px,transparent 15px),var(--noise);}
:root[data-theme="light"] .book__cover::before{background:linear-gradient(90deg,transparent,rgba(22,22,22,.55),transparent);}
:root[data-theme="light"] .book__cover::after{background:linear-gradient(112deg,transparent 34%,rgba(22,22,22,.05) 44%,rgba(22,22,22,.12) 50%,rgba(22,22,22,.05) 56%,transparent 66%);}
:root[data-theme="light"] .book__cover-in{background:linear-gradient(120deg,#e6e6e2,#eeeeec);}
:root[data-theme="light"] .book__pool{background:radial-gradient(ellipse at 50% 0,rgba(22,22,22,.13),transparent 72%);}
:root[data-theme="light"] .vol:focus-within .vol__note,:root[data-theme="light"] .vol:hover .vol__note{background:linear-gradient(180deg,rgba(22,22,22,.045),transparent);color:#54544e;}
:root[data-theme="light"] .bk-fill{fill:rgba(22,22,22,.05);}
:root[data-theme="light"] .ar__star{background:#161616;}
:root[data-theme="light"] .ar__floor{background:linear-gradient(180deg,#f5f5f4,#f8f8f8 70%);}
:root[data-theme="light"] .ar__frame{border:1px solid rgba(22,22,22,.1);background:linear-gradient(180deg,rgba(22,22,22,.06),rgba(22,22,22,.015));-webkit-box-reflect:below 14px linear-gradient(transparent 72%,rgba(248,248,248,.09));}
:root[data-theme="light"] .calc{border:1px solid rgba(22,22,22,.13);background:linear-gradient(115deg,rgba(22,22,22,.09),rgba(22,22,22,0) 38%),linear-gradient(180deg,rgba(227,227,223,.74),rgba(239,239,237,.84));}
:root[data-theme="light"] .calc__input{border:1px solid rgba(22,22,22,.14);background:rgba(248,248,248,.35);}
:root[data-theme="light"] .calc__grp i{background:rgba(22,22,22,.08);}
:root[data-theme="light"] .ar.is-on .calc__grp--d i{background:rgba(38,38,38,.55);}
:root[data-theme="light"] .ar.is-on .calc__grp--b i{background:rgba(38,38,38,.28);}
:root[data-theme="light"] .ts__card{background:linear-gradient(180deg,rgba(22,22,22,.022),transparent 40%),var(--ink-raised);}
:root[data-theme="light"] .divider__sheet{background:#ececea;}
:root[data-theme="light"] .divider.is-front .divider__sheet{background-color:#e9e9e5;}
:root[data-theme="light"] .tier--focus{background:#eaeae6;}
:root[data-theme="light"] .fq__card{background:#ececea;}
:root[data-theme="light"] .fq.is-front .fq__card{background-color:#e9e9e5;}
@media  (max-width:760px){:root[data-theme="light"] .fq:not(.is-front) .fq__card{background-color:#eeeeec;}}
:root[data-theme="light"] .shaft{background:radial-gradient(62% 40% at 50% 0,rgba(22,22,22,.34),transparent 72%),linear-gradient(180deg,rgba(22,22,22,.2),rgba(22,22,22,.045) 44%,transparent 80%);}
:root[data-theme="light"] .shaft::after{background:linear-gradient(180deg,rgba(22,22,22,.95) 6%,rgba(22,22,22,.42) 38%,transparent);}
:root[data-theme="light"] .shaft::before{background:linear-gradient(180deg,rgba(22,22,22,.3),transparent 78%);}
:root[data-theme="light"] #close::before{background:linear-gradient(90deg,transparent 8%,rgba(22,22,22,.5) 50%,transparent 92%);}
:root[data-theme="light"] #close .shaft{background:radial-gradient(58% 56% at 50% 0,rgba(22,22,22,.26),rgba(22,22,22,.085) 46%,transparent 78%),radial-gradient(96% 74% at 50% 0,rgba(22,22,22,.085),transparent 72%);}
:root[data-theme="light"] #close .shaft::before{background:linear-gradient(180deg,rgba(22,22,22,.2),transparent 74%);}
:root[data-theme="light"] .hub::before{background:radial-gradient(closest-side,rgba(22,22,22,.035),transparent 72%);}
:root[data-theme="light"] .hw{stroke:rgba(22,22,22,.13);}
:root[data-theme="light"] .hw-c{stroke:#161616;}
:root[data-theme="light"] .hw-j{fill:#383a43;}
:root[data-theme="light"] .hub__card{border:1px solid rgba(22,22,22,.075);background:linear-gradient(180deg,rgba(22,22,22,.035),rgba(22,22,22,.008) 60%),#eeeeec;}
:root[data-theme="light"] .hub__card:hover{border-color:rgba(22,22,22,.14);}
:root[data-theme="light"] .hub__card.is-on{background-color:#ececee;}
:root[data-theme="light"] .hub__ico{color:rgba(22,22,22,.88);}
:root[data-theme="light"] .hub__port{background:#20222a;}
:root[data-theme="light"] .hub__stem--t{background:linear-gradient(to bottom,transparent,rgba(22,22,22,.42));}
:root[data-theme="light"] .orb{background:radial-gradient(110% 80% at 50% -8%,rgba(22,22,22,.13),transparent 46%),radial-gradient(70% 50% at 50% 112%,rgba(105,186,236,.12),transparent 70%),radial-gradient(circle at 50% 42%,#e5e5e2 0,#efefed 52%,#f4f4f4 100%);}
:root[data-theme="light"] .orb::before{background:conic-gradient(from calc(var(--rim) - 180deg),rgba(105,186,236,.42),rgba(22,22,22,.04) 60deg,rgba(22,22,22,.22) 125deg,rgba(22,22,22,.95) 180deg,rgba(22,22,22,.22) 235deg,rgba(22,22,22,.04) 300deg,rgba(105,186,236,.42));}
:root[data-theme="light"] .orb::after{background:radial-gradient(ellipse at 50% 0,rgba(22,22,22,.11),transparent 70%);}
:root[data-theme="light"] .orb__ring{border:1px solid rgba(22,22,22,.13);}
:root[data-theme="light"] .orb__flare{background:#161616;}
:root[data-theme="light"] .hub__cap{color:rgba(38,38,38,.6);}
:root[data-theme="light"] .ide__edge{stroke:rgba(22,22,22,.09);}
:root[data-theme="light"] .ide__win{border:1px solid rgba(22,22,22,.07);background:#f1f1ef;}
:root[data-theme="light"] .ide__win>*+*{border-left:1px solid rgba(22,22,22,.06);}
:root[data-theme="light"] .ide__bar{border-bottom:1px solid rgba(22,22,22,.06);}
:root[data-theme="light"] .ide__bar>svg{color:rgba(22,22,22,.35);}
:root[data-theme="light"] .ide__btn{color:rgba(22,22,22,.45);}
:root[data-theme="light"] .ide__btn:hover{background:rgba(22,22,22,.06);}
:root[data-theme="light"] .ide__row{color:rgba(38,38,38,.66);}
:root[data-theme="light"] .ide__row svg{color:rgba(22,22,22,.5);}
:root[data-theme="light"] button.ide__row:hover{background:rgba(22,22,22,.04);}
:root[data-theme="light"] button.ide__row.is-on{background:rgba(22,22,22,.055);}
:root[data-theme="light"] .ide__code{color:rgba(38,38,38,.86);}
:root[data-theme="light"] .ide__code .l::before{color:rgba(22,22,22,.22);}
:root[data-theme="light"] .ide__code .l.is-cur{background:rgba(22,22,22,.03);}
:root[data-theme="light"] .ide__code .l.is-cur::before{color:rgba(22,22,22,.6);}
:root[data-theme="light"] .tk-a{color:#484c58;}
:root[data-theme="light"] .tk-c{color:rgba(22,22,22,.3);}
:root[data-theme="light"] .tk-n{color:#393e4e;}
:root[data-theme="light"] .ide__tabs button{color:rgba(38,38,38,.5);}
:root[data-theme="light"] .ide__panes{background:#f5f5f4;border:1px solid rgba(22,22,22,.05);}
:root[data-theme="light"] .site{background:#f6f6f5;}
:root[data-theme="light"] .site__nav{color:rgba(38,38,38,.55);}
:root[data-theme="light"] .site__moon{background:radial-gradient(circle at 34% 36%,#e3e3e0 0,#efefed 40%,#f5f5f4 70%);}
:root[data-theme="light"] .site__floor{background:linear-gradient(90deg,transparent,rgba(22,22,22,.4) 64%,transparent 88%);}
:root[data-theme="light"] .site__floor::after{background:linear-gradient(to bottom,rgba(22,22,22,.07),transparent);}
:root[data-theme="light"] .site__rule{background:rgba(22,22,22,.55);}
:root[data-theme="light"] .term{color:rgba(38,38,38,.82);}
:root[data-theme="light"] .term .pr{color:rgba(22,22,22,.34);}
:root[data-theme="light"] .term .dim{color:rgba(38,38,38,.45);}
:root[data-theme="light"] .dep{color:rgba(38,38,38,.7);}
:root[data-theme="light"] .dep__st{border:1px solid rgba(22,22,22,.1);color:rgba(38,38,38,.7);}
:root[data-theme="light"] .dep__st i{background:rgba(22,22,22,.45);}
:root[data-theme="light"] .dep li{border-bottom:1px solid rgba(22,22,22,.05);}
:root[data-theme="light"] .dep li span:nth-child(2){color:rgba(38,38,38,.4);}
:root[data-theme="light"] .dep li svg{color:rgba(22,22,22,.18);}
:root[data-theme="light"] .dep__bar{background:rgba(22,22,22,.07);}
:root[data-theme="light"] .dep__foot{color:rgba(38,38,38,.45);}
@media  (max-width:860px){:root[data-theme="light"] .ide__win>*+*{border-top:1px solid rgba(22,22,22,.06);}}
:root[data-theme="light"] .foot__edge .fe-edge{stroke:rgba(22,22,22,.09);}
:root[data-theme="light"] .foot__card{border:1px solid rgba(22,22,22,.07);background:#f1f1ef;}
:root[data-theme="light"].veiled body::before{background:#f8f8f8;}
:root[data-theme="light"] .veil{background:#f8f8f8;}
:root[data-theme="light"] .shut{background:#f8f8f8;}



:root[data-theme="light"] .mast__card { background:var(--ink-raised); box-shadow:0 8px 28px var(--theme-shadow); }
:root[data-theme="light"] #stage { filter:invert(1) hue-rotate(180deg); }
:root[data-theme="light"] .divider__sheet,
:root[data-theme="light"] .fq__card { box-shadow:0 12px 32px var(--theme-shadow),0 1px 3px var(--theme-shadow); }
:root[data-theme="light"] .chrome-cta__face { box-shadow:inset 0 1px 2px var(--hair),0 4px 12px var(--theme-shadow); }
:root[data-theme="light"] .hero__lamp { mix-blend-mode:multiply; }
:root[data-theme="light"] #hero-h .ch { color:currentColor; }
:root[data-theme="light"] .hero__brand { color:var(--bone); }
:root[data-theme="light"] .mast__edge { opacity:.45; }
:root[data-theme="light"] .chrome-cta__face { text-shadow:none; }
@media (max-width:480px) {
 .mast__card .theme-toggle {margin-left:auto;margin-right:8px;}
}
/* Centre the theme switch on the header bar, level with Contact us / Menu. */
.mast__card .menu-btn.theme-toggle { align-self:flex-start; margin-top:calc((var(--barH, 54px) - 36px) / 2); }
