/*
 * SendSMS brand tokens (approved cabinet mockups, sendsms-design-complete-20261123):
 * navy text, crimson accent, soft blue-grey surfaces; light and dark themes.
 * Everything is scoped to html[data-brand="sendsms"]: the ZEXTEL cabinet (index.html) never loads or matches it.
 * Contrast (WCAG AA) is checked by test/sendsmsShell.test.js for the pairs used by text and controls.
 */
html[data-brand="sendsms"] {
  color-scheme: light;

  --bg: #f6f7fb;
  --surface: #ffffff;
  --surface-2: #f9fafd;
  --surface-3: #f0f2f8;
  --border: #dfe4ee;
  --border-strong: #c9d1df;

  --text: #13213c;
  --text-secondary: #56637a;
  --text-tertiary: #5f6c83;
  --text-on-dark: #ffffff;
  --text-on-dark-secondary: #c7d0de;

  --primary: #d90050;
  --primary-hover: #bf0047;
  --primary-active: #d90050;
  --primary-soft: #fff0f5;
  --primary-soft-hover: #ffe1ec;
  --text-on-primary: #ffffff;
  --ss-accent-text: #c4004a;

  --success: #147756;
  --success-soft: #e7f7ef;
  --success-strong: #10684b;
  --danger: #c42537;
  --danger-soft: #fdecee;
  --danger-strong: #a51d2e;
  --warning: #8b5b08;
  --warning-soft: #fff1d7;
  --info: #1f5fb8;
  --info-soft: #e8f0fc;

  --sidebar-bg: #ffffff;
  --sidebar-bg-raised: #f3f5fa;
  --sidebar-border: #dfe4ee;
  --sidebar-text: #56637a;
  --sidebar-text-hover: #13213c;
  --sidebar-active-bg: #fff0f5;

  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --text-xs: 12px;
  --text-sm: 13px;
  --text-base: 14px;
  --text-md: 16px;
  --text-lg: 18px;
  --text-xl: 20px;
  --text-2xl: 30px;
  --text-3xl: 34px;

  --radius-sm: 10px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;

  --shadow-sm: 0 8px 30px #13213c08;
  --shadow-md: 0 10px 34px #13213c14;
  --shadow-lg: 0 18px 48px #13213c24;

  --shell-sidebar-w: 226px;
  --shell-topbar-h: 78px;

  /* Shell-only values */
  --ss-field-h: 44px;
  --ss-tooltip-bg: #13213c;
  --ss-tooltip-text: #ffffff;
  --ss-backdrop: #10203b66;
  --ss-focus: #d90050;
  --ss-scroll-shadow: #13213c33;
  --ssov-bar-soft: #f0a3bf;   /* canvas Overview: past days of the delivery chart */
}

html[data-brand="sendsms"][data-theme="dark"] {
  color-scheme: dark;

  --bg: #0c1424;
  --surface: #152137;
  --surface-2: #18253d;
  --surface-3: #1c2a41;
  --border: #2c3c55;
  --border-strong: #3d5070;

  --text: #f0f4fc;
  --text-secondary: #a7b5cb;
  --text-tertiary: #97a6bd;
  --text-on-dark: #f0f4fc;
  --text-on-dark-secondary: #a7b5cb;

  --primary: #ff4a86;
  --primary-hover: #ff6597;
  --primary-active: #ff4a86;
  --primary-soft: #362039;
  --primary-soft-hover: #442646;
  --text-on-primary: #10172a;
  --ss-accent-text: #ff6f9d;

  --success: #66d8ab;
  --success-soft: #143d37;
  --success-strong: #7fe3bb;
  --danger: #ff8a96;
  --danger-soft: #4a1f2a;
  --danger-strong: #ffa3ad;
  --warning: #ffd58a;
  --warning-soft: #45351c;
  --info: #8ab8ff;
  --info-soft: #1b2d4d;

  --sidebar-bg: #152137;
  --sidebar-bg-raised: #1c2a41;
  --sidebar-border: #2c3c55;
  --sidebar-text: #a7b5cb;
  --sidebar-text-hover: #f0f4fc;
  --sidebar-active-bg: #362039;

  --shadow-sm: 0 8px 30px #00000033;
  --shadow-md: 0 10px 34px #00000055;
  --shadow-lg: 0 18px 48px #00000077;

  --ss-tooltip-bg: #f0f4fc;
  --ss-tooltip-text: #13213c;
  --ss-backdrop: #050a14b3;
  --ssov-bar-soft: #7a3556;
  --ss-focus: #ff4a86;
  --ss-scroll-shadow: #a7b5cb59;
}
