/* Pinned OFL typography: font-manifest.json records source, license and exact bytes.
   Relative URLs resolve through both the native and public shared asset routes.
   TR/EN loads a compact Inter face; other Inter/CJK characters load on demand. */
@font-face {
  font-family: "Dentigma Inter";
  src: url("inter-4.1-693b77d4f32e.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
/* Later overlapping face takes precedence for the declared initial UI characters.
   The unchanged full Inter face above retains every other upstream character. */
@font-face {
  font-family: "Dentigma Inter";
  src: url("inter-4.1-latin-03cd5fcf6003.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0000-00B1, U+00B4-00B8, U+00BA-00BB, U+00BF-00CF, U+00D1-00DD, U+00DF-00EF, U+00F1-00FD, U+00FF-00FF, U+011E-011F, U+0130-0131, U+015E-015F, U+2000-206F, U+20AC-20AC, U+20BA-20BA, U+2122-2122, U+2190-2193, U+2197-2197, U+2713-2714, U+FEFF-FEFF;
}
@font-face {
  font-family: "Dentigma CJK";
  src: url("noto-sans-sc-2.004-20cb4abfb009.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+2E80-9FFF, U+F900-FAFF, U+FE10-FE1F, U+FE30-FE4F, U+FF00-FFEF, U+20000-2FFFF;
}
/* Dentigma shared appearance. Consumed by the actual CRM and product scenes.
   Legacy assets use fallback values when the Demo preview is not enabled. */
:root {
  --ui-canvas: #ffffff;
  --ui-surface: #ffffff;
  --ui-surface-soft: #f5f7fa;
  --ui-surface-hover: #edf1f5;
  --ui-sidebar: #f5f7fa;
  --ui-text: #192638;
  --ui-text-secondary: #415369;
  --ui-text-muted: #5d6e82;
  --ui-border: #dce3eb;
  --ui-border-strong: #b7c5d4;
  --ui-accent: #176456;
  --ui-accent-hover: #115044;
  --ui-accent-soft: #e7f3ef;
  --ui-on-accent: #ffffff;
  --ui-message-sent: #e8f4ef;
  --ui-focus: #297e71;
  --ui-danger: #a73332;
  --ui-on-danger: #ffffff;
  --ui-danger-soft: #fbeceb;
  --ui-warning: #87500e;
  --ui-warning-soft: #fff4df;
  --ui-success: #176456;
  --ui-success-soft: #e7f3ef;
  --ui-info: #245788;
  --ui-info-soft: #eaf2fb;
  --ui-violet: #704697;
  --ui-violet-soft: #f1eaf8;
  /* Canonical sales stages: labels always accompany these semantic colors. */
  --ui-stage-new: #0758c3;
  --ui-stage-new-soft: #eaf4ff;
  --ui-stage-contacted: #00687e;
  --ui-stage-contacted-soft: #e7f9fc;
  --ui-stage-qualified: #6740c5;
  --ui-stage-qualified-soft: #f1edff;
  --ui-stage-offered: #835100;
  --ui-stage-offered-soft: #fff7e6;
  --ui-stage-won: #006c4c;
  --ui-stage-won-soft: #e8f8f0;
  --ui-stage-completed: #09686d;
  --ui-stage-completed-soft: #e8f7f7;
  --ui-stage-lost: #a53844;
  --ui-stage-lost-soft: #fff0f1;
  --ui-stage-invalid: #4f6077;
  --ui-stage-invalid-soft: #eff3f8;
  --ui-overlay: rgb(13 24 38 / 36%);
  --ui-shadow-panel: 0 16px 48px rgb(21 38 56 / 14%);
  --ui-shadow-small: 0 2px 8px rgb(21 38 56 / 7%);
  --ui-font: "Dentigma Inter", "Dentigma CJK", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --ui-space-1: 4px;
  --ui-space-2: 8px;
  --ui-space-3: 12px;
  --ui-space-4: 16px;
  --ui-space-6: 24px;
  --ui-radius-control: 8px;
  --ui-radius-panel: 12px;
  --ui-control-height: 44px;
  --ui-duration-control: 150ms;
  --ui-duration-panel: 220ms;
  --ui-duration-reveal: 360ms;
  --ui-ease: cubic-bezier(.2, .75, .2, 1);
  --ui-z-dropdown: 40;
  --ui-z-drawer: 100;
  --ui-z-dialog: 1200;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --ui-canvas: #101721;
  --ui-surface: #18212e;
  --ui-surface-soft: #131c28;
  --ui-surface-hover: #243244;
  --ui-sidebar: #141d29;
  --ui-text: #edf2f8;
  --ui-text-secondary: #ced9e7;
  --ui-text-muted: #a5b5c9;
  --ui-border: #334357;
  --ui-border-strong: #6f839b;
  --ui-accent: #76d6b9;
  --ui-accent-hover: #a2e9d3;
  --ui-accent-soft: #203d38;
  --ui-on-accent: #102a22;
  --ui-message-sent: #203b36;
  --ui-focus: #9ae5d0;
  --ui-danger: #ffa6a4;
  --ui-on-danger: #351e23;
  --ui-danger-soft: #472b32;
  --ui-warning: #ffd091;
  --ui-warning-soft: #423525;
  --ui-success: #76d6b9;
  --ui-success-soft: #203d38;
  --ui-info: #a4d0ff;
  --ui-info-soft: #263a52;
  --ui-violet: #dcc1f8;
  --ui-violet-soft: #3b2e4a;
  --ui-stage-new: #84b6ff;
  --ui-stage-new-soft: #172b43;
  --ui-stage-contacted: #6bd9ee;
  --ui-stage-contacted-soft: #142f39;
  --ui-stage-qualified: #c2a2ff;
  --ui-stage-qualified-soft: #28223d;
  --ui-stage-offered: #ffd17b;
  --ui-stage-offered-soft: #332b1d;
  --ui-stage-won: #6de0b3;
  --ui-stage-won-soft: #17332c;
  --ui-stage-completed: #7ad9d5;
  --ui-stage-completed-soft: #183235;
  --ui-stage-lost: #ffa4ae;
  --ui-stage-lost-soft: #3b242c;
  --ui-stage-invalid: #c0cee1;
  --ui-stage-invalid-soft: #242d3b;
  --ui-overlay: rgb(4 9 17 / 66%);
  --ui-shadow-panel: 0 16px 48px rgb(0 0 0 / 36%);
  --ui-shadow-small: 0 2px 8px rgb(0 0 0 / 22%);
}
:root[data-theme="light"] { color-scheme: light; }
@media (prefers-reduced-motion: reduce) {
  :root { --ui-duration-control: 0ms; --ui-duration-panel: 0ms; --ui-duration-reveal: 0ms; }
}
@media print {
  :root[data-theme] {
    color-scheme: light;
    --ui-canvas: #fff; --ui-surface: #fff; --ui-surface-soft: #f5f7fa;
    --ui-text: #192638; --ui-text-secondary: #415369; --ui-text-muted: #5d6e82;
    --ui-border: #dce3eb; --ui-accent: #176456; --ui-on-accent: #fff;
    --ui-accent-soft: #e7f3ef; --ui-message-sent: #e8f4ef;
  }
}
