/* Shared design tokens for the TKEN SEO console and the native SEO Panel theme. */
@font-face { font-family: "IBM Plex Sans"; font-weight: 400; font-display: swap; src: url(fonts/plex-sans-400.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 500; font-display: swap; src: url(fonts/plex-sans-500.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 600; font-display: swap; src: url(fonts/plex-sans-600.woff2) format("woff2"); }

/* ---- Tokens --------------------------------------------------------------- */
:root {
  /* Neutral daylight canvas; cobalt is reserved for navigation, actions and data. */
  --canvas: #f6f7fb; --surface: #ffffff; --surface-2: #f8f9fc; --surface-3: #eef1f7;
  --line: #e5e8f0; --line-strong: #c6cddb;
  --ink: #171c2d; --ink-2: #424c63; --ink-3: #667087; --ink-inverse: #ffffff;
  /* Cobalt identity. Status colours remain independent of the brand. */
  --brand: #3157e8; --brand-hover: #2445c6; --brand-press: #1b359c; --brand-soft: #edf1ff; --brand-ink: #2643ac; --brand-line: #b8c7ff;
  /* Status — always paired with an icon and a word, never colour alone. */
  --crit: #b42318; --crit-soft: #fdecea; --crit-line: #f3b7b1;
  --warn: #8a4f00; --warn-mark: #c27400; --warn-soft: #fcf2df; --warn-line: #ecd09c;
  --info: #1d5a9c; --info-soft: #e9f1fa; --info-line: #b5cde9;
  --ok: #237052; --ok-soft: #edf7f1; --ok-line: #bddacb;
  --neutral-soft: #edf0f5;
  /* Blue current period, orange comparison; comparison also uses a dashed line. */
  --series-cur: #3157e8; --series-prev: #b36524; --grid: #ebedf4;

  --font: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", "Noto Sans CJK SC", "Source Han Sans SC", "Segoe UI", sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", Consolas, "Liberation Mono", monospace;
  --fs-xs: 12px; --fs-sm: 13px; --fs-base: 14px; --fs-md: 15px; --fs-lg: 17px; --fs-xl: 30px; --fs-2xl: 38px;
  --lh: 1.6; --lh-tight: 1.35;
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 20px; --s6: 24px; --s7: 32px; --s8: 40px;
  --r-sm: 10px; --r-md: 18px; --r-lg: 24px; --r-pill: 999px;
  --shadow-pop: 0 1px 2px rgb(23 28 45 / .06), 0 8px 24px rgb(23 28 45 / .10);
  --shadow-layer: 0 2px 6px rgb(23 28 45 / .08), 0 24px 56px rgb(23 28 45 / .18);
  --z-sidebar: 20; --z-scrim: 30; --z-layer: 40; --z-toast: 50;
  --control-h: 40px; --control-h-sm: 34px;
  --sidebar-w: 232px;
  --ease: cubic-bezier(.2, .7, .2, 1); --t-fast: 140ms; --t-med: 220ms;
}
@media (pointer: coarse) { :root { --control-h: 44px; --control-h-sm: 40px; } }
