.portal-hero{display:grid;grid-template-columns:1fr 1fr;gap:72px;align-items:center;padding:64px 0 72px}.portal-intro h1{font-size:clamp(38px,4.1vw,58px);letter-spacing:-.045em;line-height:1.25;max-width:580px}.portal-intro p{margin:25px 0 30px;max-width:500px;color:var(--muted);font-size:16px;line-height:1.9}.portal-intro .button{gap:22px}.portal-intro .button svg,.course-action svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7}.portal-demo{background:var(--stage);border:1px solid #dbe7df;border-radius:20px;overflow:hidden}.demo-caption{padding:20px 24px 0;display:flex;justify-content:space-between;gap:10px;align-items:center}.demo-caption h2{font-size:14px;letter-spacing:0}.demo-caption span{font-size:11px;color:var(--muted)}#portal-scene{height:280px;display:grid;place-items:center;min-width:0}#portal-scene canvas{max-width:100%;display:block;touch-action:pan-y}#portal-scene>p{font-size:13px;padding:24px}.demo-controls{padding:0 24px 22px;font-size:12px}.demo-controls p{color:var(--muted);margin:0 0 12px}.demo-controls label{display:flex;justify-content:space-between}.demo-controls input{width:100%;accent-color:var(--green);height:28px;margin:4px 0 9px}.demo-controls a{text-decoration:underline;text-underline-offset:4px;font-weight:600}.course-library{border-top:1px solid var(--line);padding-top:42px}.library-heading{display:flex;align-items:flex-start;gap:32px;justify-content:space-between}.library-heading h2{font-size:32px}.library-heading p{font-size:14px;color:var(--muted);margin:13px 0 0;max-width:670px}.library-heading>span{font-size:12px;white-space:nowrap;padding-top:10px;color:var(--muted)}.library-tools{display:flex;justify-content:space-between;align-items:center;gap:24px;margin:28px 0}.course-filters{display:flex;gap:8px;flex-wrap:wrap}.course-filters button{border:1px solid var(--line);background:transparent;color:var(--ink);border-radius:7px;padding:9px 15px;font-size:12px;min-height:42px}.course-filters button[aria-pressed=true]{background:var(--green);border-color:var(--green);color:#fff}.course-search{display:flex;align-items:center;gap:9px;border-bottom:1px solid #b8c9bd;padding:8px 0;min-width:220px}.course-search svg{width:18px;height:18px;fill:none;stroke:var(--muted);stroke-width:1.6}.course-search input{width:100%;min-width:0;border:0;background:transparent;font-size:13px;padding:4px}.course-grid{display:grid;grid-template-columns:1fr 1fr;gap:28px}.course-entry{border:1px solid var(--line);background:#fff;border-radius:14px;overflow:hidden;transition:box-shadow .18s,border-color .18s}.course-entry:hover{border-color:#9eb69a;box-shadow:0 10px 24px #213d3709}.course-entry[hidden],#course-empty[hidden]{display:none}.course-cover{height:210px;background:#eef3e7;position:relative;overflow:hidden}.course-cover.cuboid-nets{background:#f4eee2}.course-cover.volume{background:#eaf2f3}.course-cover.cross-sections{background:#f1edf4}.course-art{width:100%;height:100%}.course-cover>span{position:absolute;left:18px;top:16px;font-size:10px;color:#4e6256;background:#ffffffb8;border-radius:4px;padding:3px 8px}.course-copy{padding:24px 26px}.course-category{font-size:11px;font-weight:600;color:#708561}.course-copy h3{font-size:25px;letter-spacing:-.03em;margin:7px 0 14px}.course-copy p{color:var(--muted);font-size:13px;line-height:1.85;margin:0 0 16px}.course-copy .course-question{font-size:15px;color:var(--ink);font-weight:600;margin-bottom:9px}.course-action{display:flex;align-items:center;justify-content:space-between;font-size:12px;font-weight:650;padding-top:16px;border-top:1px solid var(--line);margin-top:22px}#course-empty{padding:45px;text-align:center;background:#fff;border-radius:12px}.portal-teaching{margin:56px 0;display:flex;align-items:center;justify-content:space-between;gap:40px;border-top:1px solid var(--line);padding-top:40px}.portal-teaching h2{font-size:25px}.portal-teaching p{max-width:700px;font-size:14px;color:var(--muted);margin:14px 0 0}.portal-teaching .button{flex-shrink:0}.course-rail{display:flex;align-items:center;gap:5px;max-width:1200px;padding:13px 32px 0;margin:auto;overflow:auto;font-size:11px}.course-rail a{white-space:nowrap;padding:7px 10px;border-radius:5px}.course-rail a[aria-current]{background:#e7efdf;font-weight:650}.course-rail .rail-back{margin-right:auto;padding-left:0;color:var(--muted)}.next-courses{margin:44px auto;padding-bottom:38px}.next-courses h2{font-size:22px;margin-bottom:20px}.next-courses>div{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.next-courses a{display:block;border-top:1px solid var(--line);padding-top:16px}.next-courses strong{font-size:15px}.next-courses p{font-size:12px;color:var(--muted);margin:8px 0 0}.information{overflow-wrap:anywhere}@media(max-width:1000px){.portal-hero{gap:36px}.portal-intro h1{font-size:42px}.library-tools{align-items:flex-start}.course-search{min-width:185px}.course-cover{height:190px}.course-rail .rail-back{margin-right:12px}}@media(max-width:740px){.portal-hero{grid-template-columns:1fr;gap:32px;padding:34px 0 44px}.portal-intro h1{font-size:38px;max-width:470px}.portal-intro p{font-size:14px;margin:20px 0 24px}.demo-caption{padding:18px 20px 0}#portal-scene{height:250px}.demo-controls{padding:0 20px 20px}.library-heading{display:block}.library-heading h2{font-size:28px}.library-heading>span{display:block;margin-top:8px}.library-heading p{font-size:13px}.library-tools{display:block;margin:22px 0}.course-search{margin-top:17px;width:100%}.course-filters{gap:6px}.course-filters button{padding:8px 11px;font-size:11px}.course-grid{grid-template-columns:1fr;gap:22px}.course-cover{height:200px}.course-copy{padding:22px}.course-copy h3{font-size:24px}.portal-teaching{display:block;margin:40px 0}.portal-teaching h2{font-size:23px}.portal-teaching .button{margin-top:22px}.course-rail{padding:12px 20px 0;gap:4px}.course-rail a{font-size:10px;padding:7px}.next-courses>div{grid-template-columns:1fr;gap:18px}.next-courses{margin-top:28px}.next-courses p{margin-bottom:0}}@media print{.course-rail,.next-courses{display:none!important}}.math-references[data-astro-cid-dz6okjjt]{margin:48px auto;max-width:1000px}.math-references[data-astro-cid-dz6okjjt] h2[data-astro-cid-dz6okjjt]{font-size:22px;margin-bottom:14px}.math-references[data-astro-cid-dz6okjjt] p[data-astro-cid-dz6okjjt]{color:var(--muted);max-width:75ch}.math-references[data-astro-cid-dz6okjjt] a[data-astro-cid-dz6okjjt]{text-decoration:underline;text-underline-offset:4px}.math-references[data-astro-cid-dz6okjjt] li[data-astro-cid-dz6okjjt]{margin:10px 0}::selection{background:var(--lime);color:var(--ink)}input,textarea{caret-color:var(--green)}select,textarea{font:inherit;color:var(--ink);background:var(--white);border:1px solid var(--line);border-radius:8px;padding:10px;max-width:100%}select:focus-visible,textarea:focus-visible{outline:3px solid #b25b10;outline-offset:4px}select,summary{min-height:44px}body{scrollbar-color:#8da696 var(--paper)}h1,h2,h3{text-wrap:balance}.primary-nav{display:flex;gap:20px}.primary-nav a,.languages a{display:inline-flex;align-items:center;min-height:44px}.primary-nav a[aria-current]{text-decoration:underline;text-underline-offset:7px}.portal-intro h1{letter-spacing:-.035em}.path-entry{margin-left:22px;display:inline-flex;align-items:center;min-height:44px;text-decoration:underline;text-underline-offset:5px}.library-tools{display:block}.course-filters button{min-height:44px;font-size:14px}.library-refine{display:flex;align-items:end;gap:24px;margin-top:22px}.stage-filter{display:grid;gap:5px;font-size:13px;min-width:195px}.course-search{flex:1;margin:0;min-height:44px}.text-button{color:var(--green);background:none;border:0;text-decoration:underline;text-underline-offset:4px;min-height:44px;white-space:nowrap}.filter-count{font-size:13px;color:var(--muted)}.course-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.course-cover{height:176px}.course-copy{padding:22px}.course-copy h3{font-size:22px;margin:0 0 12px}.course-copy .course-meta{font-size:12px;color:var(--green);margin-bottom:16px}.course-copy>p{font-size:14px}.course-entry{display:flex;flex-direction:column;box-shadow:none!important}.course-copy{flex:1;display:flex;flex-direction:column}.course-action{margin-top:auto}.course-cover.water-cycle{background:#e9f2f5}.course-cover.diffusion{background:#f2ede8}.course-cover.refraction{background:#e8f2ef}.course-cover.magnetic-field{background:#eff0f5}.course-cover.breathing{background:#f6eeea}.course-tools{display:flex;gap:12px;align-items:flex-start;padding-top:16px;padding-bottom:16px}.tools-disclosure{flex:1;min-width:0}.tools-disclosure summary{cursor:pointer;padding:9px 14px;font-size:14px;font-weight:600}.tools-content{background:#fff;border:1px solid var(--line);border-radius:12px;padding:24px;margin-top:10px;max-width:760px}.tools-content p{font-size:14px;color:var(--muted);max-width:65ch}.tools-content label{display:block;font-weight:600;margin-top:24px}.tools-content textarea{width:100%;font-size:13px;resize:vertical;margin:8px 0}.offline-tool{margin-top:22px}.offline-tool p{margin-top:12px}.tools-content [role=status]:empty{display:none}.course-rail a{min-height:44px;display:flex;align-items:center;font-size:13px}.site-footer>div{max-width:470px}.site-footer p{max-width:55ch}.classroom-mode .site-header,.classroom-mode .site-footer,.classroom-mode .course-rail,.classroom-mode .next-courses{display:none}.classroom-mode .course-tools{position:sticky;top:0;background:var(--paper);z-index:20}.classroom-mode main{font-size:1.1em}.classroom-mode .page-wrap{max-width:1440px}.embed-view .site-header,.embed-view .site-footer,.embed-view .course-rail,.embed-view .course-tools,.embed-view .next-courses,.embed-view .ad-slot{display:none!important}.embed-view .page-wrap{padding:16px;max-width:1100px}.embed-view .breadcrumb,.embed-view .trail{display:none}@media(max-width:1050px){.header-inner{flex-wrap:wrap;gap:10px 24px}.primary-nav{order:3;flex-basis:100%;justify-content:center}.course-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.course-cover{height:200px}}@media(max-width:640px){.header-inner{padding:12px 20px}.primary-nav{justify-content:space-between;gap:6px;font-size:12px}.brand{font-size:19px}.languages a{padding:7px}.course-grid{grid-template-columns:minmax(0,1fr)}.library-refine{display:grid;grid-template-columns:1fr auto;gap:12px}.stage-filter{min-width:0;grid-column:1/-1}.course-search{min-width:0}.course-filters button{padding:9px 11px}.course-tools{flex-wrap:wrap}.tools-disclosure{flex-basis:100%}.course-copy h3{font-size:24px}.path-entry{margin-left:14px}.tools-content{padding:16px}.course-tools .button{white-space:normal}.course-rail{flex-wrap:wrap}.course-rail .rail-back{margin-right:auto}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important}}@media print{.course-tools,.filter-count{display:none!important}}.subject-count{margin-left:8px;font-variant-numeric:tabular-nums;opacity:.85}.course-search{display:grid;gap:5px;border:0;padding:0;font-size:13px}.course-search input{background:var(--white);border:1px solid var(--line);border-radius:8px;min-height:44px;padding:10px;font:inherit}.course-switcher{padding-top:8px;padding-bottom:8px}.course-switcher summary{display:list-item;cursor:pointer;font-size:14px;color:var(--green);padding:10px 0}.course-switcher nav{display:flex;gap:8px 20px;flex-wrap:wrap;padding:8px 0 16px;border-bottom:1px solid var(--line)}.course-switcher a{display:inline-flex;align-items:center;min-height:44px;text-decoration:underline;text-underline-offset:5px;font-size:14px}.course-switcher a[aria-current]{font-weight:700;text-decoration-thickness:2px}#portal-placeholder{width:min(100%,400px);height:220px}#portal-start{margin-bottom:12px}#portal-status{min-height:40px}.demo-controls input{min-height:44px}.demo-controls input:disabled{opacity:.5;cursor:not-allowed}.lesson-jumps{display:flex;flex-wrap:wrap;gap:8px 24px;margin-top:0;margin-bottom:24px}.lesson-jumps a{min-height:44px;display:inline-flex;align-items:center;text-decoration:underline;text-underline-offset:5px;font-size:14px;color:var(--green)}.science-lesson :is([id]){scroll-margin-top:24px}.classroom-mode .course-switcher,.embed-view .course-switcher{display:none}@media(max-width:640px){.course-filters{gap:8px}.course-filters button{font-size:13px}.lesson-jumps{gap:4px 18px}.course-switcher nav{display:grid;grid-template-columns:1fr}.science-hero{padding-bottom:24px}}@media print{.course-switcher,.lesson-jumps{display:none!important}}
