/* Tablet workspace only. Desktop rules and musical geometry are retained. */
html#cwTabletRecovery#cwTabletRecovery.cwTablet .app{display:grid!important;grid-template-columns:248px minmax(0,1fr)!important;align-items:start!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .app>main.main{grid-column:2!important;grid-row:1!important;width:100%!important;min-width:0!important;margin:0!important;position:relative!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .cwPresentationView{left:8px!important;right:8px!important;top:8px!important;bottom:8px!important;margin:0!important;padding:8px!important;width:calc(100vw - 16px)!important;max-width:none!important;box-sizing:border-box!important;overflow:hidden!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .cwPresentationView>header.cwUnifiedGuideHeader,
html#cwTabletRecovery#cwTabletRecovery.cwTablet dialog.cwPresentationView>header{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;width:100%!important;min-height:44px!important;height:auto!important;max-height:none!important;margin:0!important;padding:3px!important;position:static!important;flex:0 0 auto!important;overflow:visible!important;box-sizing:border-box!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .cwPresentationView>header :is(h1,h2){font-size:20px!important;line-height:1.15!important;margin:0!important;min-width:0!important;flex:1 1 auto!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .cwPresentationView>header :is(.cwAcademyIntroductionKicker,.cwAcademyIntroductionQuestion){display:none!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .cwPresentationView>header :is(.cwUnifiedGuideActions,.cwRectangleHeaderActions){display:flex!important;flex-wrap:nowrap!important;gap:4px!important;flex:0 0 auto!important;position:static!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .cwPresentationView>header button{font-size:12px!important;min-height:34px!important;padding:5px 7px!important;white-space:nowrap!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .cwPresentationView .cwGuideCategoryHero{width:100%!important;max-width:none!important;min-width:0!important;box-sizing:border-box!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .cwPresentationView :is(.cwWhyTabs,.cwRectTutorialNav,.cwSummaryChapters){display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:4px!important;width:100%!important;max-width:none!important;min-height:0!important;height:auto!important;margin:0!important;flex:none!important;position:static!important;transform:none!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .cwPresentationView .cwSummaryChapters{grid-template-columns:repeat(4,minmax(0,1fr))!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .cwPresentationView :is(.cwWhyTabs,.cwRectTutorialNav,.cwSummaryChapters)>button{min-height:32px!important;height:auto!important;margin:0!important;padding:4px!important;font-size:12px!important;line-height:1.15!important;white-space:normal!important;min-width:0!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .cwPresentationView :is(.cwRectTutorialPlayback,.cwWhyPlayback,.cwSideTransport,.cwSummaryTransport){display:flex!important;align-items:center!important;flex-wrap:nowrap!important;gap:5px!important;width:100%!important;max-width:none!important;min-width:0!important;height:48px!important;min-height:48px!important;flex:0 0 48px!important;margin:3px 0!important;box-sizing:border-box!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .cwPresentationView :is(.cwRectTutorialPlayback,.cwWhyPlayback,.cwSideTransport,.cwSummaryTransport)>label{font-size:12px!important;white-space:nowrap!important;flex:0 0 auto!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .cwPresentationView :is(.cwRectTimeline,.cwWhyTimeline,.cwSideTimeline,.cwSummaryTransport>div:not(.cwPresentationActions)){flex:1 1 200px!important;min-width:180px!important;width:auto!important;max-width:none!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .cwPresentationView :is(.cwRectCaptionPane,.cwWhyCaptionPane,.cwSideCaptions){height:64px!important;min-height:64px!important;max-height:64px!important;padding:5px 7px!important;box-sizing:border-box!important;margin:2px 0!important;overflow:auto!important;font-size:14px!important;line-height:1.25!important;flex:0 0 64px!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .cwPresentationView :is(.cwRectCaptionPane,.cwWhyCaptionPane,.cwSideCaptions) p{font-size:14px!important;line-height:1.25!important;margin:3px 0 0!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .cwTonicCompanionSurface.cwPresentationView .cwRectTutorial{display:grid!important;grid-template-rows:auto 25px 30px 48px 64px minmax(0,1fr)!important;gap:4px!important;padding:5px!important;width:100%!important;max-width:none!important;box-sizing:border-box!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .cwPresentationView :is([data-cw-step-heading],.cwWhyBigAsk){font-size:18px!important;line-height:1.2!important;margin:0!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .cwPresentationView [data-cw-step-instructions]{font-size:13px!important;line-height:1.15!important;margin:0!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .cwPresentationView .cwNaturalKeyboard{height:150px!important;max-height:150px!important;min-height:150px!important;width:100%!important;max-width:850px!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .cwPresentationView .cwNaturalActions{margin:4px 0!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .cwPresentationView .cwNaturalActions button{min-height:32px!important;padding:4px 9px!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet dialog.cwSideGuide.cwPresentationView{display:flex!important;gap:4px!important;align-items:stretch!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet dialog.cwSideGuide.cwPresentationView>nav{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;width:100%!important;max-width:none!important;margin:0!important;gap:4px!important;flex:none!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet dialog.cwSideGuide.cwPresentationView>nav button{min-height:34px!important;font-size:12px!important;line-height:1.15!important;padding:4px!important;min-width:0!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet dialog.cwSideGuide.cwPresentationView>h2{font-size:18px!important;line-height:1.2!important;margin:0!important;flex:none!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .cwPresentationView .cwSideTonics{display:grid!important;grid-auto-flow:column!important;grid-auto-columns:minmax(0,1fr)!important;gap:5px!important;width:100%!important;max-width:none!important;height:48px!important;min-height:48px!important;flex:0 0 48px!important;box-sizing:border-box!important;position:relative!important;padding:0!important;margin:0!important;overflow:visible!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .cwPresentationView .cwSideTonics>span{min-width:0!important;width:auto!important;min-height:48px!important;padding:3px!important;box-sizing:border-box!important;line-height:1.2!important;font-size:18px!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .cwPresentationView .cwSideTonics small{font-size:14px!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .cwPresentationView .cwSideOrder{display:grid!important;grid-template-columns:repeat(7,minmax(0,1fr))!important;width:100%!important;max-width:none!important;gap:5px!important;flex:none!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .cwPresentationView .cwSideOrderNote{min-width:0!important;padding:3px!important;min-height:64px!important;box-sizing:border-box!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .cwPresentationView .cwSideOrderNote strong{font-size:22px!important;line-height:1.15!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .cwPresentationView .cwSideReadout{margin:0!important;padding:3px 7px!important;font-size:15px!important;line-height:1.2!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .cwPresentationView .cwSideLegend{font-size:11px!important;line-height:1.2!important;margin:2px 0!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .cwPresentationView .cwSideKeyboard{margin:3px auto!important;width:100%!important;max-width:none!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .cwPresentationView .cwSideKeyboard svg{width:100%!important;height:130px!important;min-height:130px!important;max-height:130px!important;object-fit:contain!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .cwPresentationView :is(.cwSideTonics,.cwSideOrder,.cwSummarySeven,.cwSummaryScaleRow,.cwSummaryDegreeRow,.cwTonicKnownValues,.cwTonicScaleRow){transform:none!important;flex-shrink:0!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .cwPresentationView [data-cw-tablet-scene]{min-height:0!important;overflow:hidden!important;position:relative!important;box-sizing:border-box!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .cwTabletSceneCanvas{position:relative;transform-origin:top left;width:100%;height:auto;min-height:0;box-sizing:border-box}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .cwTabletSceneCanvas>*{max-width:100%;box-sizing:border-box}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .cwTabletSceneCanvas .cwSummaryStableScene{height:auto!important;min-height:0!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .cwTabletSceneCanvas .cwSummaryStableScene[data-scene-family="shift"]{grid-template-rows:22px 28px 14px 42px 110px 16px 14px 42px 28px 24px!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .cwTabletSceneCanvas .cwSummaryStableScene[data-scene-family="movement"]{grid-template-rows:22px 40px 120px 92px 56px!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .cwTabletSceneCanvas .cwSummaryStableScene[data-scene-family="movement"] .cwSummaryParallelCompare{grid-template-rows:32px 24px 32px!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .cwTabletSceneCanvas .cwSummaryCards article{padding:6px!important;min-height:0!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .cwTabletSceneCanvas .cwSummaryCards article p{margin:4px 0!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .cwTabletSceneCanvas .cwSummaryEquationFlow{gap:5px!important;margin:5px 0!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .cwTabletSceneCanvas .cwSummaryEquationFlow article{padding:6px!important;min-height:55px!important;gap:3px!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .cwTabletSceneCanvas :is(.cwSummarySeven,.cwSummaryIntervalRail,.cwSummaryDegreeRow,.cwSummaryScaleRow){width:100%!important;max-width:none!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .cwPresentationView.cwRectSummary{grid-template-rows:auto 48px 64px 24px minmax(0,1fr) 30px!important;gap:4px!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .cwPresentationView :is(.cwRectTutorialNav,.cwWhyTabs,.cwSummaryChapters,nav)>button[aria-current="false"]{background:#0c1118!important;border-color:#52647b!important;box-shadow:none!important;color:#c9d3df!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .cwPresentationView :is(.cwRectTutorialNav,.cwWhyTabs,.cwSummaryChapters,nav)>button[aria-current="step"]{background:#365b55!important;border-color:#b5e0d3!important;box-shadow:0 0 0 1px #b5e0d3 inset!important;color:#fff!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .cwTabletSupportingNotes{margin:8px 0;padding:6px 9px;border:1px solid #52647b;border-radius:6px;font-size:14px}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .cwTabletSupportingNotes>summary{cursor:pointer}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .cwLessonPage{padding:6px 10px!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .cwLessonHeader{display:flex!important;gap:8px!important;padding:0!important;margin:0 0 4px!important;min-height:0!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .cwLessonHeader h1{font-size:24px!important;line-height:1.15!important;margin:2px 0!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .cwLessonHeader :is(.cwLessonEyebrow,.cwLessonProgress){display:none!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .cwStartBar{display:flex!important;gap:5px!important;flex-wrap:wrap!important;padding:5px!important;margin:4px 0!important;min-height:0!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .cwStartBar button{padding:5px 8px!important;min-height:34px!important;font-size:12px!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .cwActivity{display:grid!important;grid-template-columns:1fr!important;gap:5px!important;padding:0!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet :is(.cwKeyboardCard,.cwFeedbackPanel){padding:6px!important;min-height:0!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .cwPanelHeading{padding:0!important;margin:0 0 3px!important;min-height:0!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .cwPanelHeading h2{font-size:17px!important;line-height:1.2!important;margin:0!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .cwPanelHeading :is(p,.cwSectionLabel){display:none!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .cwCurrentMove{padding:4px 6px!important;margin:0!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .cwCurrentMove :is(span,p){font-size:13px!important;margin:0!important;line-height:1.2!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .cwResultBlock{padding:4px!important;margin:0!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet :is(.formulaStrip,.keyboardFormulaStrip){display:flex!important;width:100%!important;max-width:none!important;gap:4px!important;margin:4px 0!important;flex-wrap:nowrap!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet :is(.formulaStrip,.keyboardFormulaStrip)>*{flex:1 1 0!important;min-width:0!important;min-height:30px!important;padding:4px!important;box-sizing:border-box!important;font-size:14px!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet body.cwTabletScaleBuild .wrap{display:flex!important;flex-direction:column!important;gap:5px!important;padding:4px 10px!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet body.cwTabletScaleBuild .wrap>:is(section,aside){display:contents!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet body.cwTabletScaleBuild .card{padding:5px 8px!important;margin:0!important;min-height:0!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet body.cwTabletScaleBuild .card h1{font-size:24px!important;line-height:1.2!important;margin:0!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet body.cwTabletScaleBuild .card h2{font-size:16px!important;margin:2px 0!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet body.cwTabletScaleBuild .card:has(h1)>:not(h1){display:none!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet body.cwTabletScaleBuild :is(.controls,.infoGrid){margin:3px 0!important;gap:4px!important;min-height:0!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet body.cwTabletScaleBuild .info{padding:3px 5px!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet body.cwTabletScaleBuild :is(.info,.copy){font-size:12px!important;line-height:1.2!important;margin:2px 0!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet body.cwTabletScaleBuild #keyboard{height:150px!important;min-height:150px!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet body.cwTabletScaleBuild .scaleRow{margin:3px 0!important;gap:4px!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet body.cwTabletScaleBuild .scaleRow>*{padding:4px!important;min-height:30px!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet :is(.makingSticky,.makingPlayer){padding:5px!important;margin:4px 0!important;min-height:0!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet :is(#makingTitle,#melodyTitle,#advTitle){font-size:24px!important;line-height:1.2!important;margin:3px 0!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet :is(.makingTimeline .makingCell,.makingTimeline .makingBar,.makingTimeline .makingTrackLabel){height:48px!important;min-height:48px!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .makingTimeline .makingEvent{top:21px!important;height:24px!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .makingKeyboard{height:112px!important;min-height:112px!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .makingKeyboardViewport{padding:0!important;margin:3px 0!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet dialog.cwSideGuide.cwPresentationView>details{padding-top:2px!important;min-height:20px!important;font-size:12px!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .cwPresentationView .cwSideKeyboard svg{height:115px!important;min-height:115px!important;max-height:115px!important}
/* Section pills and captions already identify/explain the current scene. */
html#cwTabletRecovery#cwTabletRecovery.cwTablet .cwTonicCompanionSurface.cwPresentationView .cwRectTutorial{grid-template-rows:auto 0 0 48px 64px minmax(0,1fr)!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .cwTonicCompanionSurface.cwPresentationView :is([data-cw-step-heading],[data-cw-step-instructions]){visibility:hidden!important;min-height:0!important;height:0!important;overflow:hidden!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .cwPresentationView .cwTonicReading{height:auto!important;grid-template-rows:42px 36px 18px 130px 44px 22px!important;gap:4px!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .cwPresentationView .cwTonicGuideKeyboard svg{height:130px!important;max-height:130px!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .cwPresentationView .cwTonicGuideKeyboard{height:130px!important;min-height:0!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .cwPresentationView .cwTonicReading :is(.cwTonicReadRule,.cwTonicReadResult){font-size:13px!important;line-height:1.15!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .cwPresentationView .cwWhyTabs{grid-template-columns:repeat(4,minmax(0,1fr))!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .cwPresentationView [data-cw-why]{grid-template-rows:auto 48px 64px minmax(0,1fr) auto!important;gap:4px!important;padding:5px!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .cwPresentationView .cwWhyReference{height:auto!important;min-height:0!important;padding:0!important;margin:0!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .cwPresentationView .cwWhyReference>:is(h3,.cwWhyBigAsk){display:none!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .cwPresentationView .cwSevenMemory{padding:0!important;margin:4px 0 0!important;min-height:0!important;height:auto!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .cwPresentationView .cwSevenOrigin{display:none!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .cwPresentationView .cwSevenAnchors{display:grid!important;grid-template-columns:repeat(7,minmax(0,1fr))!important;width:100%!important;max-width:none!important;height:44px!important;gap:5px!important;padding:0!important;margin:0!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .cwPresentationView .cwSevenAnchors>*{height:44px!important;min-height:44px!important;box-sizing:border-box!important;padding:3px!important;line-height:1.15!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .cwPresentationView .cwWhyMaps{display:grid!important;grid-template-columns:minmax(200px,.7fr) minmax(0,1.4fr)!important;height:auto!important;min-height:0!important;gap:8px!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .cwPresentationView .cwWhyMaps>:is(.cwWhyCirclePanel,.cwWhyLinked){height:auto!important;min-height:0!important;padding:5px!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .cwPresentationView .cwWhyCirclePanel svg{height:185px!important;max-height:185px!important;width:100%!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .cwPresentationView .cwWhyMaps :is(h3,h4){font-size:15px!important;line-height:1.15!important;margin:2px 0!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .cwPresentationView .cwWhyLinked svg{height:125px!important;max-height:125px!important;width:100%!important}
/* Tablet navigation opens on demand so the teaching workspace uses the width. */
html#cwTabletRecovery#cwTabletRecovery.cwTablet :is(.app,.academy-shell,.academyShell){grid-template-columns:minmax(0,1fr)!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet :is(.app>main.main,.academy-shell>main.lesson,.academyShell>main.lesson){grid-column:1!important;margin-left:0!important;width:100%!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet[data-cw-tablet-menu-ready="1"] .cwCourseRail:not(.cwLegacyRailSuppressed){display:none!important;z-index:2147482000!important;background:#080e17!important;box-shadow:8px 0 24px #0009}
html#cwTabletRecovery#cwTabletRecovery.cwTablet[data-cw-tablet-rail-open="1"] .cwCourseRail:not(.cwLegacyRailSuppressed){display:block!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet [data-cw-tablet-menu]{min-width:58px!important;min-height:36px!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet body.cwTabletScaleBuild .card:has(h1)>.haTitlePanel{display:block!important;padding:0!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet body.cwTabletScaleBuild .haTitlePanel>:not(h1){display:none!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet body.cwTabletScaleBuild .card:has(h1){display:block!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet body.cwTabletScaleBuild .haTitlePanel{min-height:0!important;height:auto!important;padding:0!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet body.cwTabletScaleBuild .haIntroGrid{min-height:0!important;height:auto!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet body.cwTabletScaleBuild .haKeyboardArea :is(.keyboardFormulaStrip,.haKeyboardTheory){display:none!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet body.cwTabletScaleBuild .infoGrid>.info:first-child{display:none!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet body.cwTabletScaleBuild .infoGrid{display:block!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet body.cwTabletScaleBuild .formulaStrip>*{height:48px!important;min-height:48px!important;padding:2px!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet body.cwTabletScaleBuild .formulaStrip :is(strong,b,span){font-size:13px!important;line-height:1.1!important;margin:0!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet body.cwTabletScaleBuild .scaleRow>*{height:42px!important;min-height:42px!important;padding:2px!important;font-size:14px!important;line-height:1.1!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .cwTabletSceneCanvas .cwSummaryClosingPitch{height:auto!important;min-height:0!important;grid-template-rows:auto auto auto auto!important;gap:5px!important;padding:5px!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .cwTabletSceneCanvas .cwSummaryClosingPitch>header h3{font-size:22px!important;line-height:1.1!important;margin:2px 0!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .cwTabletSceneCanvas .cwClosingAchievements{grid-template-columns:repeat(4,minmax(0,1fr))!important;grid-template-rows:auto!important;gap:5px!important;min-height:0!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .cwTabletSceneCanvas .cwClosingAchievement{padding:5px!important;gap:4px!important;min-width:0!important;min-height:0!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .cwTabletSceneCanvas .cwClosingAchievement>h4{font-size:17px!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .cwTabletSceneCanvas .cwClosingAchievement .cwClosingFormulaPair{grid-template-columns:1fr!important;gap:4px!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .cwTabletSceneCanvas .cwClosingAchievement .cwClosingFormula{min-height:28px!important;padding:3px!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .cwTabletSceneCanvas .cwClosingAchievement p{font-size:12px!important;line-height:1.15!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .cwTabletSceneCanvas .cwClosingChallenge{padding:4px!important;min-height:0!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .cwTabletSceneCanvas .cwClosingTonicPane{padding:4px!important;gap:5px!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .cwTabletSceneCanvas .cwSummaryStableScene[data-scene-family="modulation"] .cwSummaryEquationFlow article{height:55px!important;min-height:55px!important;padding:4px!important;gap:2px!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .cwTabletSceneCanvas .cwSummaryStableScene[data-scene-family="modulation"] .cwSummaryEquationFlow strong{font-size:18px!important;line-height:1.1!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .cwTabletSceneCanvas .cwSummaryCommonScale{height:38px!important;min-height:38px!important;margin:3px 0!important;gap:5px!important;font-size:13px!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .cwTabletSceneCanvas .cwSummaryCommonScale span{padding:4px!important;font-size:18px!important;line-height:1.2!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .cwTabletSceneCanvas :is(.cwSummaryStatement,.cwSummaryFine){padding:4px!important;margin:3px 0!important;font-size:13px!important;line-height:1.2!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .lesson-intro :is(.eyebrow,.lesson-meta){display:none!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .cwKeyboardFrame .cwRegisterBands{height:18px!important;min-height:18px!important;margin:0!important;padding:0!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .cwKeyboardFrame .melodyLegend{height:14px!important;min-height:14px!important;font-size:11px!important;line-height:14px!important;margin:0!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .cwEarlyTimeline{margin:3px 0!important;gap:3px!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .cwEarlyTimeline :is(.cwEarlyCell,.cwEarlyTrackLabel){height:48px!important;min-height:48px!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .bfTimeline :is(.bfCell,.bfBar,.bfTrackLabel){height:44px!important;min-height:44px!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .bfTimeline .bfEvent{height:22px!important;min-height:22px!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .creativeHeading{margin:3px 0!important;padding:0!important;min-height:0!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .creativeHeading h1{font-size:24px!important;line-height:1.15!important;margin:3px 0!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .creativeBuilder{padding:6px!important;min-height:0!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .creativeActions{padding:0!important;margin:4px 0!important;min-height:0!important;gap:4px!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .creativeTimelineReview{display:block!important;margin:4px 0!important;min-height:0!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .creativeTimeline{gap:4px!important;margin:0!important;grid-auto-rows:auto!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .creativeTimeline .barHead{height:48px!important;min-height:48px!important;padding:3px!important;font-size:12px!important;line-height:1.15!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .creativeTimeline :is(.barCell,.trackLabel){height:44px!important;min-height:44px!important;padding:3px!important;font-size:12px!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .creativeTimeline .barCell .event{height:23px!important;min-height:23px!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .creativeMelodyLegend{margin:3px 0!important;font-size:12px!important;line-height:1.2!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .compositionKeyboardViewport{margin:3px 0!important;padding:0!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet #compositionKeyboard{height:112px!important;min-height:112px!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .cwTabletCreativeChoices[open]{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .cwTabletCreativeChoices>summary{grid-column:1/-1}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .cwTabletCreativeChoices>.creativePalette{grid-column:1/-1}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .advWorkspace{padding:6px!important;min-height:0!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .advHeading{margin:3px 0!important;padding:0!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .advHeading h1{font-size:24px!important;line-height:1.15!important;margin:3px 0!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .advTimeline{gap:4px!important;margin:4px 0!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .advTimeline .advBarHead{height:48px!important;min-height:48px!important;padding:3px!important;font-size:12px!important;line-height:1.15!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .advTimeline :is(.advRowLabel,.advTrack){height:44px!important;min-height:44px!important;padding:2px!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .advTimeline .advEvent{height:22px!important;min-height:22px!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .advKeyboardViewport{margin:3px 0!important;padding:0!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet #advKeyboard{height:112px!important;min-height:112px!important}
/* Legacy lessons also reserve sidebar space on body itself. */
html#cwTabletRecovery#cwTabletRecovery.cwTablet body{display:block!important;margin:0!important;padding-left:0!important;grid-template-columns:none!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet body>main.main{width:100%!important;max-width:none!important;margin:0!important;grid-column:1!important;grid-row:auto!important;position:relative!important;box-sizing:border-box!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .cwTabletRectangleTitle{font-size:23px!important;line-height:1.2!important;margin:3px 10px!important;min-height:0!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet main>.cwRectanglePracticeWorkspace{height:calc(var(--cw-tablet-usable-height,100dvh) - 120px)!important;min-height:0!important;max-height:none!important;grid-template-rows:minmax(0,1fr) 180px!important;margin:4px 8px!important;padding:5px!important;gap:5px!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .cwRectanglePracticeWorkspace [data-rectangle-result]{grid-template-rows:64px minmax(0,1fr)!important;gap:4px!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .cwRectanglePracticeWorkspace .cwRectSliderReadout{height:64px!important;padding:3px 6px!important;font-size:13px!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .cwRectanglePracticeWorkspace .cwRectSliderCard{padding:3px!important;min-height:32px!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet body.cwTabletComparison main{padding:5px 12px!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .cwTabletComparisonTitle{font-size:24px!important;line-height:1.2!important;margin:4px 0!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet body.cwTabletComparison .panel.demo{padding:6px!important;margin:4px 0!important;min-height:0!important;gap:5px!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet body.cwTabletComparison #controls{margin:3px 0!important;min-height:0!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet body.cwTabletComparison #keyboard{height:180px!important;min-height:180px!important;margin:4px 0!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .gapWorkspace{padding:6px!important;margin:4px 0!important;min-height:0!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet #gapTitle{font-size:24px!important;line-height:1.15!important;margin:3px 0!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .gapWorkspace .cwKeyboardFrame .gapKeyboard{height:112px!important;min-height:112px!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .gapWorkspace .cwKeyboardFrame #gapKeyboard{height:112px!important;min-height:112px!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .gapTop{padding:0!important;margin:3px 0!important;gap:5px!important;min-height:0!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet dialog.cwSideGuide.cwPresentationView>h2{display:none!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .cwPresentationView .cwSideTonics{margin-top:24px!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet body.cwTabletComparison>.cwLessonOrientation{display:none!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet body.cwTabletComparison .panel.demo>.tonicPanel{display:none!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet body.cwTabletComparison .panel.demo:has(>[data-cw-key-drawer][open])>.tonicPanel{display:block!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet body.cwTabletComparison main{display:flex!important;flex-direction:column!important;gap:4px!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet body.cwTabletComparison :is(.lessonHeader,.lessonTitle){display:contents!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet body.cwTabletComparison .lessonTitle>h1{order:0!important;font-size:24px!important;line-height:1.2!important;margin:3px 0!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet body.cwTabletComparison .lessonTitle>:not(h1){order:9!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet body.cwTabletComparison .panel.demo{order:1!important;display:flex!important;flex-direction:column!important;gap:4px!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet body.cwTabletComparison .panel.demo>.advisor{order:6!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet body.cwTabletComparison .panel.actionPanel{order:9!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .creativeHeading .eyebrow{display:none!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .cwPresentationView button:is([data-side-scene-to],[data-cw-seek-to],[data-why-seek-to]){position:absolute!important;left:var(--stop)!important;top:50%!important;transform:translate(-50%,-50%)!important;display:block!important;width:14px!important;height:16px!important;min-width:0!important;min-height:0!important;max-height:16px!important;padding:0!important;margin:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:#eaf5ff!important;font:700 11px/1 Arial,sans-serif!important}
/* Current captions grow to their text; only the illustration uses remaining space. */
html#cwTabletRecovery#cwTabletRecovery.cwTablet .cwPresentationView :is(.cwRectCaptionPane,.cwWhyCaptionPane,.cwSideCaptions){height:var(--cw-tablet-caption-height,64px)!important;min-height:var(--cw-tablet-caption-height,64px)!important;max-height:var(--cw-tablet-caption-height,64px)!important;flex-basis:var(--cw-tablet-caption-height,64px)!important;overflow:hidden!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .cwTonicCompanionSurface.cwPresentationView .cwRectTutorial{grid-template-rows:auto 0 0 48px var(--cw-tablet-caption-height,64px) minmax(0,1fr)!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .cwPresentationView [data-cw-why]{grid-template-rows:auto 48px var(--cw-tablet-caption-height,64px) minmax(0,1fr) auto!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .cwPresentationView.cwRectSummary{grid-template-rows:auto 48px var(--cw-tablet-caption-height,64px) 24px minmax(0,1fr) 30px!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .creativeBuilder>.cwTabletSupportingNotes:not(.cwTabletCreativeChoices){order:99!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .gapWorkspace>.cwTabletSupportingNotes:not(.cwTabletGapChoices){order:99!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet main:not(.main):not(.lesson){margin-left:0!important;width:100%!important;max-width:none!important;box-sizing:border-box!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .cwTabletLocalRail{position:fixed!important;left:0!important;top:0!important;bottom:0!important;width:248px!important;max-width:248px!important;height:var(--cw-tablet-usable-height,100dvh)!important;overflow-y:auto!important;overflow-x:hidden!important;background:#080e17!important;z-index:2147482000!important;touch-action:pan-y!important;-webkit-overflow-scrolling:touch}
html#cwTabletRecovery#cwTabletRecovery.cwTablet[data-cw-tablet-menu-ready="1"] .cwTabletLocalRail{display:none!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet[data-cw-tablet-rail-open="1"] .cwTabletLocalRail{display:block!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet #study{padding:5px 10px!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet #study>#title{font-size:24px!important;line-height:1.2!important;margin:3px 0!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet #study>.workspace{padding:6px!important;margin:3px 0!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet #study .cwKeyboardFrame .cwScaleAdvisor{display:none!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .cwPresentationView :is(.cwRectCaptionPane,.cwWhyCaptionPane,.cwSideCaptions)>p:empty{display:none!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .cwPresentationView :is(.cwRectCaptionText,.cwWhyCaptionText){font-size:14px!important;line-height:1.25!important;min-height:0!important;margin:3px 0 0!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .cwTabletSceneCanvas>.cwScaleTeachingHead{height:30px!important;min-height:0!important;margin:0!important;padding:3px 5px!important;font-size:14px!important;line-height:1.15!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .cwTabletSceneCanvas>.cwScaleTeachingHead strong{font-size:18px!important;line-height:1.2!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .cwTabletSceneCanvas>.cwWholeScaleKeyboard{height:110px!important;min-height:110px!important;max-height:110px!important;width:100%!important;display:block!important;margin:3px auto!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .cwTabletSceneCanvas>.cwScaleShiftPairs{margin:3px 0!important;height:60px!important;gap:4px!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .cwTabletSceneCanvas>.cwScaleShiftPairs>div{height:60px!important;min-height:60px!important;padding:3px!important;gap:2px!important;box-sizing:border-box!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .cwTabletSceneCanvas>.cwScaleShiftResult{min-height:0!important;margin:3px 0!important;padding:4px 6px!important;font-size:14px!important;line-height:1.2!important}
/* Both minor dialog variants need a definite body row, not an auto-height body. */
html#cwTabletRecovery#cwTabletRecovery.cwTablet .cwPresentationView:has(>#minorGuideBody){display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:auto minmax(0,1fr)!important;align-items:stretch!important;align-content:stretch!important;gap:4px!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .cwPresentationView>#minorGuideBody{height:100%!important;min-height:0!important;max-height:100%!important;overflow:hidden!important;margin:0!important;padding:0!important;align-self:stretch!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .cwPresentationView>#minorGuideBody>[data-cw-why]{height:100%!important;min-height:0!important;max-height:100%!important;overflow:hidden!important;box-sizing:border-box!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .cwTabletSceneCanvas .cwBlackMinorMovement{height:auto!important;min-height:0!important;grid-template-rows:24px 16px 110px 44px 16px 56px!important;gap:3px!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .cwTabletSceneCanvas .cwBlackMinorMovement>.cwWholeScaleKeyboard{height:110px!important;min-height:110px!important;max-height:110px!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .cwTabletSceneCanvas .cwMinorMovement:not(.cwBlackMinorMovement){display:grid!important;grid-template-rows:24px 16px 110px 40px 14px 56px 40px!important;height:auto!important;min-height:0!important;gap:3px!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .cwTabletSceneCanvas .cwMinorMovement .cwScaleTeachingHead{height:24px!important;min-height:0!important;padding:2px 5px!important;margin:0!important;font-size:13px!important;line-height:1.15!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .cwTabletSceneCanvas .cwMinorMovement .cwScaleTeachingHead strong{font-size:17px!important;line-height:1.15!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .cwTabletSceneCanvas .cwMinorMovement>svg.cwWholeScaleKeyboard{height:110px!important;min-height:110px!important;max-height:110px!important;margin:0!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .cwTabletSceneCanvas .cwMinorMovement>:is(.cwMinorSignatureCallout,.cwMinorStripLegend,.cwScaleShiftResult){margin:0!important;padding:3px 5px!important;min-height:0!important;font-size:13px!important;line-height:1.15!important;box-sizing:border-box!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .cwTabletSceneCanvas .cwMinorMovement>.cwScaleShiftPairs{height:56px!important;min-height:0!important;margin:0!important;gap:4px!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .cwTabletSceneCanvas .cwMinorMovement>.cwScaleShiftPairs>div{height:56px!important;min-height:0!important;padding:3px!important;gap:2px!important;box-sizing:border-box!important}
/* Narration pauses scene animations. Chapter colour changes must stay immediate. */
html#cwTabletRecovery#cwTabletRecovery.cwTablet .cwPresentationView button:is([data-cw-step],[data-why-stage],[data-side-chapter]){transition:none!important;animation:none!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .cwTabletSettings>summary{box-sizing:border-box!important;min-height:36px!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet #study .workspace>:is(#status,#legend){margin:2px 0!important;line-height:1.15!important}
/* Give every value-card line an explicit slot; text must not spill into neighbours. */
html#cwTabletRecovery#cwTabletRecovery.cwTablet .cwTabletSceneCanvas>.cwScaleShiftPairs>div{display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:21px 10px 21px!important;gap:0!important;padding:3px!important;align-content:start!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .cwTabletSceneCanvas>.cwScaleShiftPairs>div>:is(b,strong){font-size:16px!important;line-height:21px!important;margin:0!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .cwTabletSceneCanvas>.cwScaleShiftPairs>div>span{font-size:10px!important;line-height:10px!important;margin:0!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .cwTabletSceneCanvas>.cwScaleShiftPairs .cwShiftTonicRow{height:21px!important;min-height:21px!important;gap:3px!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .cwTabletSceneCanvas>.cwScaleShiftPairs .cwTonicValueBadge{height:21px!important;min-height:21px!important;box-sizing:border-box!important;padding:1px 3px!important;line-height:17px!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .cwTabletSceneCanvas .cwMinorMovement>.cwScaleShiftPairs>div{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-template-rows:12px 18px 12px!important;gap:2px!important;padding:3px!important;align-content:start!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .cwTabletSceneCanvas .cwMinorMovement>.cwScaleShiftPairs>div>small{grid-column:1/-1!important;grid-row:1!important;font-size:10px!important;line-height:12px!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .cwTabletSceneCanvas .cwMinorMovement>.cwScaleShiftPairs>div>b{grid-column:1!important;grid-row:2!important;font-size:16px!important;line-height:18px!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .cwTabletSceneCanvas .cwMinorMovement>.cwScaleShiftPairs>div>strong{grid-column:2!important;grid-row:2!important;font-size:16px!important;line-height:18px!important}
html#cwTabletRecovery#cwTabletRecovery.cwTablet .cwTabletSceneCanvas .cwMinorMovement>.cwScaleShiftPairs>div>span{grid-column:1/-1!important;grid-row:3!important;font-size:10px!important;line-height:12px!important}

/* Landscape iPad feedback from the hosted Beta 4 review. */
html#cwTabletRecovery#cwTabletRecovery#cwTabletRecovery.cwTablet .cwTabletHeader:has(>[data-cw-tablet-menu]) {
  grid-template-columns: minmax(0,1fr) auto minmax(0,1fr)!important;
  min-height: 53px!important;
  box-sizing: border-box!important;
}
html#cwTabletRecovery#cwTabletRecovery#cwTabletRecovery.cwTablet .cwTabletHeader:has(>[data-cw-tablet-menu])>.cwLessonHeaderBrand {
  grid-column: 2!important;
  justify-self: center!important;
}
html#cwTabletRecovery#cwTabletRecovery#cwTabletRecovery.cwTablet .cwTabletHeader:has(>[data-cw-tablet-menu])>.cwTabletHeaderActions {
  grid-column: 3!important;
  min-width: max-content!important;
  justify-self: end!important;
}
html#cwTabletRecovery#cwTabletRecovery#cwTabletRecovery.cwTablet .cwTabletHeader>[data-cw-tablet-menu] {
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
  display: inline-flex!important;
  align-items: center;
  gap: 7px;
  padding: 5px 10px!important;
  border: 1px solid #8fc1f6!important;
  border-radius: 8px!important;
  color: #e7f2ff!important;
  background: #122338!important;
}
html#cwTabletRecovery#cwTabletRecovery#cwTabletRecovery.cwTablet .cwTabletHeader>[data-cw-tablet-menu]>span {font-size: 19px; line-height: 1}
html#cwTabletRecovery#cwTabletRecovery#cwTabletRecovery.cwTablet .cwTabletHeader>[data-cw-tablet-menu][aria-expanded="true"] {background: #274c70!important}
html#cwTabletRecovery#cwTabletRecovery#cwTabletRecovery.cwTablet .cwTabletHeader:has(>[data-cw-tablet-menu]).cwTabletHeaderNarrow>.cwTabletHeaderActions {
  grid-column: 1 / -1!important;
  min-width: 0!important;
  justify-self: start!important;
}
html#cwTabletRecovery#cwTabletRecovery#cwTabletRecovery.cwTablet :is(.cwCourseRail:not(.cwLegacyRailSuppressed),.cwTabletLocalRail) {
  top: var(--cw-tablet-header-height,53px)!important;
  height: calc(var(--cw-tablet-usable-height,100dvh) - var(--cw-tablet-header-height,53px))!important;
  max-height: calc(var(--cw-tablet-usable-height,100dvh) - var(--cw-tablet-header-height,53px))!important;
  box-sizing: border-box!important;
}

html#cwTabletRecovery#cwTabletRecovery#cwTabletRecovery.cwTablet body:is(.cwTabletScaleDiscovery,.cwTabletScaleBuild,.cwTabletScaleQuiz,:has(.cwTabletRectangleTitle)) :is(.app,main.main) {
  width: 100%!important;
  min-width: 0!important;
  max-width: none!important;
  box-sizing: border-box!important;
  margin-inline: 0!important;
}
html#cwTabletRecovery#cwTabletRecovery#cwTabletRecovery.cwTablet body.cwTabletScaleDiscovery .cwActivity {
  grid-template-columns: minmax(0,3fr) minmax(0,2fr)!important;
  align-items: stretch!important;
}
html#cwTabletRecovery#cwTabletRecovery#cwTabletRecovery.cwTablet body.cwTabletScaleDiscovery .cwActivity>* {min-width: 0!important}
html#cwTabletRecovery#cwTabletRecovery#cwTabletRecovery.cwTablet body.cwTabletScaleDiscovery .cwActivity #keyboard {
  width: 100%!important;
  height: clamp(140px,30dvh,215px)!important;
  min-height: 0!important;
  box-sizing: border-box!important;
}
html#cwTabletRecovery#cwTabletRecovery#cwTabletRecovery.cwTablet body:is(.cwTabletScaleBuild,.cwTabletScaleQuiz) main .wrap {
  width: 100%!important;
  max-width: none!important;
  box-sizing: border-box!important;
}
html#cwTabletRecovery#cwTabletRecovery#cwTabletRecovery.cwTablet body.cwTabletScaleBuild .wrap :is(.card,.haKeyboardArea,.haIntroGrid) {
  width: 100%!important;
  max-width: none!important;
  min-width: 0!important;
  box-sizing: border-box!important;
}
html#cwTabletRecovery#cwTabletRecovery#cwTabletRecovery.cwTablet body.cwTabletScaleQuiz .wrap {
  display: grid!important;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr)!important;
  gap: 8px!important;
  align-items: start!important;
}
html#cwTabletRecovery#cwTabletRecovery#cwTabletRecovery.cwTablet body.cwTabletScaleQuiz .wrap :is(section,aside,.card) {min-width: 0!important}
html#cwTabletRecovery#cwTabletRecovery#cwTabletRecovery.cwTablet body.cwTabletScaleQuiz .wrap .card {padding: 7px!important; margin: 0 0 5px!important}
html#cwTabletRecovery#cwTabletRecovery#cwTabletRecovery.cwTablet body.cwTabletScaleQuiz .wrap #keyboard {height: clamp(120px,24dvh,170px)!important; min-height: 0!important}

html#cwTabletRecovery#cwTabletRecovery#cwTabletRecovery.cwTablet main>.cwRectanglePracticeWorkspace {
  height: auto!important;
  grid-template-rows: auto clamp(144px,26dvh,195px)!important;
  overflow: visible!important;
}
html#cwTabletRecovery#cwTabletRecovery#cwTabletRecovery.cwTablet main>.cwRectanglePracticeWorkspace .cwRectSlider {
  grid-template-rows: auto auto!important;
  overflow: visible!important;
}
html#cwTabletRecovery#cwTabletRecovery#cwTabletRecovery.cwTablet main>.cwRectanglePracticeWorkspace [data-rectangle-result] {
  grid-template-rows: auto auto!important;
  overflow: visible!important;
}
html#cwTabletRecovery#cwTabletRecovery#cwTabletRecovery.cwTablet main>.cwRectanglePracticeWorkspace .cwRectSliderReadout {
  height: auto!important;
  overflow: visible!important;
}
html#cwTabletRecovery#cwTabletRecovery#cwTabletRecovery.cwTablet main>.cwRectanglePracticeWorkspace .cwRectMatrix {
  overflow: visible!important;
}
html#cwTabletRecovery#cwTabletRecovery#cwTabletRecovery.cwTablet main>.cwRectanglePracticeWorkspace .cwRectMatrix table {
  table-layout: fixed;
  height: auto!important;
  border-spacing: 3px!important;
}
html#cwTabletRecovery#cwTabletRecovery#cwTabletRecovery.cwTablet main>.cwRectanglePracticeWorkspace .cwRectMatrix :is(th,td) {
  height: auto!important;
  min-height: 0!important;
  padding: 2px!important;
}
html#cwTabletRecovery#cwTabletRecovery#cwTabletRecovery.cwTablet main>.cwRectanglePracticeWorkspace .cwLessonKeyboardFrame>#keyboard:has(.cwTonicPracticeKeys) {
  min-height: 292px!important;
  overflow: visible!important;
}

html#cwTabletRecovery#cwTabletRecovery#cwTabletRecovery.cwTablet .makingTimeline :is(.makingCell,.makingLabel) {
  height: clamp(54px,9dvh,68px)!important;
  min-height: clamp(54px,9dvh,68px)!important;
}
html#cwTabletRecovery#cwTabletRecovery#cwTabletRecovery.cwTablet .makingTimeline :is(.makingNote,.makingEvent) {
  height: 24px!important;
  min-height: 24px!important;
}
html#cwTabletRecovery#cwTabletRecovery#cwTabletRecovery.cwTablet .bfTimeline :is(.bfCell,.bfBar,.bfTrackLabel) {
  height: clamp(53px,8.7dvh,66px)!important;
  min-height: clamp(53px,8.7dvh,66px)!important;
}
html#cwTabletRecovery#cwTabletRecovery#cwTabletRecovery.cwTablet .bfTimeline .bfLane {height: 26px!important}
html#cwTabletRecovery#cwTabletRecovery#cwTabletRecovery.cwTablet .bfTimeline .bfLane .bfNote {top: 0!important; height: 24px!important; min-height: 24px!important}
html#cwTabletRecovery#cwTabletRecovery#cwTabletRecovery.cwTablet .bfTimeline .bfBar {gap: 1px!important; padding: 3px!important}
html#cwTabletRecovery#cwTabletRecovery#cwTabletRecovery.cwTablet .bfContent .cwTabletSupportingNotes .bfReflection {margin-top: 6px}
html#cwTabletRecovery#cwTabletRecovery#cwTabletRecovery.cwTablet .cwTabletMovement {width: 100%!important; max-width: none!important; padding: 4px 10px!important}
html#cwTabletRecovery#cwTabletRecovery#cwTabletRecovery.cwTablet .cwTabletMovement .movementPlayer {padding: 5px!important}
html#cwTabletRecovery#cwTabletRecovery#cwTabletRecovery.cwTablet .cwTabletMovement .movementTimeline {gap: 3px!important}
html#cwTabletRecovery#cwTabletRecovery#cwTabletRecovery.cwTablet .cwTabletMovement .moveTrack {height: 22px!important}
html#cwTabletRecovery#cwTabletRecovery#cwTabletRecovery.cwTablet .cwTabletMovement .moveNote {height: 21px!important; min-height: 0!important}
html#cwTabletRecovery#cwTabletRecovery#cwTabletRecovery.cwTablet .cwTabletMovement .movementKeyboard {height: 98px!important; min-height: 98px!important; margin-top: 4px!important}
html#cwTabletRecovery#cwTabletRecovery#cwTabletRecovery.cwTablet .cwTabletMovement :is(.movementLegend,.movementPages) {margin-block: 4px!important}
html#cwTabletRecovery#cwTabletRecovery#cwTabletRecovery.cwTablet .cwTabletMovement .moveCell {padding-block: 2px!important; min-height: 0!important}
html#cwTabletRecovery#cwTabletRecovery#cwTabletRecovery.cwTablet .cwTabletMovement .moveHead {min-height: 45px!important; padding: 3px!important; gap: 1px!important}

html#cwTabletRecovery#cwTabletRecovery#cwTabletRecovery.cwTablet .cwTabletRhythm .workspace {height: auto!important; min-height: 0!important; overflow: visible!important}
html#cwTabletRecovery#cwTabletRecovery#cwTabletRecovery.cwTablet .cwTabletRhythm .studio {height: auto!important; min-height: 0!important; padding: 5px!important; overflow: visible!important}
html#cwTabletRecovery#cwTabletRecovery#cwTabletRecovery.cwTablet .cwTabletRhythm .newConcept {
  min-height: 0!important;
  height: auto!important;
  margin-block: 3px!important;
  padding: 4px 7px!important;
}
html#cwTabletRecovery#cwTabletRecovery#cwTabletRecovery.cwTablet .cwTabletRhythm .newConcept.cwTabletRepeatedTempoCopy {grid-template-columns: auto minmax(0,1fr)!important}
html#cwTabletRecovery#cwTabletRecovery#cwTabletRecovery.cwTablet .cwTabletRhythm .newConcept.cwTabletRepeatedTempoCopy #conceptHelp {display: none!important}
html#cwTabletRecovery#cwTabletRecovery#cwTabletRecovery.cwTablet .cwTabletRhythm :is(.studioHeader,.metronomePane,.visualMetronomeWrap) {min-height: 0!important; margin-block: 3px!important}
html#cwTabletRecovery#cwTabletRecovery#cwTabletRecovery.cwTablet .cwTabletRhythm .visualMetronomeWrap:not([hidden]) {flex: 0 0 auto!important; height: auto!important; padding: 4px!important}
html#cwTabletRecovery#cwTabletRecovery#cwTabletRecovery.cwTablet .cwTabletRhythm .timelineWrap {flex: 0 0 auto!important; min-height: 0!important; padding: 4px!important}
html#cwTabletRecovery#cwTabletRecovery#cwTabletRecovery.cwTablet .cwTabletRhythm #timeline {height: clamp(118px,25dvh,190px)!important; min-height: 0!important}
html#cwTabletRecovery#cwTabletRecovery#cwTabletRecovery.cwTablet .cwTabletRhythm .metronomePane:not([hidden]) {height: auto!important; flex: 0 0 auto!important; padding: 4px 6px!important}
html#cwTabletRecovery#cwTabletRecovery#cwTabletRecovery.cwTablet .cwTabletRhythm .metroIdentity {display: flex!important; align-items: center!important; gap: 6px!important; flex-wrap: wrap}
html#cwTabletRecovery#cwTabletRecovery#cwTabletRecovery.cwTablet .cwTabletRhythm .metroIdentity[hidden] {display: none!important}

@media (min-height: 640px) {
  html#cwTabletRecovery#cwTabletRecovery#cwTabletRecovery.cwTablet :is(#melodyKeyboard,#bfKeyboard,#gapKeyboard,#advKeyboard,#compositionKeyboard) {
    height: clamp(128px,22dvh,174px)!important;
    min-height: clamp(128px,22dvh,174px)!important;
  }
  html#cwTabletRecovery#cwTabletRecovery#cwTabletRecovery.cwTablet :is(.melodyKeyboardViewport,.bfKeyboardViewport,.compositionKeyboardViewport,.gapKeyboardViewport) {
    max-height: none!important;
  }
  html#cwTabletRecovery#cwTabletRecovery#cwTabletRecovery.cwTablet :is(.melodyTimeline,.creativeTimeline,.advTimeline) :is(.barCell,.advTrack,.advRowLabel,.trackLabel) {
    min-height: 49px!important;
  }
}
html#cwTabletRecovery#cwTabletRecovery#cwTabletRecovery.cwTablet body.cwTabletScaleQuiz .wrap.haStackedLesson {grid-template-rows:auto auto!important}
html#cwTabletRecovery#cwTabletRecovery#cwTabletRecovery.cwTablet body.cwTabletScaleQuiz .wrap>.haIntroGrid {grid-column:1/-1!important;grid-row:1!important;min-height:0!important}
html#cwTabletRecovery#cwTabletRecovery#cwTabletRecovery.cwTablet body.cwTabletScaleQuiz .wrap>.haActivity {grid-column:1!important;grid-row:2!important}
html#cwTabletRecovery#cwTabletRecovery#cwTabletRecovery.cwTablet body.cwTabletScaleQuiz .wrap>.haKeyboardArea {grid-column:2!important;grid-row:2!important}
html#cwTabletRecovery#cwTabletRecovery#cwTabletRecovery.cwTablet body.cwTabletScaleBuild .wrap #keyboard {width:100%!important;max-width:none!important;margin-inline:0!important}
html#cwTabletRecovery#cwTabletRecovery#cwTabletRecovery.cwTablet .makingTimeline .makingTrack {height:27px!important}
html#cwTabletRecovery#cwTabletRecovery#cwTabletRecovery.cwTablet .makingTimeline .makingNote {top:1px!important}
html#cwTabletRecovery#cwTabletRecovery#cwTabletRecovery.cwTablet .cwTabletMovement .moveBeats {height:12px!important;font-size:9px!important}

@media (min-height: 640px) {
  html#cwTabletRecovery#cwTabletRecovery#cwTabletRecovery.cwTablet :is(.cwEarlyTimeline,.accompTimeline) :is(.cwEarlyCell,.cwEarlyTrackLabel,.accompCell,.accompTrackLabel) {
    min-height: 51px!important;
  }
  html#cwTabletRecovery#cwTabletRecovery#cwTabletRecovery.cwTablet .gapTimelineReview :is(.gapBar,.gapLane) {min-height: 36px!important}
}
