/* UKProfitTools Academy v5 — DARK CANVAS ONLY, ORIGINAL LIGHT CARDS PRESERVED.
   Requested change: darken the page outside the content panels, while keeping
   the original white and mint curved rectangles, text, tables and lessons light.
   The original academy.css remains unchanged. The existing live site is not edited.
   Primary brand colours: #0b2238 / #11354a and mint #34ceb0. */
:root{background:#0b2238}
html,body{background:#0b2238}
/* Only the background behind the cards changes. */
main{background:linear-gradient(135deg,#0a2137 0%,#10384a 52%,#0b2238 100%)}
main .section{background:transparent}
main .section-muted{background:rgba(14,53,70,.56)}
/* For headings and descriptions placed DIRECTLY on dark canvas. */
main .section-heading h2,
main .section-heading > h2,
main .section-heading > p:last-child,
main .section-heading > p,
main .section-heading .section-kicker{
  color:#f2f8fb;
}
main .section-heading .section-kicker{color:#75eed0}
/* An outer section may have a kicker not enclosed in a card. */
main .section > .container > .section-kicker{color:#76ecd0}
/* Preserve card colours with selectors deliberately scoped to the light panels.
   These rules only counter inherited on-canvas text styling. */
main .course-card,
main .tool-card,
main .content-panel,
main .sidebar-inner,
main .ready-panel,
main .lesson-step,
main .practice-check,
main .help-faq{color:#102439}
/* Retain the mint progress panel and mint teaching notes. */
main .lesson-progress{background:#e7f6f1;border-color:#c2e7dd;color:#102439}
main .lesson-note{background:#f0f9f5;color:#2d5766}
/* Improve legibility of standalone headings in some free-course sections
   without overriding headings that are inside white content panels. */
main .section > .container:not(.content-panel) > h2:not(.section-kicker):not(.card-heading){color:#f2f8fb}
main .section > .container:not(.content-panel) > p:not(.section-kicker){color:#d6e7ef}
/* Keep original paper-friendly printing. */
@media print{
  :root,html,body,main,main .section,main .section-muted{background:#fff!important;color:#102439!important}
  main .section-heading h2,main .section-heading > p:last-child,
  main .section > .container:not(.content-panel) > h2,
  main .section > .container:not(.content-panel) > p{color:#102439!important}
}
