/* Fixed-size screen controls follow the selected material, outside .vw-world. */
.vw-root .vw-inspector.vw-follow-editor{position:absolute;left:0;top:0;right:auto!important;bottom:auto!important;transform:none!important;width:660px;max-width:calc(100% - 16px);min-width:0;max-height:calc(100% - 124px);padding:14px 16px;border:1px solid var(--vw-border);border-radius:13px;box-shadow:0 7px 24px #0003;overflow:auto;z-index:17;will-change:left,top}
.vw-root .vw-node-tools.vw-follow-toolbar{position:absolute;left:0;top:0;right:auto;bottom:auto;transform:none;width:max-content;min-width:0;max-width:calc(100% - 16px);height:48px;padding:6px 8px;gap:4px;flex-wrap:nowrap;border:1px solid var(--vw-border);border-radius:10px;overflow-x:auto;overflow-y:hidden;scrollbar-width:thin;z-index:19;will-change:left,top}
.vw-follow-toolbar>button{height:34px;flex:none;padding:0 10px!important;font-size:12px!important;white-space:nowrap}
.vw-follow-toolbar>i{height:22px;width:1px;background:var(--vw-border);flex:none;margin:0 4px}
.vw-node-floating-title{position:absolute;z-index:16;display:flex;align-items:center;justify-content:space-between;gap:12px;height:20px;max-width:calc(100% - 16px);color:var(--vw-muted);font-size:12px;line-height:20px;cursor:grab;white-space:nowrap;touch-action:none}
.vw-root .vw-media-replace{position:absolute;z-index:18;display:flex;align-items:center;gap:5px;height:26px;min-width:68px;padding:0 8px;border:1px solid #ffffff22;border-radius:7px;background:#202020c9;color:#eee;box-shadow:0 2px 8px #0002;font-size:11px;backdrop-filter:blur(8px)}
.vw-root .vw-media-replace:hover{background:#303030e8}
.vw-node-floating-title .vw-floating-name{display:flex;align-items:center;gap:6px;min-width:0;overflow:hidden;text-overflow:ellipsis}
.vw-node-floating-title .vw-floating-meta{flex:none;font-size:11px;color:var(--vw-muted)}
.vw-node.selected.vw-has-floating-title>.vw-node-head{visibility:hidden}
.vw-follow-editor .vw-inspector-top{margin:0 0 8px;gap:8px}
.vw-follow-editor .vw-node-heading{min-width:0;flex:1}
.vw-follow-editor .vw-inspector-top input{width:100%;max-width:100%;padding:0;font-size:12px}
.vw-follow-editor .vw-inspector-top>div:last-child{display:flex;align-items:center;gap:3px}
.vw-follow-editor .vw-prompt-toolbar{display:flex;gap:6px;margin:0 0 8px}
.vw-follow-editor .vw-prompt-toolbar>button{height:28px;padding:0 8px;font-size:12px}
.vw-follow-editor textarea{resize:vertical;min-height:90px;max-height:220px;padding:4px 0 12px;font-size:14px;line-height:1.7}
.vw-follow-editor .vw-inspector-row{gap:7px;flex-wrap:wrap;margin-top:4px}
.vw-follow-editor .vw-node-model-button{display:flex;align-items:center;gap:7px;max-width:240px;height:32px;padding:0 10px;background:var(--vw-soft,var(--workspace-soft));border:1px solid var(--vw-border);border-radius:7px;color:var(--vw-text);font-size:12px}
.vw-node-model-button>span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.vw-follow-editor .vw-params-button{height:32px;max-width:100%;overflow:hidden;text-overflow:ellipsis}
.vw-follow-editor .vw-run{height:34px;width:34px;border-radius:50%}
.vw-follow-editor .vw-validation{font-size:10px;padding-top:8px;color:var(--vw-muted)}
.vw-follow-editor .vw-ref-strip:empty{display:none}
.vw-follow-editor .vw-ref-strip{margin:2px 0 10px;min-height:0}
.vw-follow-editor[data-node-type="text"] .vw-prompt-toolbar,.vw-follow-editor[data-node-type="script"] .vw-prompt-toolbar{border-bottom:1px solid var(--vw-border);padding-bottom:8px}
.vw-follow-editor .vw-text-mode-label{font-size:12px;color:var(--vw-muted);margin-right:auto}
.vw-text-empty{align-items:flex-start!important;justify-content:center!important;padding:22px;gap:14px!important}
.vw-text-empty>p{font-size:15px;line-height:1.6;color:var(--vw-muted);margin:0 0 7px}
.vw-text-empty>button{height:30px;padding:0 4px!important;justify-content:flex-start!important;gap:8px;font-size:13px;color:var(--vw-muted)}
.vw-root .vw-popover.vw-node-popover{right:auto!important;bottom:auto!important;transform:none!important;max-width:calc(100% - 16px);max-height:calc(100% - 124px);z-index:25}
.vw-node-popover .vw-model-option{width:100%;padding:10px!important}
.vw-node-popover .vw-model-option>span{display:flex;justify-content:space-between;width:100%;gap:10px}
@container workflow (max-width:700px){.vw-root .vw-inspector.vw-follow-editor{padding:12px;max-height:calc(100% - 160px)}.vw-follow-editor .vw-node-model-button{max-width:180px}.vw-follow-editor .vw-inspector-top{flex-wrap:nowrap}.vw-follow-editor .vw-inspector-row{gap:5px}.vw-follow-editor textarea{min-height:76px;font-size:13px}.vw-follow-editor .vw-validation{line-height:1.6}.vw-node-floating-title .vw-floating-meta{font-size:10px}}
