html body .cwPresentationActions{display:flex;justify-content:flex-end;gap:8px;margin:4px 0 8px;flex:0 0 auto}
html body .cwPresentationActions button{background:#365b55!important;color:#f4fffb!important;border:2px solid #b5e0d3!important;border-radius:7px!important;padding:8px 14px!important;font:700 13px Arial,sans-serif!important;cursor:pointer}
html body dialog:has([data-cw-why]),html body dialog.cwSideGuide{width:min(1500px,96vw)!important;max-width:96vw!important}
html body .cwRectSummary{max-width:none;width:100%;box-sizing:border-box}
html.cwPresentationActive{overflow:hidden!important}
html body .cwPresentationView{position:fixed!important;inset:2dvh 2vw!important;width:96vw!important;height:96dvh!important;max-width:none!important;max-height:96dvh!important;margin:0!important;box-sizing:border-box!important;z-index:2147483000!important;overflow:auto!important;background:#1b2936!important;color:#edf4fb!important;padding:14px!important;border:1px solid #71879a;border-radius:10px}
html body .cwPresentationView>.cwPresentationActions{position:sticky;top:-14px;z-index:20;background:#1b2936;padding:6px 0}
html body .cwPresentationView.cwRectSummary{display:flex;flex-direction:column;gap:6px;overflow:hidden!important}
html body .cwPresentationView.cwRectSummary>.cwSummaryCanvas{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain}
html body .cwPresentationView.cwRectSummary>:not(.cwSummaryCanvas){flex-shrink:0}
html body .cwPresentationView .cwSummaryMinorKeyboard{width:min(950px,85vw)!important;max-width:100%!important;margin:12px auto!important}
body:has(.cwSummaryStandaloneNav)>main{max-width:none!important;width:96%;margin:auto}
@media(max-height:750px){html body .cwPresentationView{padding:8px!important}html body .cwPresentationView .cwSideCaptions{min-height:0}html body .cwPresentationView .cwSummaryTransport{margin:4px 0}}
html body .cwPresentationView .cwSummaryMinorKeyboard{height:clamp(180px,28dvh,320px)!important;max-height:32dvh!important}
html body .cwPresentationView .cwSummaryCircle{max-width:min(430px,34vw)!important;max-height:48dvh!important}

html body .cwSummaryTransport>.cwPresentationActions{flex:0 0 auto!important;min-width:0!important;margin:0!important}

/* RF.05 retains one viewport-sized frame through every narration reveal. */
html body .cwRectSummary{display:grid!important;grid-template-rows:auto auto 76px 48px minmax(0,1fr) auto!important;gap:6px!important;height:calc(100dvh - 92px)!important;min-height:0!important;max-height:calc(100dvh - 92px)!important;overflow:hidden!important;overflow-anchor:none!important}
html body .cwRectSummary>.cwSideCaptions{height:76px!important;min-height:0!important;box-sizing:border-box!important;overflow:auto!important}
html body .cwRectSummary>h2{min-height:0!important;margin:0!important;align-self:center}
html body .cwRectSummary>.cwSummaryCanvas{height:auto!important;min-height:0!important;overflow:auto!important;overscroll-behavior:contain;overflow-anchor:none!important;scrollbar-gutter:stable;padding:4px}
html body .cwRectSummary>.cwSummaryFooter{margin-top:0!important}
html body .cwRectSummary.cwPresentationView{height:96dvh!important;max-height:96dvh!important}
html body .cwRectSummary:fullscreen{height:100dvh!important;max-height:100dvh!important}
html body main:has(.cwRectSummary),html body .wrap:has(.cwRectSummary){overflow-anchor:none!important}
.cwSummaryStableScene[data-scene-family=shift]{min-height:580px}
.cwSummaryStableScene[data-scene-family=movement]{min-height:650px}
.cwSummaryStableScene[data-scene-family=rules]{min-height:430px}
.cwSummaryReservedReveal{visibility:hidden}
@media(max-width:750px){html body .cwRectSummary{grid-template-rows:auto auto 88px 54px minmax(0,1fr) auto!important}html body .cwRectSummary>.cwSideCaptions{height:88px!important}}

.cwSummaryArrowSpace{height:37px;margin:-4px 0 5px}

/* The signature calculation releases the completed movement's arrow lane. */
.cwSummaryStableScene[data-scene-family=movement][data-scene-phase="2"]{min-height:0}
.cwSummaryStableScene[data-scene-family=movement][data-scene-phase="2"] .cwSummaryFixedT{margin:4px 0;padding:6px 12px}
.cwSummaryStableScene[data-scene-family=movement][data-scene-phase="2"] .cwSummaryParallelScale .cwSummaryDegreeRow{margin:2px 0 4px}
.cwSummaryStableScene[data-scene-family=movement][data-scene-phase="2"] .cwSummaryEquationFlow{margin:4px 0}
.cwSummaryStableScene[data-scene-family=movement][data-scene-phase="2"] .cwSummaryEquationFlow article{min-height:64px;padding:8px}

/* Recover border clearance only in whole-scale semitone scenes. */
.cwSummaryStableScene[data-scene-family=shift]{min-height:520px}
.cwSummaryStableScene[data-scene-family=shift] .cwSummaryRule{margin:4px 0;padding-top:5px;padding-bottom:5px}
.cwSummaryStableScene[data-scene-family=shift] .cwSummaryScaleLabel{margin:3px 0 2px}
.cwSummaryStableScene[data-scene-family=shift] .cwSummaryWholeShift{margin:2px 0}
.cwSummaryStableScene[data-scene-family=shift] .cwSummaryScaleArrows>span{padding-top:0;padding-bottom:0}
.cwSummaryStableScene[data-scene-family=shift] .cwSummaryStatement{margin:4px 0;padding-top:5px;padding-bottom:5px}
.cwSummaryStableScene[data-scene-family=shift]>.cwSummaryFine{margin:3px 0}

/* RF.05: presentation mode must retain the approved embedded keyboard display size. */
html body .cwRectSummary.cwPresentationView .cwSummaryMinorKeyboard{width:100%!important;max-width:680px!important;height:150px!important;max-height:150px!important;margin:4px auto!important}
@media(max-height:850px){html body .cwRectSummary.cwPresentationView .cwSummaryMinorKeyboard{height:120px!important;max-height:120px!important}}
/* Other Rectangle guides use the same wide frame, retaining their original visual sizes. */
html body .cwPresentationView:has([data-cw-why]),html body .cwPresentationView:has([data-cw-tutorial]){display:flex!important;flex-direction:column!important;gap:6px!important;overflow:hidden!important}
html body .cwPresentationView>header{position:static!important;flex:0 0 auto!important;margin:0!important;padding:6px!important}
html body .cwPresentationView .cwCompanionSupport{display:none!important}
html body .cwPresentationView>#minorGuideBody{flex:1;min-height:0;overflow:hidden}
html body .cwPresentationView .cwAcademyIntroductionGrid{flex:1;min-height:0;overflow:hidden;display:block!important;margin:0!important}
html body .cwPresentationView .cwAcademyIntroductionGrid>:not(:has([data-cw-why])){display:none!important}
html body .cwPresentationView .cwAcademyIntroductionGrid>:has([data-cw-why]){height:100%;min-height:0;box-sizing:border-box;overflow:hidden;padding:6px!important}
html body .cwPresentationView [data-cw-why],html body [data-cw-why].cwPresentationView{display:grid!important;grid-template-rows:auto auto auto minmax(0,1fr) auto!important;gap:6px!important;height:100%!important;min-height:0!important;margin:0!important;overflow:hidden!important;flex:1}
html body [data-cw-why].cwPresentationView{height:96dvh!important;grid-template-rows:auto auto auto auto minmax(0,1fr) auto!important}
html body .cwPresentationView [data-why-diagram]{min-height:0!important;overflow:auto!important;overscroll-behavior:contain;overflow-anchor:none}
html body .cwPresentationView .cwWhyCaptionPane{max-height:90px!important;overflow:auto!important;box-sizing:border-box}
html body .cwPresentationView [data-cw-tutorial]{display:flex!important;flex-direction:column!important;gap:5px!important;flex:1;min-height:0!important;overflow:hidden!important;margin:0!important;height:auto!important}
html body .cwPresentationView [data-cw-tutorial]>:not([data-cw-tutorial-panel]){flex-shrink:0}
html body .cwPresentationView [data-cw-tutorial]>[data-cw-tutorial-panel]:not([hidden]){flex:1!important;min-height:0!important;overflow:auto!important;overscroll-behavior:contain;overflow-anchor:none}
html body .cwPresentationView .cwRectCaptionPane{max-height:100px;overflow:auto}
html body dialog.cwSideGuide.cwPresentationView{display:flex!important;flex-direction:column!important;gap:5px!important;overflow:hidden!important}
html body dialog.cwSideGuide.cwPresentationView>*{flex-shrink:0}
html body dialog.cwSideGuide.cwPresentationView>[data-side-visual]:not([hidden]),html body dialog.cwSideGuide.cwPresentationView>[data-side-brand]:not([hidden]){flex:1!important;min-height:0!important;overflow:auto!important;overscroll-behavior:contain}
html body dialog.cwSideGuide.cwPresentationView .cwSideCaptions{min-height:60px!important;max-height:88px;overflow:auto}
html body dialog.cwSideGuide.cwPresentationView>details{margin:0}
html body .cwPresentationView .cwSideKeyboard{max-width:920px!important}
html body .cwPresentationView [data-cw-why],html body .cwPresentationView [data-cw-tutorial]{width:100%!important;max-width:none!important;box-sizing:border-box!important}

/* Common Rectangle shell. Explicit modal placement avoids inherited sidebar offsets. */
html body #cwAcademyIntroductionOverlay:has(.cwPresentationView){left:0!important;right:0!important;width:100vw!important;padding:0!important;transform:none!important}
html body #cwAcademyIntroductionOverlay .cwGuideSurface.cwPresentationView,html body dialog#minorIntroduction.cwPresentationView{position:fixed!important;inset:2dvh 2vw!important;left:2vw!important;top:2dvh!important;right:2vw!important;bottom:2dvh!important;width:96vw!important;max-width:96vw!important;height:96dvh!important;max-height:96dvh!important;margin:0!important;transform:none!important;box-sizing:border-box!important}
html body .cwGuideSurface.cwPresentationView>.cwGuideCategoryHero:has([data-cw-why]){flex:1!important;min-height:0!important;display:block!important;overflow:hidden!important;margin:0!important;padding:0!important}
html body .cwGuideSurface.cwPresentationView>.cwGuideCategoryHero:has([data-cw-why])>div{display:none!important}
html body .cwGuideSurface.cwPresentationView:has(>.cwGuideCategoryHero [data-cw-why])>.cwAcademyIntroductionGrid{display:none!important}
html body #cwAcademyIntroductionOverlay .cwTonicCompanionSurface.cwPresentationView{display:flex!important;flex-direction:column!important;gap:6px!important;overflow:hidden!important}
html body #cwAcademyIntroductionOverlay .cwTonicCompanionSurface.cwPresentationView>.cwUnifiedGuideHeader{flex:0 0 auto!important;min-height:64px!important;height:auto!important;margin:0!important;padding:8px 12px!important;background:#101722!important;border-bottom:1px solid #597184!important}
html body .cwTonicCompanionSurface.cwPresentationView h1{font-size:clamp(22px,2vw,30px)!important;line-height:1.15!important;margin:0!important}
html body .cwTonicCompanionSurface.cwPresentationView .cwRectTutorial{display:grid!important;grid-template-rows:auto auto auto auto 96px minmax(0,1fr)!important;gap:6px!important;flex:1!important;height:100%!important;min-height:0!important;max-height:none!important;margin:0!important;padding:10px!important;background:#1c2a36!important;border:1px solid #61778c!important;box-sizing:border-box!important;overflow:hidden!important}
html body .cwTonicCompanionSurface.cwPresentationView .cwRectTutorial>.cwRectCaptionPane{height:96px!important;min-height:96px!important;max-height:96px!important;overflow:auto!important;box-sizing:border-box!important;margin:0!important;background:#142132!important;border:1px solid #71879a!important;border-radius:8px!important;padding:8px!important}
html body .cwTonicCompanionSurface.cwPresentationView .cwRectTutorial>[data-cw-tutorial-panel]:not([hidden]){min-height:0!important;height:100%!important;overflow:auto!important;overscroll-behavior:contain;overflow-anchor:none}
html body .cwTonicCompanionSurface.cwPresentationView .cwRectTutorial>[data-cw-tutorial-panel][hidden]{display:none!important}
html body .cwTonicCompanionSurface.cwPresentationView .cwRectTutorial h3{font-size:21px!important;margin:0!important}
html body .cwTonicCompanionSurface.cwPresentationView [data-cw-step-instructions]{margin:0!important;font-size:13px!important}
html body .cwPresentationView :is(.cwRectTutorialPlayback,.cwWhyPlayback,.cwSideTransport){display:flex!important;align-items:center!important;flex-wrap:wrap;gap:7px!important;margin:6px 0!important;padding:0!important;background:transparent!important}
html body .cwPresentationView :is(.cwRectTutorialActions,.cwWhyPlayback>.cwStandardTransport){display:flex!important;gap:5px!important;padding:0!important;border:0!important;box-shadow:none!important;background:transparent!important}
html body .cwPresentationView :is(.cwRectTutorialActions,.cwWhyPlayback>.cwStandardTransport)>button{width:36px!important;height:36px!important;min-height:36px!important;padding:6px!important;border:1px solid #657b90!important;border-radius:6px!important;background:#142132!important;color:#edf4fb!important}
html body .cwPresentationView :is(.cwRectNarrationDisplay,.cwWhyPlayback>label){font:13px Arial,sans-serif!important;display:flex;align-items:center;gap:5px}
html body .cwPresentationView :is(.cwRectNarrationDisplay,.cwWhyPlayback>label) select{padding:7px!important;border:1px solid #61778c!important;border-radius:5px!important;background:#101b2a!important;color:#edf4fb!important;font:700 12px Arial,sans-serif!important}
html body .cwPresentationView .cwWhyTimeline{grid-template-rows:17px 18px auto!important;padding:0 7px!important}
html body .cwPresentationView .cwWhyTimeline input[type=range]{height:7px!important;background:#53687e!important;border:0!important;margin:0!important}
html body .cwTonicCompanionSurface.cwPresentationView .cwRectTutorial{grid-template-rows:auto 32px 38px 58px 96px minmax(0,1fr)!important}
html body .cwTonicCompanionSurface.cwPresentationView [data-cw-step-heading],html body .cwTonicCompanionSurface.cwPresentationView [data-cw-step-instructions]{overflow:auto;min-height:0}
@media(max-width:800px){html body .cwTonicCompanionSurface.cwPresentationView .cwRectTutorial{grid-template-rows:auto 40px 44px auto 96px minmax(0,1fr)!important}}

/* Give every ancestor a definite grid area, so the simulation cannot collapse to its top rows. */
html body #cwAcademyIntroductionOverlay .cwGuideSurface.cwPresentationView[data-cw-presentation-layout=why],html body #cwAcademyIntroductionOverlay .cwGuideSurface.cwPresentationView[data-cw-presentation-layout=tonic],html body dialog#minorIntroduction.cwPresentationView[data-cw-presentation-layout=why]{display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:auto minmax(0,1fr)!important;align-content:stretch!important;align-items:stretch!important;gap:8px!important}
html body #cwAcademyIntroductionOverlay .cwGuideSurface.cwPresentationView[data-cw-presentation-layout]>.cwUnifiedGuideHeader{grid-row:1!important;grid-column:1!important;height:auto!important;min-height:64px!important;position:static!important;margin:0!important}
html body #cwAcademyIntroductionOverlay .cwGuideSurface.cwPresentationView[data-cw-presentation-layout]>.cwGuideCategoryHero{grid-row:2!important;grid-column:1!important;display:block!important;min-height:0!important;height:100%!important;max-height:none!important;align-self:stretch!important;overflow:hidden!important;margin:0!important;padding:0!important;box-sizing:border-box!important}
html body #cwAcademyIntroductionOverlay .cwGuideSurface.cwPresentationView[data-cw-presentation-layout]>.cwGuideCategoryHero>div{display:none!important}
html body #cwAcademyIntroductionOverlay .cwGuideSurface.cwPresentationView[data-cw-presentation-layout]>.cwAcademyIntroductionGrid,html body #cwAcademyIntroductionOverlay .cwGuideSurface.cwPresentationView[data-cw-presentation-layout]>.cwGuideFooter{display:none!important}
html body #cwAcademyIntroductionOverlay .cwGuideSurface.cwPresentationView[data-cw-presentation-layout]>.cwRectTutorial{grid-row:2!important;min-height:0!important;height:100%!important}
html body #cwAcademyIntroductionOverlay .cwGuideSurface.cwPresentationView[data-cw-presentation-layout=why] .cwWhyRectangle{display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:auto auto 84px minmax(0,1fr) auto!important;height:100%!important;min-height:0!important;max-height:none!important;box-sizing:border-box!important;overflow:hidden!important;margin:0!important}
html body #cwAcademyIntroductionOverlay .cwGuideSurface.cwPresentationView[data-cw-presentation-layout=tonic] .cwRectTutorial{display:grid!important;grid-template-rows:auto 32px 38px 58px 96px minmax(0,1fr)!important;height:100%!important;min-height:0!important;max-height:none!important;align-self:stretch!important;margin:0!important;overflow:hidden!important}
html body #cwAcademyIntroductionOverlay .cwGuideSurface.cwPresentationView[data-cw-presentation-layout] :is([data-why-diagram],[data-cw-tutorial-panel]:not([hidden])){min-height:0!important;height:100%!important;overflow:auto!important;box-sizing:border-box!important}
html body #cwAcademyIntroductionOverlay .cwGuideSurface.cwPresentationView[data-cw-presentation-layout=why] .cwWhyCaptionPane{height:84px!important;min-height:0!important;overflow:auto!important;box-sizing:border-box!important}
@media(max-width:800px){html body #cwAcademyIntroductionOverlay .cwGuideSurface.cwPresentationView[data-cw-presentation-layout=tonic] .cwRectTutorial{grid-template-rows:auto 40px 44px auto 96px minmax(0,1fr)!important}}

/* Major four-section introduction: reclaim chrome space; keep the complete map visible. */
html body #cwAcademyIntroductionOverlay .cwGuideSurface.cwPresentationView[data-cw-presentation-layout=why]:has(.cwWhyRectangle[data-why-mode=major])>.cwUnifiedGuideHeader{height:72px!important;min-height:72px!important;max-height:72px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;padding:6px 10px!important;overflow:hidden!important}
html body #cwAcademyIntroductionOverlay .cwGuideSurface.cwPresentationView[data-cw-presentation-layout=why]:has(.cwWhyRectangle[data-why-mode=major])>.cwUnifiedGuideHeader .cwUnifiedGuideActions{display:flex!important;flex-direction:row!important;align-items:center!important;gap:6px!important;flex-shrink:0}
html body #cwAcademyIntroductionOverlay .cwGuideSurface.cwPresentationView[data-cw-presentation-layout=why]:has(.cwWhyRectangle[data-why-mode=major])>.cwUnifiedGuideHeader .cwPresentationActions{margin:0!important;flex-shrink:0}
html body #cwAcademyIntroductionOverlay .cwGuideSurface.cwPresentationView[data-cw-presentation-layout=why]:has(.cwWhyRectangle[data-why-mode=major])>.cwUnifiedGuideHeader h1{font-size:24px!important;line-height:1.15!important;margin:0!important}
html body #cwAcademyIntroductionOverlay .cwGuideSurface.cwPresentationView[data-cw-presentation-layout=why]:has(.cwWhyRectangle[data-why-mode=major])>.cwUnifiedGuideHeader p{font-size:14px!important;line-height:1.2!important;margin:2px 0 0!important}
html body #cwAcademyIntroductionOverlay .cwGuideSurface.cwPresentationView[data-cw-presentation-layout=why]:has(.cwWhyRectangle[data-why-mode=major])>.cwUnifiedGuideHeader .cwAcademyIntroductionKicker{font-size:9px!important;line-height:1.1!important;margin:0!important}
html body #cwAcademyIntroductionOverlay .cwGuideSurface.cwPresentationView[data-cw-presentation-layout=why]:has(.cwWhyRectangle[data-why-mode=major]) .cwWhyRectangle{grid-template-rows:auto 52px 64px minmax(0,1fr) auto!important;gap:4px!important;padding:8px!important}
html body #cwAcademyIntroductionOverlay .cwGuideSurface.cwPresentationView[data-cw-presentation-layout=why]:has(.cwWhyRectangle[data-why-mode=major]) .cwWhyBigAsk{display:none!important}
html body #cwAcademyIntroductionOverlay .cwGuideSurface.cwPresentationView[data-cw-presentation-layout=why]:has(.cwWhyRectangle[data-why-mode=major]) .cwWhyRectangle[data-why-brand=opening] .cwWhyBigAsk{display:block!important;margin:4px 0!important}
html body #cwAcademyIntroductionOverlay .cwGuideSurface.cwPresentationView[data-cw-presentation-layout=why]:has(.cwWhyRectangle[data-why-mode=major]) .cwWhyReference{position:static!important;padding:0!important}
html body #cwAcademyIntroductionOverlay .cwGuideSurface.cwPresentationView[data-cw-presentation-layout=why]:has(.cwWhyRectangle[data-why-mode=major]) .cwWhyReference h3{font-size:21px!important;line-height:1.15!important;margin:4px 0!important}
html body #cwAcademyIntroductionOverlay .cwGuideSurface.cwPresentationView[data-cw-presentation-layout=why]:has(.cwWhyRectangle[data-why-mode=major]) .cwWhyTabs button{min-height:30px!important;padding:4px 6px!important}
html body #cwAcademyIntroductionOverlay .cwGuideSurface.cwPresentationView[data-cw-presentation-layout=why]:has(.cwWhyRectangle[data-why-mode=major]) .cwSevenAnchors>div{min-height:38px!important;padding:3px!important}
html body #cwAcademyIntroductionOverlay .cwGuideSurface.cwPresentationView[data-cw-presentation-layout=why]:has(.cwWhyRectangle[data-why-mode=major]) .cwWhyCaptionPane{height:64px!important;min-height:64px!important;max-height:64px!important;padding:6px 8px!important;margin:0!important;overflow:auto!important}
html body #cwAcademyIntroductionOverlay .cwGuideSurface.cwPresentationView[data-cw-presentation-layout=why]:has(.cwWhyRectangle[data-why-mode=major]) [data-why-diagram]{overflow:visible!important;min-height:0!important;height:100%!important;display:grid!important;grid-template-rows:minmax(0,1fr) auto;gap:3px}
html body #cwAcademyIntroductionOverlay .cwGuideSurface.cwPresentationView[data-cw-presentation-layout=why]:has(.cwWhyRectangle[data-why-mode=major]) .cwWhyMaps{height:100%!important;min-height:0!important;grid-template-columns:minmax(200px,30%) minmax(0,1fr)!important;gap:14px!important;align-items:center!important}
html body #cwAcademyIntroductionOverlay .cwGuideSurface.cwPresentationView[data-cw-presentation-layout=why]:has(.cwWhyRectangle[data-why-mode=major]) .cwWhyCirclePanel{height:100%!important;min-height:0!important;display:flex!important;flex-direction:column!important;justify-content:center;box-sizing:border-box}
html body #cwAcademyIntroductionOverlay .cwGuideSurface.cwPresentationView[data-cw-presentation-layout=why]:has(.cwWhyRectangle[data-why-mode=major]) .cwWhyCirclePanel .cwWhyCircle{flex:1;min-height:0!important;max-height:100%!important;height:100%!important;object-fit:contain}
html body #cwAcademyIntroductionOverlay .cwGuideSurface.cwPresentationView[data-cw-presentation-layout=why]:has(.cwWhyRectangle[data-why-mode=major]) .cwWhyCirclePanel h4{margin:2px 0!important}
html body #cwAcademyIntroductionOverlay .cwGuideSurface.cwPresentationView[data-cw-presentation-layout=why]:has(.cwWhyRectangle[data-why-mode=major]) .cwWhyCircleSubtitle{margin:2px 0!important;line-height:1.2!important}
html body #cwAcademyIntroductionOverlay .cwGuideSurface.cwPresentationView[data-cw-presentation-layout=why]:has(.cwWhyRectangle[data-why-mode=major]) .cwWhyLinked{min-height:0!important}
html body #cwAcademyIntroductionOverlay .cwGuideSurface.cwPresentationView[data-cw-presentation-layout=why]:has(.cwWhyRectangle[data-why-mode=major]) .cwWhyScaleReading{padding:5px 8px!important;margin:4px 0!important}
html body #cwAcademyIntroductionOverlay .cwGuideSurface.cwPresentationView[data-cw-presentation-layout=why]:has(.cwWhyRectangle[data-why-mode=major]) .cwWhyStrip>div{min-height:48px!important}
html body #cwAcademyIntroductionOverlay .cwGuideSurface.cwPresentationView[data-cw-presentation-layout=why]:has(.cwWhyRectangle[data-why-mode=major]) .cwWhyChordRow{margin:3px 0 0!important}
html body #cwAcademyIntroductionOverlay .cwGuideSurface.cwPresentationView[data-cw-presentation-layout=why]:has(.cwWhyRectangle[data-why-mode=major]) .cwWhyChordRow>div{padding:4px!important}
html body #cwAcademyIntroductionOverlay .cwGuideSurface.cwPresentationView[data-cw-presentation-layout=why]:has(.cwWhyRectangle[data-why-mode=major]) .cwWhyLegend{margin:2px 0!important}

/* B078KX: restore all-in-view teaching panes; captions retain their own text scroll. */
html body #cwAcademyIntroductionOverlay .cwGuideSurface.cwPresentationView[data-cw-presentation-layout=tonic][data-cw-presentation-layout=tonic]>.cwUnifiedGuideHeader{height:68px!important;min-height:68px!important;max-height:68px!important;padding:6px 10px!important;box-sizing:border-box!important}
html body #cwAcademyIntroductionOverlay .cwGuideSurface.cwPresentationView[data-cw-presentation-layout=tonic][data-cw-presentation-layout=tonic]>.cwUnifiedGuideHeader h1{font-size:clamp(22px,2vw,28px)!important;line-height:1.1!important}
html body #cwAcademyIntroductionOverlay .cwGuideSurface.cwPresentationView[data-cw-presentation-layout=tonic][data-cw-presentation-layout=tonic] .cwRectTutorial{grid-template-rows:auto 26px 26px 48px 64px minmax(0,1fr)!important;gap:4px!important;padding:7px!important}
html body #cwAcademyIntroductionOverlay .cwGuideSurface.cwPresentationView[data-cw-presentation-layout=tonic][data-cw-presentation-layout=tonic] .cwRectCaptionPane{height:64px!important;min-height:64px!important;max-height:64px!important;padding:6px 8px!important}
html body #cwAcademyIntroductionOverlay .cwGuideSurface.cwPresentationView[data-cw-presentation-layout=tonic][data-cw-presentation-layout=tonic] [data-cw-tutorial-panel]:not([hidden]){min-height:0!important;height:100%!important;overflow:visible!important;padding:0!important;scrollbar-gutter:auto!important}
html body #cwAcademyIntroductionOverlay .cwGuideSurface.cwPresentationView[data-cw-presentation-layout=tonic][data-cw-presentation-layout=tonic] :is([data-cw-step-heading],[data-cw-step-instructions]){overflow:visible!important;margin:0!important}
html body #cwAcademyIntroductionOverlay .cwGuideSurface.cwPresentationView[data-cw-presentation-layout=tonic] .cwTonicReading{height:100%;min-height:0;display:grid;grid-template-rows:48px 42px 20px minmax(80px,1fr) 54px 22px;gap:4px;box-sizing:border-box}
html body #cwAcademyIntroductionOverlay .cwGuideSurface.cwPresentationView[data-cw-presentation-layout=tonic] .cwTonicReading :is(.cwTonicReadResult,h4,.cwTonicReadRule){margin:0!important}
html body #cwAcademyIntroductionOverlay .cwGuideSurface.cwPresentationView[data-cw-presentation-layout=tonic] .cwTonicReading .cwTonicGuideKeyboard{width:100%;height:100%;min-height:0;margin:0 auto!important;display:flex;align-items:center;justify-content:center}
html body #cwAcademyIntroductionOverlay .cwGuideSurface.cwPresentationView[data-cw-presentation-layout=tonic] .cwTonicGuideKeyboard svg{height:100%!important;max-height:160px!important;min-height:0;width:100%;object-fit:contain}
html body #cwAcademyIntroductionOverlay .cwGuideSurface.cwPresentationView[data-cw-presentation-layout=tonic] .cwTonicReading :is(.cwTonicKnownValues>div,.cwTonicScaleRow>span){padding:3px!important}
html body .cwTonicCompanionSurface.cwPresentationView [data-cw-tutorial-panel] :is(.cwWholeScaleKeyboard){height:120px!important;max-height:120px!important;margin:4px auto!important}
html body .cwTonicCompanionSurface.cwPresentationView :is(.cwScaleShiftPairs>div,.cwScaleDegreeCard){padding:4px!important;min-height:0!important}
html body .cwTonicCompanionSurface.cwPresentationView .cwScaleShiftPairs{margin:4px 0!important}
html body .cwTonicCompanionSurface.cwPresentationView .cwScaleShiftResult{margin:4px 0!important;padding:6px!important}
html body dialog.cwSideGuide.cwPresentationView{gap:4px!important;padding:8px!important}
html body dialog.cwSideGuide.cwPresentationView>header{position:static!important;min-height:48px!important;padding:5px 7px!important;box-sizing:border-box}
html body dialog.cwSideGuide.cwPresentationView>header h1{font-size:clamp(20px,2vw,27px)!important;line-height:1.15!important}
html body dialog.cwSideGuide.cwPresentationView>nav{margin:3px 0!important}
html body dialog.cwSideGuide.cwPresentationView>h2{font-size:20px!important;margin:3px 0!important;line-height:1.15!important}
html body dialog.cwSideGuide.cwPresentationView>.cwSideTransport{margin:4px 0!important;min-height:42px}
html body dialog.cwSideGuide.cwPresentationView>.cwSideCaptions{height:64px!important;min-height:64px!important;max-height:64px!important;padding:6px 8px!important;box-sizing:border-box}
html body dialog.cwSideGuide.cwPresentationView>[data-side-visual]:not([hidden]),html body dialog.cwSideGuide.cwPresentationView>[data-side-brand]:not([hidden]){overflow:visible!important;scrollbar-gutter:auto!important}
html body dialog.cwSideGuide.cwPresentationView .cwSideReadout{padding:6px 9px!important;margin:3px 0!important;font-size:16px!important}
html body dialog.cwSideGuide.cwPresentationView .cwSideLegend{margin:4px 0!important;font-size:11px!important}
html body dialog.cwSideGuide.cwPresentationView .cwSideOrderNote{padding:3px!important}
html body dialog.cwSideGuide.cwPresentationView .cwSideOrderNote strong{font-size:21px!important}
html body dialog.cwSideGuide.cwPresentationView .cwSideKeyboard{margin:6px auto 3px!important}
html body dialog.cwSideGuide.cwPresentationView .cwSideKeyboard svg{height:150px!important;width:100%!important;object-fit:contain}
@media(max-height:780px){html body dialog.cwSideGuide.cwPresentationView .cwSideKeyboard svg{height:120px!important}html body .cwTonicCompanionSurface.cwPresentationView .cwTonicReading{grid-template-rows:42px 36px 18px minmax(65px,1fr) 46px 20px!important}}

/* B078KY: consistent centred presentation dimensions and separate value/advisor rows. */
html body .cwPresentationView.cwPresentationView{inset:2dvh 2vw!important;width:96vw!important;height:96dvh!important;max-width:96vw!important;margin:0!important;transform:none!important}
html body #cwAcademyIntroductionOverlay .cwGuideSurface.cwPresentationView[data-cw-presentation-layout=tonic] .cwTonicReading{row-gap:8px!important;grid-template-rows:48px 42px 20px minmax(65px,1fr) 54px 22px!important}
html body .cwPresentationView :is([data-side-brand],[data-cw-tutorial-panel],[data-why-diagram],.cwSummaryCanvas):has(.cwRectangleBrandCard){min-height:0!important}
html body .cwPresentationView [data-cw-tutorial-panel]:has(.cwRectangleBrandCard),html body .cwPresentationView [data-side-brand]:not([hidden]),html body .cwPresentationView [data-why-diagram]:has(.cwRectangleBrandCard){display:flex!important;align-items:stretch!important;height:100%!important}
html body .cwPresentationView .cwSummaryCanvas:has(.cwRectangleBrandCard)>.cwSummaryStableScene{height:100%!important}
html body .cwPresentationView .cwRectangleBrandCard{width:100%!important;height:100%!important;min-height:0!important;flex:1;box-sizing:border-box;gap:clamp(8px,1.3dvh,16px)!important;padding:clamp(14px,3dvh,30px)!important}
/* B078KY: do not let intrinsic card heights overlap the fixed tonic/readout rows. */
html body #cwAcademyIntroductionOverlay .cwGuideSurface.cwPresentationView[data-cw-presentation-layout=tonic] .cwTonicKnownValues{min-height:0!important;height:100%!important;align-items:stretch!important}
html body #cwAcademyIntroductionOverlay .cwGuideSurface.cwPresentationView[data-cw-presentation-layout=tonic] .cwTonicKnownValues>div{height:100%!important;min-height:0!important;box-sizing:border-box!important;padding:3px!important;align-content:center!important}
html body #cwAcademyIntroductionOverlay .cwGuideSurface.cwPresentationView[data-cw-presentation-layout=tonic] .cwTonicReadResult{height:100%!important;min-height:0!important;box-sizing:border-box!important;padding:5px 10px!important;align-items:center!important}
html body .cwRectTutorial:is([data-cw-tutorial="2"],[data-cw-tutorial="4"]) .cwNaturalKeyboard{width:min(100%,700px)!important;max-width:700px!important;height:auto!important;aspect-ratio:700/220;margin:0 auto!important}
html body .cwRectTutorial .cwCompleteKeyboard svg{display:block;width:min(100%,700px)!important;height:auto!important;max-width:700px!important;margin:0 auto!important}
html body dialog.cwSideGuide.cwPresentationView,html body .cwRectSummary.cwPresentationView{position:fixed!important;inset:2dvh 2vw!important;left:2vw!important;top:2dvh!important;right:2vw!important;bottom:2dvh!important;width:96vw!important;max-width:96vw!important;height:96dvh!important;max-height:96dvh!important;margin:0!important;transform:none!important;box-sizing:border-box!important}

/* B078LM: RF.01 section 4 gives the whole-scale movement a larger, stable stage.
   Fixed teaching rows reserve the completed formula before it is revealed. */
html body .cwTonicCompanionSurface.cwPresentationView [data-cw-tutorial-panel="3"]:not([hidden]){display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:54px minmax(0,1fr) 82px 24px 76px!important;gap:4px!important;align-content:stretch!important}
html body .cwTonicCompanionSurface.cwPresentationView [data-cw-tutorial-panel="3"]:has(.cwScaleShiftKey):not([hidden]){grid-template-rows:32px 18px minmax(0,1fr) 82px 24px 76px!important}
html body .cwTonicCompanionSurface.cwPresentationView [data-cw-tutorial-panel="3"]>.cwWholeScaleKeyboard{display:block!important;width:min(100%,1100px)!important;height:100%!important;min-height:0!important;max-height:301px!important;align-self:center!important;justify-self:center!important;margin:0!important}
html body .cwTonicCompanionSurface.cwPresentationView [data-cw-tutorial-panel="3"]>:is(.cwScaleTeachingHead,.cwScaleShiftKey,.cwScaleDegreeCards,.cwScaleShiftPairs,.cwMajorStepPattern,.cwScaleSignatureSummary,.cwScaleShiftResult){box-sizing:border-box!important;min-height:0!important;margin:0!important}
html body .cwTonicCompanionSurface.cwPresentationView [data-cw-tutorial-panel="3"]>.cwScaleShiftResult{grid-row:6!important;align-content:center!important;padding:6px!important}
html body .cwTonicCompanionSurface.cwPresentationView [data-cw-tutorial-panel="3"]>.cwScaleShiftPairs>div{padding:3px!important;gap:2px!important}
@media(max-height:760px){html body .cwTonicCompanionSurface.cwPresentationView [data-cw-tutorial-panel="3"]:not([hidden]){grid-template-rows:48px minmax(0,1fr) 70px 20px 64px!important}html body .cwTonicCompanionSurface.cwPresentationView [data-cw-tutorial-panel="3"]:has(.cwScaleShiftKey):not([hidden]){grid-template-rows:28px 16px minmax(0,1fr) 70px 20px 64px!important}}

/* B078LN: larger, proportionally scaled RF.02/03 guide keyboards. */
html body dialog.cwSideGuide.cwPresentationView .cwSideKeyboard{width:min(100%,1400px)!important;max-width:1400px!important;margin:10px auto 4px!important}
html body dialog.cwSideGuide.cwPresentationView .cwSideKeyboard svg{display:block!important;width:100%!important;height:clamp(180px,27dvh,270px)!important;max-height:none!important;object-fit:contain!important;margin:0 auto!important}
@media(max-height:780px){html body dialog.cwSideGuide.cwPresentationView .cwSideKeyboard svg{height:clamp(145px,24dvh,185px)!important}html body dialog.cwSideGuide.cwPresentationView .cwSideKeyboard{margin:7px auto 3px!important}}

/* B078LO: override the older ID-scoped 165px SVG cap in Guide Design.
   Keep the RF.01 section-4 grid and formula reservation from B078LM. */
html body #cwAcademyIntroductionOverlay .cwGuideSurface.cwTonicCompanionSurface.cwPresentationView [data-cw-tutorial-panel="3"]>svg.cwWholeScaleKeyboard{display:block!important;width:min(100%,1250px)!important;max-width:none!important;height:100%!important;min-height:0!important;max-height:342px!important;align-self:center!important;justify-self:center!important;margin:0!important}

/* B078LP: link the spoken shift pair to both original and destination rings. */
html body [data-cw-tutorial-panel="3"] svg circle[data-cw-narration-cue]{outline:none!important;stroke:#f6cf79!important;animation:cwShiftPairRing 1.6s ease-in-out infinite}
html body [data-cw-tutorial-panel="3"] [data-cw-shift-pair][data-cw-narration-cue] :is(b,strong){color:#ffe09b!important}
@keyframes cwShiftPairRing{0%,100%{stroke-width:2.5;stroke-opacity:.75}50%{stroke-width:4;stroke-opacity:1}}
html body [data-cw-narration-state="paused"] [data-cw-tutorial-panel="3"] svg circle[data-cw-narration-cue]{animation-play-state:paused}
@media(prefers-reduced-motion:reduce){html body [data-cw-tutorial-panel="3"] svg circle[data-cw-narration-cue]{animation:none;stroke-width:3}}

/* B078LQ: give the natural-minor movement the same readable scale as RF.01. */
html body :is(#cwAcademyIntroductionOverlay,#minorIntroduction) .cwWhyRectangle[data-why-mode="minor"] .cwMinorMovement>svg.cwWholeScaleKeyboard{display:block!important;width:min(100%,1250px)!important;max-width:none!important;height:clamp(190px,26dvh,270px)!important;max-height:none!important;object-fit:contain!important;margin:5px auto!important}
@media(max-height:780px){html body :is(#cwAcademyIntroductionOverlay,#minorIntroduction) .cwWhyRectangle[data-why-mode="minor"] .cwMinorMovement>svg.cwWholeScaleKeyboard{height:clamp(160px,24dvh,185px)!important}}

/* B078LR: five-stage minor guide and stable black-note formula demonstrations. */
html body .cwWhyRectangle[data-why-mode="minor"] .cwWhyTabs{grid-template-columns:repeat(5,minmax(0,1fr))}
.cwMinorBlackKeys{height:100%;min-height:0;box-sizing:border-box;display:grid;grid-template-rows:28px 76px 20px minmax(0,1fr) 38px 26px;gap:6px}
.cwMinorBlackKeys h4,.cwMinorBlackKeys p{margin:0!important}
.cwMinorBlackSteps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.cwMinorBlackSteps>div{min-width:0;display:flex;flex-direction:column;justify-content:center;gap:5px;padding:7px 10px;background:#192c3c;border:1px solid #73918e;border-radius:7px;box-sizing:border-box}
.cwMinorBlackSteps>div.current{background:#294740;border-color:#c5e2c7}
.cwMinorBlackSteps small{font-size:12px;color:#d6e5e0}.cwMinorBlackSteps strong{font-size:clamp(17px,1.6vw,25px);color:#ffe08a}
.cwMinorBlackLegend,.cwMinorBlackRule{font-size:12px;color:#d6e5e0}
html body :is(#cwAcademyIntroductionOverlay,#minorIntroduction) .cwMinorBlackKeys>svg.cwMinorGuideKeyboard{width:min(100%,1250px)!important;max-width:none!important;height:100%!important;max-height:250px!important;min-height:0!important;display:block!important;justify-self:center;align-self:center;object-fit:contain}
.cwMinorBlackSignature{display:flex;align-items:center;justify-content:center;gap:20px;border:1px solid #82b6a5;border-radius:7px;background:#1b3b3b;font-size:18px;color:#ffe08a}
.cwMinorBlackKeys [data-black-root]>rect{stroke:#a4ebbc!important;stroke-width:3!important}
.cwMinorBlackKeys[data-black-phase="0"] [data-black-root]>rect{animation:cwMinorBlackRing 1.7s ease-in-out infinite}
.cwMinorBlackKeys [data-black-signature]>rect{stroke:#ffe08a!important;stroke-width:3!important;animation:cwMinorBlackRing 1.7s ease-in-out infinite}
@keyframes cwMinorBlackRing{0%,100%{stroke-opacity:.7}50%{stroke-opacity:1}}
[data-state="paused"] .cwMinorBlackKeys rect{animation-play-state:paused!important}
@media(max-height:780px){.cwMinorBlackKeys{grid-template-rows:24px 64px 18px minmax(0,1fr) 32px 24px;gap:4px}.cwMinorBlackSteps strong{font-size:18px}.cwMinorBlackSignature{font-size:16px}}
@media(max-width:800px){html body .cwWhyRectangle[data-why-mode="minor"] .cwWhyTabs{grid-template-columns:repeat(3,minmax(0,1fr))}.cwMinorBlackSteps strong{font-size:15px}.cwMinorBlackRule{font-size:10px}}
@media(prefers-reduced-motion:reduce){.cwMinorBlackKeys rect{animation:none!important}}

/* B078LS: black-note examples reuse the existing three-degree movement stage. */
html body :is(#cwAcademyIntroductionOverlay,#minorIntroduction) .cwBlackMinorMovement{height:100%;min-height:0;display:grid;grid-template-rows:32px 18px minmax(0,1fr) 56px 18px 88px;gap:4px;box-sizing:border-box}
html body .cwBlackMinorMovement>:is(.cwScaleTeachingHead,.cwScaleShiftKey,.cwMinorSignatureCallout,.cwMinorStripLegend,.cwScaleShiftPairs){min-height:0!important;box-sizing:border-box!important;margin:0!important}
html body .cwBlackMinorMovement>.cwScaleShiftResult{display:none!important}
html body :is(#cwAcademyIntroductionOverlay,#minorIntroduction) .cwWhyRectangle[data-why-mode="minor"] .cwBlackMinorMovement>svg.cwWholeScaleKeyboard{height:100%!important;max-height:270px!important;width:min(100%,1250px)!important;min-height:0!important;align-self:center;justify-self:center;margin:0!important}
html body .cwBlackMinorMovement .cwScaleShiftPairs>div{padding:3px!important;gap:2px!important;min-height:0!important}
html body .cwBlackMinorMovement>.cwMinorSignatureCallout{display:flex;align-items:center;flex-wrap:wrap;align-content:center;gap:3px 12px;padding:5px 8px!important;font-size:13px}
html body .cwBlackMinorMovement>.cwMinorSignatureCallout>strong{width:100%;color:#ffe08a}
@media(max-height:780px){html body :is(#cwAcademyIntroductionOverlay,#minorIntroduction) .cwBlackMinorMovement{grid-template-rows:28px 16px minmax(0,1fr) 50px 16px 76px;gap:3px}}

/* B078LU: RF.05 movement scenes use their available height for the instrument.
   Preserve every existing element and its order; compact only vertical spacing. */
html body .cwRectSummary .cwSummaryStableScene[data-scene-family="shift"]{height:100%;min-height:0!important;box-sizing:border-box;display:grid;grid-template-rows:22px 28px 14px 50px minmax(0,1fr) 16px 14px 50px 28px 24px;gap:3px}
html body .cwRectSummary .cwSummaryStableScene[data-scene-family="shift"]>:is(h3,p,.cwSummaryScaleLabel,.cwSummaryScaleRow,.cwSummaryScaleArrows,.cwSummaryWholeShift){min-height:0!important;box-sizing:border-box;margin:0!important}
html body .cwRectSummary .cwSummaryStableScene[data-scene-family="shift"] .cwSummaryRule{padding:3px 10px!important}
html body .cwRectSummary .cwSummaryStableScene[data-scene-family="shift"] .cwSummaryWholeShift{display:grid;grid-template-rows:14px minmax(0,1fr);gap:0}
html body .cwRectSummary .cwSummaryStableScene[data-scene-family="shift"] .cwWholeScaleKeyboard{display:block!important;justify-self:center;align-self:center;width:min(100%,1250px)!important;max-width:none!important;height:100%!important;max-height:342px!important;min-height:0!important;margin:0!important;object-fit:contain}
html body .cwRectSummary .cwSummaryStableScene[data-scene-family="shift"] .cwSummaryScaleRow>span{padding:2px!important}
html body .cwRectSummary .cwSummaryStableScene[data-scene-family="shift"] .cwSummaryScaleRow b{font-size:20px;line-height:22px}
html body .cwRectSummary .cwSummaryStableScene[data-scene-family="shift"] .cwSummaryStatement{padding:3px 10px!important;font-size:12px}
html body .cwRectSummary .cwSummaryStableScene[data-scene-family="shift"]>.cwSummaryFine{font-size:12px;line-height:1.2}
html body .cwRectSummary .cwSummaryStableScene[data-scene-family="movement"]{height:100%;min-height:0!important;box-sizing:border-box;display:grid;grid-template-rows:22px 44px minmax(0,1fr) 120px 78px;gap:4px}
html body .cwRectSummary .cwSummaryStableScene[data-scene-family="movement"]>:is(h3,p,.cwSummaryParallelCompare,.cwSummaryEquationFlow){min-height:0!important;box-sizing:border-box;margin:0!important}
html body .cwRectSummary .cwSummaryStableScene[data-scene-family="movement"] .cwSummaryFixedT{padding:4px 10px!important;gap:2px}
html body .cwRectSummary .cwSummaryStableScene[data-scene-family="movement"]>svg.cwSummaryMinorKeyboard{display:block!important;width:min(100%,1000px)!important;max-width:none!important;height:100%!important;min-height:0!important;max-height:380px!important;justify-self:center;align-self:center;margin:0!important;object-fit:contain}
html body .cwRectSummary .cwSummaryStableScene[data-scene-family="movement"] .cwSummaryParallelCompare{display:grid;grid-template-rows:44px 28px 44px;gap:2px}
html body .cwRectSummary .cwSummaryStableScene[data-scene-family="movement"][data-scene-phase="2"] .cwSummaryParallelCompare{grid-template-rows:44px 44px;align-content:center}
html body .cwRectSummary .cwSummaryStableScene[data-scene-family="movement"] .cwSummaryParallelScale>b{font-size:11px;line-height:12px}
html body .cwRectSummary .cwSummaryStableScene[data-scene-family="movement"] .cwSummaryDegreeRow{margin:0!important;gap:4px}
html body .cwRectSummary .cwSummaryStableScene[data-scene-family="movement"] .cwSummaryDegreeRow>span{padding:1px 3px!important}
html body .cwRectSummary .cwSummaryStableScene[data-scene-family="movement"] .cwSummaryDownArrows{margin:0!important}.cwRectSummary .cwSummaryStableScene[data-scene-family="movement"] .cwSummaryDownArrows b{font-size:18px;line-height:16px}.cwRectSummary .cwSummaryStableScene[data-scene-family="movement"] .cwSummaryDownArrows small{font-size:10px;line-height:11px}
html body .cwRectSummary .cwSummaryStableScene[data-scene-family="movement"] .cwSummaryArrowSpace{height:28px;margin:0!important}
html body .cwRectSummary .cwSummaryStableScene[data-scene-family="movement"] .cwSummaryEquationFlow article{padding:4px 7px;min-height:0!important}.cwRectSummary .cwSummaryStableScene[data-scene-family="movement"] .cwSummaryEquationFlow article strong{font-size:18px}
/* Fit existing labels within the compact rows without removing any detail. */
html body .cwRectSummary .cwSummaryStableScene:is([data-scene-family="shift"],[data-scene-family="movement"])>h3{font-size:17px!important;line-height:22px!important}
html body .cwRectSummary .cwSummaryStableScene[data-scene-family="shift"] .cwSummaryScaleLabel{font-size:11px;line-height:14px}
html body .cwRectSummary .cwSummaryStableScene[data-scene-family="shift"] .cwSummaryScaleRow :is(small,em){font-size:11px;line-height:11px}
html body .cwRectSummary .cwSummaryStableScene[data-scene-family="shift"] .cwSummaryRule{font-size:16px;line-height:20px}
html body .cwRectSummary .cwSummaryStableScene[data-scene-family="movement"] .cwSummaryFixedT b{font-size:16px;line-height:18px}
html body .cwRectSummary .cwSummaryStableScene[data-scene-family="movement"] .cwSummaryFixedT span{font-size:12px;line-height:16px}
html body .cwRectSummary .cwSummaryStableScene[data-scene-family="movement"] .cwSummaryDegreeRow small{font-size:10px;line-height:11px}
html body .cwRectSummary .cwSummaryStableScene[data-scene-family="movement"] .cwSummaryDegreeRow b{font-size:14px;line-height:16px}

/* B078LV: contain the minor strips and keep their advisor in a compact row. */
html body .cwRectSummary .cwSummaryStableScene[data-scene-family="movement"] .cwSummaryParallelScale{display:grid;grid-template-rows:12px 32px;min-height:0;gap:0}
html body .cwRectSummary .cwSummaryStableScene[data-scene-family="movement"] .cwSummaryParallelScale>b{display:block;line-height:12px!important;margin:0!important}
html body .cwRectSummary .cwSummaryStableScene[data-scene-family="movement"] .cwSummaryDegreeRow{height:32px;min-height:0;box-sizing:border-box}
html body .cwRectSummary .cwSummaryStableScene[data-scene-family="movement"] .cwSummaryDegreeRow>span{height:32px;min-height:0;box-sizing:border-box;display:flex;flex-direction:column;justify-content:center;padding:1px 3px!important}
html body .cwRectSummary .cwSummaryStableScene[data-scene-family="movement"]>.cwSummaryStatement{align-self:start;height:auto!important;min-height:0!important;max-height:none!important;padding:5px 10px!important;line-height:18px!important;font-size:13px;margin:6px 0 0!important;box-sizing:border-box}
