/*
 * Simulated devices keep their own look when the site is in dark mode (ASK #2184, Steve 27 Nov 2026).
 * The site's dark ("slate") scheme turns text colours pale. Inside a simulated computer, router page,
 * browser or phone that left white-on-white headings and typed text (e.g. the router password box).
 * A real device does not change with our site theme, so these areas get the light values back.
 */
[data-md-color-scheme="slate"] :is(.computer-screen, .ifd-device-explorer, .ifd-device-main, .gateway, .gateway-login, .lab-browser, .ifd-gw-browser, .phone-screen) {
  color-scheme: light;
  --ifd-ink: #1b232e;
  --ifd-muted: #536171;
  --ifd-surface: #ffffff;
  --ifd-surface-soft: #f4f8fb;
  --ifd-line: #d8e4ee;
  --md-default-bg-color: #ffffff;
  --md-default-fg-color: rgba(0, 0, 0, 0.87);
  --md-default-fg-color--light: rgba(0, 0, 0, 0.54);
  --md-default-fg-color--lighter: rgba(0, 0, 0, 0.32);
  --md-typeset-color: rgba(0, 0, 0, 0.87);
  --md-code-fg-color: #36464e;
  --md-code-bg-color: #f5f5f5;
}
