/* Kirby design tokens — design-kit/menu/menu.svg "Tokens" and loader/loader.svg.
   The only file with color literals; everything else references these names. */
:root {
  color-scheme: dark;

  /* Surfaces */
  --bg: #0D0E12;
  --canvas-top: #14161D;
  --sidebar: #0F1015;
  --surface: #15171E;
  --raised: #1B1D26;
  --hover: #1F212B;
  --divider: #1F212B;
  --border: #262938;
  --border-strong: #3A3D52;
  --veil: rgba(255, 255, 255, .06);
  --backdrop: rgba(13, 14, 18, .62);

  /* Text */
  --text: #F2F2F5;
  --text-2: #C4C7D4;
  --muted: #8A8FA3;
  --faint: #5E6275;
  --on-accent: #FFFFFF;

  /* Brand */
  --accent: #8B5CF6;
  --accent-hover: #A78BFA;
  --accent-soft: rgba(139, 92, 246, .14);
  --accent-line: rgba(139, 92, 246, .45);
  --accent-deep: #2A2240;
  --accent-glow: #1E1A30;

  /* Semantic */
  --success: #3FCF6A;
  --success-soft: rgba(63, 207, 106, .12);
  --success-line: rgba(63, 207, 106, .28);
  --success-tint: rgba(63, 207, 106, .10);
  --warning: #E9A23B;
  --warning-soft: rgba(233, 162, 59, .12);
  --warning-line: rgba(233, 162, 59, .30);
  --warning-tint: rgba(233, 162, 59, .09);
  --danger: #E5484D;
  --danger-soft: rgba(229, 72, 77, .12);
  --danger-line: rgba(229, 72, 77, .36);
  --danger-tint: rgba(229, 72, 77, .09);
  --info: #4C8DF6;
  --info-soft: rgba(76, 141, 246, .12);
  --accent-tint: rgba(139, 92, 246, .11);
  --neutral-tint: rgba(138, 143, 163, .07);
  --transparent: rgba(0, 0, 0, 0);

  /* Type */
  --font: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Inter", "Segoe UI", sans-serif;
  --display: "Avenir Next Condensed", "Barlow Condensed", "Arial Narrow", sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, monospace;
  --fs-2xs: 11px;
  --fs-xs: 12px;
  --fs-base: 13px;
  --fs-md: 14px;
  --fs-title: 17px;
  --fs-stat: 20px;
  --fs-big: 26px;
  --fs-h1: 30px;
  --fs-hero: 34px;

  /* Spacing (4-pt) */
  --s1: 4px;
  --s2: 8px;
  --s3: 12px;
  --s4: 16px;
  --s5: 20px;
  --s6: 24px;
  --s7: 28px;
  --s8: 32px;
  --s9: 36px;
  --s12: 48px;
  --pad: 18px;

  /* Radius */
  --r-ctl: 6px;
  --r-card: 10px;
  --r-hero: 14px;

  /* Elevation (overlays only) */
  --shadow-overlay: 0 24px 64px rgba(0, 0, 0, .55), 0 2px 8px rgba(0, 0, 0, .35);
  --shadow-pop: 0 12px 32px rgba(0, 0, 0, .5);

  /* Layout */
  --sidebar-w: 264px;
  --sidebar-w-collapsed: 64px;
  --page-w: 1520px;
  --portal-w: 1040px;
  --portal-side: 320px;
  --row-h: 52px;
  --line-h: 46px;
  --drawer-w: 600px;
}
