/* CorpScale spacing, radius & elevation tokens. Base unit 4px. */

:root {
  /* Spacing scale: 4 / 8 / 12 / 16 / 24 / 32 / 48 / 64 / 96 */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;
  --space-16: 64px;
  --space-24: 96px;

  /* Component padding presets */
  --pad-compact: 8px;
  --pad-default: 12px;
  --pad-relaxed: 16px;

  /* Data table metrics */
  --table-cell-pad: 8px;
  --table-header-pad: 12px;
  --table-row-min-h: 40px;

  /* Border radius — restrained geometry, max 8px */
  --radius-none: 0px;
  --radius-sm: 2px;    /* badges, status indicators */
  --radius-md: 4px;    /* buttons, inputs, cards */
  --radius-lg: 6px;    /* modals, dropdowns */
  --radius-xl: 8px;    /* popovers, floating panels */
  --radius-full: 9999px;

  /* Elevation — subtle, professional */
  --shadow-subtle:  0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-medium:  0 2px 6px rgba(15, 23, 42, 0.06);
  --shadow-large:   0 6px 16px rgba(15, 23, 42, 0.08);
  --shadow-overlay: 0 12px 32px rgba(15, 23, 42, 0.12);

  /* Focus rings */
  --ring-focus: 0 0 0 2px rgba(30, 58, 95, 0.12);
  --ring-error: 0 0 0 2px rgba(220, 38, 38, 0.10);

  /* Motion — enterprise tools feel instant; nothing over 200ms */
  --motion-fast: 100ms;   /* @kind other */
  --motion-base: 150ms;   /* @kind other */
  --motion-slow: 200ms;   /* @kind other */
  --ease-standard: cubic-bezier(0.2, 0, 0, 1); /* @kind other */
}
