:root{color-scheme:light}body.dark{color-scheme:dark;--pink:#ff82b6}body:not(.dark){color-scheme:light}.dark .all-subjects-highlight{background:linear-gradient(140deg,#2d2536,#202b3e);color:#f6efff}.dark .all-subjects-highlight :is(p,.highlight-kicker){color:#c6bcd1}.dark .all-subjects-highlight p strong{color:#f6efff}.dark .all-subjects-grid a{background:#ffffff0c;border:1px solid #ffffff20}.dark .all-subjects-grid a:nth-child(1){color:#9ac6ff}.dark .all-subjects-grid a:nth-child(2){color:#83dcb4}.dark .all-subjects-grid a:nth-child(3){color:#ffa4b4}.dark .all-subjects-grid a:nth-child(4){color:#f1d17c}.dark .mcm-launch-highlight{background:linear-gradient(140deg,#44371c,#2a251a);color:#fff0c6}.dark .mcm-launch-highlight :is(p,.highlight-kicker){color:#d8c496}.dark .mcm-launch-highlight p strong,.dark .mcm-launch-highlight .launch-emblem{color:#f1d17c}.dark .subject.mcm :is(.subject-state,.tag){color:#f1d17c;background:#f1d17c14}.dark .subject.iesc .subject-state{color:#83dcb4;background:#83dcb414}.dark .subject.ham .subject-state{color:#9ac6ff;background:#9ac6ff14}.dark .subject.soi .subject-state{color:#ffa4b4;background:#ffa4b414}.dark .highlight-cta{background:#ffffff14;border:1px solid #ffffff25;color:inherit}.dark .highlight-cta:hover{background:#ffffff25}.dark .content-tile span{opacity:1}.dark .highlight-caption{color:#bcb6c7}.dark .all-subjects-highlight .highlight-caption{color:#c6bcd1}.dark .score-highlight .highlight-caption{color:#d6a2ba}.highlight-dots{max-width:calc(100% - 54px);flex-wrap:wrap;justify-content:center;row-gap:14px}.highlight-dots button{flex-shrink:0}.highlight-card{gap:20px}.highlight-card .highlight-cta{margin-top:auto;min-height:44px}.all-subjects-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.content-preview{width:100%;max-width:500px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.content-tile{min-width:0;padding:22px 8px}.content-tile b{font-size:19px}.all-subjects-grid a{min-width:0}.highlight-play{min-width:40px;min-height:40px}.study-figure-open{background:#fff}.study-image-stage{color-scheme:light}.study-image-stage img{object-fit:contain}.study-figure figcaption a{color:var(--green)}.book-source-note{font-size:12px;line-height:1.6;color:var(--muted);border-top:1px solid var(--line);margin-top:12px;padding-top:10px}.dark input,.dark select{color-scheme:dark}@media(max-width:600px){.content-preview{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.content-tile{padding:16px 10px;transform:none}.content-tile svg{margin-bottom:10px}.all-subjects-grid{gap:7px}.all-subjects-grid a{padding:16px 4px;font-size:11px}.highlight-card{min-height:560px}.highlight-card.content-highlight{min-height:650px}.highlight-controls{gap:10px}.highlight-dots{gap:6px}.highlight-dots button[aria-current]{width:28px}}
body.dark:is(.subject-iesc,.subject-ham,.subject-soi,.subject-mcm){--pink:var(--green)}.dark .progress-choice.mcm .progress-choice-icon{background:#493d1b;color:#f3d276}.dark .study-figure-open>span{background:var(--paper);color:var(--green)}
.chapter-visual-count{display:block;font-size:11px;font-weight:500;color:var(--green);margin-top:9px}.study-visual-heading{margin:32px 0 22px}.study-visual-heading h2{font-size:27px;margin-bottom:12px}.study-visual-heading>p{font-size:14px;color:var(--muted);line-height:1.65}.study-figure{scroll-margin-top:100px}.study-figure-open>span{min-height:44px}.inline-chapter .study-visual-heading h2{font-size:27px}
