/* ==========================================================================
   PRICER — design tokens
   Плотная админ-панель: база 13px, сетка 4px, табличные цифры.
   ========================================================================== */

:root {
  color-scheme: light;

  --font-sans: "Inter", "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "Cascadia Mono", "SF Mono", Consolas, "Liberation Mono", monospace;

  /* surfaces */
  --bg: #f1f4f9;
  --surface: #ffffff;
  --surface-2: #f7f9fd;
  --surface-3: #eef2f8;
  --surface-4: #e5ecf6;
  --line: #e4eaf3;
  --line-2: #d2dce9;

  /* text */
  --text: #0a1526;
  --text-2: #53637b;
  --text-3: #8195ad;
  --text-inv: #ffffff;

  /* brand */
  --primary: #005bff;
  --primary-2: #0043c7;
  --primary-soft: #e9f0ff;
  --primary-ink: #0043c7;

  --wb: #c50fa6;
  --wb-2: #8d0b78;
  --wb-soft: #fbe8f7;

  --ozon: #005bff;
  --ozon-2: #0040bf;

  /* semantic */
  --green: #0c9c6a;
  --green-soft: #e1f7ee;
  --green-ink: #047853;

  --red: #e04449;
  --red-soft: #fdecec;
  --red-ink: #b72a2f;

  --amber: #db9200;
  --amber-soft: #fff4dd;
  --amber-ink: #96650a;

  --violet: #6f4bf2;
  --violet-soft: #efeaff;
  --violet-ink: #5133c9;

  /* geometry */
  --r-xs: 5px;
  --r-sm: 8px;
  --r: 12px;
  --r-lg: 16px;

  --shadow-1: 0 1px 2px rgba(10, 21, 38, .05);
  --shadow-2: 0 1px 3px rgba(10, 21, 38, .07), 0 10px 26px -16px rgba(10, 21, 38, .35);
  --shadow-3: 0 24px 60px -24px rgba(10, 21, 38, .45), 0 2px 6px rgba(10, 21, 38, .08);
  --ring: 0 0 0 3px var(--primary-soft);

  /* layout */
  --h-topbar: 52px;
  --w-side: 212px;
  --pad-x: 16px;

  /* type scale */
  --fs-micro: 10.5px;
  --fs-sm: 11.5px;
  --fs: 12.5px;
  --fs-md: 13.5px;
  --fs-lg: 17px;
}

[data-theme="dark"] {
  color-scheme: dark;

  --bg: #080d14;
  --surface: #0f1621;
  --surface-2: #131c29;
  --surface-3: #192535;
  --surface-4: #223145;
  --line: #1e2b3c;
  --line-2: #2c3d53;

  --text: #e7eef8;
  --text-2: #9db0c7;
  --text-3: #6b809b;
  --text-inv: #0a1526;

  --primary: #3e84ff;
  --primary-2: #2c6ce0;
  --primary-soft: #12294a;
  --primary-ink: #8fb6ff;

  --wb: #e34cc6;
  --wb-2: #a5148d;
  --wb-soft: #2e1229;

  --ozon: #3e84ff;
  --ozon-2: #2c6ce0;

  --green: #27cd8f;
  --green-soft: #0d2a22;
  --green-ink: #57e0ab;

  --red: #ff6167;
  --red-soft: #33191c;
  --red-ink: #ff9ba0;

  --amber: #f2b13d;
  --amber-soft: #2f2513;
  --amber-ink: #ffcf7a;

  --violet: #a58bff;
  --violet-soft: #221b3d;
  --violet-ink: #c3b2ff;

  --shadow-1: 0 1px 2px rgba(0, 0, 0, .4);
  --shadow-2: 0 1px 3px rgba(0, 0, 0, .45), 0 12px 30px -18px rgba(0, 0, 0, .8);
  --shadow-3: 0 30px 70px -28px rgba(0, 0, 0, .85), 0 2px 8px rgba(0, 0, 0, .5);
  --ring: 0 0 0 3px rgba(62, 132, 255, .22);
}
