/* B078KU: a common, stationary practice frame on RF.01–RF.04. */
html body .cwRectanglePracticeWorkspace{display:grid!important;grid-template-rows:minmax(0,1fr) clamp(190px,29dvh,260px)!important;gap:8px!important;height:calc(100dvh - 92px)!important;min-height:560px;box-sizing:border-box;padding:10px!important;border:1px solid #61778c;border-radius:10px;background:#0c131e;overflow:hidden;scroll-margin-top:76px;overflow-anchor:none}
html body .cwRectanglePracticeWorkspace>.cwRectSlider{display:grid!important;grid-template-rows:auto minmax(0,1fr)!important;gap:6px!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important}
html body .cwRectanglePracticeWorkspace .cwRectSliderControls{position:static!important;margin:0!important;padding:4px!important;min-height:0!important}
html body .cwRectanglePracticeWorkspace .cwRectSlider>p{display:none!important}
html body .cwRectanglePracticeWorkspace [data-rectangle-result]{display:grid!important;grid-template-rows:94px minmax(0,1fr);gap:6px;min-height:0;overflow:hidden}
html body .cwRectanglePracticeWorkspace .cwRectSliderReadout{height:94px!important;min-height:0!important;box-sizing:border-box;margin:0!important;padding:7px 10px!important;overflow:auto}
html body .cwRectanglePracticeWorkspace .cwRectSignatureFormula{margin:3px 0!important}
html body .cwRectanglePracticeWorkspace .cwRectMatrix{min-height:0!important;margin:0!important;overflow:auto!important;align-self:stretch}
html body .cwRectanglePracticeWorkspace .cwRectMatrix table{width:100%;height:100%;border-spacing:4px!important}
html body .cwRectanglePracticeWorkspace .cwRectMatrix caption{padding:3px 0!important;margin:0!important}
html body .cwRectanglePracticeWorkspace .cwRectSliderCard{min-height:38px!important;padding:3px!important;margin:0!important}
html body .cwRectanglePracticeWorkspace .cwRectSliderCard strong{font-size:16px!important}
html body .cwRectanglePracticeWorkspace .cwRectSliderCard small{font-size:11px!important}
html body .cwLessonKeyboardFrame{min-height:0;position:relative;overflow:hidden;display:flex;justify-content:center;align-items:flex-start}
html body .cwLessonKeyboardFrame>.keyboardShell,html body .cwLessonKeyboardFrame>#keyboard,html body .cwLessonKeyboardFrame>.cwRectScaleKeyboard{flex:0 0 100%;box-sizing:border-box;margin:0!important;max-width:none!important}
html body .cwLessonWorkspaceSupport{margin:6px 0 16px;padding:7px 10px;border:1px solid #34465c;border-radius:6px}
html body .cwLessonWorkspaceSupport summary{cursor:pointer;color:#aebfce}
html body .cwPracticePianoShell{padding:7px 9px 10px;box-sizing:border-box;border:1px solid #61778c;border-radius:10px;background:#091323;width:100%}
html body .cwPracticePianoReadout{display:flex;gap:16px;align-items:center;min-height:26px;font:12px Arial,sans-serif;color:#e3eaf4}
html body .cwPracticePianoReadout b{color:#91ddad}
html body .cwPracticePiano{height:190px;position:relative;max-width:1120px;margin:10px auto 0}
html body .cwPracticeWhite{position:absolute;top:0;height:100%;box-sizing:border-box;border:1px solid #718193;border-radius:0 0 5px 5px;background:linear-gradient(90deg,#e0e6ec,#fff,#d5dce5);color:#142132;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;padding-bottom:7px;gap:4px}
html body .cwPracticeWhite b{font:700 17px Arial,sans-serif}.cwPracticeWhite small{font:700 12px Arial,sans-serif;background:#dbe3ed;border-radius:5px;padding:3px 6px}
html body .cwPracticeBlack{position:absolute;top:0;height:60%;box-sizing:border-box;border:1px solid #25313d;border-radius:0 0 6px 6px;background:linear-gradient(90deg,#30353b,#060809);color:#fff;box-shadow:0 4px 5px #0005;display:flex;align-items:flex-end;justify-content:center;padding-bottom:8px;z-index:2;font:700 11px Arial,sans-serif}
html body .cwPracticeAccidental{box-shadow:inset 0 0 0 2px #9cc8ff,0 4px 5px #0005}
html body .cwPracticeTonic{outline:3px solid #8cddaa;outline-offset:-3px}
html body .cwPracticePiano i{position:absolute;bottom:48px;font:700 8px Arial,sans-serif;font-style:normal;padding:2px 4px;background:#94e6b5;color:#10271a;border-radius:8px}.cwPracticeBlack i{bottom:26px}
@media(max-height:690px),(max-width:900px){html body .cwRectanglePracticeWorkspace{height:auto!important;min-height:0;grid-template-rows:auto 230px!important;overflow:visible}html body .cwRectanglePracticeWorkspace>.cwRectSlider{grid-template-rows:auto auto!important}html body .cwRectanglePracticeWorkspace [data-rectangle-result]{grid-template-rows:100px auto;overflow:visible}html body .cwRectanglePracticeWorkspace .cwRectSliderControls{position:sticky!important;top:64px!important;z-index:4;background:#101a29!important}}

/* B078LH: centre RF.01's fixed-geometry keys like the RF.02/03 instruments.
   Keep the live status readout full-width and move the key layers together. */
html body .cwLessonKeyboardFrame>#keyboard .cwTonicPracticeKeys{position:absolute!important;left:50%!important;top:37px!important;width:1102px!important;height:220px!important;transform:translateX(-50%)!important}
html body .cwLessonKeyboardFrame>#keyboard .cwTonicPracticeKeys>.cwMemoryRail{top:0!important;left:0!important;width:1102px!important}
html body .cwLessonKeyboardFrame>#keyboard .cwTonicPracticeKeys>.whiteRow{position:absolute!important;top:30px!important;left:0!important}
html body .cwLessonKeyboardFrame>#keyboard .cwTonicPracticeKeys>.black{top:30px!important}
