
dialog.cwSideGuide{box-sizing:border-box;width:min(1120px,96vw);max-height:94dvh;overflow:auto;background:#1c2a36!important;color:#edf4fb!important;border:1px solid #728797;border-radius:12px;padding:16px;font:14px/1.45 Arial,sans-serif}dialog.cwSideGuide::backdrop{background:#04080dc9}dialog.cwSideGuide header{position:sticky;top:-16px;z-index:2;display:flex;justify-content:space-between;align-items:center;gap:10px;padding:10px 0;background:#101722;border-bottom:1px solid #597184}dialog.cwSideGuide h1{font-size:25px!important;margin:0!important}dialog.cwSideGuide h2{font-size:21px;margin:10px 0}dialog.cwSideGuide button{background:#172536!important;color:#edf4fb!important;border:1px solid #73889c!important;border-radius:6px!important;padding:8px 12px!important;font:700 12px Arial,sans-serif!important;cursor:pointer}dialog.cwSideGuide button:disabled{opacity:.45}dialog.cwSideGuide nav{display:flex;gap:5px;margin:12px 0;flex-wrap:wrap}dialog.cwSideGuide nav button{flex:1}dialog.cwSideGuide button[aria-current="step"]{background:#365b55!important;border-color:#b5e0d3!important}.cwSideTonics{display:flex;gap:5px}.cwSideTonics>span{display:flex;flex:1;flex-direction:column;align-items:center;border:1px solid #6c8195;border-radius:6px;padding:4px}.cwSideTonics>span[aria-current]{background:#365b55;outline:2px solid #b5e0d3}.cwSideTonics small{color:#ffe08a}.cwSideTransport{display:flex;align-items:center;gap:7px;margin:15px 0 8px;flex-wrap:wrap}.cwSideTransport select{background:#142131;color:#fff;padding:7px;border:1px solid #728797;border-radius:5px}.cwSideTimeline{flex:1;min-width:220px}.cwSideTimeline input{width:100%;accent-color:#b5e0d3}.cwSideTimeline small{display:block}.cwSideCaptions{border:1px solid #71879a;background:#142132;border-radius:8px;padding:8px;min-height:88px}.cwSideCaptions b{color:#b5e0d3}.cwSideCaptions p{max-width:none!important;width:auto!important;margin:4px 0!important}.cwSideReadout{display:flex;justify-content:space-between;padding:10px;margin-top:8px;background:#182739;border-radius:6px;font-size:17px}.cwSideOrder{display:flex;gap:5px}.cwSideOrderNote{flex:1;display:flex;flex-direction:column;align-items:center;border:1px solid #607386;background:#182637;border-radius:7px;padding:5px;opacity:.5}.cwSideOrderNote strong{font-size:23px}.cwSideOrderNote.active{background:#304c68;opacity:1;border-color:#8fb8d9}.cwSideOrderNote.newest{background:#514b2f;outline:2px solid #ffe08a;color:#ffe08a}.cwSideOrderNote.removed{outline:2px dashed #efa7a7;opacity:1}.cwSideOrderNote span{font-size:11px}.cwSideKeyboard{max-width:920px;margin:16px auto 5px}.cwSideKeyboard svg{width:100%;display:block}.cwSideLegend{font-size:12px;color:#c5d5e5;margin:8px 0}dialog.cwSideGuide details{border-top:1px solid #597184;padding-top:8px}dialog.cwSideGuide [hidden]{display:none!important}@media(max-width:700px){dialog.cwSideGuide h1{font-size:18px!important}.cwSideOrderNote span{font-size:9px}.cwSideReadout{font-size:14px}}

.cwSideOrderNote em{font-style:normal;font-size:10px;line-height:1.3;color:#d7e4f1;white-space:nowrap}.cwSideOrderNote.newest em{color:#ffe08a}

/* B078IV: pulse the outline only; accidental fills retain their meaning. */
.cwSideKeyboard [data-tonic="true"]>rect:first-child{stroke:#75b5ff!important;stroke-width:4;animation:cwSideTonicPulse 1.7s ease-in-out infinite}
@keyframes cwSideTonicPulse{0%,100%{stroke-width:3;stroke-opacity:.65}50%{stroke-width:5;stroke-opacity:1}}
.cwSideTonicBadge{pointer-events:none}
@media(prefers-reduced-motion:reduce){.cwSideKeyboard [data-tonic="true"]>rect:first-child{animation:none!important;stroke-opacity:1;stroke-width:4}}
/* B078JG: descriptive guide names wrap within the existing header. */
html body dialog.cwSideGuide header{flex-wrap:wrap;align-items:center}html body dialog.cwSideGuide header h1{font-size:clamp(22px,2.6vw,32px)!important;line-height:1.15!important;flex:1 1 460px;min-width:0;overflow-wrap:normal}html body dialog.cwSideGuide header>div{display:flex;gap:5px;flex:0 0 auto}

/* Shared Rectangle timeline: same numbered starts and intermediate ticks as RF.01. */
html body .cwRectangleTimelineMarkers{position:relative!important;display:block!important;height:18px!important;min-height:18px!important;margin:2px 7px!important;padding:0!important}
html body .cwRectangleTimelineMarkers>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;cursor:pointer}
html body .cwRectangleTimelineMarkers>button:not([data-timeline-chapter])::after{content:"";display:block;width:4px;height:7px;margin:auto;background:#a0b5ca;border-radius:2px}
html body .cwRectangleTimelineMarkers>button[data-timeline-chapter]{color:#b7efe0!important;font-weight:800!important}
html body .cwRectangleTimelineMarkers>button[aria-current]::after,html body .cwRectangleTimelineMarkers>button:hover::after{background:#c4f6e8}
html body .cwRectangleTimelineMarkers>button:focus-visible{outline:2px solid #b7efe0!important;outline-offset:1px}
html body .cwSideTimeline>[data-side-time]{display:block;line-height:1.3;margin-top:2px}
html body .cwSummaryTransport>div:has(>.cwRectangleTimelineMarkers)>input[type=range],html body .cwSideTimeline:has(>.cwRectangleTimelineMarkers)>input[type=range]{appearance:none!important;width:100%!important;height:7px!important;margin:0!important;padding:0!important;border:0!important;background:#53687e!important;border-radius:8px!important;cursor:pointer;accent-color:#b7efe0}
html body .cwSummaryTransport input[data-side-scrub]::-webkit-slider-thumb,html body .cwSideTimeline input[data-side-scrub]::-webkit-slider-thumb{appearance:none;width:14px;height:14px;background:#b7efe0;border:1px solid #13283c;border-radius:50%}
html body .cwSummaryTransport input[data-side-scrub]::-moz-range-thumb,html body .cwSideTimeline input[data-side-scrub]::-moz-range-thumb{width:14px;height:14px;background:#b7efe0;border:1px solid #13283c;border-radius:50%}
