/* Shared palette for VaBridge's in-app reference pages. */
:root.app-guide {
  --app-bg: #f3f4f5;
  --app-text: #15171c;
  --app-secondary: #50545d;
  --app-card: #fff;
  --app-line: #d8dbe0;
  --app-accent: #007c93;
  --app-accent-soft: #e4f2f4;
  --text: var(--app-text);
  --card-text: var(--app-text);
  --card-muted: var(--app-secondary);
  --card-line: var(--app-line);
  color-scheme: light;
  background: var(--app-bg);
}
:root.app-guide[data-theme="dark"] {
  --app-bg: #111318;
  --app-text: #f4f5f7;
  --app-secondary: #adb2bc;
  --app-card: #1b1e25;
  --app-line: #30343c;
  --app-accent: #7ae8f0;
  --app-accent-soft: #21383d;
  color-scheme: dark;
}

.app-guide body {
  background: var(--app-bg);
  color: var(--app-text);
}
.app-guide :is(.site-header, .site-footer),
.app-guide body::before,
.app-guide .card::before,
.app-guide .card::after {
  display: none;
}

.app-guide :is(.card, .gear-devices section, .guide-step, .guide-trial, .guide-toc a) {
  background: var(--app-card);
  border-color: var(--app-line);
  box-shadow: none;
  color: var(--app-text);
}
.app-guide :is(h1, h2, h3, strong, .days) {
  color: var(--app-text);
}
.app-guide :is(h2, .gear-help, .guide-faq details, .guide-mini, .notes p) {
  border-color: var(--app-line);
}
.app-guide :is(.lead, .muted, .intro, .gear-devices p, .gear-help p, .hero p,
  .guide-step p, .guide-hero p, .guide-video figcaption, .guide-trial p, .guide-faq details p, .notes) {
  color: var(--app-secondary);
}
.app-guide .gear-steps li::before,
.app-guide :is(a, .eyebrow, .file, .guide-kicker, .guide-devices, .guide-toc span,
  .step-number, .step-icon, .trial-number, .timeline) {
  color: var(--app-accent);
}
.app-guide .connection-gate {
  color: var(--app-accent) !important;
}
.app-guide :is(code, aside, .timeline i, .week span, .guide-tip, .guide-illustration, .connection-required),
.app-guide .connection-required .guide-mini,
.app-guide .save-options .guide-mini:first-child {
  background: var(--app-accent-soft);
  border-color: var(--app-line);
  color: var(--app-text);
}
.app-guide :is(aside, .guide-tip, .connection-required) {
  border-color: var(--app-accent);
}
.app-guide .guide-label {
  background: var(--app-accent-soft);
  color: var(--app-accent);
}
.app-guide :is(a:hover, .guide-toc a:hover) {
  color: var(--app-accent);
}
.app-guide .guide-toc a:hover {
  background: var(--app-accent-soft);
}
.app-guide a:focus-visible {
  outline: 2px solid var(--app-accent);
  outline-offset: 3px;
}
