/* Dark-mode compatibility only.
   The design source is the unchanged 17 Oct pre-Figma CSS linked immediately
   before this file. Translate Evergreen-only tokens to the original
   charcoal-and-gold palette so new structural components still look native. */
html[data-theme="dark"] {
  color-scheme: dark;
  --cca-canvas: #101110;
  --cca-surface: #171817;
  --cca-raised: #20211f;
  --cca-subtle: #20211f;
  --cca-tree: #171817;
  --cca-ink: #f2eee6;
  --cca-secondary: #aaa398;
  --cca-tertiary: #aaa398;
  --cca-border: rgba(242, 238, 230, .11);
  --cca-border-strong: rgba(199, 162, 93, .28);
  --cca-green: #c7a25d;
  --cca-green-hover: #e3c781;
  --cca-on-green: #12120f;
  --cca-copper: #c7a25d;
  --cca-copper-tint: #2a241a;
  --cca-verified: #5eb985;
  --cca-reported: #e3c781;
  --cca-unverified: #aaa398;
  --cca-missing: #aaa398;
  --cca-danger: #e06f78;
  --cca-shadow: 0 14px 36px rgba(0, 0, 0, .20);
  --bg: #101110;
  --surface: #171817;
  --surface-2: #20211f;
  --surface-3: #292a27;
  --field-bg: #171817;
  --header-bg: rgba(16, 17, 16, .96);
  --text: #f2eee6;
  --muted: #aaa398;
  --gold: #c7a25d;
  --gold-soft: #e3c781;
  --line: rgba(199, 162, 93, .28);
  --line-soft: rgba(242, 238, 230, .11);
  --accent-contrast: #12120f;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
          "Segoe UI", sans-serif;
}
/* Evergreen's higher-specificity heading rule otherwise overrides the
   original Georgia heading stack even when the original stylesheet is last. */
html[data-theme="dark"] :is(h1, h2, h3),
html[data-theme="dark"] body .page-heading h1,
html[data-theme="dark"] body .dog-profile h1,
html[data-theme="dark"] body .dashboard-hero h1 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: normal;
}
html[data-theme="dark"] body,
html[data-theme="dark"] button,
html[data-theme="dark"] input,
html[data-theme="dark"] select,
html[data-theme="dark"] textarea { font-family: var(--sans); }
/* Modern navigation disclosures are not present in the pre-Figma release.
   Keep their improved interactions and accessibility; recolor them only. */
html[data-theme="dark"] :focus-visible { outline-color: var(--gold); }
html[data-theme="dark"] ::selection { background: var(--gold); color: var(--accent-contrast); }
