/* Intellisquare Reputation Portal - design tokens (Intellisquare navy + teal, deck sentiment key) */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:opsz,wght@9..40,400;9..40,500;9..40,600;9..40,700;9..40,800&family=Source+Serif+4:opsz,wght@8..60,500;8..60,600;8..60,700&family=Anton&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --navy: #0F2142;
  --navy-2: #172E57;
  --brand: #12A0A6;            /* Intellisquare teal */
  --brand-600: #0C8288;
  --brand-50: #E3F4F4;
  --brand-100: #C3E7E8;
  --blue: #2337C6;             /* findings deck blue */
  --ink: #14213A;
  --ink-2: #344260;
  --bg: #F5F6F8;
  --surface: #FFFFFF;
  --surface-2: #F9FAFB;
  --sidebar: #FFFFFF;
  --sidebar-hover: #EEF1F5;
  --border: #E3E7ED;
  --border-strong: #CED5DF;
  --muted: #66718A;
  --muted-2: #98A1B3;

  /* sentiment key from the findings deck */
  --s-bad: #D93A26;
  --s-neg: #E96B5A;
  --s-neu: #F5BE2A;
  --s-pos: #3DB55A;
  --s-own: #12A0A6;
  --s-bad-bg: #FCE9E6;
  --s-neg-bg: #FDEFEC;
  --s-neu-bg: #FEF5DC;
  --s-pos-bg: #E6F6EA;
  --s-neu-ink: #8A6400;

  --success: #2E9E4F;
  --success-bg: #E6F6EA;
  --warning: #B7791F;
  --warning-bg: #FDF3DD;
  --danger: #D93A26;
  --danger-bg: #FCE9E6;
  --info: #2F5FD0;
  --info-bg: #E8EEFC;
  --grid: rgba(20, 33, 58, .07);

  --font: 'DM Sans', system-ui, sans-serif;
  --serif: 'Source Serif 4', Georgia, serif;
  --display: 'Anton', 'Arial Narrow', Impact, sans-serif;
  --mono: 'JetBrains Mono', Menlo, monospace;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow-sm: 0 1px 2px rgba(15, 33, 66, .05);
  --shadow: 0 4px 10px -2px rgba(15, 33, 66, .06), 0 2px 4px -2px rgba(15, 33, 66, .04);
  --shadow-lg: 0 24px 40px -12px rgba(15, 33, 66, .18), 0 8px 12px -6px rgba(15, 33, 66, .06);
  color-scheme: light;
}

:root[data-theme="dark"] {
  --navy: #0B1730;
  --navy-2: #13244A;
  --brand: #2CC1C6;
  --brand-600: #22A6AB;
  --brand-50: rgba(44, 193, 198, .12);
  --brand-100: rgba(44, 193, 198, .24);
  --blue: #6F82F2;
  --ink: #EEF1F6;
  --ink-2: #C9D0DD;
  --bg: #0E1422;
  --surface: #151D2F;
  --surface-2: #1A2337;
  --sidebar: #121A2B;
  --sidebar-hover: #1F2A40;
  --border: #253149;
  --border-strong: #33415E;
  --muted: #94A0B8;
  --muted-2: #66728C;
  --s-bad: #F05A44;
  --s-neg: #F38B7B;
  --s-neu: #F7C94A;
  --s-pos: #55C772;
  --s-own: #2CC1C6;
  --s-bad-bg: rgba(240, 90, 68, .14);
  --s-neg-bg: rgba(243, 139, 123, .12);
  --s-neu-bg: rgba(247, 201, 74, .12);
  --s-pos-bg: rgba(85, 199, 114, .13);
  --s-neu-ink: #F7C94A;
  --success: #55C772;
  --success-bg: rgba(85, 199, 114, .13);
  --warning: #E9B44C;
  --warning-bg: rgba(233, 180, 76, .13);
  --danger: #F05A44;
  --danger-bg: rgba(240, 90, 68, .14);
  --info: #7E9CF0;
  --info-bg: rgba(126, 156, 240, .13);
  --grid: rgba(255, 255, 255, .07);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body { font-family: var(--font); background: var(--bg); color: var(--ink); font-size: 14px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--brand-100); }

.serif { font-family: var(--serif); }
.display { font-family: var(--display); font-weight: 400; letter-spacing: .005em; text-transform: uppercase; }
.mono { font-family: var(--mono); }
.muted { color: var(--muted); }
.small { font-size: 12px; }
.row { display: flex; align-items: center; gap: 10px; }
.row.between { justify-content: space-between; }
.wrap { flex-wrap: wrap; }
.grow { flex: 1; min-width: 0; }
.hidden { display: none !important; }
.nowrap { white-space: nowrap; }
.tnum { font-variant-numeric: tabular-nums; }
