/* Detailist.app — tokeny design systemu (kopia project/tokens.css z design systemu, nie edytuj ręcznie — aktualizuj z DS). */
:root, [data-theme="light"] {
  --brand-ink: #0B1220;
  --brand-gloss: #22B8E6;
  --brand-deep-gloss: #0A6E91;
  --brand-slate: #5B6472;
  --brand-mist: #F4F6F9;
  --brand-steel: #9AA4B2;
  --brand-white: #FFFFFF;
  --bg: #FFFFFF;
  --surface: #F4F6F9;
  --surface-raised: #FFFFFF;
  --surface-sunken: #E9EDF2;
  --surface-inverse: #0B1220;
  --line: #DDE2E8;
  --line-strong: #7D8796;
  --text: #0B1220;
  --text-secondary: #3A4352;
  --text-muted: #5B6472;
  --text-on-inverse: #FFFFFF;
  --text-on-inverse-muted: #9AA4B2;
  --link: #0A6E91;
  --link-hover: #0B1220;
  --accent: #22B8E6;
  --accent-hover: #1AA5D0;
  --on-accent: #0B1220;
  --accent-soft: #EEF8FC;
  --primary-strong: #0B1220;
  --on-primary-strong: #FFFFFF;
  --focus-ring: #0A6E91;
  --focus-ring-inverse: #22B8E6;
  --sidebar-bg: #0B1220;
  --sidebar-item-active: #1A2333;
  --line-on-ink: #1A2333;
  --sidebar-text: #C9D1DC;
  --sidebar-text-active: #FFFFFF;
  --success: #13744F;
  --success-soft: #E5F4EE;
  --warning: #8A5300;
  --warning-soft: #FDF2DE;
  --danger: #B3262C;
  --on-danger: #FFFFFF;
  --danger-soft: #FCEBEC;
  --info: #0A6E91;
  --info-soft: #EEF8FC;
  --neutral-soft: #EEF1F5;
  --danger-mark: #C62F35;
  --shadow-sm: 0 1px 2px rgba(11,18,32,0.06);
  --shadow-md: 0 8px 24px rgba(11,18,32,0.10);
  --shadow-lg: 0 24px 64px rgba(11,18,32,0.18);
}
[data-theme="dark"] {
  --brand-ink: #0B1220;
  --brand-gloss: #22B8E6;
  --brand-deep-gloss: #0A6E91;
  --brand-slate: #5B6472;
  --brand-mist: #F4F6F9;
  --brand-steel: #9AA4B2;
  --brand-white: #FFFFFF;
  --bg: #0B1220;
  --surface: #0F1828;
  --surface-raised: #162033;
  --surface-sunken: #070C16;
  --surface-inverse: #F4F6F9;
  --line: #243047;
  --line-strong: #5D6B82;
  --text: #F4F6F9;
  --text-secondary: #C9D1DC;
  --text-muted: #9AA4B2;
  --text-on-inverse: #0B1220;
  --text-on-inverse-muted: #3A4352;
  --link: #5CCDF0;
  --link-hover: #FFFFFF;
  --accent: #22B8E6;
  --accent-hover: #4CC6EC;
  --on-accent: #0B1220;
  --accent-soft: #0E2A38;
  --primary-strong: #F4F6F9;
  --on-primary-strong: #0B1220;
  --focus-ring: #22B8E6;
  --focus-ring-inverse: #0A6E91;
  --sidebar-bg: #070C16;
  --sidebar-item-active: #162033;
  --line-on-ink: #1A2333;
  --sidebar-text: #C9D1DC;
  --sidebar-text-active: #FFFFFF;
  --success: #4CC99A;
  --success-soft: #0E2C24;
  --warning: #F2B24C;
  --warning-soft: #33240A;
  --danger: #FF8A8E;
  --on-danger: #0B1220;
  --danger-soft: #3A1517;
  --info: #5CCDF0;
  --info-soft: #0E2A38;
  --neutral-soft: #1E293B;
  --danger-mark: #FF8A8E;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.4);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.5);
  --shadow-lg: 0 24px 64px rgba(0,0,0,0.6);
}
: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-18: 72px;
  --space-24: 96px;
  --space-32: 128px;
  --radius-xs: 6px;
  --radius-sm: 8px;
  --radius-md: 10px;
  --radius-lg: 12px;
  --radius-xl: 14px;
  --radius-2xl: 16px;
  --radius-pill: 999px;
  --radius-appicon: 22.5%;
  --control-sm: 32px;
  --control-md: 40px;
  --control-lg: 48px;
  --control-xl: 52px;
  --sidebar-width: 240px;
  --content-max: 1200px;
  --font-display: "Outfit", "Inter", system-ui, sans-serif;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}
.display-xl { font-family: var(--font-display); font-size: 96px; line-height: 1; font-weight: 600; letter-spacing: -0.03em; }
.display-lg { font-family: var(--font-display); font-size: 64px; line-height: 1.02; font-weight: 600; letter-spacing: -0.035em; }
.display-md { font-family: var(--font-display); font-size: 44px; line-height: 1.1; font-weight: 600; letter-spacing: -0.02em; }
.heading-lg { font-family: var(--font-display); font-size: 36px; line-height: 1.15; font-weight: 600; letter-spacing: -0.02em; }
.heading-md { font-family: var(--font-display); font-size: 30px; line-height: 1.2; font-weight: 600; letter-spacing: -0.02em; }
.heading-sm { font-family: var(--font-display); font-size: 22px; line-height: 1.25; font-weight: 600; letter-spacing: -0.01em; }
.lead { font-family: var(--font-display); font-size: 32px; line-height: 1.3; font-weight: 400; }
.body-lg { font-family: var(--font-sans); font-size: 19px; line-height: 1.6; font-weight: 400; }
.body-md { font-family: var(--font-sans); font-size: 16px; line-height: 1.6; font-weight: 400; }
.eyebrow { font-family: var(--font-sans); font-size: 13px; line-height: 1.4; font-weight: 600; letter-spacing: 0.12em; }
.ui-view-title { font-family: var(--font-sans); font-size: 20px; line-height: 28px; font-weight: 600; }
.ui-section { font-family: var(--font-sans); font-size: 16px; line-height: 24px; font-weight: 600; }
.ui-label { font-family: var(--font-sans); font-size: 14px; line-height: 20px; font-weight: 500; }
.ui-body { font-family: var(--font-sans); font-size: 14px; line-height: 20px; font-weight: 400; }
.ui-caption { font-family: var(--font-sans); font-size: 12px; line-height: 16px; font-weight: 400; }
.ui-overline { font-family: var(--font-sans); font-size: 11px; line-height: 16px; font-weight: 600; letter-spacing: 0.06em; }
.ui-kpi { font-family: var(--font-sans); font-size: 28px; line-height: 32px; font-weight: 600; }
