/* Quantum Core theme for the Desk and its sign-in pages.
 *
 * Frappe draws every surface, line and text colour from one grey scale and a
 * "primary" colour. This file sets that scale to Quantum's warm neutrals and
 * the primary to Evergreen, in light and dark, and switches the type to Geist.
 * It is loaded after Frappe's own styles; nothing in Frappe is edited.
 */
@font-face { font-family: "Geist"; src: url("/assets/quantum_core/fonts/Geist-Variable.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("/assets/quantum_core/fonts/GeistMono-Variable.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root, [data-theme="light"] {
  --q-brand: #0B6B55; --q-brand-hover: #095644; --q-brand-soft: #E0F0EA; --q-brand-deep: #083D31; --q-on-brand: #FFFFFF;
  --q-accent: #F5A81C; --q-ground: #F7F5EF; --q-surface: #FFFFFF; --q-sunken: #EFECE3; --q-ink: #0C1A17; --q-ink-muted: #5A6B66;
  --q-line: #E2DFD6; --q-line-strong: #7C8A84;

  --gray-50: #F7F5EF; --gray-100: #EFECE3; --gray-200: #E9E6DC; --gray-300: #E2DFD6; --gray-400: #C3C8BF; --gray-500: #94A19B;
  --gray-600: #7C8A84; --gray-700: #5A6B66; --gray-800: #2B3B36; --gray-900: #0C1A17; --gray-950: #06110E;

  --primary: var(--q-brand); --primary-color: var(--q-brand); --btn-primary: var(--q-brand); --brand-color: var(--q-brand);
  --text-on-primary: #FFFFFF;
  --font-stack: "Geist", "InterVariable", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --monospace-font-stack: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --focus-default: 0px 0px 0px 2px rgba(11, 107, 85, 0.35);
  --checkbox-color: var(--q-brand);
}
[data-theme="dark"] {
  --q-brand: #3ECF9E; --q-brand-hover: #63DBB3; --q-brand-soft: #11332A; --q-brand-deep: #083D31; --q-on-brand: #06231B;
  --q-accent: #FFC14D; --q-ground: #0B1513; --q-surface: #121E1B; --q-sunken: #070F0D; --q-ink: #EEF3EF; --q-ink-muted: #9DB0A8;
  --q-line: #22332E; --q-line-strong: #6F8279;

  --gray-50: #EEF3EF; --gray-100: #D5DED9; --gray-200: #B4C2BB; --gray-300: #9DB0A8; --gray-400: #6F8279; --gray-450: #4B5F57;
  --gray-500: #33463F; --gray-600: #283A34; --gray-700: #1F302B; --gray-800: #1A2925; --gray-900: #121E1B; --gray-950: #0B1513;

  --primary: var(--q-brand); --primary-color: var(--q-brand); --btn-primary: var(--q-brand); --brand-color: var(--q-brand);
  --text-on-primary: #06231B;
  --focus-default: 0px 0px 0px 2px rgba(62, 207, 158, 0.4);
  --checkbox-color: var(--q-brand);
}
html, body, .frappe-control, .btn, input, select, textarea, button { font-family: var(--font-stack); }
body { -webkit-font-smoothing: antialiased; font-feature-settings: "ss01"; }
code, pre, kbd, .text-monospace { font-family: var(--monospace-font-stack); }
::selection { background: var(--q-brand-soft); color: var(--q-ink); }
a { color: inherit; }
