:root {
  --md-primary-fg-color: #1e40af;
  --md-primary-fg-color--light: #2563eb;
  --md-primary-fg-color--dark: #1e3a8a;
  --md-accent-fg-color: #2563eb;
  --md-text-font-family: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --md-code-font-family: Consolas, "Cascadia Mono", monospace;
}

/* UI screenshots: keep the transparent rounded corners, centre them */
.md-typeset figure { margin: 1.4em auto; }
.md-typeset figure img { border-radius: 0; box-shadow: none; }
.md-typeset figcaption {
  max-width: 44rem;
  font-style: italic;
  color: var(--md-default-fg-color--light);
}

/* State colours used in the tables */
.st { display: inline-block; width: .7em; height: .7em; border-radius: 50%; margin-right: .4em; vertical-align: baseline; }
.st-ok { background: #16a34a; }
.st-late { background: #f59e0b; }
.st-missed { background: #dc2626; }
.st-wait { background: #3b82f6; }
.st-off { background: #6b7280; }

/* Download buttons */
.dl-row { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1rem 0 1.6rem; }

/* Document look: white header with a thin rule (light scheme) */
[data-md-color-scheme="default"] .md-header {
  background: #ffffff;
  color: #1e3a8a;
  border-bottom: 1px solid #e5e7eb;
  box-shadow: none;
}
[data-md-color-scheme="default"] .md-header[data-md-state="shadow"],
[data-md-color-scheme="default"] .md-header--shadow { box-shadow: 0 1px 4px rgba(0,0,0,.06); }
[data-md-color-scheme="default"] .md-header__title { font-weight: 600; }
[data-md-color-scheme="default"] .md-search__form { background: #f3f4f6; }
[data-md-color-scheme="default"] .md-search__form:hover { background: #e5e7eb; }
[data-md-color-scheme="default"] .md-search__input { color: #111827; }
[data-md-color-scheme="default"] .md-search__input::placeholder { color: #6b7280; }
[data-md-color-scheme="default"] .md-search__icon { color: #6b7280; }
[data-md-color-scheme="default"] .md-typeset h1 { color: #111827; font-weight: 600; }
