export const TAX_OVERVIEW_APP = {
  id: 'tax-overview',
  name: 'Tax Overview',
  description: 'View federal and state tax withholding configuration',
  html: `<!DOCTYPE html><html><head><meta charset="utf-8"><title>Tax Overview</title>
<script crossorigin src="https://unpkg.com/react@18/umd/react.production.min.js"></script>
<script crossorigin src="https://unpkg.com/react-dom@18/umd/react-dom.production.min.js"></script>
<script src="https://unpkg.com/@babel/standalone/babel.min.js"></script>
<style>* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; background: #f5f5f5; padding: 20px; }
.container { max-width: 1200px; margin: 0 auto; }
.header { background: white; padding: 24px; border-radius: 8px; margin-bottom: 24px; box-shadow: 0 1px 3px rgba(0,0,0,0.1); }
table { width: 100%; background: white; border-radius: 8px; box-shadow: 0 1px 3px rgba(0,0,0,0.1); border-collapse: collapse; }
th { text-align: left; padding: 16px; border-bottom: 2px solid #eee; background: #fafafa; font-size: 14px; font-weight: 600; }
td { padding: 16px; border-bottom: 1px solid #eee; }
</style></head><body><div id="root"></div>
<script type="text/babel">
function TaxOverview() {
  const employees = [
    { name: 'Sarah Johnson', federal: 'Married', allowances: 2, state: 'CA', stateStatus: 'Married' },
    { name: 'Michael Chen', federal: 'Single', allowances: 1, state: 'NY', stateStatus: 'Single' },
    { name: 'Emily Rodriguez', federal: 'Single', allowances: 0, state: 'TX', stateStatus: 'N/A' },
  ];
  return (<div className="container"><div className="header"><h1>📋 Tax Overview</h1><p>Employee tax withholding configuration</p></div>
  <table><thead><tr><th>Employee</th><th>Federal Status</th><th>Allowances</th><th>State</th><th>State Status</th></tr></thead>
  <tbody>{employees.map((e, i) => (<tr key={i}><td>{e.name}</td><td>{e.federal}</td><td>{e.allowances}</td>
  <td>{e.state}</td><td>{e.stateStatus}</td></tr>))}</tbody></table></div>);
}
ReactDOM.render(<TaxOverview />, document.getElementById('root'));
</script></body></html>`,
};
