// Production stub — provides the TweaksPanel API without any design-tool UI.
(function() {
  const { useState } = React;

  function useTweaks(defaults) {
    const [state, setState] = useState(defaults);
    const setTweak = (key, val) => setState(prev => ({...prev, [key]: val}));
    return [state, setTweak];
  }

  function TweaksPanel() { return null; }
  function TweakSection() { return null; }
  function TweakRadio() { return null; }
  function TweakColor() { return null; }
  function TweakToggle() { return null; }

  window.TweaksPanel = TweaksPanel;
  window.useTweaks = useTweaks;
  window.TweakSection = TweakSection;
  window.TweakRadio = TweakRadio;
  window.TweakColor = TweakColor;
  window.TweakToggle = TweakToggle;
})();