.embroidery-method-note{display:flex;align-items:center;gap:8px;padding:8px 12px;background:var(--surface,#1b242c);border-bottom:1px solid #ffffff15;font-size:12px;line-height:1.35;flex:none}
.embroidery-method-note strong{white-space:nowrap;color:#19d0df}.embroidery-method-note span{color:#aebcc3}
.tool-method-state{display:block;font-size:9px;line-height:12px;letter-spacing:0;color:#9aafb8;white-space:nowrap}.tool-method-current .tool-method-state{color:#19d0df}
.preview-zoom-tools{display:none}
.selection-toolbar{max-width:calc(100% - 16px);box-sizing:border-box}
#selection-delete{color:#ffb1aa}#selection-duplicate,#selection-delete{white-space:nowrap;flex-shrink:0}
.bleed-warning{position:absolute!important;top:12px!important;left:50%!important;right:auto!important;bottom:auto!important;transform:translateX(-50%);max-width:calc(100% - 24px);box-sizing:border-box;white-space:normal;z-index:8;pointer-events:none}
@media(max-width:700px),(max-height:500px) and (pointer:coarse){
 .embroidery-method-note{font-size:11px;padding:3px 10px;gap:6px;min-height:28px;box-sizing:border-box}
 .embroidery-method-note strong{white-space:nowrap;flex-shrink:0}
 .embroidery-method-note>span:not(.info-tip){min-width:0;flex:1;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}
 .embroidery-method-note .info-tip{flex:0 0 auto}
 #sidebar>.embroidery-method-note{grid-row:auto}
 .mobile-template-list{min-height:0;overflow:auto;overscroll-behavior:contain}
 body.mobile-template-editing .mobile-template-list{display:none!important}
 body.mobile-template-editing #template-dialog:not([open]){display:none!important}
 body.mobile-template-editing #template-dialog[open]{position:static!important;inset:auto!important;margin:0!important;width:100%!important;max-width:none!important;max-height:none!important;height:100%!important;border:0!important;border-radius:0!important;padding:0!important;box-shadow:none!important;box-sizing:border-box;min-height:0;flex:1}
 body.mobile-template-editing #template-dialog::backdrop{display:none}
 body.mobile-template-editing .template-dialog-content{padding:10px 12px!important}
 body.mobile-template-editing #template-dialog h2{font-size:18px;margin:2px 0 12px}
 body.mobile-template-editing #template-dialog .eyebrow,body.mobile-template-editing #template-preview-stage,body.mobile-template-editing #template-dialog .preview-caption{display:none!important}
 body.mobile-template-editing #template-dialog .dialog-close{width:36px;height:36px;min-width:36px;min-height:36px;top:0;right:0}
 body.mobile-template-editing #template-help{margin:4px 0 12px;font-size:11px}
 body.mobile-split-open .preview-zoom-tools{display:flex;position:absolute;right:8px;bottom:8px;align-items:center;gap:2px;z-index:12;border:1px solid #ffffff30;border-radius:9px;background:#121c24ed;padding:2px}
 .preview-zoom-tools button{height:36px;min-height:36px;min-width:36px;padding:0 8px;border:0;border-radius:6px;color:#eaf8fa;background:transparent;font-size:17px;touch-action:manipulation}
 .preview-zoom-tools button:nth-child(2){font-size:11px;min-width:54px}
 body.mobile-split-open #selection-toolbar,body.mobile-split-open #selection-colors-panel{display:none!important}
 .selection-toolbar{left:8px!important;right:8px!important;bottom:8px!important;transform:none!important;top:auto!important;width:auto;overflow-x:auto;flex-wrap:nowrap!important;gap:4px;padding:6px}
 #selection-toolbar-name,#selection-angle,#selection-angle+span,#selection-rotate-left{display:none!important}
 .selection-toolbar button{min-width:40px;min-height:40px;padding:5px 9px;flex-shrink:0}
 body.mobile-split-open #tool-text .mobile-confirm-bar:has(#update-text:not([hidden])) #add-text{display:none!important}
 body.mobile-split-open #design .bleed-warning:not([hidden]){display:block!important;top:6px!important;font-size:10px;padding:4px 7px;max-width:calc(100% - 16px)}
}
