.style-dock{position:fixed;z-index:961;right:max(20px,env(safe-area-inset-right));bottom:calc(var(--timeline-height,110px) + 34px + env(safe-area-inset-bottom));display:flex;flex-direction:column;align-items:stretch;gap:12px;width:202px;pointer-events:none;--dock-height:156px;font:400 13px/1.4 Selecta,Arial,sans-serif;color:#273039}
body .editor .style-dock>aside{position:static;inset:auto;pointer-events:none;font:inherit}
.style-dock .loading-studio{order:0}.style-dock .widget-studio{order:1}.style-dock .button-studio{order:2}
.style-dock .bts-trigger{width:100%;height:44px;margin:0;font:inherit;white-space:nowrap}
.style-dock .bts-plus{margin-left:auto}
body .editor .style-dock .bts-panel{position:absolute;inset:auto 0 calc(100% + 12px) auto;margin:0;width:340px;max-width:calc(100vw - 32px);max-height:calc(100dvh - var(--timeline-height,110px) - var(--dock-height) - 62px - env(safe-area-inset-bottom));transform-origin:bottom right;transition:opacity 180ms var(--ease-out),transform 220ms var(--ease-out),visibility 220ms}
.style-dock aside.is-open .bts-panel{opacity:1;visibility:visible;transform:none}
.style-dock aside.is-open .bts-plus{transform:rotate(45deg)}
body .editor .style-dock aside[data-instant=true] .bts-panel{transition:none}
.loading-options{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:0 20px 16px;border:0;margin:0;min-width:0;overflow:auto}
.loading-choice{display:flex;align-items:center;gap:8px;min-height:44px;padding:0 10px;border:1px solid #e4e4e4;border-radius:12px;font-size:13px;cursor:pointer;background:#ffffff80;color:#52575b}
.loading-choice:has(input:checked){border-color:#282828;color:#171717;background:#f1f1f1}
.loading-choice input{accent-color:#222;margin:0;width:14px;height:14px;flex:none}
.loading-studio .bts-footer{grid-template-columns:1fr 1fr;background:#f6f7f8}
.loading-studio .bts-footer button{width:100%;font:inherit;cursor:pointer}
.loading-studio :is(button,input):focus-visible{outline:2px solid #547e9d;outline-offset:3px}
@media(max-width:600px){.style-dock{right:16px;width:190px;font-size:12px;gap:12px}}
@media(prefers-reduced-motion:reduce){body .editor .style-dock .bts-panel,.style-dock .bts-plus{transition:none}}
@media(forced-colors:active){.loading-choice:has(input:checked){outline:2px solid Highlight}}

.loading-body .loading-options{padding:0 0 18px;overflow:visible}
.loading-fields{border-top:1px solid #e1e4e6;padding-top:16px}
.loading-fields .bts-control{margin-bottom:16px}
.loading-fields .bts-control:last-child{margin-bottom:0}
.loading-fields .bts-control:nth-child(5){border-top:1px solid #e1e4e6;padding-top:16px}
.loading-edge-fields{border:0;border-top:1px solid #e1e4e6;min-width:0;margin:20px 0 0;padding:16px 0 0}
.loading-edge-fields legend{padding:0 8px 0 0;font-size:12px;font-weight:500;color:#69757d}
.loading-edge-fields .bts-control{margin-bottom:16px}
.loading-edge-fields .bts-control:last-child{margin-bottom:0}
.loading-studio .bts-control input{height:32px;touch-action:pan-y}
.loading-studio .bts-caption output{color:#69757d}
.loading-studio .bts-control input::-webkit-slider-runnable-track{background:linear-gradient(to right,#657983 var(--fill),#dfe6ea var(--fill))}
.loading-studio .bts-footer button{min-height:40px;font-size:12px;color:#34434c}
/* Keep the style controls below the devices when the canvas is narrow. */
@media(max-width:700px){
 .style-dock{left:16px;right:16px;bottom:calc(var(--timeline-height,110px) + 20px + env(safe-area-inset-bottom));width:auto;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;--dock-height:44px}
 .style-dock .bts-trigger{padding:0 11px;font-size:11px;gap:6px}
 .style-dock .bts-gem{display:none}
 .style-dock .bts-plus{font-size:17px}
}
