/* RC3.2.9: Exit multi-selection / overlay visibility when Properties is open. */
#sw328DoneProperties[hidden]{display:none!important}
.sw328-done-properties{display:block;width:100%;min-height:44px;margin:5px 0 12px;padding:9px 12px;
 border:1px solid #a9c7fa;border-radius:9px;background:#e8f1ff;color:#174d9b;
 font:700 14px Inter,Arial,sans-serif;cursor:pointer;touch-action:manipulation}
.sw328-done-properties:active{background:#d9eafd}
.sw328-done-properties:focus-visible{outline:3px solid #93c5fd;outline-offset:2px}
/* A sidebar/modal owns the screen while open: don't draw viewport-fixed grips over it. */
body:has(#settingsSidebar.open) #sw326MultiBox,body:has(#templateSidebar.open) #sw326MultiBox,
body:has(dialog[open]) #sw326MultiBox,
body:has(#settingsSidebar.open) #sw327AspectToggle,body:has(#templateSidebar.open) #sw327AspectToggle,
body:has(dialog[open]) #sw327AspectToggle{display:none!important}
/* Keep a single selection Done available alongside Resize in phone mode. */
@media(max-width:700px){
 body.sw63-ready.sw322-resize .sw632-mobile-actions.has-selection #sw326NavSelectActive{display:flex!important}
 body.sw63-ready.sw322-resize .sw632-mobile-actions.has-selection #sw326NavSelectIdle{display:none!important}
 body.sw63-ready .sw632-mobile-actions .sw326-select-toggle.sw326-active-select{background:#e8f1ff;color:#164aa1}
}
@media print{#sw328DoneProperties{display:none!important}}
