/* ============ Design tokens ============
 * Ported from design-handoff/lt/project/styles.css lines 1-80.
 * The single source of truth for colors, spacing, type, radii, shadows,
 * and layout dimensions used by the redesigned LendrTech UI.
 */
:root {
  /* warm neutrals */
  --c-bg:        oklch(0.995 0.003 80);
  --c-bg-soft:   oklch(0.975 0.004 80);
  --c-bg-sunk:   oklch(0.96  0.005 80);
  --c-panel:     #ffffff;
  --c-border:    oklch(0.91 0.005 80);
  --c-border-strong: oklch(0.85 0.006 80);
  --c-fg:        oklch(0.22 0.008 80);
  --c-fg-muted:  oklch(0.48 0.008 80);
  --c-fg-faint:  oklch(0.62 0.008 80);

  /* accent — cool indigo blue */
  --c-accent:        oklch(0.55 0.15 255);
  --c-accent-hover:  oklch(0.49 0.16 255);
  --c-accent-soft:   oklch(0.96 0.03 255);
  --c-accent-fg:     #ffffff;

  /* semantic */
  --c-success:      oklch(0.58 0.13 150);
  --c-success-soft: oklch(0.96 0.04 150);
  --c-warning:      oklch(0.68 0.15 75);
  --c-warning-soft: oklch(0.97 0.05 80);
  --c-danger:       oklch(0.55 0.18 25);
  --c-danger-soft:  oklch(0.97 0.04 25);
  --c-info:         oklch(0.6 0.1 240);
  --c-info-soft:    oklch(0.97 0.025 240);

  /* spacing — 4px base */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 20px;
  --s-6: 24px; --s-8: 32px; --s-10: 40px; --s-12: 48px; --s-16: 64px;

  /* radii */
  --r-1: 4px; --r-2: 6px; --r-3: 8px; --r-4: 10px; --r-5: 14px;

  /* type */
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif;
  --font-mono: "SF Mono", ui-monospace, "Roboto Mono", Menlo, monospace;
  --fs-12: 12px;
  --fs-13: 13px;
  --fs-14: 14px;
  --fs-15: 15px;
  --fs-18: 18px;
  --fs-22: 22px;
  --fs-28: 28px;

  /* shadows */
  --sh-1: 0 1px 2px rgba(20,18,15,0.04), 0 1px 1px rgba(20,18,15,0.03);
  --sh-2: 0 6px 16px rgba(20,18,15,0.07), 0 2px 4px rgba(20,18,15,0.04);
  --sh-3: 0 24px 48px rgba(20,18,15,0.14), 0 6px 12px rgba(20,18,15,0.06);

  /* layout */
  --sidebar-w: 232px;
  --topbar-h: 48px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; height: 100%; }
body {
  font-family: var(--font-sans);
  font-size: var(--fs-14);
  line-height: 1.45;
  color: var(--c-fg);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss01", "cv11";
}
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 2px; border-radius: 3px; }

.tnum { font-variant-numeric: tabular-nums; }
.mono { font-family: var(--font-mono); font-feature-settings: "ss01"; }
