/* ===== Design tokens ===== */
:root {
  /* Colors */
  --bg: #F4F1EC;
  --bg-paper: #EFEAE2;
  --surface: #FFFFFF;
  /* Left nav rail — values taken from the Eko/Amity app shell */
  --rail-bg: #212121;
  --rail-item-active: #424242;
  --rail-fg: #FFFFFF;
  --rail-fg-dim: #BDBDBD;
  --rail-accent: #06C692;
  --rail-dot: #F72C40;

  --primary-red: #E94B4B;
  --primary-red-hover: #D63E3E;
  --primary-red-soft: #FCDDDB;
  --primary-red-softer: #FDEAE8;

  --mint: #7BC9B8;
  --mint-hover: #6BB8A6;
  --accent-orange: #FF6B35;

  --text-1: #1A1A1A;
  --text-2: #6B7280;
  --text-3: #9CA3AF;

  --success: #22C55E;
  --warning: #F59E0B;
  --danger: #EF4444;

  --border: #E5E7EB;
  --border-soft: #F0EDE7;

  /* Layout */
  --rail-w: 76px;
  --rail-item-h: 64px;
  --bottom-nav-h: 60px;

  /* Radius */
  --r-card: 12px;
  --r-pill: 999px;
  --r-input: 8px;

  /* Shadows */
  --shadow-card: 0 1px 2px rgba(0, 0, 0, 0.04), 0 4px 12px rgba(0, 0, 0, 0.04);
  --shadow-card-hover: 0 2px 4px rgba(0, 0, 0, 0.06), 0 8px 20px rgba(0, 0, 0, 0.06);

  /* Font families */
  --font-sans: 'Inter', 'Sarabun', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  /* No mono webfont is loaded — this is the system stack, used for the machine
     voice: code spans, and the agent/step labels in css/omni.css. Latin only;
     Thai copy always stays on --font-sans. */
  --font-mono: ui-monospace, 'SF Mono', Monaco, 'Cascadia Code', monospace;
}

/* ===== Reset ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-1);
  background: var(--bg);
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.4) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(0, 0, 0, 0.015) 0%, transparent 40%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

input,
textarea {
  font: inherit;
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}
