:root {
  /* Essight Web design tokens. Keep business CSS on semantic tokens. */
  --brand: #0052D9;
  --brand-hover: #004BC8;
  --brand-active: #003CAB;
  --brand-bg: #ECF2FE;
  --brand-bg2: #F2F6FF;
  --brand-border: #6487D8;
  --on-brand: #FFFFFF;

  --success: #00A870;
  --success-ink: #006C4B;
  --success-bg: #E7F7EF;
  --success-border: #4C8C73;
  --warning: #ED7B2F;
  --warning-ink: #8A4C12;
  --warning-bg: #FDF2E7;
  --warning-border: #A9672B;
  --warning-surface-ink: #9A5B1E;
  --warning-surface-border: #F0C9A6;
  --error: #D54941;
  --error-ink: #9B2C27;
  --error-bg: #FDEDEC;
  --error-border: #B9635D;
  --error-surface-ink: #8F322C;
  --error-surface-border: #F0B5B1;

  --text-1: #18191C;
  --text-2: #3D4557;
  --text-3: #646A73;
  --text-4: #69707A;
  --placeholder-text: #8F959E;
  --bg: #F3F4F5;
  --card: #FFFFFF;
  --line: #EBEDF0;
  --line-2: #E7E7E7;
  --input-line: #DCDFE6;
  --selection-line: #C4C9D1;
  --switch-off-bg: #C9CDD4;
  --input-readonly-bg: #F7F8FA;
  --table-row-hover: #FAFBFC;
  --table-row-line: #F1F2F4;
  --scrim: rgb(0 0 0 / 42%);

  --tag-purple: #534AB7;
  --tag-purple-bg: #EEEDFE;
  --tag-yellow: #8A4A07;
  --tag-yellow-bg: #FDF6E3;

  --shadow-elevated: 0 8px 24px rgb(0 0 0 / 10%);
  --shadow-modal: 0 8px 30px rgb(0 0 0 / 18%);
  --shadow-drawer: -8px 0 30px rgb(0 0 0 / 12%);
  --shadow-focus-subtle: 0 0 0 2px rgb(0 82 217 / 10%);
  --shadow-error-subtle: 0 0 0 2px rgb(213 73 65 / 10%);

  --radius-sm: 4px;
  --radius-s: 6px;
  --radius-md: 6px;
  --radius: 8px;
  --radius-lg: 8px;
  --radius-xl: 12px;
  --radius-full: 9999px;

  --control-compact: 32px;
  --control-default: 36px;
  --search-height: 34px;
  --topbar-height: 56px;
  --sidebar-width: 216px;
  --content-max-width: 1184px;
  --modal-sm: 440px;
  --modal-md: 560px;
  --modal-lg: 720px;

  --font-size-stat: 26px;
  --font-size-title: 20px;
  --font-size-section: 16px;
  --font-size-card-title: 14.5px;
  --font-size-nav: 13.5px;
  --font-size-body: 13px;
  --font-size-metadata: 12px;
  --font-size-micro: 11.5px;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;

  /* Roles that are not the operator scale. Values stay the approved surface colors. */
  --brand-accent: #2CB789;
  --brand-accent-hover: #26A67B;
  --brand-accent-press: #007A5A;
  --brand-deep: #105943;
  --brand-deep-active: #0C4636;
  --brand-highlight: #56D2A0;
  --brand-ink: #0F1D19;
  --brand-tint: #EAF8F2;
  --brand-line: #D6EDE3;
  --brand-wash: #EDF7F3;
  --brand-wash-end: #F6FAF8;
  --brand-line-soft: #BBD1F7;
  --text-muted: #8A9691;
  --text-quiet: #5C6B66;
  --text-strong: #3A4050;
  --text-disabled: #C4CDC9;
  --nav-muted: #B9CCC6;
  --danger-ink: #BE4038;
  --danger-strong: #B4232A;
  --danger-label: #A92C25;
  --danger-soft: #FBEEED;
  --danger-surface: #FDF6F5;
  --danger-surface-2: #FDEEEC;
  --danger-wash: #FDEEEE;
  --rank-danger-bg: #FBECEA;
  --rank-warning-bg: #FCF4E4;
  --rank-warning-ink: #8A6415;
  --surface-muted: #F2F5F4;
  --surface-soft: #F1F4F3;
  --surface-quiet: #FAFCFB;
  --surface-sunken: #F1F3F5;
  --surface-warm: #FFF9F0;
  --warning-line: #FCE6CC;
  --warning-strong: #B25E09;
  --notice-line: #FBE7A1;
  --notice-bg: #FFF3E8;
  --warning-chip-line: #F3C9BB;
  --success-line: #CDEBDC;
  --success-quiet: #3C7F66;
  --success-border-soft: #CBEBDF;
  --success-label: #067A50;
  --success-title: #0B5F42;
  --success-meta: #3E7A63;
  --success-action: #0B7A52;
  --success-surface: #F2FBF6;
  --success-wash: rgb(0 168 112 / 14%);
  --calendar-in-range: #E2F3EB;
  --calendar-active: #D6EDE1;
  --selection-muted: #CFD8D4;
  --grid-line: #D7DCE4;
  --axis-line: #B4BAC4;
  --guide-line: #CFD6E2;
  --panel-start: #FBFCFD;
  --panel-end: #F4F6F9;
  --on-dark: rgb(255 255 255 / 78%);
  --on-dark-muted: rgb(255 255 255 / 52%);
  --on-dark-faint: rgb(255 255 255 / 50%);
  --on-dark-quiet: rgb(255 255 255 / 45%);
  --on-dark-caption: rgb(255 255 255 / 48%);
  --on-dark-label: rgb(255 255 255 / 46%);
  --line-on-dark: rgb(255 255 255 / 18%);
  --line-on-dark-strong: rgb(255 255 255 / 16%);
  --line-on-dark-soft: rgb(255 255 255 / 14%);
  --line-on-dark-faint: rgb(255 255 255 / 12%);
  --surface-on-dark: rgb(255 255 255 / 6%);
  --ink-clear: rgb(15 29 25 / 0%);
  --shadow-hairline: rgb(15 29 25 / 5%);
  --shadow-ink: rgb(15 29 25 / 50%);
  --shadow-popover-ink: rgb(15 29 25 / 22%);
  --shadow-floating: rgb(15 29 25 / 18%);
  --focus-ink: rgb(15 29 25 / 14%);
  --shadow-soft: rgb(0 0 0 / 12%);
  --shadow-control: rgb(0 0 0 / 15%);
  --brand-wash-blue: rgb(0 82 217 / 8%);
  --brand-active-wash: rgb(0 60 171 / 25%);
  --shadow-search: rgb(26 31 46 / 6%);
  --shadow-panel: rgb(26 31 46 / 5%);
  --shadow-document: rgb(26 31 46 / 7%);
  --brand-deep-glow: rgb(15 110 86 / 26%);
  --brand-deep-glow-strong: rgb(15 110 86 / 28%);
  --shadow-raised: rgb(16 24 40 / 8%);
  --shadow-tooltip-ambient: rgb(16 24 40 / 2%);
  --shadow-tooltip-edge: rgb(16 24 40 / 14%);

  /* Series colors are data. Features read @geo/browser-ui/charts/palette; do not inline them. */
  --chart-1: #0052D9;
  --chart-2: #7B61FF;
  --chart-3: #00875A;
  --chart-4: #B45309;
  --chart-5: #0E7490;
  --chart-6: #B42318;
  --chart-7: #596579;
  --chart-positive: #00875A;
  --chart-neutral: #6B857C;
  --chart-negative: #C15B52;
  --chart-remainder: #D0D5DD;
  --chart-platform-yuanbao: #9A6B26;
  --chart-platform-qwen: #178573;
  --chart-platform-kimi: #36829E;
  --chart-platform-wenxin: #637083;
  --chart-platform-deepseek: #5362C9;
  --chart-provider-1: #2CB789;
  --chart-provider-2: #56D2A0;
  --chart-provider-3: #8FBFB3;
  --chart-provider-4: #B6C9C4;
  --chart-provider-5: #C9D6D1;
  --chart-provider-6: #105943;
  --chart-peer-1: #2CB789;
  --chart-peer-2: #8FBFB3;
  --chart-peer-3: #A9B4B0;
  --chart-peer-4: #C9D6D1;
  --chart-peer-5: #4C8DA5;
  --chart-peer-6: #AD7C59;
  --chart-peer-7: #8270AA;
  --chart-peer-8: #B1788F;
  --chart-peer-9: #5F8C5B;
  --chart-peer-10: #BD9241;
  --chart-peer-11: #5F799D;
  --chart-peer-12: #A16157;
  --chart-peer-13: #779E93;
  --chart-peer-14: #8C7758;
  --chart-peer-15: #9A8CAE;
  --chart-peer-16: #BC8A78;
  --chart-peer-17: #6A9C67;
  --chart-peer-18: #9E9A56;
  --chart-peer-19: #707E88;
  --chart-peer-20: #A07B98;
  --chart-share-1: #2CB789;
  --chart-share-2: #5FC0A2;
  --chart-share-3: #8FBFB3;
  --chart-share-4: #A9B4B0;
  --chart-share-5: #C3CFCB;
  --chart-share-6: #D3DFDA;
  --shadow-tooltip: 0 8px 28px rgb(16 24 40 / 8%), 0 0 0 1px rgb(16 24 40 / 5%);

  color-scheme: light;
  color: var(--text-2);
  background: var(--bg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: var(--font-size-body);
  font-synthesis: none;
  font-variant-numeric: tabular-nums;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

/* Surface colors whose role is the same token with a different approved value, or a role the shared scale does not name. */
.bw-modal {
  --brand-active: #103d30;
  --brand-border: #80b7a3;
  --text-2: #34483f;
  --text-4: #68766f;
  --line: #e0e7e3;
  --line-2: #eff3f1;
  --input-line: #e0e7e3;
  --shadow-focus-subtle: 0 0 0 2px rgb(16 89 67 / 14%);
}
.brand-login {
  --brand-login-cream: #f7f5ef;
  --brand-login-placeholder: #a8b3af;
  --brand-login-line: #e0e7e3;
  --brand-login-glow: rgb(44 183 137 / 16%);
  --brand-login-focus: rgb(44 183 137 / 18%);
  --brand-login-error-focus: rgb(190 64 56 / 14%);
}
.bw-members-panel {
  --bw-members-row-hover: #fbfdfc;
}
.bw-overview-page {
  --bw-neutral: #c9d6d1;
  --bw-negative: #d98880;
}
.bw-share-card {
  --bw-share-peer-1: #5fc0a2;
  --bw-share-peer-2: #8fbfb3;
  --bw-share-peer-3: #a9b4b0;
  --bw-share-peer-4: #c3cfcb;
  --bw-share-peer-5: #d3dfda;
}
.brand-workbench {
  --brand-hover: #174e3e;
  --brand-active: #103d30;
  --brand-bg2: #f2faf6;
  --brand-border: #80b7a3;
  --text-2: #34483f;
  --text-4: #68766f;
  --bg: #f6f8f7;
  --line: #e0e7e3;
  --line-2: #eff3f1;
  --input-line: #e0e7e3;
  --shadow-focus-subtle: 0 0 0 2px rgb(16 89 67 / 14%);
  --bw-nav-text: rgb(255 255 255 / 66%);
  --bw-nav-active-bg: rgb(86 210 160 / 13%);
  --bw-chart-grid: #eff3f1;
  --bw-neutral: #b7c7bd;
  --bw-negative: #de9b7b;
  --bw-warning-bg: #fdf5e9;
  --bw-warning-ink: #875411;
}
html.diagnosis-report {
  color-scheme: light;
  --ink: #1A1F2E;
  --muted: #646A73;
  --faint: #646A73;
  --line: #E6E8EE;
  --bg: #F5F6F8;
  --card: #FFFFFF;
  --brand: #0F6E56;
  --brand2: #1D9E75;
  --brandsoft: #E1F5EE;
  --brand-soft: #E1F5EE;
  --warn: #D85A30;
  --warn-soft: #FCEBE7;
  --blue: #185FA5;
  --blue-soft: #E6F1FB;
  --amber: #BA7517;
  --amber-soft: #FAEEDA;
  --report-hero-veil: rgb(255 255 255 / 14%);
  --report-hero-muted: rgb(255 255 255 / 82%);
  --report-hero-text: rgb(255 255 255 / 90%);
  --report-hero-mark: rgb(255 255 255 / 16%);
  --report-verdict-line: #F3CD72;
  --report-verdict-bg: #095A46;
  --report-table-head: #FAFBFC;
  --report-label: #333333;
  --report-body: #3A4050;
  --report-warn-ink: #9B3F1F;
  --report-amber-ink: #8A5612;
  --report-brand-hover: #0C5D48;
  --report-brand-glow: rgb(15 110 86 / 28%);
  --report-on-brand: #FFFFFF;
  --grade-low: #AA421F;
  --grade-medium: #705200;
  --grade-high: #084E3D;
  --grade-note: #DEF3EB;
}

html.essight-site {
  --gold: #DEB459;
  --cream: #F7F5EF;
  --line: #E0E7E3;
  --green-ink: #087B57;
}
.gc-page {
  --gc-cream: #f7f5ef;
  --gc-line: #e0e7e3;
}
.gc-landing {
  --ink: #1a1f2e;
  --line: #e6e8ee;
  --bg: #f5f6f8;
  --brand: #0f6e56;
  --brand2: #1d9e75;
  --brand-soft: #e1f5ee;
  --warn-soft: #fcebe7;
  --blue: #185fa5;
  --blue-soft: #e6f1fb;
  --amber-soft: #faEeda;
}
.gc-document {
  --ink: #1a1f2e;
  --line: #e6e8ee;
  --bg: #f5f6f8;
  --brand: #0f6e56;
  --brand2: #1d9e75;
  --brand-soft: #e1f5ee;
  --warn-soft: #fcebe7;
  --amber-soft: #faeeda;
}
