setShowInviteModal(false)} />
+
+
Assign Enterprise Role
+
+ Bind an authenticated user to {activeBusinessName} with specific business permissions.
+
+
+
);
};
-
diff --git a/frontend/src/index.css b/frontend/src/index.css
new file mode 100644
index 0000000..e8b266f
--- /dev/null
+++ b/frontend/src/index.css
@@ -0,0 +1,58 @@
+@tailwind base;
+@tailwind components;
+@tailwind utilities;
+
+@layer base {
+ :root {
+ --surface: #f9f9f6;
+ --sidebar-surface: #162a22;
+ --sidebar-surface-active: #2a4237;
+ --card-surface: #ffffff;
+ --card-border: #e8e6df;
+ --accent-ochre: #c89332;
+ --text-primary: #1c1e1d;
+ --text-muted: #78716c;
+ --status-normal-bg: #eaf5ed;
+ --status-normal-text: #2d6a4f;
+ --status-watch-bg: #fdf6e7;
+ --status-watch-text: #926a1d;
+ }
+
+ body {
+ background-color: var(--surface);
+ color: var(--text-primary);
+ font-family: 'Inter', system-ui, -apple-system, sans-serif;
+ }
+}
+
+@layer components {
+ /* AgriTrade Mercantile Component Primitives */
+ .btn-primary {
+ @apply bg-sidebar-surface hover:bg-sidebar-active text-white text-sm font-medium px-4 py-2 rounded transition shadow-none disabled:opacity-50;
+ }
+
+ .btn-secondary {
+ @apply bg-white hover:bg-surface-low text-text-primary border border-card-border text-sm font-medium px-4 py-2 rounded transition shadow-none disabled:opacity-50;
+ }
+
+ .btn-accent {
+ @apply bg-accent-ochre hover:brightness-95 text-white text-sm font-semibold px-4 py-2 rounded transition shadow-none disabled:opacity-50;
+ }
+
+ .badge-pill-normal {
+ @apply inline-flex items-center px-2 py-0.5 rounded-full text-[0.6875rem] font-semibold tracking-wider uppercase bg-status-normal-bg text-status-normal-text;
+ }
+
+ .badge-pill-watch {
+ @apply inline-flex items-center px-2 py-0.5 rounded-full text-[0.6875rem] font-semibold tracking-wider uppercase bg-status-watch-bg text-status-watch-text;
+ }
+
+ .card-mercantile {
+ @apply bg-card-surface border border-card-border rounded p-6 shadow-none;
+ }
+
+ .callout-ochre {
+ @apply bg-status-watch-bg border-l-[3px] border-accent-ochre p-4 rounded-r;
+ }
+}
+
diff --git a/frontend/src/main.tsx b/frontend/src/main.tsx
index beefc05..1f75b2e 100644
--- a/frontend/src/main.tsx
+++ b/frontend/src/main.tsx
@@ -1,10 +1,10 @@
import React from 'react';
import ReactDOM from 'react-dom/client';
import { App } from './App';
+import './index.css';
ReactDOM.createRoot(document.getElementById('root') as HTMLElement).render(
);
-
diff --git a/frontend/tailwind.config.js b/frontend/tailwind.config.js
new file mode 100644
index 0000000..f19aa58
--- /dev/null
+++ b/frontend/tailwind.config.js
@@ -0,0 +1,98 @@
+/** @type {import('tailwindcss').Config} */
+export default {
+ content: [
+ "./index.html",
+ "./src/**/*.{js,ts,jsx,tsx}",
+ ],
+ theme: {
+ extend: {
+ colors: {
+ surface: {
+ DEFAULT: '#f9f9f6',
+ dim: '#dadad7',
+ bright: '#f9f9f6',
+ lowest: '#ffffff',
+ low: '#f4f4f1',
+ container: '#eeeeeb',
+ high: '#e8e8e5',
+ highest: '#e2e3e0',
+ },
+ 'on-surface': {
+ DEFAULT: '#1a1c1b',
+ variant: '#434845',
+ },
+ primary: {
+ DEFAULT: '#030b08',
+ pine: '#18231f',
+ container: '#18231f',
+ 'on-container': '#7f8b85',
+ },
+ secondary: {
+ DEFAULT: '#865300',
+ amber: '#df9b42',
+ container: '#feb55a',
+ },
+ tertiary: {
+ DEFAULT: '#120705',
+ container: '#2c1d1b',
+ },
+ sidebar: {
+ surface: '#162A22',
+ active: '#2A4237',
+ },
+ card: {
+ surface: '#FFFFFF',
+ border: '#E8E6DF',
+ },
+ text: {
+ primary: '#1C1E1D',
+ muted: '#78716C',
+ },
+ status: {
+ 'normal-bg': '#EAF5ED',
+ 'normal-text': '#2D6A4F',
+ 'watch-bg': '#FDF6E7',
+ 'watch-text': '#926A1D',
+ },
+ accent: {
+ ochre: '#C89332',
+ },
+ outline: {
+ DEFAULT: '#737875',
+ variant: '#c3c8c4',
+ },
+ error: {
+ DEFAULT: '#ba1a1a',
+ container: '#ffdad6',
+ },
+ },
+ fontFamily: {
+ sans: ['Inter', 'system-ui', '-apple-system', 'sans-serif'],
+ mono: ['JetBrains Mono', 'ui-monospace', 'monospace'],
+ },
+ borderRadius: {
+ sm: '0.125rem',
+ DEFAULT: '0.25rem',
+ md: '0.375rem',
+ lg: '0.5rem',
+ xl: '0.75rem',
+ full: '9999px',
+ },
+ spacing: {
+ gutter: '1rem',
+ 'gutter-compact': '0.5rem',
+ 'space-xs': '0.25rem',
+ 'space-sm': '0.5rem',
+ 'space-md': '0.75rem',
+ 'space-lg': '1rem',
+ 'space-xl': '1.5rem',
+ 'space-xxl': '2rem',
+ },
+ boxShadow: {
+ tactile: '0 4px 16px -2px rgba(22, 42, 34, 0.08), 0 1px 2px 0 rgba(22, 42, 34, 0.04)',
+ },
+ },
+ },
+ plugins: [],
+}
+