.node-inspector { padding: 10px 12px; margin: 8px 0; border: 1px solid var(--border, #4a525d); border-radius: 6px; }
#node-inspector-results { margin-top: 6px; line-height: 1.6; overflow-wrap: anywhere; }
#node-inspector-results > div { font-size: 0.9em; }

/* Shared selected-node controls; never applies to graph nodes or studio dialogs. */
#node-properties {
  --tf-property-height:30px;
  --tf-property-gap:6px;
  --tf-property-radius:5px;
  --tf-property-font:12px;
  --tf-property-border:#526878;
  --tf-property-surface:#17212b;
}
#node-properties h3 {font-size:14px;font-weight:600;}
#node-properties h4 {font-size:12px;font-weight:600;}
#node-properties :is(button,select,input:not([type]),input[type=text],input[type=number],textarea) {
  box-sizing:border-box;min-height:var(--tf-property-height);max-width:100%;
  border-radius:var(--tf-property-radius);font:500 var(--tf-property-font)/1.4 system-ui,sans-serif;
  padding:4px 8px;
}
#node-properties button {background:#303c48;color:#e8edf2;border-color:#526273;white-space:normal;}
#node-properties button:hover:not(:disabled) {border-color:var(--accent);}
#node-properties button:disabled {opacity:.45;cursor:not-allowed;}
#node-properties :is(button,input,select,textarea):focus-visible {outline:2px solid var(--accent);outline-offset:2px;}
#node-properties button.material-studio-launch {border-color:#8dc7a3;color:#c9f5da;}
#node-properties button.property-reset {width:30px;min-width:30px;height:var(--tf-property-height);padding:0;font-size:14px;flex:none;}
#node-properties .property-editor-actions {display:flex;flex-wrap:wrap;align-items:center;gap:var(--tf-property-gap);min-width:0;}
#node-properties .property-editor-actions > :is(button,select) {flex:1 1 100px;min-width:0;}
#node-properties .property-editor-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--tf-property-gap);align-items:center;}
#node-properties .property-editor-surface {display:block;box-sizing:border-box;width:100%;height:auto;touch-action:none;background:var(--tf-property-surface);border:1px solid var(--tf-property-border);border-radius:var(--tf-property-radius);}
#node-properties .property-editor-square {aspect-ratio:1;cursor:crosshair;max-width:320px;}
