/* Klei Design System — generated from tokens.json */
:root, [data-theme="light"] {
  --brand-blue: #3aa0cc; /* Accent color (AccentColor, BrandBlue). Fills, tints and icons only. On white it is 2.97:1, so never use it for text on light. */
  --brand-pink: #f5e2f2; /* Brand tint from the app icon. Too pale for text or icons on light; use as a background tint. */
  --surface-selected: #f5e2f2; /* Background of a selected row. Text on it: 13.5:1 with #1E1E1E on light. */
  --on-accent: #00212e; /* Text and icons on brand-blue. 5.6:1 on light, 6.8:1 on dark. White would be 3:1. */
  --success: #1e7f3c; /* Success text and icons. */
  --success-background: #e3f5e8; /* Tint behind success messages. Light text on it is 4.45:1, just under 4.5:1; use bold or a larger size. */
  --warning: #9a5b00; /* Warning text and icons. */
  --warning-background: #fff1d9; /* Tint behind warning messages. */
  --error: #c62828; /* Error text and icons. */
  --error-background: #fde6e6; /* Tint behind error messages. */
  --info: #1f6f94; /* Informational text and icons. */
  --info-background: #e1f1f8; /* Tint behind informational messages. */
  --axis-x: #ff6b6b; /* X axis in the Viewport gizmo and overlays. */
  --axis-y: #33c759; /* Y axis in the Viewport gizmo and overlays. */
  --axis-z: #4db0db; /* Z axis in the Viewport gizmo and overlays. */
}
[data-theme="dark"] {
  --brand-blue: #4db0db;
  --brand-pink: #e8c8e3;
  --surface-selected: #4a3a48;
  --on-accent: #00212e;
  --success: #4cd27a;
  --success-background: #163a24;
  --warning: #ffb547;
  --warning-background: #402a08;
  --error: #ff6b6b;
  --error-background: #431a1a;
  --info: #6cc3e8;
  --info-background: #12333f;
  --axis-x: #ff6b6b;
  --axis-y: #33c759;
  --axis-z: #4db0db;
}
:root {
  --space-xxs: 2px; /* Tightest gap: icon to adjacent text. */
  --space-xs: 4px; /* Small gap inside a control. */
  --space-sm: 8px; /* Default item spacing (itemSpacing). */
  --space-md: 12px; /* Medium gap between related groups. */
  --space-lg: 16px; /* Screen and card padding (screenPadding, cardPadding). */
  --space-xl: 24px; /* Gap between sections (sectionSpacing). */
  --space-xxl: 32px; /* Large separation. */
  --space-xxxl: 48px; /* Empty-state and page-level separation. */
  --radius-sm: 6px; /* Small controls and chips. */
  --radius-md: 10px; /* Medium surfaces. */
  --radius-lg: 16px; /* Cards and panels (Card). */
  --border-thin: 1px; /* Default separators and card outlines. */
  --border-thick: 2.5px; /* Emphasis strokes. */
  --opacity-subtle: 0.12; /* Tinted fills behind selected or status content. */
  --opacity-half: 0.5; /* Scrims and disabled content. */
  --opacity-strong: 0.6; /* Emphasized overlays. */
  --panel-hierarchy: 260px; /* Width of the Hierarchy floating panel. */
  --panel-inspector: 340px; /* Width of the Inspector floating panel. */
  --font-sans: -apple-system, system-ui, "Helvetica Neue", sans-serif;
  --text-largeTitle: 400 26px/32px var(--font-sans); /* Screen titles. System default. */
  --text-title: 400 22px/28px var(--font-sans); /* Large titles. System default. */
  --text-headline: 600 13px/16px var(--font-sans); /* Section headers (.sectionHeaderStyle()). */
  --text-body: 400 13px/16px var(--font-sans); /* Default text. */
  --text-subheadline: 400 11px/14px var(--font-sans); /* Text under a title, in .secondary (.subtitleStyle()). */
  --text-caption: 400 10px/13px var(--font-sans); /* Small labels and hints, in .secondary (.captionStyle()). */
}
.largeTitle {
  font-family: var(--font-sans);
  font-size: 26px;
  line-height: 32px;
  font-weight: 400;
  letter-spacing: 0;
}
.title {
  font-family: var(--font-sans);
  font-size: 22px;
  line-height: 28px;
  font-weight: 400;
  letter-spacing: 0;
}
.headline {
  font-family: var(--font-sans);
  font-size: 13px;
  line-height: 16px;
  font-weight: 600;
  letter-spacing: 0;
}
.body {
  font-family: var(--font-sans);
  font-size: 13px;
  line-height: 16px;
  font-weight: 400;
  letter-spacing: 0;
}
.subheadline {
  font-family: var(--font-sans);
  font-size: 11px;
  line-height: 14px;
  font-weight: 400;
  letter-spacing: 0;
}
.caption {
  font-family: var(--font-sans);
  font-size: 10px;
  line-height: 13px;
  font-weight: 400;
  letter-spacing: 0;
}
