/* Class-only preferred frame: retain the reviewed width-limited placement.
   Shared panel-workspace now owns column scrolling and full-frame item bounds. */
.class-supplies #builder .supplies-preferred-frame{position:absolute;inset:0;pointer-events:none;visibility:hidden}
@media(min-width:740px){
 .class-supplies #builder .supplies-preferred-frame{height:min(100%,max(240px,calc(100% - var(--builder-output-height,140px) - 8px),100cqw));bottom:auto}
}
@media(min-width:740px) and (max-height:700px){
 .class-supplies #builder .supplies-preferred-frame{height:min(100%,max(240px,calc(100% - var(--builder-output-height,140px) - 6px),100cqw))}
}
@media(min-width:740px) and (max-width:840px){
 .class-supplies #builder .supplies-preferred-frame{height:min(100%,max(354px,calc(100% - var(--builder-output-height,140px) - 8px),100cqw))}
}
@media(min-width:740px) and (max-width:840px) and (max-height:700px){
 .class-supplies #builder .supplies-preferred-frame{height:min(100%,max(354px,calc(100% - var(--builder-output-height,140px) - 6px),100cqw))}
}
/* Class-only difficulty prototype: wrapping controls, no extra heading footprint. */
.class-supplies #builder .color-heading-row{grid-column:1/-1;display:flex;align-items:center;flex-wrap:wrap;gap:6px;min-width:0}
.class-supplies #builder .color-heading-row .color-heading{margin:0;flex:0 0 auto}
.class-supplies #builder .difficulty-controls{display:flex;align-items:center;gap:6px;margin-left:auto;flex-shrink:0}
/* Its own flex column reserves text clearance. Sticky is bounded by the sentence,
   and follows the existing outer column scroll rather than adding a scroll area. */
.class-supplies #builder .order{align-items:flex-start}
.class-supplies #builder .order .pronunciation-speaker{align-self:flex-start;position:sticky;top:8px;min-width:44px;min-height:44px;flex:0 0 44px;z-index:1}
