/* ==========================================================================
   AIME Trust — design tokens (copied from aime-crm/frontend/static/css/base.css)
   ========================================================================== */

:root {
  /* --- Brand Palette --- */
  --aime-teal:       #00d4b8;
  --aime-teal-dark:  #00a896;
  --aime-teal-light: #e6faf8;
  --aime-gold:       #f5a623;
  --aime-gold-dark:  #c8881a;
  --aime-gold-light: #fef8ee;

  /* --- Surface Colors (Warm Light Theme) --- */
  --surface-base:    #faf9f7;
  --surface-raised:  #ffffff;
  --surface-overlay: #f5f3ef;
  --surface-inset:   #ede9e3;
  --surface-border:  #e2ddd6;
  --surface-border-strong: #cdc7be;

  /* --- Text Hierarchy --- */
  --text-primary:    #1a1714;
  --text-secondary:  #4a453f;
  --text-tertiary:   #7a746d;
  --text-placeholder:#a09990;
  --text-inverse:    #ffffff;
  --text-teal:       #007a6e;
  --text-gold:       #a0620a;

  /* --- Semantic Colors --- */
  --color-success:   #1a7a5e;
  --color-success-bg:#e8f5f0;
  --color-success-border: #a8d5c4;
  --color-warning:   #a0620a;
  --color-warning-bg:#fef3e2;
  --color-warning-border: #f5d5a0;
  --color-danger:    #b83232;
  --color-danger-bg: #fceaea;
  --color-danger-border: #e8a8a8;
  --color-info:      #2660a4;
  --color-info-bg:   #e8f0fc;
  --color-info-border: #a8c0e8;
  --color-neutral:   #5a5550;
  --color-neutral-bg:#f0ede8;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --font-sans: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--surface-base);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.5;
}

a { color: var(--text-teal); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { margin: 0 0 var(--space-3); font-weight: 600; }
h1 { font-size: 22px; }
h2 { font-size: 17px; }
h3 { font-size: 14px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-tertiary); }

table { border-collapse: collapse; width: 100%; }
th, td { text-align: left; padding: var(--space-2) var(--space-3); border-bottom: 1px solid var(--surface-border); }
th { font-size: 11px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-tertiary); font-weight: 600; }

button, input, textarea, select {
  font-family: inherit;
  font-size: 13px;
}

::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-thumb { background: var(--surface-border-strong); border-radius: 4px; }
