:root{color-scheme:dark;font-family:system-ui,-apple-system,"Segoe UI",sans-serif;background:#111216;color:#f0f0f5;line-height:1.7}*{box-sizing:border-box}body{margin:0}a{color:#c4c2ff;text-underline-offset:4px}a:hover{color:#fff}a:focus-visible,summary:focus-visible{outline:3px solid #d6bcff;outline-offset:5px}.site-nav,main,footer{width:min(950px,calc(100% - 40px));margin:auto}.site-nav{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:25px 0;border-bottom:1px solid #ffffff25}.site-nav nav{display:flex;gap:20px;flex-wrap:wrap}.brand{font-weight:800;color:#fff;text-decoration:none;font-size:22px}main{padding:35px 0 55px}h1{font-size:clamp(28px,5vw,43px);line-height:1.2;margin:16px 0}h2{font-size:25px;margin-top:40px}h3{font-size:21px}h4{font-size:18px}.eyebrow,.muted,.breadcrumbs{color:#bbbcc9}.eyebrow{font-size:14px}.problem,.step,.answer,.alternate{padding:24px;border:1px solid #ffffff24;border-radius:15px;margin:20px 0;background:#ffffff04}.step p{margin:12px 0}.dataset{font-family:Georgia,serif;font-size:23px;overflow-x:auto}.question-copy{font-size:20px}.question-copy img,.question-copy svg,.dataset img,.dataset svg{max-width:100%;height:auto}.question-copy .question-figure,.question-copy .hardbook-figure{background:#18191e;border-radius:10px}.choices{padding-left:30px}.choices li{padding:8px}.cta{display:inline-block;padding:12px 20px;border-radius:9px;background:#eeeefa;color:#191922;font-weight:750;text-decoration:none;margin:8px 0 20px}.cta:hover{color:#15151a;background:#d9d5ff}.math-line{overflow-x:auto;padding:12px 3px;font-family:Georgia,serif;font-size:23px}math[display=block]{margin:0;text-align:left;display:block;min-width:max-content}math annotation{display:none}table{border-collapse:collapse;margin:15px 0}th,td{padding:10px 20px;border:1px solid #85858c}th{background:#ffffff09}.table-scroll{overflow-x:auto}.question-list{list-style:none;padding:0}.question-list li{border-bottom:1px solid #ffffff20;padding:16px 0}.question-list a{font-size:18px;font-weight:650}.question-list small{font-size:12px;font-weight:400;color:#bbbcc9}.question-list p{margin:6px 0;color:#bbbcc9}.alternate summary,.answer summary{cursor:pointer;font-weight:700}.alternate{border-color:#b5a6ec;box-shadow:0 0 15px #aa8fff20}video{display:block;width:100%;max-width:540px;max-height:80vh;background:#000;margin:15px auto}footer{padding:25px 0 40px;border-top:1px solid #ffffff25;font-size:14px;color:#aaaab8}.frac,.hand-fraction{display:inline-flex;vertical-align:middle;flex-direction:column;text-align:center;line-height:1.2}.frac>span:first-child,.hand-fraction>span:first-child{border-bottom:1px solid;padding:0 3px 2px}.frac>span:last-child,.hand-fraction>span:last-child{padding:2px 3px 0}@media(max-width:600px){.site-nav{align-items:flex-start;flex-direction:column;gap:10px}.problem,.step{padding:17px}.question-copy{font-size:18px}.dataset{font-size:20px}.math-line{font-size:20px}}
/* Readable versions share the study player's celestial cards and white controls. */
.solution{padding:clamp(16px,3vw,30px);border:1px solid #c4d4e52b;border-radius:24px;background:linear-gradient(#03070bc9,#03070bd9),url('/home/celestial/photo-detail-4k.webp') center/cover;color:#f1f3f6;box-shadow:0 20px 60px #0005}
.solution :is(h2,h3){color:#f1f3f6}.solution>h2:first-child{margin-top:0}.solution .step{background:linear-gradient(145deg,#17202a80,#060a10ed);border-color:#c4d4e52b;border-radius:14px;line-height:1.8}.solution .step h4{letter-spacing:.025em}.solution .math-line{padding:15px;border:1px solid #c4d4e52b;border-radius:12px;background:#c4d4e509}.solution .alternate{background:#050a12db;border-color:#c4d4e550;box-shadow:0 0 14px #e0edff18}.solution :is(summary,a){color:#edf2fa}.solution summary{padding:8px 0}.solution .hand-solution{border-top:1px solid #c4d4e54d;margin-top:26px;padding-top:10px}

/* Light is the site default (2026-11-14), matching the question bank. These pages carry no script
   (they must work without JavaScript), so they are always light; the dark rules above remain
   available under html[data-theme=dark] if a theme hook is ever added. */
html:not([data-theme=dark]){color-scheme:light;background:#F2F4F8;color:#1B1D21}
html:not([data-theme=dark]) a{color:#324dc7}
html:not([data-theme=dark]) a:hover{color:#1f3399}
html:not([data-theme=dark]) :is(a,summary):focus-visible{outline-color:#324dc7}
html:not([data-theme=dark]) .site-nav{border-bottom-color:#E1E5EC}
html:not([data-theme=dark]) .brand,html:not([data-theme=dark]) .brand:hover{color:#1B1D21}
html:not([data-theme=dark]) :is(.eyebrow,.muted,.breadcrumbs){color:#5B616B}
html:not([data-theme=dark]) :is(.problem,.step,.answer,.alternate){border-color:#E1E5EC;background:#FCFDFE}
html:not([data-theme=dark]) .question-copy :is(.question-figure,.hardbook-figure){background:#fff}
html:not([data-theme=dark]) .cta{background:#324dc7;color:#fff}
html:not([data-theme=dark]) .cta:hover{background:#2940a8;color:#fff}
html:not([data-theme=dark]) :is(th,td){border-color:#cfd5df}
html:not([data-theme=dark]) th{background:#eef1f6}
html:not([data-theme=dark]) .question-list li{border-bottom-color:#E1E5EC}
html:not([data-theme=dark]) .question-list :is(small,p){color:#5B616B}
html:not([data-theme=dark]) .alternate{border-color:#c5cdf3;box-shadow:none}
html:not([data-theme=dark]) footer{border-top-color:#E1E5EC;color:#5B616B}
html:not([data-theme=dark]) .solution{background:#FCFDFE;color:#1B1D21;border-color:#E1E5EC;box-shadow:0 8px 30px #1b1d2110}
html:not([data-theme=dark]) .solution :is(h2,h3){color:#1B1D21}
html:not([data-theme=dark]) .solution .step{background:#fff;border-color:#E1E5EC}
html:not([data-theme=dark]) .solution .math-line{border-color:#E1E5EC;background:#F6F8FB}
html:not([data-theme=dark]) .solution .alternate{background:#F6F8FB;border-color:#c5cdf3;box-shadow:none}
html:not([data-theme=dark]) .solution :is(summary,a){color:#324dc7}
html:not([data-theme=dark]) .solution .hand-solution{border-top-color:#E1E5EC}
.cta{transition:background-color .15s ease}
