.frame{gap:var(--dt-space-3);grid-template-columns:minmax(0,1fr);display:grid}.frame-top{gap:var(--dt-space-2);flex-wrap:wrap;align-items:stretch;display:flex}.frame-scenes{min-width:0;margin:calc(-1 * var(--dt-space-1));padding:var(--dt-space-1);flex:auto;overflow:auto hidden}@media (width<=899px){.frame-scenes>*{flex-wrap:nowrap}.frame-scenes>*>*{flex:none}.frame-stage:has(.frame-views) .frame-legend{top:calc(2 * var(--dt-space-2) + var(--dt-control-min))}}.frame-stage{border-radius:var(--dt-radius-lg);background:var(--dt-color-stage-bg);min-height:55vh;color:var(--dt-color-stage-text);position:relative;overflow:hidden}.frame-legend{top:var(--dt-space-2);left:var(--dt-space-2);pointer-events:none;z-index:1;max-width:45%;position:absolute}.frame-views{top:var(--dt-space-2);right:var(--dt-space-2);z-index:1;position:absolute}.frame-panel{gap:var(--dt-space-2);flex-direction:column;min-width:0;display:flex}.frame-panel-body,.frame-readout,.frame-controls{gap:var(--dt-space-3);flex-direction:column;display:flex}.frame-fold{display:none}@media (width>=900px){.frame{grid-template-columns:minmax(0,1fr);grid-template-areas:"stage"}.frame.has-top{grid-template-areas:"top""stage"}.frame.has-panel{grid-template-columns:minmax(0, 1fr) var(--dt-panel-width);grid-template-areas:"stage panel"}.frame.has-panel.has-top{grid-template-rows:auto 1fr;grid-template-areas:"top panel""stage panel"}.frame.has-panel.is-folded{grid-template-columns:minmax(0,1fr) auto}.frame-top{grid-area:top}.frame-stage{grid-area:stage;min-height:min(70vh,40rem)}.frame-panel{grid-area:panel}.frame-fold{min-width:var(--dt-control-min);align-self:flex-end;display:block}}.frame.is-projecting{grid-template:"top""stage"minmax(0,1fr)/minmax(0,1fr);height:100%}.frame.is-projecting.has-panel{grid-template-columns:minmax(0, 1fr) var(--dt-panel-width);grid-template-areas:"top top""stage panel"}.frame.is-projecting.has-panel.is-folded{grid-template-columns:minmax(0,1fr);grid-template-areas:"top""stage"}.frame.is-projecting .frame-top{flex-wrap:nowrap;grid-area:top}.frame.is-projecting .frame-scenes>*{flex-wrap:nowrap;width:100%;display:flex}.frame.is-projecting .frame-scenes>*>*{flex:1 1 0;min-width:0}.frame.is-projecting .frame-stage{grid-area:stage;min-height:0}.frame.is-projecting .frame-panel{grid-area:panel;overflow-y:auto}.frame.is-projecting .ui-datalist dd small{margin-left:var(--dt-space-1);display:inline}.frame.is-projecting .ui-datalist>div{padding-block:var(--dt-space-1);flex-wrap:nowrap}.frame.is-projecting .ui-datalist dd{white-space:nowrap}.frame.is-projecting .ui-group{padding-block:var(--dt-space-2);gap:var(--dt-space-1)}.frame.is-projecting details.ui-group::details-content{gap:var(--dt-space-1)}.frame.is-projecting .frame-panel,.frame.is-projecting .frame-panel-body,.frame.is-projecting .frame-readout,.frame.is-projecting .frame-controls{gap:var(--dt-space-2)}.frame.is-projecting .ui-datalist dt{white-space:nowrap}.frame.is-projecting.is-folded .frame-panel{display:none}.frame-projection-actions{gap:var(--dt-space-2);flex:none;margin-left:auto;display:flex}@media (width<=899px){.frame.is-projecting,.frame.is-projecting.has-panel.is-folded{grid-template:"top""stage"minmax(0,1fr)/minmax(0,1fr)}.frame.is-projecting.has-panel{grid-template:"top""stage"minmax(0,1fr)"panel"/minmax(0,1fr)}.frame.is-projecting .frame-top{min-width:0}.frame.is-projecting .frame-scenes>*>*{flex:none}.frame.is-projecting .frame-panel{max-height:35vh}.frame.is-projecting .frame-legend{top:auto;bottom:var(--dt-space-2);max-width:calc(100% - 2 * var(--dt-space-2))}.frame.is-projecting.has-panel:not(.is-folded) .frame-legend{display:none}.frame.is-projecting .ui-datalist>div{flex-wrap:wrap}.frame.is-projecting .ui-datalist dt,.frame.is-projecting .ui-datalist dd{white-space:normal}}@media (width<=899px) and (orientation:portrait){.frame.is-projecting .frame-top{flex-direction:column}.frame.is-projecting .frame-projection-actions{order:-1;margin-left:0}.frame.is-projecting .frame-projection-actions>*{flex:1 1 0}}
