:root {
  --v9-page-background: #071d3d;
  --v9-page-heading: #f5f8ff;
  --v9-page-caption: #b9c8df;
  --bg: var(--v9-page-background);
}

html, body { background: var(--v9-page-background); }
.learning-layout:not(:has(.time-home)),
.learning-layout:not(:has(.time-home)) > .learning-main {
  background: var(--v9-page-background);
}

/* Only unframed headings change color. Light course cards retain their own ink. */
.learning-layout .app-shell :is(.page-head, .topbar) .brand,
.learning-layout .app-shell .section-heading h2,
.learning-layout .app-shell .section-title,
.learning-layout .app-shell .extension-intro h1,
.learning-layout .app-shell .favorites-intro h1,
.learning-layout .app-shell .placeholder-page > h1,
.learning-layout .app-shell .gv-header h1,
.learning-layout .app-shell .gv-shelf-heading h2 {
  color: var(--v9-page-heading);
}
.learning-layout .app-shell :is(.page-head, .topbar) .sub,
.learning-layout .app-shell .section-heading p,
.learning-layout .app-shell .extension-intro > p,
.learning-layout .app-shell .favorites-intro > p,
.learning-layout .app-shell .gv-version,
.learning-layout .app-shell .gv-shelf-controls > span,
.learning-layout .app-shell .textbook-reading-catalog-guide,
.learning-layout .app-shell .textbook-reading-catalog-guide strong {
  color: var(--v9-page-caption);
}
.learning-layout .app-shell .eyebrow { color: #afa9ff; }

html.app-booting #app-boot-splash {
  background: var(--v9-page-background);
  color: var(--v9-page-heading);
}
#app-boot-splash .boot-note { color: var(--v9-page-caption); }

/* Use the full main column instead of a narrow centered catalog. */
.learning-layout:not(:has(.time-home)) .app-shell {
  width: 100%;
  max-width: none;
  margin-inline: 0;
}
.learning-layout .app-shell :is(.extension-catalog, .favorites-page, .gv-page:not(.gv-study)) {
  width: 100%;
  max-width: none;
  margin-inline: 0;
}
.learning-layout .app-shell :is(.textbook-reading-order, .textbook-reading-listen, .extension-study-page) {
  width: 100%;
  max-width: none;
  margin-inline: 0;
}

#newConceptPractice > .hub-keyboard-guide,
#questionBankPractice > .hub-keyboard-guide,
.extension-catalog .extension-catalog-guide {
  display: none;
}
