/* ERP Yuksel — tokens.css, generat din design/tokens.json de design/genereaza_tokens.py. Nu se editează de mână: se schimbă tokens.json și se regenerează. */

:root, [data-theme="light"] {
  --surface-0: #f6f3ec;
  --surface-1: #ffffff;
  --surface-2: #ece7db;
  --line: #e1dbce;
  --line-strong: #c6beac;
  --ink: #1e1b16;
  --ink-muted: #5f594e;
  --ink-faint: #857d6e;
  --brand: #e29925;
  --on-brand: #1e1b16;
  --brand-soft: #fbeed3;
  --brand-text: #7a4e08;
  --action: #1f5fa8;
  --on-action: #ffffff;
  --action-hover: #174c88;
  --action-soft: #e4ecf7;
  --action-text: #164a85;
  --ok: #2e7d4f;
  --ok-soft: #e3efe6;
  --ok-text: #1f5c39;
  --warn: #b7791f;
  --warn-soft: #fbf1dc;
  --warn-text: #7a4f0f;
  --danger: #b3261e;
  --danger-soft: #f8e3e1;
  --danger-text: #8a1c15;
  --neutral-dot: #9a937f;
  --overlay: #1e1b1699;
  --shadow-pop: 0 8px 24px rgba(30, 27, 22, 0.14);
  --shadow-focus: 0 0 0 3px rgba(31, 95, 168, 0.35);
}
[data-theme="dark"] {
  --surface-0: #1b1916;
  --surface-1: #24211d;
  --surface-2: #2e2a25;
  --line: #3a352e;
  --line-strong: #4d463d;
  --ink: #f1ece2;
  --ink-muted: #b3ab9c;
  --ink-faint: #857d6e;
  --brand: #e6a63a;
  --on-brand: #1b1916;
  --brand-soft: #3d2f14;
  --brand-text: #f2c56e;
  --action: #7fafe8;
  --on-action: #10233b;
  --action-hover: #9cc2f0;
  --action-soft: #22304a;
  --action-text: #b9d4f5;
  --ok: #6fbf8c;
  --ok-soft: #1f3328;
  --ok-text: #a7dcbb;
  --warn: #e0a84a;
  --warn-soft: #3b2f16;
  --warn-text: #f3cf8a;
  --danger: #ef8b84;
  --danger-soft: #3f211f;
  --danger-text: #f6b5b0;
  --neutral-dot: #6b6457;
  --overlay: #00000099;
  --shadow-pop: 0 8px 24px rgba(0, 0, 0, 0.5);
  --shadow-focus: 0 0 0 3px rgba(127, 175, 232, 0.45);
}
:root {
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-pill: 999px;
  --control-h: 44px;
  --control-h-lg: 52px;
  --sidebar-w: 264px;
  --topbar-h: 56px;
  --bottomnav-h: 72px;
  --content-max: 1200px;
  --font-serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --font-sans: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --text-min: 13px;
  --leading-min: 18px;
  --text-small: 14px;
  --leading-small: 20px;
  --text-body: 15px;
  --leading-body: 22px;
  --text-nav: 16px;
  --leading-nav: 22px;
  --text-heading: 17px;
  --leading-heading: 24px;
  --text-lg: 18px;
  --leading-lg: 24px;
  --text-xl: 20px;
  --leading-xl: 26px;
  --text-display-sm: 22px;
  --leading-display-sm: 28px;
  --text-display-md: 24px;
  --leading-display-md: 30px;
  --text-number-lg: 26px;
  --leading-number-lg: 30px;
  --text-display-lg: 32px;
  --leading-display-lg: 38px;
}

.display-lg { font-family: var(--font-serif); font-size: 32px; line-height: 38px; font-weight: 700; }
.display-sm { font-family: var(--font-serif); font-size: 22px; line-height: 28px; font-weight: 600; }
.heading { font-family: var(--font-sans); font-size: 17px; line-height: 24px; font-weight: 700; }
.body { font-family: var(--font-sans); font-size: 15px; line-height: 22px; font-weight: 400; }
.body-strong { font-family: var(--font-sans); font-size: 15px; line-height: 22px; font-weight: 600; }
.small { font-family: var(--font-sans); font-size: 14px; line-height: 20px; font-weight: 400; }
.label { font-family: var(--font-sans); font-size: 14px; line-height: 20px; font-weight: 600; }
.number-lg { font-family: var(--font-sans); font-size: 26px; line-height: 30px; font-weight: 700; font-variant-numeric: tabular-nums; }
.number { font-family: var(--font-sans); font-size: 15px; line-height: 22px; font-weight: 600; font-variant-numeric: tabular-nums; }

@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --surface-0: #1b1916;
  --surface-1: #24211d;
  --surface-2: #2e2a25;
  --line: #3a352e;
  --line-strong: #4d463d;
  --ink: #f1ece2;
  --ink-muted: #b3ab9c;
  --ink-faint: #857d6e;
  --brand: #e6a63a;
  --on-brand: #1b1916;
  --brand-soft: #3d2f14;
  --brand-text: #f2c56e;
  --action: #7fafe8;
  --on-action: #10233b;
  --action-hover: #9cc2f0;
  --action-soft: #22304a;
  --action-text: #b9d4f5;
  --ok: #6fbf8c;
  --ok-soft: #1f3328;
  --ok-text: #a7dcbb;
  --warn: #e0a84a;
  --warn-soft: #3b2f16;
  --warn-text: #f3cf8a;
  --danger: #ef8b84;
  --danger-soft: #3f211f;
  --danger-text: #f6b5b0;
  --neutral-dot: #6b6457;
  --overlay: #00000099;
  --shadow-pop: 0 8px 24px rgba(0, 0, 0, 0.5);
  --shadow-focus: 0 0 0 3px rgba(127, 175, 232, 0.45);
} }
