/* 单课工作台：主流程短、专项内容可按需打开。 */
/* Keep the real chart beside its explanation; avoid covering phone lessons with the quick directory. */
@media(min-width:1001px){.real-data-layout{align-items:start}#real-data-canvas{position:sticky;top:96px}}
@media(max-width:1000px){#course-page .mobile-course-nav{position:static}}
#course-page .course-secondary-resource{display:none!important}
#course-page .course-secondary-resource.course-resource-open{display:block!important;animation:course-resource-in .18s ease-out}
@keyframes course-resource-in{from{opacity:.2;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}
.course-resource-hub{margin:18px 0;padding:0;border:1px solid #314e68;border-radius:14px;background:#101d2b}.course-resource-hub details{padding:0}.course-resource-hub summary{padding:14px 16px;cursor:pointer;color:#dff6ff;font-weight:720;list-style:none}.course-resource-hub summary::-webkit-details-marker{display:none}.course-resource-hub summary::after{content:"＋";float:right;color:#8fddff;font-size:18px}.course-resource-hub details[open] summary::after{content:"−"}.course-resource-hub details>p{margin:0;padding:0 16px 12px;color:#b5c9da;font-size:13px;line-height:1.55}.course-resource-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:0 16px 16px}.course-resource-grid button{min-height:42px;padding:8px;border-color:#385d79;background:#162b3e;color:#d7edf8;font-size:13px;text-align:left}.course-resource-grid button:hover{border-color:#78ccec;background:#1c4059}
.guided-course-map{margin:0 0 12px}.guided-course-map summary{cursor:pointer;color:#aeeaff;font-size:13px}.guided-course-map-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin-top:9px}.guided-course-map-grid button{min-height:42px;padding:8px;border-color:#31536e;background:#101f2e;color:#b9d0e0;text-align:left;font-size:12px}.guided-course-map-grid button.active{border-color:#8bdfff;background:#1d4d69;color:#effbff}.guided-course-map-grid button:disabled{opacity:.5}
.guided-journey{display:grid;gap:12px}.guided-journey-head{padding:14px;border:1px solid #355a75;border-radius:11px;background:linear-gradient(135deg,#142f43,#18263a)}.guided-journey-head h3{margin:4px 0 6px;font-size:22px}.guided-journey-head p{margin:0;color:#c8d9e6;line-height:1.6}.guided-stepper{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}.guided-stepper button{min-height:42px;padding:6px;border-color:#355873;background:#132639;color:#b6cbdc;font-size:12px}.guided-stepper button.active{border-color:#8bdfff;background:#1b4d6c;color:#f0fcff}.guided-stepper button:disabled{opacity:.42}.guided-step-panel{padding:15px;border:1px solid #2f536f;border-radius:12px;background:#101b29}.guided-step-panel h4{margin:0 0 8px;font-size:18px}.guided-step-panel>p{color:#c8d9e6;line-height:1.65}.guided-step-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.guided-real-practice{padding:12px;border-left:3px solid #61c5ee;border-radius:0 9px 9px 0;background:#142a3c;color:#d1e3ef;font-size:13px;line-height:1.6}.guided-real-practice b{color:#aeeaff}.guided-result-card{padding:12px;border:1px solid #436c89;border-radius:9px;background:#13283a}.guided-result-card.good{border-color:#4b9c7a;background:#173b31}.guided-result-card.retry{border-color:#90646c;background:#3b252d}.guided-result-card p{margin:5px 0;color:#d2e1eb;line-height:1.55}
.guided-walkthrough{display:grid;gap:9px;margin:0 0 16px;padding:0;list-style:none;counter-reset:lesson-step}.guided-walkthrough li{counter-increment:lesson-step;padding:11px 13px;border:1px solid #31556e;border-radius:9px;background:#142639;line-height:1.6}.guided-walkthrough li::before{content:counter(lesson-step) ".";margin-right:7px;color:#82daf7;font-weight:700}.guided-walkthrough b{color:#e7f8ff}.guided-walkthrough span{display:block;margin-top:3px;color:#bfd5e4}.guided-practice-status{margin:12px 0 0;color:#bfe7d7;line-height:1.6}.guided-mistake-review{margin:10px 0;padding:12px;border:1px solid #795e68;border-radius:9px;background:#352731}.guided-mistake-review p{margin:9px 0 0;color:#e3d4d7;line-height:1.55}
@media(max-width:1000px){.topbar{gap:10px;padding:10px 14px;min-height:60px}.topbar .stats,.topbar>#reset-progress{display:none}.topbar .brand{min-width:0}.topbar .brand small{display:none}.topbar #install-app,.topbar #auth-button{padding:8px 10px;font-size:13px;white-space:nowrap}}
@media(max-width:650px){.course-resource-grid{grid-template-columns:repeat(2,minmax(0,1fr));padding:0 12px 12px}.course-resource-hub summary{padding:13px}.guided-course-map-grid{grid-template-columns:1fr}.guided-stepper{grid-template-columns:repeat(2,minmax(0,1fr))}.guided-stepper button:last-child{grid-column:1/-1}.guided-step-panel{padding:13px}.guided-step-actions button{flex:1 1 100%}}
