.education-stage {padding:0;background:none}
.edu .product-grid {grid-template-columns:minmax(0,32fr) minmax(0,63fr);column-gap:5%}
.classroom {container-type:inline-size;min-width:0;background:white;border:1px solid #ccd7e6;border-radius:16px;box-shadow:0 16px 50px -30px #364d78aa;overflow:hidden}
.studio-header,.studio-controls,.lecture-line,.board-heading {display:flex;align-items:center;gap:12px}
.studio-header {background:#272d50;color:white;padding:14px 18px}
.studio-header small,.studio-header strong {display:block}
.studio-header small {font-size:11px;color:#d5daf7}.studio-header strong {font-size:16px;margin-top:2px}
.studio-mark {background:#414c76;border:1px solid #7483ac;border-radius:9px;width:35px;height:35px;display:grid;place-items:center;color:#9af0de;font-size:28px}
.studio-layout {display:grid;grid-template-columns:clamp(116px,24%,174px) minmax(0,1fr)}
.outline {background:#f6f7fb;border-right:1px solid #dde3ed;padding:16px 9px;font-size:12px}
.outline summary {cursor:pointer;font-weight:650;padding:2px 3px;color:#414a6a}
.tree-items {display:grid;padding-top:6px}
.tree-items b {font-size:11px;color:#687488;margin:10px 0 4px}
.tree-items button,.studio-controls button,.board-heading button,.round-prompts button,#round-resume {border:1px solid #c6d2e2;background:white;border-radius:7px;padding:7px 11px;font-size:13px;min-height:34px}
.tree-items button {margin-left:8px;padding:6px 8px;text-align:left;border:0;border-left:2px solid #cbd3de;border-radius:0;font-size:12px;background:transparent}
.tree-items button[aria-current] {background:#e5ebfb;color:#2444a0;border-left-color:#4160bc;font-weight:650}
.studio-slide {position:relative;padding:16px 20px 18px;min-width:0;background:#fafcfe}
.studio-slide>small {font:11px/1.5 system-ui;color:#5e7087}.studio-slide h3 {font-size:clamp(17px,1.5vw,23px);margin:4px 0 12px;letter-spacing:-.03em}
.traces {display:grid;gap:8px}
.trace {padding:7px 10px;border-radius:8px;border:1px solid #d8e3eb;background-color:#fff;transition:background .25s,border-color .25s}
.trace b {font-size:12px;color:#385373}
.trace[data-focus] {border-color:#4487bd;background:#eaf4fd;box-shadow:inset 3px 0 #377bb3}
.trace:nth-child(2)[data-focus] {border-color:#3c9e91;background:#e8f7f3;box-shadow:inset 3px 0 #238678}
.trace canvas {display:block;width:100%;height:49px}
.lecture-line {align-items:baseline;border-top:1px solid #d8e3ed;font-size:13px;line-height:1.6;padding:10px 15px;min-height:56px;color:#3c5168;background:#f6f9fd}
.lecture-line b {white-space:nowrap;color:#284679}.lecture-line small {color:#6d759a;font-size:10px}
.studio-controls {gap:7px;padding:10px 14px;flex-wrap:wrap}
#talk-play,#round-resume {background:var(--blue);border-color:var(--blue);color:white;font-weight:600}
#whiteboard {position:absolute;inset:7px;z-index:1;border:1px solid #b4d2d2;border-radius:11px;padding:12px 14px;background-color:#f9fffb;background-image:radial-gradient(#b3cebe 0.7px,transparent 0.7px);background-size:12px 12px;box-shadow:0 6px 20px #213a5425;display:flex;flex-direction:column;justify-content:center}
.board-heading {justify-content:space-between;color:#14665c;font-size:12px}.board-heading button {font-size:11px;padding:3px 8px;min-height:27px}
#board-title {font-size:16px;font-weight:650;margin:8px 0 2px}
#board-canvas {width:100%;height:104px;display:block}
#board-note {font-size:12px;line-height:1.5;color:#386356}
#roundtable {width:min(480px,93vw)}
#roundtable .dialog-head {background:#f1f4fc}
#roundtable .dialog-head small {font-size:11px;color:#5b6f89}
#roundtable .dialog-head h2 {margin-top:3px}
.round-content {padding:16px 18px}
.round-hint {font-size:13px;color:#53677c}
.round-prompts {display:grid;gap:7px;margin:12px 0}
.round-prompts button {text-align:left;color:#264c89;background:#f6f9fe}
.round-prompts button[aria-pressed=true] {border-color:var(--blue)}
#round-turns {display:grid;gap:8px}
#round-turns p {background:#eef4fc;border-left:3px solid #5785ba;border-radius:6px;padding:8px 10px;font-size:13px;line-height:1.6}
#round-turns .peer {background:#edf7f4;border-color:#398978}
#round-turns b {display:block;font-size:12px;color:#284e75}
#round-resume {margin-top:12px}
@media(max-width:760px) {
  .edu .product-grid {grid-template-columns:minmax(0,1fr);row-gap:14px}
  .lesson-menu {display:grid;grid-template-columns:repeat(5,auto);gap:2px;margin-top:8px}
  .lesson-menu button {padding:5px 2px;min-height:44px}
  .edu-prefix {display:none}
  .studio-controls button,.board-heading button,.round-prompts button,#round-resume {min-height:44px}
}
@container (max-width:470px) {
  .studio-layout {grid-template-columns:1fr}
  .outline {padding:7px 12px;border:0;border-bottom:1px solid #dce4ef}.tree-items {padding:0}.tree-items b {margin:4px 0}.tree-items button {min-height:44px} .outline summary {min-height:40px;align-content:center}
  .studio-slide {padding:10px 12px}.trace canvas {height:42px}.studio-header {padding:10px 12px}
  .studio-controls {padding:8px;gap:5px}.studio-controls button {font-size:12px;padding:6px 9px}
  .lecture-line {display:block;font-size:12px;padding:8px 12px}.lecture-line b {margin-right:7px}.lecture-line p {display:inline}
}
.teaching-team {display:flex;gap:10px;margin-left:auto;font-size:11px;color:#eef4ff}
.teaching-team span {display:flex;align-items:center;gap:4px}
.teaching-team i {display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:#e1e7ff;color:#405699;font-style:normal;font-weight:650}
.teaching-team span+span i {background:#c9eee1;color:#256950}
@media(prefers-reduced-motion:no-preference) {
  #whiteboard:not([hidden]) #board-canvas {animation:write-wave 1.3s ease-out both}
  @keyframes write-wave {from {clip-path:inset(0 100% 0 0)} to {clip-path:inset(0)}}
}
@container (max-width:470px) {
  .teaching-team {display:grid;gap:3px;flex-shrink:0;font-size:10px}
  .teaching-team i {width:17px;height:17px}
  .studio-header {gap:7px}.studio-header strong {font-size:14px}
}
.prep-example img {max-height:none;width:100%;margin:0}
.assessment {background:#f6f8fb;border:1px solid #d7dfe9;border-radius:16px;padding:clamp(14px,2vw,26px);box-shadow:0 16px 48px -34px #273f70aa;color:#192841}
.assessment header small {color:#46688f;font-size:11px}.assessment h3 {font-size:22px;letter-spacing:-.04em;margin:6px 0}
.assessment header p,.assessment figcaption {font-size:13px;color:#55657c;line-height:1.6}
.assessment-cards {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:16px}
.assessment-cards article {background:white;border:1px solid #d5deea;border-radius:10px;padding:14px}
.assessment-status {font-size:11px;color:#126b60;background:#e2f3ed;border-radius:20px;padding:3px 8px}
.assessment h4 {font-size:16px;margin:12px 0 4px}.assessment-cards article p {font-size:12px;color:#617288}
.assessment-cards dl {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;margin-top:15px}
.assessment-cards dl div {background:#eff4fc;border-radius:6px;text-align:center;padding:6px 0}
.assessment-cards dt {font-size:11px;color:#4f6381}.assessment-cards dd {font-size:17px;font-weight:650}
.assessment progress {width:100%;height:7px;accent-color:#248775}
.cert-panel table {width:100%;border-collapse:collapse;margin:14px 0;font-size:12px;background:white}
.cert-panel caption {text-align:left;font-weight:600;padding:6px 0}
.cert-panel td,.cert-panel th {text-align:left;padding:7px;border-bottom:1px solid #dce4ed}
.cert-panel th {background:#eaf0f8}.cert-panel td:last-child {color:#126b60;white-space:nowrap}
.sample-certificate {max-width:420px;margin:15px auto 0;text-align:center;background:linear-gradient(120deg,#fbfcf6,#f2faf7);outline:1px solid #a2b7ad;outline-offset:-8px;border:1px solid #c0d0c5;padding:20px 15px;color:#224e48}
.sample-certificate small,.sample-certificate span {font-size:11px}.sample-certificate h4 {font-family:"Songti SC",serif;font-size:22px;letter-spacing:.09em;margin:9px 0}
.sample-certificate p {font-size:13px;line-height:1.7;margin:8px 0}
@media(max-width:460px) {.assessment-cards {grid-template-columns:1fr}.assessment-cards dl {grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(prefers-reduced-motion:no-preference) {
  .trace[data-focus] {position:relative;overflow:hidden}
  .classroom[data-playing] .trace[data-focus] canvas {animation:sweep-wave 2.6s ease-out both}
  @keyframes sweep-wave {from {clip-path:inset(0 100% 0 0)} to {clip-path:inset(0 0 0 0)}}
}
