/* DigiTransact AI Education Centre — 8px spacing system.
   Every margin, padding and gap in the UI is a multiple of 8px.
   Card interiors: 24px. Page-heading gap: 32px. Related content: 8/16px. */
:root {
  --space-0: 0;
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 40px;
  --space-6: 48px;
  --space-8: 64px;
  --space-10: 80px;
  --space-12: 96px;
  --space-14: 112px;
}
.page-head, .path-hero, .af-hero, .hero-head, .article-head {
  margin-bottom: 32px !important;
}
.page-head h1, .path-hero h1, .af-hero h1, .hero-head h1, .article-head h1 {
  margin-top: 0 !important;
  margin-bottom: 8px !important;
}
.page-head .lede, .path-hero .lede, .af-hero .lede, .hero-head .lede, .article-head .lede {
  margin-top: 0 !important;
}
.hv-card, .path-card, .af-level, .af-module, .af-lab, .af-progress-card, .af-term-card,
.aca-card, .aca-lesson-card, .aca-lib-card, .aca-empty-panel, .aca-chal-panel,
.a11y-card, .agt-card, .ail-card, .bp-card, .cat-card, .cat-hub-card, .f-card,
.machine-card, .path-progress-card, .path-region-panel, .prompt-card, .st-card,
.st-int-card, .st-skill-card, .stat-card, .wc-card, .answer-prompts li,
.aca-lesson-panel, .aca-warnbox, .cmp-panel, .hero-card, .pt-save-panel, .sim-panel, .prompt-guide,
.pm-way, .pm-path, .pm-prompt, .pm-cat, .pm-tool, .pm-card-demo, .pm-close-card {
  padding: 24px !important;
}
:where(.hv-card, .path-card, .af-level, .af-module, .af-lab, .af-term-card,
.aca-card, .agt-card, .ail-card, .cat-card, .prompt-card, .st-card,
.pm-way, .pm-path, .pm-prompt, .pm-cat, .pm-tool) > * + * {
  margin-top: 8px;
}
:where(.page-head, .path-hero, .af-hero, .hero-head, .article-head) + * {
  margin-top: 0;
}
@media (max-width: 640px) {
  .af-hero, .page-head, .path-hero { padding-left: 16px !important; padding-right: 16px !important; }
}
