:root{--edu-ink:#102d56;--edu-blue:#215cb5;--edu-soft:#eef4fd;--edu-border:#d7e4f7;--edu-muted:#627b9d;--edu-white:#fff;--edu-green:#087b59}
*{box-sizing:border-box}html{scroll-behavior:smooth}body.edu-body{margin:0;color:var(--edu-ink);background:#f3f7ff;font:14px/1.57 Inter,'Segoe UI',system-ui,sans-serif}body.edu-body button,body.edu-body input,body.edu-body select{font:inherit}body.edu-body a{color:inherit}body.edu-body .edu-shell{margin-left:60px;padding:22px max(24px,3.4vw) 70px;max-width:1920px}body.edu-body .edu-shell *{min-width:0}
.edu-hero{background:linear-gradient(110deg,#153a7b 0%,#2466bf 100%);border-radius:22px;padding:42px 46px;display:flex;justify-content:space-between;align-items:center;gap:24px;color:white;box-shadow:0 14px 38px #1d4f9e12}.edu-overline,.edu-small-label{font-size:10px;letter-spacing:2px;font-weight:900;text-transform:uppercase}.edu-overline{color:#c5e2ff}.edu-hero h1{font-size:clamp(26px,3vw,46px);line-height:1.13;margin:15px 0 14px;max-width:900px;letter-spacing:-1.3px}.edu-hero h1 em{font-style:normal;color:#a7d7ff}.edu-hero p{max-width:710px;color:#e1edff;margin:0 0 23px}.edu-hero-links{display:flex;gap:10px;flex-wrap:wrap}.edu-hero-total{background:#ffffff1c;border:1px solid #ffffff3d;border-radius:18px;min-width:190px;padding:20px 22px;display:flex;flex-direction:column;text-align:center}.edu-hero-total strong{font-size:53px;line-height:1.1}.edu-hero-total span{font-weight:700}.edu-hero-total small{opacity:.8;margin-top:7px}.edu-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:10px 14px;border:1px solid var(--edu-border);border-radius:11px;font-size:12px;font-weight:800;text-decoration:none;cursor:pointer;transition:.17s transform,.17s box-shadow,.17s background}.edu-button:hover{transform:translateY(-1px);box-shadow:0 5px 13px #153d831f}.edu-button:focus-visible,.edu-bookmark:focus-visible{outline:3px solid #59a9ff;outline-offset:2px}.edu-button-primary{background:#205aaa;color:#fff!important;border-color:#205aaa}.edu-button-outline{background:white;color:#205aaa!important}.edu-button-light{color:#184682!important;background:#fff;border-color:#fff}.edu-button-ghost{color:#fff!important;background:#ffffff0e;border-color:#ffffff80}.edu-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:18px 0 23px}.edu-summary>div{border:1px solid var(--edu-border);background:var(--edu-white);border-radius:14px;padding:14px 20px;display:flex;align-items:baseline;gap:13px}.edu-summary strong{font-size:25px;color:#245cb0}.edu-summary span{color:#58749c;font-weight:700;font-size:12px}
.edu-layout{display:grid;grid-template-columns:minmax(220px,285px) minmax(0,1fr);gap:22px;align-items:start}.edu-panel{background:white;border:1px solid var(--edu-border);border-radius:18px;padding:20px;box-shadow:0 2px 13px #274f9d08}.edu-filters{position:sticky;top:18px}.edu-small-label{color:#6d96ce}.edu-panel h2,.edu-section-head h2{font-size:20px;margin:7px 0 16px;letter-spacing:-.3px}.edu-filters label{display:block;font-weight:750;font-size:12px;margin:15px 0 6px}.edu-filters input:not([type=checkbox]),.edu-filters select{width:100%;border:1px solid #cddff7;border-radius:10px;background:#f7faff;padding:12px;color:#174276;outline:none}.edu-filters input:focus,.edu-filters select:focus{border-color:#337de0;box-shadow:0 0 0 3px #3477d51f}.edu-filters .edu-check{display:flex;gap:8px;align-items:center;margin:19px 0}.edu-filters .edu-button{width:100%}.edu-filter-foot{margin-top:28px;padding:14px;background:#fff8ec;border:1px solid #ffe0b3;border-radius:12px;font-size:12px;color:#895b17}.edu-filter-foot p{margin-bottom:0}.edu-section-head{display:flex;justify-content:space-between;align-items:flex-end;gap:12px;margin:3px 0 17px}.edu-section-head h2{margin:5px 0}.edu-section-head p{color:var(--edu-muted);margin:0}.edu-view-note{border:1px solid var(--edu-border);border-radius:9px;background:white;padding:7px 10px;font-size:11px;color:#5677aa}.edu-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.edu-card{background:white;overflow:hidden;border:1px solid var(--edu-border);border-radius:17px;box-shadow:0 2px 16px #0d366e08;display:flex;flex-direction:column;transition:.17s transform,.17s box-shadow}.edu-card:hover{transform:translateY(-2px);box-shadow:0 10px 27px #17468217}.edu-card-graphic{background:radial-gradient(circle at 54% 35%,#fbfdff 5%,#daeaff 82%);position:relative;min-height:145px;display:flex;align-items:center;justify-content:center;overflow:hidden}.edu-card-graphic>span{z-index:1;font-size:58px;filter:drop-shadow(0 12px 18px #2a5b9633)}.edu-graphic-orbit{position:absolute;width:155px;height:105px;border:1px solid #8bb2e255;border-radius:50%;transform:rotate(-25deg)}.edu-card-body{padding:16px;flex:1;display:flex;flex-direction:column;align-items:flex-start}.edu-card-top{width:100%;display:flex;align-items:center;justify-content:space-between}.edu-card-subject{font-size:10px;letter-spacing:.8px;color:#2872c0;font-weight:850;text-transform:uppercase}.edu-bookmark{background:#f0f5fd;border:1px solid #e0eaf9;color:#6282b0;border-radius:9px;font-size:18px;cursor:pointer;width:34px;height:34px}.edu-bookmark.is-bookmarked{color:#bf8b0f;background:#fff9dc}.edu-card h3{font-size:18px;margin:4px 0 9px;line-height:1.3;letter-spacing:-.35px}.edu-card p{color:#607a9c;font-size:12px;margin:0 0 16px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;line-height:1.55;flex:1}.edu-card-tags{display:flex;gap:6px;flex-wrap:wrap;margin:0 0 14px}.edu-card-tags span{background:#eef5ff;border-radius:6px;font-size:10px;color:#4777b2;padding:4px 7px;font-weight:650}.edu-card .edu-button{width:100%}.edu-empty{padding:40px;background:#fff;border:1px dashed #bad3f0;border-radius:12px;text-align:center}.edu-disclaimer{margin-top:24px;padding:15px 18px;border-left:3px solid #8db5e9;background:#f0f6ff;font-size:12px;color:#5e7390}
.edu-breadcrumb{display:flex;gap:10px;align-items:center;color:#6881a1;font-size:12px;flex-wrap:wrap}.edu-breadcrumb a{color:#215eac!important;text-decoration:none;font-weight:750}.edu-lesson-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:22px;margin:20px 0 22px}.edu-lesson-heading h1{font-size:clamp(26px,3vw,38px);letter-spacing:-1px;line-height:1.15;margin:9px 0 10px}.edu-lesson-heading p{max-width:870px;color:#5f7899;margin:0}.edu-topic-meta{display:flex;gap:7px;flex-wrap:wrap}.edu-topic-meta span{font-size:11px;font-weight:750;background:white;border:1px solid var(--edu-border);border-radius:9px;padding:8px}.edu-learning-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:20px;align-items:start}.edu-main-col,.edu-side-col{display:grid;gap:18px}.edu-panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.edu-panel-actions{display:flex;gap:7px;flex-wrap:wrap}.edu-panel-actions .edu-button{font-size:11px;padding:7px 9px}.edu-scene-panel h2,.edu-quiz h2,.edu-concepts h2{margin:3px 0 13px}.edu-scene-stage{background:linear-gradient(180deg,#edf6ff,#e4f0fe);border:1px solid #cfe1f6;border-radius:14px;position:relative;overflow:hidden;height:clamp(320px,38vw,510px)}#edu-scene-canvas{position:absolute;inset:0}#edu-scene-canvas canvas{display:block;width:100%;height:100%;touch-action:none}.edu-scene-status{position:absolute;top:13px;left:13px;z-index:2;background:#ffffffd8;border:1px solid #d1e3f6;border-radius:9px;padding:7px 11px;color:#225b99;font-size:11px;font-weight:750;max-width:85%}.edu-scene-tooltip{position:absolute;right:15px;bottom:17px;z-index:3;padding:9px 12px;background:#ffffffeb;border:1px solid #9cbddd;border-radius:10px;color:#204b82;font-weight:700;font-size:12px;max-width:280px}.edu-scene-overlay{position:absolute;bottom:16px;left:16px;z-index:4;display:flex;gap:11px;align-items:center;flex-wrap:wrap;background:#fffffff2;padding:12px;border:1px solid var(--edu-border);border-radius:12px;box-shadow:0 5px 19px #1c4e7f16}.edu-scene-overlay span{font-size:12px;font-weight:650}.edu-scene-disclaimer{color:#7388a4;font-size:11px;margin:12px 2px 0}.edu-objectives{border-radius:13px;padding:13px 16px;background:#f0f6fe;margin:3px 0 15px}.edu-objectives h3{font-size:13px;margin:0}.edu-objectives ul{margin:8px 0 0;padding-left:20px;color:#45678e}.edu-objectives li{margin:5px 0}.edu-concept-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.edu-concept{border:1px solid var(--edu-border);border-radius:11px;padding:12px;background:#fafdff}.edu-concept span{font-size:11px;color:#4185d7;font-weight:850}.edu-concept p{margin:7px 0 0;color:#405c80;font-size:12px}.edu-quiz>p{color:#657f9e}.edu-quiz fieldset{border:1px solid var(--edu-border);padding:17px;border-radius:12px;margin:14px 0}.edu-quiz legend{font-weight:800;padding:0 8px}.edu-option{display:flex;align-items:center;gap:10px;margin:8px 0;padding:10px 13px;background:#f5f9fe;border-radius:10px;cursor:pointer;font-size:13px}.edu-option:has(input:checked){background:#e8f2ff;outline:1px solid #87b7f5}.edu-option input{accent-color:#205aaa}.edu-quiz-result{margin-top:15px;border:1px solid #bdd8f3;background:#eef7ff;border-radius:12px;padding:14px}.edu-quiz-result>strong{font-size:19px}.edu-quiz-result p{color:#436990;font-size:12px}.edu-quiz-result li{margin:5px 0}.edu-side-col .edu-panel h2{font-size:17px}.edu-steps{padding-left:19px;color:#557599}.edu-steps li{margin:10px 0}.edu-links{display:grid;gap:8px}.edu-links a{border:1px solid #d9e5f7;border-radius:8px;text-decoration:none;color:#2862a5!important;padding:9px 12px;font-size:12px;font-weight:750}.edu-links a:hover{background:#edf5ff}.edu-side-note{background:#fff8ec;border-color:#ffdfb5}.edu-side-note p{font-size:12px;color:#936b36}.edu-side-note strong{font-size:13px}
@media(max-width:1250px){.edu-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.edu-learning-layout{grid-template-columns:1fr}.edu-side-col{grid-template-columns:repeat(3,1fr)}}@media(max-width:900px){.edu-shell{margin-left:0!important;padding:68px 16px 40px!important}.edu-layout{grid-template-columns:1fr}.edu-filters{position:static}.edu-hero{padding:27px;flex-direction:column;align-items:stretch}.edu-hero-total{min-width:0}.edu-summary{grid-template-columns:repeat(2,1fr)}.edu-side-col{grid-template-columns:1fr}}@media(max-width:550px){.edu-cards{grid-template-columns:1fr}.edu-summary>div{padding:10px}.edu-summary strong{font-size:21px}.edu-summary span{font-size:10px}.edu-hero h1{font-size:28px}.edu-hero-total strong{font-size:35px}.edu-section-head{flex-direction:column;align-items:flex-start}.edu-panel{padding:14px}.edu-concept-grid{grid-template-columns:1fr}.edu-lesson-heading{display:block}.edu-topic-meta{margin-top:12px}.edu-scene-stage{height:310px}}
.edu-scene-controls:empty{display:none}.edu-scene-controls{padding:12px 15px;background:#f0f6fe;border-radius:11px;margin-top:11px;display:flex;align-items:center;gap:15px;flex-wrap:wrap}.edu-scene-controls label{display:flex;align-items:center;gap:12px;font-size:12px;font-weight:750}.edu-scene-controls input[type=range]{accent-color:#2765b4;max-width:140px}.edu-scene-controls output{font-size:12px;font-weight:900;color:#2360aa}

/* V0.8 R1: unique slug-mapped visual previews, with deterministic per-topic fallback. */
.edu-card-graphic{position:relative;overflow:hidden}
.edu-topic-preview{display:block;width:100%;height:100%;object-fit:cover;object-position:center;aspect-ratio:5/3}
.edu-thumb-fallback{display:flex;align-items:center;justify-content:center;width:100%;height:100%;min-height:130px;padding:18px;text-align:center;font-size:17px;font-weight:800;color:#234f83;background:linear-gradient(135deg,#e7f2ff,#d4e6f8)}
.edu-scene-fallback{width:min(75%,510px);height:auto;max-height:82%;object-fit:contain;position:absolute;inset:0;margin:auto;z-index:2;border-radius:18px;box-shadow:0 12px 28px rgba(36,91,148,.12)}
.edu-scene-fallback[hidden]{display:none!important}
.edu-scene-stage.is-fallback #edu-scene-canvas{display:none}
.edu-scene-stage.is-fallback .edu-scene-status{position:absolute;z-index:3;bottom:12px;left:12px;right:12px;text-align:center;padding:8px 12px;background:#fff;border-radius:10px}

/* V0.8 R2: subject-specific real-GLB viewer, procedural biotech and history, accessible touch UI. */
.edu-r2-source{margin-top:12px;display:flex;gap:10px;align-items:flex-start;flex-wrap:wrap;font-size:11px;color:#4e7194;line-height:1.6}.edu-r2-source strong{padding:4px 10px;background:#e1f3ed;color:#12694d;border-radius:8px;flex:none}.edu-r2-source span{flex:1;min-width:190px}
.edu-scene-controls.edu-r2-controller{display:flex;align-items:flex-start;gap:13px;flex-wrap:wrap;padding:13px 15px}.edu-r2-controls-title{font-size:11px;font-weight:850;color:#275d96;width:100%;letter-spacing:.3px}.edu-r2-control-actions{display:flex;gap:7px;flex-wrap:wrap;width:100%}.edu-r2-control-actions button{appearance:none;border:1px solid #a8caed;background:#fff;color:#205b9e;border-radius:10px;padding:9px 13px;font-size:12px;font-weight:700;cursor:pointer;min-height:38px}.edu-r2-control-actions button[aria-pressed=true]{color:#fff;background:#215aaa;border-color:#215aaa}.edu-r2-control-actions button:focus-visible{outline:3px solid #79afe9;outline-offset:2px}.edu-r2-control-explainer{font-size:12px;color:#466b91;width:100%;line-height:1.6;min-height:18px}.edu-r2-study>p{font-size:13px;color:#527293}.edu-r2-study-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}.edu-r2-study-grid article{padding:14px;border-radius:11px;background:#f2f7ff;border:1px solid #d9e7f6}.edu-r2-study-grid span{display:block;color:#518fd0;font-size:10px;font-weight:900;margin-bottom:5px}.edu-r2-study-grid strong{display:block;font-size:13px;color:#153965}.edu-r2-study-grid p{font-size:12px;color:#537390;margin-bottom:0}.edu-scene-stage .edu-scene-status{overflow-wrap:anywhere;max-width:min(78%,460px)}
@media(max-width:740px){.edu-r2-study-grid{grid-template-columns:1fr}.edu-r2-control-actions button{flex:1 1 120px}}

/* V0.8 R3: interactive, topic-specific science scene controls */
.edu-r3-controller { display:block; padding:14px 0; }
.edu-r3-panel { border:1px solid #c7d9f3; background:#f7fbff; border-radius:15px; padding:15px; display:grid; gap:11px; }
.edu-r3-heading { font-size:14px; color:#173e73; font-weight:800; line-height:1.45; }
.edu-r3-actions { display:flex; flex-wrap:wrap; gap:8px; }
.edu-r3-actions button { border:1px solid #c7daf1; border-radius:9px; background:#fff; padding:9px 12px; color:#285c91; font-size:12px; font-weight:650; cursor:pointer; }
.edu-r3-actions button:hover,.edu-r3-actions button:focus-visible {outline:2px solid #72adf4;outline-offset:1px;}
.edu-r3-actions button[aria-pressed="true"] {background:#1d5aa5;border-color:#1d5aa5;color:#fff;}
.edu-r3-note { color:#335c7c; font-size:12px; line-height:1.6; min-height:22px; }
.edu-r3-extras {display:grid; gap:8px;}
.edu-r3-slider {display:flex;align-items:center;flex-wrap:wrap;gap:9px;font-size:12px;color:#31557a;}
.edu-r3-slider span {min-width:180px;font-weight:650;}
.edu-r3-slider input {flex:1;max-width:300px;accent-color:#2160b4;touch-action:pan-y;}
.edu-r3-slider output {min-width:36px;font-weight:750;}
.edu-r3-small {font-size:11px;color:#6e87a1;line-height:1.6;margin:0;}
.edu-r3-study .edu-r2-study-grid article {background:#f2f8ff;}
@media(max-width:650px){.edu-r3-panel{padding:11px}.edu-r3-slider span{min-width:100%;}.edu-r3-actions button{min-height:42px;}}

/* V0.8 R3 R2 - universal user-operated assembly lab */
.edu-practice-panel{scroll-margin-top:90px}
.edu-practice-summary{display:flex;align-items:center;justify-content:space-between;gap:18px;cursor:pointer;list-style:none;padding:4px 0;user-select:none}
.edu-practice-summary::-webkit-details-marker{display:none}
.edu-practice-summary span:first-child{display:flex;flex-direction:column;gap:6px}
.edu-practice-summary strong{font-size:1.18rem;color:#153d69}
.edu-practice-summary small{color:#557aa5;font-size:.79rem}
.edu-practice-chevron{border:1px solid #bcd3ef;border-radius:10px;padding:10px 14px;color:#2564aa;white-space:nowrap;font-size:.79rem}
.edu-practice-content{margin-top:18px;padding-top:16px;border-top:1px solid #d9e6f5;color:#31567e}
.edu-practice-header{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:12px 0;flex-wrap:wrap}
.edu-practice-modes{display:flex;gap:6px}
.edu-practice-modes button{border:1px solid #cbdcf2;border-radius:8px;background:#fff;color:#245991;font-weight:700;padding:10px 12px;cursor:pointer}
.edu-practice-modes button[aria-pressed="true"]{background:#2760a9;color:#fff;border-color:#2760a9}
.edu-practice-stage{height:450px;position:relative;overflow:hidden;border:1px solid #c5daf3;border-radius:14px;background:#eaf4ff;min-width:0}
.edu-practice-canvas{display:block;width:100%;height:100%;touch-action:none;cursor:grab}
.edu-practice-canvas:active{cursor:grabbing}
.edu-practice-label-layer{position:absolute;inset:0;pointer-events:none;overflow:hidden}
.edu-practice-tag{position:absolute;transform:translate(-50%,-50%);max-width:34%;min-width:70px;background:rgba(255,255,255,.94);border:1px solid #d4e3f4;border-radius:7px;padding:4px 6px;font-size:clamp(9px,1.1vw,12px);font-weight:700;color:#194e7f;text-align:center;line-height:1.3;box-shadow:0 2px 6px rgba(17,52,98,.06);overflow-wrap:anywhere}
.edu-practice-tag.slot{background:rgba(221,244,237,.95);border-color:#a3d5c7;color:#236e5b}
.edu-practice-stage-title{position:absolute;top:12px;left:12px;max-width:75%;background:rgba(255,255,255,.95);border-radius:8px;padding:8px 11px;font-size:12px;font-weight:800;color:#1c4778;pointer-events:none}
.edu-practice-feedback{padding:11px 14px;border-left:3px solid #4587cf;background:#edf5ff;border-radius:7px;min-height:46px}
.edu-practice-feedback[data-kind="success"]{border-color:#29a274;background:#e8f8f0}
.edu-practice-feedback[data-kind="error"]{border-color:#d25b6a;background:#fff0f1}
.edu-practice-controls{display:flex;flex-wrap:wrap;gap:9px;align-items:end;margin-top:12px}
.edu-practice-controls label{display:flex;flex-direction:column;gap:5px;font-size:.78rem;font-weight:700;flex:1 1 190px}
.edu-practice-controls select{width:100%;max-width:100%;border:1px solid #c4d8f0;background:#fff;border-radius:9px;padding:10px;color:#1b4a7c}
.edu-practice-controls button{min-height:41px}
.edu-practice-controls button:disabled{opacity:.47;cursor:not-allowed}
.edu-practice-experiment{background:#f0f7ff;border:1px solid #c8dcf3;border-radius:11px;margin-top:13px;padding:12px}
.edu-practice-experiment label{display:flex;align-items:center;gap:12px;flex-wrap:wrap;font-weight:700}
.edu-practice-experiment input{width:min(100%,310px)}
.edu-practice-experiment output{display:block;margin-top:9px;font-size:.85rem}
.edu-practice-score{font-weight:700;color:#205487;font-size:.79rem;margin-top:12px}
.edu-practice-disclaimer{font-size:.75rem;line-height:1.6;color:#677f9e;border-top:1px solid #dce7f4;padding-top:10px}
.edu-practice-panel [hidden]{display:none!important}
@media(max-width:720px){.edu-practice-stage{height:400px}.edu-practice-summary{align-items:start}.edu-practice-tag{max-width:43%}.edu-practice-controls button{flex:1 1 125px}.edu-practice-controls label{flex:1 1 100%}}
