/* 17 Nov 2026: the "Starting soon" short courses message has one fixed place on the page.
   Phones: a compact tab just above the bottom navigation, on the left, clear of the chat button.
   Desktop: a tab in the bottom-left corner. It opens into a small card; it never covers the page content. */

html body .sc-pop.idm-mini {
  left: 12px !important;
  right: auto !important;
  top: auto !important;
  bottom: 78px !important;
  z-index: 60 !important;
  max-width: calc(100vw - 96px) !important;
}
html body .sc-pop.idm-mini.idm-open {
  width: min(300px, calc(100vw - 96px)) !important;
  max-width: calc(100vw - 96px) !important;
  padding: 12px 14px 14px !important;
  border-radius: 16px !important;
  border-left: 4px solid #DF9137 !important;
  box-shadow: 0 18px 40px -16px rgba(0, 40, 25, .55) !important;
}
html body .sc-pop.idm-mini .idm-sc-pill {
  max-width: 100%;
}
@media (min-width: 900px) {
  html body .sc-pop.idm-mini {
    left: 24px !important;
    bottom: 24px !important;
    max-width: calc(100vw - 48px) !important;
  }
  html body .sc-pop.idm-mini.idm-open {
    width: 300px !important;
    max-width: 300px !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  html body .sc-pop.idm-mini * { animation: none !important; transition: none !important; }
}

/* 18 Nov 2026: on a phone the slide caption sits above the Starting soon tab, so the tab never covers the caption text. */
@media (max-width: 759px) {
  html body #idmSlider .sp-panel { bottom: 88px !important; }
}
