html.lesson-embed body{overflow:hidden!important}html.lesson-embed .class-header{display:none!important}html.lesson-embed .class-prompt{position:absolute!important;inset:0 0 auto!important;height:88px!important;min-height:0!important;padding:5px 8px!important}html.lesson-embed .class-prompt .phase-caption{position:static!important;max-width:none!important;font-size:13px!important;line-height:1.2!important}html.lesson-embed .class-prompt h1{font-size:20px!important;max-width:100%!important;white-space:normal!important;line-height:1.3!important}html.lesson-embed .class-prompt p{font-size:14px!important;max-width:100%!important;margin:2px auto!important;line-height:1.2!important}html.lesson-embed #world{position:absolute!important;inset:88px 0 173px!important;height:auto!important;min-height:0!important}html.lesson-embed .class-controls{position:absolute!important;inset:auto 0 0!important;height:173px!important;padding:5px 8px!important}html.lesson-embed .class-feedback{font-size:14px!important;min-height:34px!important;margin:0!important}html.lesson-embed .action-row{min-height:0!important;gap:6px!important;flex-wrap:wrap!important}html.lesson-embed .stage-choices{gap:5px!important;flex-wrap:wrap!important;flex-basis:100%!important}html.lesson-embed .class-primary,html.lesson-embed .back-button,html.lesson-embed .touch-choice{font-size:16px!important;min-height:39px!important;min-width:0!important;padding:6px 10px!important;flex:0 1 auto!important}html.lesson-embed .class-primary span{font-size:18px!important}html.lesson-embed .move-counter,html.lesson-embed .wide-note{font-size:17px!important;min-width:0!important}html.lesson-embed .coordinate-picker{width:100%!important;font-size:16px!important}html.lesson-embed .coordinate-picker-row button{font-size:14px!important;min-height:36px!important}html.lesson-embed .coordinate-value{font-size:16px!important}html.lesson-embed .point-label,html.lesson-embed .query-label{font-size:18px!important;padding:3px 6px!important}html.lesson-embed .coordinate-labels{font-size:13px!important}html.lesson-embed .map-scale,html.lesson-embed .legend{font-size:12px!important;left:8px!important;bottom:6px!important;gap:8px!important}html.lesson-embed .class-equation{font-size:20px!important;top:4px!important;padding:4px 12px!important}html.lesson-embed .loading h2{font-size:20px!important}html.lesson-embed .loading p{font-size:14px!important}
html.scene-only body{overflow:hidden!important}html.scene-only .class-header,html.scene-only .class-prompt,html.scene-only .class-controls{display:none!important}html.scene-only #world{position:absolute!important;inset:0!important;height:auto!important;min-height:0!important}html.scene-only .point-label,html.scene-only .query-label{font-size:19px!important;padding:4px 8px!important}html.scene-only .coordinate-labels span{font-size:14px!important}html.scene-only .map-scale,html.scene-only .legend{font-size:13px!important}html.scene-only .loading h2{font-size:20px!important}html.scene-only .loading p{font-size:14px!important}
html.scene-only #scene,html.scene-only #scene canvas{touch-action:none;overscroll-behavior:contain}
html.scene-only #scene canvas{cursor:grab}
html.scene-only #scene canvas:active{cursor:grabbing}
html.scene-only .scene-navigation{position:absolute;top:10px;right:10px;z-index:12;display:flex;gap:6px}
html.scene-only .scene-navigation button{border:1px solid #bccfb7;border-radius:8px;background:#fffef5ed;color:#31583d;font:600 13px/1.2 'Microsoft YaHei',sans-serif;padding:8px 10px;min-height:36px;cursor:pointer;box-shadow:0 2px 8px #263d2910}
html.scene-only .scene-navigation button:hover{background:#e7f0df}
html.scene-only .scene-navigation button:focus-visible{outline:3px solid #c48548;outline-offset:2px}
html.scene-only .scene-interaction-hint{position:absolute;bottom:34px;left:10px;right:10px;width:fit-content;max-width:calc(100% - 20px);padding:4px 7px;border-radius:6px;background:#fffef5de;color:#536d52;pointer-events:none;font:12px/1.45 'Microsoft YaHei',sans-serif}
html.scene-only .scene-transform-step{position:absolute;top:51px;left:10px;padding:5px 8px;border:1px solid #d9c9a7;border-radius:6px;background:#fff7e9ed;color:#79532c;font:600 13px/1.4 'Microsoft YaHei',sans-serif;pointer-events:none}
html.scene-only .scene-label-prefix{font:600 13px 'Microsoft YaHei',sans-serif}
html.scene-only .point-label,html.scene-only .query-label{max-width:calc(100% - 12px)}
html.scene-only .point-label.is-candidate,html.scene-only .query-label.is-candidate{background:#fff0eb;color:#913f35;border-color:#b65346}
html.scene-only .source-reference-label{background:#eff8ec;border-color:#4c7965;z-index:5;font-size:16px!important}
html.scene-only #camera-home{display:none!important}
html.scene-only .teaching-axis-label{z-index:4;transform:translate(-50%,0);padding:3px 6px!important;background:#fffef6ed;border:1px solid #b9cdb8;box-shadow:none;font-size:14px!important;max-width:calc(100% - 20px);pointer-events:none}
html.scene-only .teaching-axis-label .scene-label-prefix{font-size:11px;font-weight:400}
html.scene-only #teaching-old-y,html.scene-only #teaching-new-y{background:#f3f8edee}
@media(max-width:430px){html.scene-only .teaching-axis-label{font-size:12px!important;padding:2px 4px!important}html.scene-only .teaching-axis-label .scene-label-prefix{font-size:10px}}
@media(max-width:430px){html.scene-only .scene-navigation{top:7px;right:7px;gap:4px}html.scene-only .scene-navigation button{font-size:12px;padding:7px;min-height:34px}html.scene-only .map-scale{font-size:11px!important;max-width:145px}html.scene-only .scene-interaction-hint{font-size:11px;bottom:32px}html.scene-only .point-label,html.scene-only .query-label{font-size:16px!important}html.scene-only .scene-label-prefix{font-size:11px}}

/* Point names remain compact; full reasoning is displayed beside the graph. */
html.scene-only .point-label,html.scene-only .query-label{font-size:20px!important;padding:2px 5px!important;border-width:1px!important;border-radius:5px!important;box-shadow:none!important;background:#fffef4dd;max-width:130px}
html.scene-only .query-label:after,html.scene-only .point-label:after{display:none!important}
html.scene-only .query-label.scene-axis-only{transform:translate(-50%,0)!important;font-size:18px!important;padding:2px 5px!important;background:#fff9e9dc}
html.scene-only .teaching-axis-label{font-size:17px!important;padding:2px 4px!important;border-width:0!important;background:#fffef4cc!important;max-width:145px}
html.scene-only #teaching-old-y{transform:translate(-100%,-50%)!important}
html.scene-only #teaching-new-y{transform:translate(0,-50%)!important}
html.scene-only .teaching-axis-label .scene-label-prefix{display:none!important}
html.scene-only .application-line-label{font-size:19px!important;color:#435d85!important;background:#f4f6f0e8!important;transform:translate(-100%,-100%)!important}
html.scene-only .scene-interaction-hint{font-size:13px;bottom:42px;padding:3px 6px}
html.scene-only .map-scale{font-size:15px!important;left:8px!important;top:auto!important;bottom:8px!important;padding:3px 6px!important;background:#fffef5d6}
html.scene-only .legend{font-size:16px!important;left:auto!important;right:8px!important;bottom:8px!important;gap:12px!important;padding:3px 5px;background:#fffef5d6;border-radius:5px}
html.scene-only .coordinate-labels span{font-size:17px!important;background:#f8fbefc9;padding:0 2px}
html.scene-only .scene-navigation button{font-size:16px;min-height:40px;padding:7px 10px}
@media(max-width:430px){html.scene-only .legend{font-size:12px!important;gap:8px!important}html.scene-only .map-scale{font-size:12px!important;max-width:50%}html.scene-only .scene-interaction-hint{font-size:11px;max-width:calc(100% - 16px);bottom:37px}html.scene-only .teaching-axis-label{font-size:14px!important;max-width:120px}html.scene-only .coordinate-labels span{font-size:14px!important}html.scene-only .scene-navigation button{font-size:13px}}
