.pp-form-rich-data { display:none !important; }
.pp-form-rich-richtext { border:1px solid #ccc; border-radius:4px; overflow:hidden; }
.pp-form-rich-richtext .xui-rt-toolbar { display:flex; gap:2px; padding:4px 6px; background:#f5f5f5; border-bottom:1px solid #ddd; flex-wrap:wrap; }
.pp-form-rich-richtext .xui-rt-toolbar button { background:none; border:1px solid transparent; padding:4px 8px; cursor:pointer; border-radius:3px; font-size:13px; }
.pp-form-rich-richtext .xui-rt-toolbar button:hover { background:#e0e0e0; }
.pp-form-rich-richtext .xui-rt-toolbar .xui-rt-sep { width:1px; background:#ccc; margin:2px 4px; }
.pp-form-rich-richtext .xui-rt-body { min-height:120px; padding:8px 12px; outline:none; overflow-y:auto; }
.pp-form-rich-code { border:1px solid #ccc; border-radius:4px; font-family:'Fira Code',monospace; font-size:13px; display:flex; overflow:hidden; }
.pp-form-rich-code .xui-code-lines { padding:8px 6px; background:#f0f0f0; color:#888; text-align:right; user-select:none; border-right:1px solid #ddd; min-width:36px; line-height:1.5; }
.pp-form-rich-code .xui-code-area { flex:1; padding:8px; outline:none; white-space:pre; overflow:auto; tab-size:2; line-height:1.5; resize:vertical; border:none; font-family:inherit; font-size:inherit; }
.pp-form-rich-markdown { display:flex; border:1px solid #ccc; border-radius:4px; overflow:hidden; min-height:200px; }
.pp-form-rich-markdown .xui-md-edit { flex:1; border:none; padding:10px; font-family:monospace; font-size:13px; resize:none; outline:none; border-right:1px solid #ddd; }
.pp-form-rich-markdown .xui-md-preview { flex:1; padding:10px; overflow-y:auto; font-size:14px; line-height:1.6; }
.pp-form-rich-markdown .xui-md-preview h1 { font-size:1.5em; margin:0.3em 0; }
.pp-form-rich-markdown .xui-md-preview h2 { font-size:1.3em; margin:0.3em 0; }
.pp-form-rich-markdown .xui-md-preview code { background:#f0f0f0; padding:1px 4px; border-radius:3px; font-size:0.9em; }
.pp-form-rich-markdown .xui-md-preview pre { background:#f5f5f5; padding:8px; border-radius:4px; overflow-x:auto; }
.pp-form-rich-markdown .xui-md-preview blockquote { border-left:3px solid #ccc; padding-left:10px; color:#666; margin:0.5em 0; }
.pp-form-rich-workflow { border:1px solid #ccc; border-radius:4px; overflow:hidden; }
.pp-form-rich-workflow .xui-wf-toolbar { display:flex; gap:6px; padding:6px 8px; background:#f5f5f5; border-bottom:1px solid #ddd; }
.pp-form-rich-workflow .xui-wf-toolbar button { padding:4px 10px; border:1px solid #ccc; border-radius:3px; background:#fff; cursor:pointer; font-size:12px; }
.pp-form-rich-workflow .xui-wf-canvas { position:relative; min-height:400px; background:#fafafa; overflow:auto; }
.pp-form-rich-workflow .xui-wf-canvas svg { position:absolute; top:0; left:0; width:100%; height:100%; pointer-events:none; }
.pp-form-rich-workflow .xui-wf-node { position:absolute; min-width:140px; background:#fff; border:2px solid #4a90d9; border-radius:6px; box-shadow:0 2px 6px rgba(0,0,0,0.1); cursor:move; user-select:none; z-index:1; }
.pp-form-rich-workflow .xui-wf-node-header { padding:6px 10px; background:#4a90d9; color:#fff; font-size:12px; font-weight:600; border-radius:4px 4px 0 0; display:flex; justify-content:space-between; }
.pp-form-rich-workflow .xui-wf-node-body { padding:8px 10px; font-size:12px; }
.pp-form-rich-workflow .xui-wf-port { width:12px; height:12px; border-radius:50%; background:#fff; border:2px solid #4a90d9; position:absolute; cursor:crosshair; z-index:2; }
.pp-form-rich-workflow .xui-wf-port-in { top:50%; left:-7px; transform:translateY(-50%); }
.pp-form-rich-workflow .xui-wf-port-out { top:50%; right:-7px; transform:translateY(-50%); }
.pp-form-rich-workflow .xui-wf-port:hover { background:#4a90d9; }
.pp-form-rich-tags { border:1px solid #ccc; border-radius:4px; padding:6px; display:flex; flex-wrap:wrap; gap:4px; min-height:38px; cursor:text; }
.pp-form-rich-tags:focus-within { border-color:#4a90d9; box-shadow:0 0 0 2px rgba(74,144,217,0.2); }
.pp-form-rich-tags .xui-tag { display:inline-flex; align-items:center; gap:4px; background:#e8f0fe; color:#1a73e8; padding:2px 8px; border-radius:12px; font-size:13px; }
.pp-form-rich-tags .xui-tag-del { cursor:pointer; font-size:11px; opacity:0.6; }
.pp-form-rich-tags .xui-tag-input { border:none; outline:none; flex:1; min-width:80px; font-size:13px; padding:2px; }
.pp-form-picker { position:relative; }
.pp-form-picker-drop { position:absolute; z-index:40; left:0; right:0; top:100%; background:#fff; border:1px solid #ccc; border-top:none; border-radius:0 0 4px 4px; max-height:240px; overflow-y:auto; box-shadow:0 4px 12px rgba(0,0,0,.12); }
.pp-form-picker-drop[hidden] { display:none; }
.pp-form-picker-item { padding:6px 10px; cursor:pointer; font-size:.875rem; }
.pp-form-picker-item:hover { background:#e8f0fe; }
.pp-form-picker-leer { padding:6px 10px; font-size:.8rem; color:#6b7280; }
.pp-form-rich-icon_picker { border:1px solid #ccc; border-radius:4px; padding:8px; }
.pp-form-rich-icon_picker .xui-ip-grid { display:grid; grid-template-columns:repeat(auto-fill,36px); gap:4px; max-height:200px; overflow-y:auto; margin-top:6px; }
.pp-form-rich-icon_picker .xui-ip-item { width:36px; height:36px; display:flex; align-items:center; justify-content:center; border:1px solid #eee; border-radius:4px; cursor:pointer; font-size:18px; }
.pp-form-rich-icon_picker .xui-ip-item:hover { background:#e8f0fe; }
.pp-form-rich-icon_picker .xui-ip-item.xui-ip-selected { border-color:#4a90d9; background:#e8f0fe; }
.pp-form-rich-icon_picker .xui-ip-current { font-size:24px; margin-right:8px; }
.pp-form-rich-color_picker { display:flex; align-items:center; gap:8px; }
.pp-form-rich-color_picker .xui-cp-input { width:48px; height:36px; border:1px solid #ccc; border-radius:4px; cursor:pointer; padding:2px; }
.pp-form-rich-color_picker .xui-cp-hex { font-family:monospace; font-size:14px; border:1px solid #ccc; border-radius:4px; padding:6px 10px; width:90px; }
.pp-form-rich-color_picker .xui-cp-preview { width:36px; height:36px; border-radius:4px; border:1px solid #ccc; }
.pp-form-rich-json, .pp-form-rich-xml { border:1px solid #ccc; border-radius:4px; font-family:monospace; font-size:13px; overflow:auto; max-height:400px; }
.xui-jt-toolbar { display:flex; gap:6px; padding:4px 8px; background:#f5f5f5; border-bottom:1px solid #ddd; }
.xui-jt-toolbar button { padding:2px 8px; border:1px solid #ccc; border-radius:3px; background:#fff; cursor:pointer; font-size:11px; }
.xui-jt-tree { padding:8px; }
.xui-jt-node { margin-left:16px; }
.xui-jt-toggle { cursor:pointer; user-select:none; color:#888; margin-right:4px; }
.xui-jt-key { color:#881391; }
.xui-jt-val { color:#067d17; cursor:text; }
.xui-jt-val:focus { outline:1px solid #4a90d9; padding:0 2px; border-radius:2px; }
.xui-jt-type { color:#888; font-size:0.85em; }
.xui-jt-del { cursor:pointer; font-size:11px; margin-left:6px; opacity:0.5; }
.xui-jt-del:hover { opacity:1; }
