/* eXtremeBIM — generated from tokens.json */
:root, [data-theme="light"] {
  --brand-ink: #012459; --brand-cyan: #00d4ff; --brand-blue: #0084fe;
  --grad-start: var(--brand-cyan); --grad-end: var(--brand-blue);
  --surface: #ffffff; --surface-sunken: #f3f6fb; --surface-raised: #ffffff; --surface-inverse: #012459;
  --line: #d9e2ee; --control-border: #8396b2; --grid-line: rgba(1, 36, 89, 0.07);
  --ink: #012459; --text-muted: #4a5b75; --ink-inverse: #ffffff;
  --action: #0a63d8; --action-strong: #084fae; --on-action: #ffffff; --link: #0a63d8; --focus: #0a63d8; --tint: #ddf6ff;
  --iso-top: var(--brand-cyan); --iso-front: var(--brand-blue); --iso-side: #012459; --iso-rebar: #36465e;
  --success: #18794c; --success-bg: #e6f4ec; --warning: #9a5b00; --warning-bg: #fdf1dc; --danger: #b42318; --danger-bg: #fbe9e7;
  --shadow-1: 0 1px 2px rgba(1, 36, 89, 0.08), 0 2px 8px rgba(1, 36, 89, 0.05);
  --shadow-pop: 0 12px 32px rgba(1, 36, 89, 0.14);
}
[data-theme="dark"] {
  --surface: #061430; --surface-sunken: #040e24; --surface-raised: #0b1f45; --surface-inverse: #0b2e6e;
  --line: #1c3463; --control-border: #5a73a0; --grid-line: rgba(124, 196, 255, 0.08);
  --ink: #eaf1fb; --text-muted: #a4b4ce; --ink-inverse: #eaf1fb;
  --action: #3fa2ff; --action-strong: #78bcff; --on-action: #04112b; --link: #6cb8ff; --focus: #7cc4ff; --tint: #123a73;
  --iso-side: #1d4fa3; --iso-rebar: #b8c6dc;
  --success: #4fd69a; --success-bg: #0e2f25; --warning: #f2b54a; --warning-bg: #33260b; --danger: #ff8a7a; --danger-bg: #3a1513;
  --shadow-1: 0 1px 2px rgba(0, 0, 0, 0.5), 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-pop: 0 12px 32px rgba(0, 0, 0, 0.55);
}
:root {
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-5: 20px; --space-6: 24px;
  --space-8: 32px; --space-12: 48px; --space-16: 64px; --space-24: 96px;
  --radius-sm: 2px; --radius-md: 6px; --radius-lg: 10px;
  --container-max: 1200px; --measure: 680px; --nav-height: 64px;
  --font-display: "Archivo", "IBM Plex Sans", system-ui, sans-serif;
  --font-sans: "IBM Plex Sans", system-ui, "Segoe UI", sans-serif;
  --font-arabic: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;
}
.display-xl { font-family: var(--font-display); font-size: 64px; line-height: 68px; font-weight: 800; letter-spacing: -0.02em; }
.display-lg { font-family: var(--font-display); font-size: 48px; line-height: 52px; font-weight: 800; letter-spacing: -0.015em; }
.heading-1 { font-family: var(--font-display); font-size: 36px; line-height: 42px; font-weight: 700; letter-spacing: -0.01em; }
.heading-2 { font-family: var(--font-display); font-size: 28px; line-height: 34px; font-weight: 700; }
.heading-3 { font-family: var(--font-display); font-size: 20px; line-height: 26px; font-weight: 700; }
.body-lg { font-family: var(--font-sans); font-size: 18px; line-height: 28px; font-weight: 400; }
.body { font-family: var(--font-sans); font-size: 16px; line-height: 26px; font-weight: 400; }
.body-sm { font-family: var(--font-sans); font-size: 14px; line-height: 22px; font-weight: 400; }
.label { font-family: var(--font-sans); font-size: 14px; line-height: 20px; font-weight: 500; }
.data { font-family: var(--font-mono); font-size: 14px; line-height: 20px; font-weight: 400; }
.data-sm { font-family: var(--font-mono); font-size: 12px; line-height: 16px; font-weight: 500; }
.ar-display { font-family: var(--font-arabic); font-size: 48px; line-height: 72px; font-weight: 700; }
.ar-heading { font-family: var(--font-arabic); font-size: 28px; line-height: 44px; font-weight: 700; }
.ar-body { font-family: var(--font-arabic); font-size: 17px; line-height: 30px; font-weight: 400; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
  --surface: #061430; --surface-sunken: #040e24; --surface-raised: #0b1f45; --surface-inverse: #0b2e6e;
  --line: #1c3463; --control-border: #5a73a0; --grid-line: rgba(124, 196, 255, 0.08);
  --ink: #eaf1fb; --text-muted: #a4b4ce; --ink-inverse: #eaf1fb;
  --action: #3fa2ff; --action-strong: #78bcff; --on-action: #04112b; --link: #6cb8ff; --focus: #7cc4ff; --tint: #123a73;
  --iso-side: #1d4fa3; --iso-rebar: #b8c6dc;
  --success: #4fd69a; --success-bg: #0e2f25; --warning: #f2b54a; --warning-bg: #33260b; --danger: #ff8a7a; --danger-bg: #3a1513;
  --shadow-1: 0 1px 2px rgba(0, 0, 0, 0.5), 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-pop: 0 12px 32px rgba(0, 0, 0, 0.55);
  }
}
