/* Torque Jobs brand: white surfaces with the deep teal from Torque Outreach (#142428),
   Instrument Serif headings and Outfit text (fonts from fonts.css).
   --accent is for text/icons/fills; --brand is the main button colour (white text on teal).
   The light theme is the default. The previous dark theme is kept below under
   [data-theme="dark"] so it can be switched on later; nothing sets that attribute yet. */

:root {
  color-scheme: light;
  --bg: #ffffff;
  --panel: #ffffff;
  --panel-2: #f4f8f8;
  --selected: #e5f1ee;
  --border: #e1e9e9;
  --border-strong: #ccd8d8;
  --text: #10201f;
  --muted: #5d6e6e;
  --accent: #1f5c52;
  --accent-2: #2a7466;
  --accent-soft: #e5f1ee;
  --brand: #142428;
  --brand-2: #1c3a42;
  --brand-fg: #ffffff;
  --tile: #142428;
  --tile-mark: #9cdb83;
  --focus: rgba(31, 92, 82, 0.18);
  --ok: #1a7a43;
  --ok-soft: #e3f5ea;
  --warn: #a35a00;
  --warn-soft: #fdf0da;
  --bad: #b42318;
  --bad-soft: #fdecea;
  --info: #1f5fa8;
  --info-soft: #e8f0fb;
  /* Dashboard sidebar: dark teal, as in Torque Outreach */
  --sidebar: #142428;
  --sidebar-2: #1a3036;
  --sidebar-active: #1c3a42;
  --sidebar-border: #23404a;
  --sidebar-text: #e8f2f1;
  --sidebar-muted: #a7b8b9;
  --sidebar-icon: #9cc79d;
}

/* Previous dark theme (Torque Outreach look), kept for a future dark mode */
[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0d1a19;
  --panel: #112120;
  --panel-2: #162a28;
  --selected: #183230;
  --border: #233735;
  --border-strong: #2f4744;
  --text: #e9efe9;
  --muted: #8fa39c;
  --accent: #bff36b;
  --accent-2: #d2f99a;
  --accent-soft: #1c2d16;
  --brand: #bff36b;
  --brand-2: #d2f99a;
  --brand-fg: #0d1a19;
  --tile: #bff36b;
  --tile-mark: #0d1a19;
  --focus: rgba(191, 243, 107, 0.16);
  --ok: #7ee2a0;
  --ok-soft: #12301f;
  --warn: #fbbf24;
  --warn-soft: #3a2c0d;
  --bad: #f87171;
  --bad-soft: #3b1414;
  --info: #7cb8f5;
  --info-soft: #14283f;
  --sidebar: #0b1716;
  --sidebar-2: #112120;
  --sidebar-active: #183230;
  --sidebar-border: #233735;
  --sidebar-text: #e9efe9;
  --sidebar-muted: #8fa39c;
  --sidebar-icon: #bff36b;
}

::selection {
  background: var(--accent-soft);
  color: var(--text);
}

/* Torque mark: green quarter-discs on a teal tile */
.torque-tile {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--tile);
}
.torque-tile svg {
  width: 15px;
  height: 15px;
  fill: var(--tile-mark);
  stroke: none;
}
.torque-wordmark {
  font-family: var(--font-heading);
  font-weight: 400;
  letter-spacing: -0.01em;
  white-space: nowrap;
  color: var(--text);
}
