/*
  iLaborant — design tokens.
  Palette takes its cue from the lab itself: plaster/porcelain whites,
  deep instrument-teal, and warm shade-guide amber (A2–A3 tooth shades).
  Status colors double as a "shade tab" motif used throughout the UI.
*/
:root {
  /* Surfaces */
  --ink: #12181B;
  --ink-soft: #1B2327;
  --ink-softer: #232D32;
  --porcelain: #F7F5EF;
  --porcelain-dim: #EDE9E0;
  --porcelain-line: #E1DCD0;
  --surface: #FFFFFF;

  /* Brand */
  --teal: #21706A;
  --teal-dark: color-mix(in srgb, var(--teal) 82%, black);
  --teal-tint: color-mix(in srgb, var(--teal) 14%, white);
  --amber: #C3854B;
  --amber-dark: color-mix(in srgb, var(--amber) 78%, black);
  --amber-tint: color-mix(in srgb, var(--amber) 16%, white);

  /* Semantic status ("shade tabs") */
  --status-waiting: var(--amber);
  --status-waiting-bg: var(--amber-tint);
  --status-progress: var(--teal);
  --status-progress-bg: var(--teal-tint);
  --status-ready: #3D8361;
  --status-ready-bg: #E1F0E6;
  --status-rework: #A24D62;
  --status-rework-bg: #F5E2E7;
  --status-debt: #B4472F;
  --status-debt-bg: #FBE7E2;

  /* Text */
  --text-primary: #1A2124;
  --text-secondary: #5C6B6E;
  --text-tertiary: #8A9699;
  --text-on-dark: #F2F3EF;
  --text-on-dark-dim: #A7B4B2;

  /* Type */
  --font-display: "Fraunces", "Georgia", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;

  /* Radius */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-pill: 999px;
  --r-tab: 4px 4px 10px 10px; /* shade-tab silhouette: flat top, rounded bottom */

  /* Shadow */
  --shadow-sm: 0 1px 2px rgba(18, 24, 27, 0.06), 0 1px 1px rgba(18, 24, 27, 0.04);
  --shadow-md: 0 8px 24px -8px rgba(18, 24, 27, 0.18);
  --shadow-lg: 0 24px 48px -12px rgba(18, 24, 27, 0.28);
  --shadow-focus: 0 0 0 3px rgba(33, 112, 106, 0.35);

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast: 140ms;
  --dur-base: 240ms;
  --dur-slow: 420ms;

  /* Layout */
  --sidebar-w: 268px;
  --sidebar-w-collapsed: 76px;
  --topbar-h: 68px;
  --content-max: 1400px;
}
