.workshop-homework { flex:1; min-height:0; display:grid; grid-template-columns:minmax(0,1fr) 252px; gap:22px; }
.stem-scene { display:flex; flex-direction:column; min-height:0; overflow:hidden; border:2px solid #dfdcc5; border-radius:26px; background:#eef0df; }
.stem-scene-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:20px 23px 5px; color:#7c8974; }
.stem-scene-heading b { font-size:14px; font-weight:500; }.stem-scene-heading span { font-size:10px; color:#96a08a; }
.stem-art { flex:1; min-height:0; }.stem-art svg { display:block; width:100%; height:100%; }
.stem-caption { padding:15px 10px 12px; text-align:center; background:#e9ebd9; }
.stem-caption b { display:block; font-size:19px; letter-spacing:1px; }.stem-caption span { display:block; margin-top:7px; font-size:11px; color:#8a947e; }
.stem-sequence { display:flex; justify-content:center; gap:40px; list-style:none; padding:0 0 15px; margin:0; background:#e9ebd9; font-size:12px; }
.stem-sequence li { position:relative; color:#a3ac96; }.stem-sequence li[aria-current] { color:#5d7c6a; font-weight:600; }
.stem-sequence li:not(:last-child):after { content:'→'; position:absolute; right:-27px; color:#b0b7a2; }
.stem-task-card { min-height:0; display:flex; flex-direction:column; background:#fbf9ee; border:1px solid #dcdcc6; border-radius:24px; padding:22px 20px 16px; }
.stem-task-card h2 { font-size:21px; letter-spacing:2px; margin:8px 0 11px; }
.stem-date { font-size:11px; color:#8c9881; margin:0 0 16px; }
.stem-status { padding-top:14px; margin:0 0 10px; border-top:1px solid #e0e3cf; font-size:12px; color:#9b875e; }
.stem-status[data-state="done"] { color:#66856c; }
.stem-instruction { font-size:12px; line-height:1.85; color:#89917c; margin:0 0 16px; }
.stem-note { background:#edf0df; border-radius:17px; padding:14px 8px; text-align:center; }
.stem-note > b { font-family:"Songti SC",serif; color:#a3b297; font-size:34px; font-weight:normal; }.stem-note p { font-size:10px; line-height:1.8; color:#929d82; margin:5px 0 0; }
#workshop-home .stem-finish { width:100%; min-height:49px; padding:12px 8px; margin-top:18px; border:0; box-shadow:none; background:#7d9d8d; color:#fffdf1; font-size:14px; }
#workshop-home .stem-finish:disabled { background:#e1e9d7; color:#7c9374; }
.stem-history { margin-top:auto; padding-top:16px; }.stem-history h3 { font-size:12px; font-weight:500; padding-top:13px; margin:0 0 12px; border-top:1px solid #e0e3cf; }
.stem-week { display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); gap:5px; }
.stem-week > div { text-align:center; }.stem-week b { display:block; font-size:15px; padding:3px 0; font-weight:normal; color:#b1b59b; background:#f0efe2; border-radius:8px; }
.stem-week [data-state="active"] b { color:#b09a63; }.stem-week [data-state="done"] b { color:#6b8d5f; background:#dfead2; }
.stem-week small { display:block; margin-top:5px; color:#99a08b; font-size:8px; }.stem-history > p { font-size:9px; color:#a1a88f; margin:10px 0 0; }
.stem-save-note { font-size:9px; color:#9da68e; text-align:center; margin:16px 0 0; }
@media (max-height:760px), (max-width:1100px) {
 .workshop-homework { grid-template-columns:minmax(0,1fr) 225px; gap:16px; }
 .stem-task-card { padding:15px 16px 12px; }.stem-task-card h2 { font-size:19px; margin:6px 0 9px; }
 .stem-date { margin-bottom:11px; }.stem-status { padding-top:10px; }.stem-instruction { font-size:11px; margin-bottom:12px; }
 .stem-note { padding:9px 5px; }.stem-note > b { font-size:28px; }#workshop-home .stem-finish { margin-top:14px; }
 .stem-history { padding-top:10px; }.stem-save-note { margin-top:12px; }
 .stem-scene-heading { padding:17px 18px 5px; }.stem-caption { padding-top:12px; }.stem-caption b { font-size:17px; }.stem-caption span { font-size:10px; }
}

.stem-eyebrow { color:#88977e; font-size:10px; letter-spacing:2px; }
.stem-task-card h2 { font-size:19px; letter-spacing:1px; }
.stem-scene-heading, .stem-caption span, .stem-instruction { color:#687d6b; }
.stem-math,.stem-science,.stem-experiment { display:none; }
.workshop-homework[data-scene="math"] .stem-math,
.workshop-homework[data-scene="science"] .stem-science,
.workshop-homework[data-scene="experiment"] .stem-experiment { display:inline; }
.stem-student .guild-kid-arms { display:none; }
.stem-student { transform-origin:96px 175px; animation:stem-breathe 2.8s ease-in-out infinite; }
.stem-pencil-hand { transform-origin:440px 371px; animation:stem-pencil 1.6s ease-in-out infinite; }
.stem-answer,.stem-added { animation:stem-count 6s ease-in-out infinite; }
.stem-magnifier { transform-origin:460px 346px; animation:stem-observe 3s ease-in-out infinite; }
.stem-leaf-detail { transform-origin:400px 120px; animation:stem-discover 3s ease-in-out infinite; }
.stem-dropper { transform-origin:465px 345px; animation:stem-dropper 3s ease-in-out infinite; }
.stem-drop { animation:stem-drip 3s ease-in infinite; }
.stem-liquid { transform-origin:393px 388px; animation:stem-mix 6s ease-in-out infinite; }
.stem-color-result,.stem-result-spark { animation:stem-count 6s ease-in-out infinite; }
.workshop-homework[data-playing="false"] * { animation-play-state:paused !important; }
@keyframes stem-breathe { 50% { transform:translateY(2px) rotate(1deg); } }
@keyframes stem-pencil { 50% { transform:rotate(-6deg) translateX(4px); } }
@keyframes stem-count { 0%,15% { opacity:.1; } 50%,100% { opacity:1; } }
@keyframes stem-observe { 50% { transform:translate(-10px,7px) rotate(-7deg); } }
@keyframes stem-discover { 50% { transform:scale(1.05); } }
@keyframes stem-dropper { 50% { transform:rotate(-3deg); } }
@keyframes stem-drip { 0%,20% { opacity:0; transform:translateY(0); } 25% { opacity:1; } 75% { opacity:1; transform:translateY(42px); } 80%,100% { opacity:0; transform:translateY(42px); } }
@keyframes stem-mix { 0%,20% { fill:#ead181; transform:scaleY(.7); } 70%,100% { fill:#a7c590; transform:scaleY(1); } }
