/* Meter Learn custom CSS, cleaned up Nov 30, 2026.
   The fix for the soft banner wordmark is in Custom Script Tags, because this field strips data URIs. */

/* Banner and nav: hide WorkRamp's title, subtitle, and login button.
   The meter learn wordmark in the banner image is the title. */
.AL_Custom_BannerMainHeading,
.AL_Custom_BannerSubHead,
.AL_Custom_NavLoginButton {
  display: none !important;
}

/* Course overview banner: hide the stats row and the Enroll button */
.AL_Custom_BannerStatsWrapper,
.academy-banner-content > div {
  display: none !important;
}

/* Course outline: task names are labels, not links. Learners use each section's Continue button. */
a.AL_Custom_GOSectionTask {
  pointer-events: none !important;
  cursor: default !important;
  color: inherit !important;
  text-decoration: none !important;
}
a.AL_Custom_GOSectionTask:hover,
a.AL_Custom_GOSectionTask:focus {
  text-decoration: none !important;
}
/* No focus ring on click, but keep it for keyboard users */
a.AL_Custom_GOSectionTask:focus:not(:focus-visible) {
  outline: none !important;
}

/* Course outline: the first task in each section becomes a Continue button in the section header */
.AL_Custom_GOSectionContainer > div, .AL_Custom_PCToggledContent > div {
  position: relative !important;
}
.AL_Custom_GOSectionTitle {
  padding-right: 220px !important;
}
.AL_Custom_GOSectionTaskContainer > div:first-child:has(> .AL_Custom_GOSectionTask) {
  position: absolute !important;
  top: 12px !important;
  right: 18px !important;
  z-index: 20 !important;
}
.AL_Custom_GOSectionTaskContainer > div:first-child:has(> .AL_Custom_GOSectionTask) .AL_Custom_CompletionStatusDot,
.AL_Custom_GOSectionTaskContainer > div:first-child:has(> .AL_Custom_GOSectionTask) .AL_Custom_GOSectionTask > div {
  display: none !important;
}
.AL_Custom_GOSectionTaskContainer > div:first-child:has(> .AL_Custom_GOSectionTask) a.AL_Custom_GOSectionTask {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 40px !important;
  padding: 0 18px !important;
  border-radius: 10px !important;
  background: #5461c8 !important;
  color: #fff !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  pointer-events: auto !important;
  cursor: pointer !important;
}
.AL_Custom_GOSectionTaskContainer > div:first-child:has(> .AL_Custom_GOSectionTask) a.AL_Custom_GOSectionTask::before {
  content: "Continue" !important;
}
.AL_Custom_GOSectionTaskContainer > div:first-child:has(> .AL_Custom_GOSectionTask) a.AL_Custom_GOSectionTask:hover {
  filter: brightness(0.95) !important;
}

/* ============================================================
   Portal match (added Nov 30, 2026)
   Restyles Meter Learn to match the Meter partner portal
   (partners.meter.com). The values come from the portal's live
   design tokens (Meter's Atto design system).
   The font is the Custom Font upload (Inter). The "Inter weights"
   block in Custom Script Tags lets it render at every weight.
   Three more blocks in Custom Script Tags go with these rules:
   "Portal embedded mode", "Portal header wordmark", and
   "Guide nav current task".
   Updated Nov 30, 2026: one header row inside the portal, cards sized
   to their text, the training path page, the guide player's nav, and
   alignment fixes.
   The guide player rules use WorkRamp's generated class names, so
   they are in the last section of this field (moved Nov 30, 2026).
   To undo: delete this whole section, down to the end of the field.
   ============================================================ */

/* Portal colors used below (the CSS field strips custom properties,
   so the values are written out in each rule):
   heading #282A3D, body #3E4152, muted #6A6D80, icons #82859A,
   hairline #DFE1EB, neutral fill #F5F6FA, brand #5461C8,
   brand hover #4A52B5, brand text #3E46A0, brand fill #E8EAFF,
   brand ring #D1D7FF, link #1E4A9E, link hover #1A3E87 */

/* Page text */
.AL_Custom_Template {
  color: #3E4152;
  -webkit-font-smoothing: antialiased;
}

/* Top nav, seen by people who open learning.meter.com directly:
   a thin white ring on the avatar instead of the heavy drop shadow */
.AL_Custom_NavAccountMenuTrigger {
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.9), 0 1px 3px 0 rgba(31, 33, 51, 0.2) !important;
}

/* Account menu under the avatar (Profile, My Trainings, Logout):
   the portal's menu style */
.AL_Custom_NavAcctPopupMenu {
  border-radius: 8px !important;
  box-shadow: 0 0 0 1px rgba(31, 33, 51, 0.08), 0 3px 0 0 rgba(31, 33, 51, 0.04), 0 7px 8px 0 rgba(31, 33, 51, 0.05), 0 9px 11px 0 rgba(31, 33, 51, 0.05) !important;
}
.AL_Custom_NavAcctPopupMenuItem {
  font-size: 13px !important;
  line-height: 20px !important;
  font-weight: 500 !important;
  color: #3E4152 !important;
}
.AL_Custom_NavAcctPopupMenuItem:hover {
  background-color: #F5F6FA !important;
  color: #282A3D !important;
}

/* Tabs (On-Demand, Training): the portal's compact pill tabs,
   24 px tall including padding, centered in the 40 px tab bar */
.AL_Custom_TabBar {
  background-color: #FFFFFF !important;
  border-bottom: 1px solid #DFE1EB !important;
}
.AL_Custom_TabBarTab {
  display: inline-flex !important;
  align-items: center !important;
  box-sizing: border-box !important;
  height: 24px !important;
  margin: 8px 4px 8px 0 !important;
  padding: 2px 8px !important;
  border: 0 !important;
  border-radius: 8px !important;
  font-size: 12px !important;
  line-height: 16px !important;
  font-weight: 500 !important;
  color: #282A3D !important;
  text-decoration: none !important;
}
.AL_Custom_TabBarTab:hover {
  background-color: #F5F6FA !important;
}
.AL_Custom_TabBarTab.active,
.AL_Custom_TabBarTab.active:hover {
  background-color: #E8EAFF !important;
  box-shadow: 0 0 0 1px #D1D7FF !important;
  color: #3E46A0 !important;
}
.AL_Custom_TabBarTab:focus-visible {
  outline: none !important;
  box-shadow: 0 0 0 1px rgba(84, 97, 200, 0.7), 0 0 0 3px rgba(106, 130, 230, 0.7) !important;
}

/* Breadcrumbs: styled like the portal's page title row */
.AL_Custom_BreadcrumbBar {
  padding-top: 16px !important;
}
.AL_Custom_Breadcrumb {
  padding: 0 2px !important;
}
/* The class is written twice to raise the specificity above WorkRamp's
   own breadcrumb link color rule, which also uses !important. */
.AL_Custom_Breadcrumb.AL_Custom_Breadcrumb > a {
  font-size: 13px !important;
  line-height: 20px !important;
  font-weight: 500 !important;
  color: #1E4A9E !important;
  text-decoration: none !important;
}
.AL_Custom_Breadcrumb.AL_Custom_Breadcrumb > a:hover {
  color: #1A3E87 !important;
}
.AL_Custom_Breadcrumb > span {
  font-size: 13px !important;
  line-height: 20px !important;
  font-weight: 500 !important;
  color: #282A3D !important;
}
.AL_Custom_Breadcrumb > svg {
  color: #82859A !important;
}

/* Collection pages: the section heading (All, Episodes).
   WorkRamp gives it no AL_Custom class. */
.AL_Custom_Template_Collections .academy-content h2 {
  font-size: 16px !important;
  line-height: 24px !important;
  font-weight: 500 !important;
  color: #282A3D !important;
}

/* Less empty space between the breadcrumbs and the content.
   WorkRamp gives this wrapper no AL_Custom class. */
div.academy-content {
  padding-top: 24px !important;
}

/* Cards: the portal's card style */
.AL_Custom_SingleCard {
  border-radius: 8px !important;
  margin-bottom: 32px !important;
}
.AL_Custom_CardContentInner {
  border-radius: 8px !important;
  box-shadow: 0 0 0 1px rgba(31, 33, 51, 0.08), 0 2px 0 0 rgba(31, 33, 51, 0.05), 0 2px 3px 0 rgba(31, 33, 51, 0.05), 0 3px 5px 0 rgba(31, 33, 51, 0.05) !important;
}
.AL_Custom_CardImage {
  border-radius: 8px 8px 0 0 !important;
}
.AL_Custom_CardBody {
  height: 184px !important;
  padding: 0 16px 44px !important;
  border-radius: 0 0 8px 8px !important;
}
/* Stacked edges under collection cards: same hairline as the card */
.AL_Custom_CardShadows > div {
  border-radius: 8px !important;
  box-shadow: 0 0 0 1px rgba(31, 33, 51, 0.08), 0 2px 3px 0 rgba(31, 33, 51, 0.05) !important;
}
.AL_Custom_CardMetas {
  margin: 14px 0 0 !important;
}
.AL_Custom_CardTitle {
  margin: 12px 0 4px !important;
  font-size: 14px !important;
  line-height: 20px !important;
  font-weight: 500 !important;
  color: #282A3D !important;
}
.AL_Custom_CardDescription {
  font-size: 12px !important;
  line-height: 16px !important;
  color: #3E4152 !important;
}
/* Card labels (Collection, Resource, Training) and counts: sentence case, muted */
.AL_Custom_ContentTypeLabel > span,
.AL_Custom_CardFooter > div > span,
.AL_Custom_ItemsCount,
.AL_Custom_CardFooter > div,
.AL_Custom_CardCta {
  font-size: 12px !important;
  line-height: 16px !important;
  font-weight: 500 !important;
  letter-spacing: normal !important;
  text-transform: none !important;
  color: #6A6D80 !important;
}
.AL_Custom_CardFooter {
  left: 16px !important;
  right: 16px !important;
  width: auto !important;
  padding: 12px 0 !important;
  align-items: center !important;
  border-top-color: #DFE1EB !important;
}
/* Progress bar: thinner, brand colors */
.AL_Custom_CardFooter::before,
.AL_Custom_CardFooter::after {
  top: -2px !important;
  height: 4px !important;
  border-radius: 2px !important;
}
.AL_Custom_CardFooter::before {
  background-color: #E8EAFF !important;
}
.AL_Custom_CardFooter::after {
  background-color: #5461C8 !important;
}

/* Course page description (the rich text written in WorkRamp):
   portal type sizes for its headings and paragraphs */
div:has(+ .AL_Custom_GOOutlineWrapper) h1,
div:has(+ * > .AL_Custom_GOOutlineWrapper) h1,
div:has(+ .AL_Custom_GOOutlineWrapper) h2,
div:has(+ * > .AL_Custom_GOOutlineWrapper) h2 {
  font-size: 20px !important;
  line-height: 28px !important;
  font-weight: 500 !important;
  color: #282A3D !important;
}
div:has(+ .AL_Custom_GOOutlineWrapper) h3, div:has(+ * > .AL_Custom_GOOutlineWrapper) h3 {
  font-size: 16px !important;
  line-height: 24px !important;
  font-weight: 500 !important;
  color: #282A3D !important;
}
div:has(+ .AL_Custom_GOOutlineWrapper) p,
div:has(+ * > .AL_Custom_GOOutlineWrapper) p,
div:has(+ .AL_Custom_GOOutlineWrapper) li,
div:has(+ * > .AL_Custom_GOOutlineWrapper) li {
  font-size: 14px !important;
  line-height: 20px !important;
  color: #3E4152;
}

/* Course page: outline heading */
.AL_Custom_GOHeading {
  font-size: 16px !important;
  line-height: 24px !important;
  font-weight: 500 !important;
  color: #282A3D !important;
}

/* Course outline: each section looks like a portal nav group.
   Gray container, header row, white inner box with the tasks. */
.AL_Custom_GOSectionContainer {
  border: 0 !important;
}
.AL_Custom_GOSectionContainer > div:has(> .AL_Custom_GOSectionTitle) {
  margin-bottom: 8px !important;
  border-radius: 10px !important;
  background-color: #F5F6FA !important;
  box-shadow: 0 0 0 1px #DFE1EB !important;
}
.AL_Custom_GOSectionTitle {
  height: 40px !important;
  min-height: 40px !important;
  padding: 0 112px 0 12px !important;
  border: 0 !important;
  background-color: transparent !important;
}
.AL_Custom_GOSectionTitle > div:first-child {
  font-size: 13px !important;
  line-height: 20px !important;
  font-weight: 500 !important;
  color: #3E4152 !important;
}
.AL_Custom_GOSectionTaskContainer {
  margin: 0 4px 4px !important;
  padding: 4px 8px !important;
  border-radius: 8px !important;
  background-color: #FFFFFF !important;
  box-shadow: 0 0 0 1px #DFE1EB !important;
}
.AL_Custom_GOSectionTaskContainer > div:has(> .AL_Custom_GOSectionTask) {
  min-height: 28px !important;
  margin-bottom: 0 !important;
  align-items: center !important;
}
.AL_Custom_GOSectionTaskContainer > div:has(> .AL_Custom_GOSectionTask) .AL_Custom_GOSectionTask > div {
  font-size: 13px !important;
  line-height: 20px !important;
  font-weight: 500 !important;
  color: #3E4152 !important;
}
.AL_Custom_CompletionStatusDot {
  margin-right: 10px !important;
}
/* Continue button (first task in each section): the portal's primary button.
   These rules restyle the button set up in the "Course outline" section above.
   The button is 24 px tall including padding, 8 px from the top of the
   40 px header row, so it is centered in the row. */
.AL_Custom_GOSectionTaskContainer > div:first-child:has(> .AL_Custom_GOSectionTask) {
  top: 8px !important;
  right: 8px !important;
  min-height: 0 !important;
}
.AL_Custom_GOSectionTaskContainer > div:first-child:has(> .AL_Custom_GOSectionTask) a.AL_Custom_GOSectionTask {
  box-sizing: border-box !important;
  height: 24px !important;
  padding: 2px 10px !important;
  border-radius: 8px !important;
  background: #5461C8 !important;
  box-shadow: 0 0 0 1px rgba(50, 58, 138, 0.85), 0 1px 1px 0 rgba(31, 33, 51, 0.03), 0 1px 3px 0 rgba(31, 33, 51, 0.05) !important;
  color: #E8EAFF !important;
  font-size: 12px !important;
  line-height: 16px !important;
  font-weight: 500 !important;
}
.AL_Custom_GOSectionTaskContainer > div:first-child:has(> .AL_Custom_GOSectionTask) a.AL_Custom_GOSectionTask:hover {
  background: #4A52B5 !important;
  filter: none !important;
}
.AL_Custom_GOSectionTaskContainer > div:first-child:has(> .AL_Custom_GOSectionTask) a.AL_Custom_GOSectionTask:focus-visible {
  outline: none !important;
  box-shadow: 0 0 0 1px rgba(50, 58, 138, 0.85), 0 1px 1px 0 rgba(31, 33, 51, 0.03), 0 1px 3px 0 rgba(31, 33, 51, 0.05), 0 0 0 1px rgba(84, 97, 200, 0.7), 0 0 0 3px rgba(106, 130, 230, 0.7) !important;
}

/* Training path page (/paths/...): the summary card at the top and the
   module cards below it, in the portal's card style. The medal and the
   module icons share a 56 px column, and the titles start at the same
   place in both cards. The status checks are at the right edge. */
.AL_Custom_PCInnerSummaryBox,
.AL_Custom_PCModuleBox {
  border-radius: 8px !important;
  box-shadow: 0 0 0 1px rgba(31, 33, 51, 0.08), 0 2px 0 0 rgba(31, 33, 51, 0.05), 0 2px 3px 0 rgba(31, 33, 51, 0.05), 0 3px 5px 0 rgba(31, 33, 51, 0.05) !important;
}
.AL_Custom_PCInnerSummaryBox {
  padding: 20px !important;
}
.AL_Custom_PCSummaryImage {
  flex: 0 0 auto !important;
  width: 56px !important;
  height: 56px !important;
  margin: 0 16px 0 0 !important;
}
.AL_Custom_PCSummaryImage img {
  display: block !important;
  width: 56px !important;
  height: 56px !important;
  min-width: 0 !important;
  min-height: 0 !important;
  max-width: none !important;
}
/* WorkRamp's default medal badge becomes a purple tile with a route
   icon. The icon comes from the "Learning path page" script block,
   because this field removes images written into CSS. A badge image
   uploaded in WorkRamp shows as uploaded. */
.AL_Custom_PCSummaryImage:has(> img[src*="/default_badges/"]) {
  border-radius: 8px !important;
  background-color: #E8EAFF !important;
  background-position: 50% 50% !important;
  background-size: 28px 28px !important;
  background-repeat: no-repeat !important;
}
.AL_Custom_PCSummaryImage > img[src*="/default_badges/"] {
  visibility: hidden !important;
}
.AL_Custom_PCSummaryInfoWrapper {
  margin-left: 0 !important;
}
.AL_Custom_PCTitle {
  font-size: 20px !important;
  line-height: 28px !important;
  font-weight: 500 !important;
  color: #282A3D !important;
}
.AL_Custom_PCModuleCount,
.AL_Custom_PCDuration {
  margin-top: 4px !important;
  font-size: 12px !important;
  line-height: 16px !important;
  color: #6A6D80 !important;
}
/* "Completed on ..." at the right of the summary card. WorkRamp gives it
   no AL_Custom class. */
.AL_Custom_PCInnerSummaryBox :has(> svg:only-child) {
  font-size: 13px !important;
  line-height: 20px !important;
  font-weight: 500 !important;
  color: #3E4152 !important;
}
.AL_Custom_PCInnerSummaryBox svg:only-child {
  width: 20px !important;
  height: 20px !important;
}
/* The line from the summary card down to the module cards: one solid
   2 px line instead of WorkRamp's three dots, with 40 px between the
   cards (WorkRamp leaves 80 px) */
.AL_Custom_PCSummaryBox {
  margin-bottom: 40px !important;
}
.AL_Custom_PCPathLine {
  top: 100% !important;
  bottom: auto !important;
  width: 2px !important;
  height: 40px !important;
  transform: translateX(-50%) !important;
  background-color: #DFE1EB !important;
}
.AL_Custom_PCPathLine > div {
  display: none !important;
}
/* Module cards use the full width, so their edges line up with the
   summary card. No colored top edge, like the other cards: the check at
   the right shows when a module is complete. */
.AL_Custom_PCModuleBox {
  width: auto !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  border-top-width: 0 !important;
  overflow: hidden !important;
}
.AL_Custom_PCModuleInnerWrapper {
  padding: 16px 20px !important;
}
.AL_Custom_PCTypeIconWrapper {
  display: flex !important;
  justify-content: center !important;
  flex: 0 0 auto !important;
  width: 56px !important;
  margin: 0 16px 0 0 !important;
}
.AL_Custom_PCModuleTitle {
  font-size: 14px !important;
  line-height: 20px !important;
  font-weight: 500 !important;
  color: #282A3D !important;
}
.AL_Custom_PCModuleDescription,
.AL_Custom_PCModuleDescription span {
  font-size: 12px !important;
  line-height: 16px !important;
  color: #3E4152 !important;
}
.AL_Custom_PCModulePassingStatus > svg {
  margin-left: auto !important;
}
/* WorkRamp draws the status checks and the module icon in green. They
   use the portal's purple instead. */
.AL_Custom_Template_Path [fill="#4ABF4A"],
.AL_Custom_Template_Path [fill="#4abf4a"] {
  fill: #5461C8 !important;
}
.AL_Custom_Template_Path [stroke="#4ABF4A"],
.AL_Custom_Template_Path [stroke="#4abf4a"] {
  stroke: #5461C8 !important;
}
/* Module contents (Show Content): a section header row and the task
   list, like the course outline */
.AL_Custom_PCModuleGuideSection {
  height: 40px !important;
  min-height: 0 !important;
  padding: 0 20px !important;
  border-color: #DFE1EB !important;
  background-color: #F5F6FA !important;
}
.AL_Custom_PCModuleGuideSection > div:first-child,
.AL_Custom_PCModuleGuideSection .truncated-div > div {
  margin-left: 0 !important;
  font-size: 13px !important;
  line-height: 20px !important;
  font-weight: 500 !important;
  color: #3E4152 !important;
}
.AL_Custom_PCModuleGuideTaskTitleWrapper {
  padding: 8px 20px !important;
}
.AL_Custom_PCModuleGuideTaskTitle {
  min-height: 28px !important;
  margin: 0 !important;
  align-items: center !important;
}
.AL_Custom_PCModuleGuideTaskTitle span > :first-child {
  font-size: 13px !important;
  line-height: 20px !important;
  font-weight: 500 !important;
  color: #3E4152 !important;
}
/* Show Content / Hide Content row. The arrow is WorkRamp's, moved into
   line with the label; its own offset upward is undone with top: 8px,
   which keeps WorkRamp's flip when the list opens. */
.AL_Custom_PCShowHideToggleWrapper {
  display: flex !important;
  align-items: center !important;
  box-sizing: border-box !important;
  min-height: 40px !important;
  padding: 0 20px !important;
  border-top-color: #DFE1EB !important;
}
.AL_Custom_PCShowHideToggle {
  display: inline-flex !important;
  align-items: center !important;
  padding: 0 !important;
  font-size: 12px !important;
  line-height: 16px !important;
  font-weight: 500 !important;
  color: #3E4152 !important;
}
.AL_Custom_PCShowHideToggle::before {
  position: relative !important;
  top: 8px !important;
  left: 0 !important;
  margin-right: 6px !important;
}
/* The border around an open module list: the same hairline as the card
   (added Nov 30, 2026) */
.AL_Custom_PCToggledContent {
  border-color: #DFE1EB !important;
}

/* Footer */
.AL_Custom_Footer {
  border-top: 1px solid #DFE1EB !important;
}

/* Phone width: tabs sit in one row as pills instead of stacking */
@media (max-width: 767px) {
  .AL_Custom_TabBar > nav > ul {
    display: flex !important;
    flex-wrap: wrap !important;
    padding: 0 16px !important;
  }
  .AL_Custom_TabBar > nav > ul > li {
    display: block !important;
    flex: 0 0 auto !important;
    width: auto !important;
  }
  .AL_Custom_TabBarTab {
    width: auto !important;
    white-space: nowrap !important;
  }
}

/* ============================================================
   Inside the partner portal only
   The "Portal embedded mode" script block adds the class
   ml-in-portal to <html> when the academy is shown inside another
   page. These rules hide the academy's own top nav and banner, so
   it reads as a portal page. People who open learning.meter.com
   directly keep the nav and banner.
   ============================================================ */
/* .academy-navigation is the nav's outer wrapper. It is positioned over
   the top of the page, so with the banner gone it would cover the tabs
   and breadcrumbs and block clicks on them. */
.ml-in-portal .academy-navigation,
.ml-in-portal .AL_Custom_NavContentWrapper,
.ml-in-portal .AL_Custom_NavBg {
  display: none !important;
}
/* Left-aligned and full width with 20 px side padding, like portal
   pages, instead of WorkRamp's centered 1150 px column.
   The wrappers matched with [class*=] have no AL_Custom class. */
.ml-in-portal .AL_Custom_TabBar,
.ml-in-portal div:has(> .AL_Custom_BreadcrumbBar),
.ml-in-portal div.academy-content-wrapper,
.ml-in-portal .AL_Custom_Footer > div {
  padding-left: 20px !important;
  padding-right: 20px !important;
}
.ml-in-portal .AL_Custom_TabBar,
.ml-in-portal div:has(> .AL_Custom_BreadcrumbBar) {
  width: auto !important;
  max-width: none !important;
}
.ml-in-portal .AL_Custom_TabBar > nav,
.ml-in-portal .AL_Custom_BreadcrumbBar,
.ml-in-portal div.academy-content,
.ml-in-portal .AL_Custom_Footer > div {
  max-width: none !important;
  width: auto !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
/* One 40 px header row at the top of every page, like a portal page
   header. On the On-Demand and Training tabs the tab bar is the header
   row, and the Home breadcrumb under it is hidden, since the tabs
   already show where you are. On inner pages the breadcrumbs are the
   header row. The meter learn wordmark at the start of the row comes
   from the "Portal header wordmark" block in Custom Script Tags. */
.ml-in-portal .AL_Custom_TabBar + div:has(> .AL_Custom_BreadcrumbBar) {
  display: none !important;
}
.ml-in-portal div:has(> .AL_Custom_BreadcrumbBar) {
  background-color: #FFFFFF !important;
  border-bottom: 1px solid #DFE1EB !important;
}
.ml-in-portal .AL_Custom_BreadcrumbBar {
  display: flex !important;
  align-items: center !important;
  min-height: 40px !important;
  padding-top: 0 !important;
}
/* The language picker moves from the bar at the bottom of the page to
   the right end of the header row, styled like a portal field.
   On phones it stays at the bottom of the page. */
@media (min-width: 768px) {
  .ml-in-portal .AL_Custom_Footer {
    position: absolute !important;
    top: 0 !important;
    right: 20px !important;
    bottom: auto !important;
    left: auto !important;
    z-index: 11 !important;
    display: flex !important;
    align-items: center !important;
    width: auto !important;
    height: 40px !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
  }
  .ml-in-portal .AL_Custom_Footer > div {
    padding: 0 !important;
    margin: 0 !important;
  }
  .ml-in-portal .AL_Custom_LanguagePicker {
    width: 196px !important;
    margin: 0 !important;
  }
  .ml-in-portal .AL_Custom_LanguagePicker > div {
    width: 100% !important;
  }
  .ml-in-portal .AL_Custom_LanguagePicker .footer-select button {
    height: 28px !important;
    min-height: 0 !important;
    padding: 0 30px 0 10px !important;
    border: 0 !important;
    border-radius: 8px !important;
    box-shadow: 0 0 0 1px rgba(9, 11, 20, 0.24), 0 1px 1px 0 rgba(31, 33, 51, 0.03), 0 1px 3px 0 rgba(31, 33, 51, 0.05) !important;
  }
  .ml-in-portal .AL_Custom_LanguagePicker .footer-select button span {
    font-size: 12px !important;
    line-height: 16px !important;
    font-weight: 500 !important;
    color: #3E4152 !important;
  }
}
/* Spacing: content starts 20 px under the header row on every page, and
   cards start 12 px under a section heading. The margins below offset
   WorkRamp's own spacing above the card grid and the course outline. */
.ml-in-portal div.academy-content {
  padding-top: 20px !important;
}
.ml-in-portal .AL_Custom_TabBar ~ div .AL_Custom_CardContainer {
  margin-top: -12px !important;
}
.ml-in-portal .AL_Custom_Template_Collections .AL_Custom_CardContainer {
  margin-top: 12px !important;
}
.ml-in-portal div:empty + .AL_Custom_PCOverviewContent,
.ml-in-portal .academy-content div:empty + div:has(> .AL_Custom_GOOutlineWrapper) {
  margin-top: 0 !important;
}
/* Cards are always 380 px wide with 16 px gaps, as many per row as fit.
   Leftover width is empty space at the right. On a screen narrower than
   one card, the card fills the width. (Until Nov 30, 2026 the cards
   stretched to fill each row, so every card changed from about 390 px
   to about 300 px wide at the window width where one more card fit.)
   Each card is as tall as its text and the cards in a row end on the
   same line, so there is no blank space inside them. The 56 px at the
   bottom of each card body is room for its footer row. */
.ml-in-portal .AL_Custom_CardContainer {
  box-sizing: border-box !important;
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(0, 380px)) !important;
  justify-content: start !important;
  gap: 16px !important;
  flex: 1 1 auto !important;
  width: auto !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
.ml-in-portal .AL_Custom_SingleCard {
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
}
.ml-in-portal .AL_Custom_CardContentInner {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
}
.ml-in-portal .AL_Custom_CardBody {
  flex: 1 1 auto !important;
  height: auto !important;
  padding-bottom: 56px !important;
}
/* Phones: the wordmark and the tabs share one row. The wordmark is left
   off the breadcrumb row so the breadcrumbs have room. */
@media (max-width: 767px) {
  .ml-in-portal .AL_Custom_TabBar > nav {
    display: flex !important;
    align-items: center !important;
  }
  .ml-in-portal .AL_Custom_TabBar > nav > ul {
    padding: 0 !important;
  }
  .ml-in-portal .AL_Custom_BreadcrumbBar::before {
    display: none !important;
  }
}

/* ============================================================
   Resource pages and course pages (added Nov 30, 2026)
   Resource pages are the pages that play a video from a collection
   (/resources/...). Course pages are the content inside the guide
   player.
   Resource pages get the portal's page layout: a 40 px header row
   with the Back link, a white page without the gray background or
   the floating card, the title and description at portal sizes,
   and rounded video corners. Inside the portal, the "Portal header
   wordmark" script block adds the wordmark to the header row.
   Course pages keep the authors' layout, images and text sizes.
   The parts WorkRamp draws get the portal's colors and shapes:
   text colors, callouts, questions, rating buttons, answer boxes,
   attachments, dividers, video play buttons and the footer buttons.
   The space between blocks is half of WorkRamp's.
   The course page rules that use WorkRamp's generated class names
   are in the last section of this field (moved Nov 30, 2026).
   To undo: delete this whole section, down to the "Portal dark
   mode" section, the rules under "From Resource pages and course
   pages" in the last section, and the resource page selector in the
   "Portal header wordmark" script block.
   ============================================================ */

/* Resource pages: a white page instead of the gray background */
main.university-resources-viewer {
  box-sizing: border-box !important;
  min-height: 100vh !important;
  padding: 0 !important;
  background-color: #FFFFFF !important;
}
/* Header row: the Back link in a 40 px row with a hairline below,
   like the header row on the other pages */
main.university-resources-viewer .AL_Custom_ResourcesBackLinkWrapper {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  box-sizing: border-box !important;
  width: auto !important;
  max-width: none !important;
  min-height: 40px !important;
  margin: 0 !important;
  padding: 0 20px !important;
  border-bottom: 1px solid #DFE1EB !important;
  background-color: #FFFFFF !important;
}
main.university-resources-viewer .AL_Custom_ResourcesBackLinkWrapper > div,
main.university-resources-viewer .AL_Custom_ResourcesBackLinkWrapper > div > div {
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
}
a.AL_Custom_ResourcesBackLink,
a.AL_Custom_ResourcesBackLink span {
  font-size: 13px !important;
  line-height: 20px !important;
  font-weight: 500 !important;
  color: #1E4A9E !important;
  text-decoration: none !important;
}
a.AL_Custom_ResourcesBackLink:hover,
a.AL_Custom_ResourcesBackLink:hover span {
  color: #1A3E87 !important;
}
/* The arrow's box is as tall as the arrow, so the arrow and the word
   Back share one center line. (The 20 px line height above put the
   arrow 2 px high.) */
a.AL_Custom_ResourcesBackLink > span > :first-child {
  display: flex !important;
  align-items: center !important;
  line-height: 0 !important;
}
a.AL_Custom_ResourcesBackLink > span > :first-child svg {
  display: block !important;
}
/* Home link after the Back link, with a hairline between them. The
   "Portal header wordmark and Home links" script block adds the link. */
main.university-resources-viewer a.ml-home-text {
  display: inline-block !important;
  margin-left: 12px !important;
  padding-left: 12px !important;
  border-left: 1px solid #DFE1EB !important;
  font-size: 13px !important;
  line-height: 20px !important;
  font-weight: 500 !important;
  color: #1E4A9E !important;
  text-decoration: none !important;
  vertical-align: middle !important;
}
main.university-resources-viewer a.ml-home-text:hover {
  color: #1A3E87 !important;
}
/* Title, description and video in one column, without the card. The
   column spans the page, so the video is as wide as the page. (Before
   Nov 30, 2026 the column was at most 1000 px wide.) */
main.university-resources-viewer .university-resources-viewer--document {
  box-sizing: border-box !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 20px !important;
  border-radius: 0 !important;
  background-color: transparent !important;
  box-shadow: none !important;
}
main.university-resources-viewer .knowledge-page--title {
  margin: 0 0 4px !important;
  font-size: 20px !important;
  line-height: 28px !important;
  font-weight: 600 !important;
  color: #282A3D !important;
}
main.university-resources-viewer .knowledge-page--description {
  font-size: 14px !important;
  line-height: 20px !important;
  color: #6A6D80 !important;
}
main.university-resources-viewer .AL_Custom_ResourcesTaskWrapper {
  margin: 16px 0 0 !important;
}
main.university-resources-viewer .video-js {
  margin-top: 0 !important;
}

/* Videos on resource pages and course pages: rounded corners like
   the cards, and a play button in the portal's style */
main.university-resources-viewer .video-js {
  border-radius: 8px !important;
  overflow: hidden !important;
}
main.university-resources-viewer .video-js .vjs-big-play-button {
  top: 50% !important;
  left: 50% !important;
  width: 64px !important;
  height: 40px !important;
  margin: -20px 0 0 -32px !important;
  border: 0 !important;
  border-radius: 8px !important;
  background-color: rgba(31, 33, 51, 0.72) !important;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.24) !important;
}
main.university-resources-viewer .video-js .vjs-big-play-button .vjs-icon-placeholder::before {
  font-size: 24px !important;
  line-height: 40px !important;
}
main.university-resources-viewer .video-js:hover .vjs-big-play-button,
main.university-resources-viewer .video-js .vjs-big-play-button:focus {
  background-color: #5461C8 !important;
  box-shadow: 0 0 0 1px rgba(50, 58, 138, 0.85) !important;
}

/* Attachments on video pages and course pages: one file card with
   the portal's card edge. A header row shows a file type tile and
   the file name. The preview follows, without its empty top bar. */
.task-previewer-file {
  overflow: hidden !important;
  padding: 0 !important;
  border-radius: 8px !important;
  background-color: #FFFFFF !important;
  box-shadow: 0 0 0 1px rgba(31, 33, 51, 0.08), 0 2px 0 0 rgba(31, 33, 51, 0.05), 0 2px 3px 0 rgba(31, 33, 51, 0.05), 0 3px 5px 0 rgba(31, 33, 51, 0.05) !important;
}
/* Header row. The font size of 0 hides WorkRamp's "Attachment:"
   label; the file name sets its own size. */
.task-previewer-file div.task-previewer-file-header {
  display: flex !important;
  align-items: center !important;
  box-sizing: border-box !important;
  min-height: 52px !important;
  margin: 0 !important;
  padding: 10px 16px !important;
  border-bottom: 1px solid #DFE1EB !important;
  font-size: 0 !important;
  line-height: 0 !important;
}
.task-previewer-file .task-previewer-file-header a.link-blue-new {
  display: inline-flex !important;
  align-items: center !important;
  gap: 12px !important;
  font-size: 14px !important;
  line-height: 20px !important;
  font-weight: 500 !important;
  color: #1E4A9E !important;
  text-decoration: none !important;
}
.task-previewer-file .task-previewer-file-header a.link-blue-new:hover {
  color: #1A3E87 !important;
  text-decoration: underline !important;
}
/* File type tile: PDF for PDF files, FILE for anything else */
.task-previewer-file .task-previewer-file-header a.link-blue-new::before {
  content: "FILE";
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background-color: #F5F6FA;
  box-shadow: 0 0 0 1px #DFE1EB;
  font-size: 9px;
  line-height: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #545768;
  text-decoration: none;
}
.task-previewer-file .task-previewer-file-header a.link-blue-new[href$=".pdf"]::before {
  content: "PDF";
}
/* Preview: no gap or border of its own inside the card. Its top 48 px
   is an empty bar from the file viewer, so it is moved up out of view.
   The viewer's zoom controls are at the bottom and stay. */
.task-previewer-file > :has(> .attachment-preview-container) {
  margin: 0 !important;
  overflow: hidden !important;
}
.task-previewer-file iframe.attachment-preview-container {
  display: block !important;
  margin: -48px 0 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
.task-previewer-file .attachment-preview-container ~ * {
  display: none !important;
}
/* Dividers on video pages: the portal's hairline */
main.university-resources-viewer hr {
  border: 0 !important;
  border-top: 1px solid #DFE1EB !important;
}
/* Dark mode inside the portal: resource pages follow the portal, and
   Retake Questions in the dark top bar gets the dark secondary button.
   Course content keeps its white page. */
@media (prefers-color-scheme: dark) {
.ml-in-portal main.university-resources-viewer,
.ml-in-portal main.university-resources-viewer .AL_Custom_ResourcesBackLinkWrapper { background-color: #282A3D !important; }
.ml-in-portal main.university-resources-viewer .AL_Custom_ResourcesBackLinkWrapper { border-bottom-color: #545768 !important; }
.ml-in-portal a.AL_Custom_ResourcesBackLink, .ml-in-portal a.AL_Custom_ResourcesBackLink span { color: #7BA7FF !important; }
.ml-in-portal a.AL_Custom_ResourcesBackLink:hover, .ml-in-portal a.AL_Custom_ResourcesBackLink:hover span { color: #ADC8FF !important; }
.ml-in-portal main.university-resources-viewer a.ml-home-text { color: #7BA7FF !important; border-left-color: #545768 !important; }
.ml-in-portal main.university-resources-viewer a.ml-home-text:hover { color: #ADC8FF !important; }
.ml-in-portal main.university-resources-viewer .knowledge-page--title { color: #F5F6FA !important; }
.ml-in-portal main.university-resources-viewer .knowledge-page--description { color: #A0A3B8 !important; }
.ml-in-portal main.university-resources-viewer .task-previewer-file { background-color: #282A3D !important; box-shadow: 0 0 0 1px rgba(62, 65, 82, 0.9), 0 3px 0 0 rgba(31, 33, 51, 0.9), 0 3px 2px 0 rgba(31, 33, 51, 0.9) !important; }
.ml-in-portal main.university-resources-viewer .task-previewer-file .task-previewer-file-header { border-bottom-color: #545768 !important; }
.ml-in-portal main.university-resources-viewer .task-previewer-file .task-previewer-file-header a.link-blue-new { color: #7BA7FF !important; }
.ml-in-portal main.university-resources-viewer .task-previewer-file .task-previewer-file-header a.link-blue-new:hover { color: #ADC8FF !important; }
.ml-in-portal main.university-resources-viewer .task-previewer-file .task-previewer-file-header a.link-blue-new::before { background-color: #3E4152; box-shadow: 0 0 0 1px #545768; color: #DFE1EB; }
.ml-in-portal main.university-resources-viewer hr { border-top-color: #545768 !important; }
}

/* ============================================================
   Portal dark mode (added Nov 30, 2026)
   When a partner turns on dark mode in the portal, the portal sets
   its page to a dark color scheme. Chrome, Edge and Firefox pass
   that setting to the academy frame, and the rules below apply.
   Safari uses the device's own light or dark setting instead.
   The rules apply only inside the portal (ml-in-portal) and only in
   dark mode. People who open learning.meter.com directly always see
   the light design.
   Course content in the guide player keeps a white page, because
   course authors write and check it on white.
   The light wordmark is set in the "Portal header wordmark" script
   block, because this field removes images written into CSS.
   Colors are the portal's dark mode tokens: page #282A3D, raised
   surface #333648, neutral fill #3E4152, hairline #545768, heading
   #F5F6FA, body #DFE1EB, muted #A0A3B8, icons #C0C3D4, brand text
   #D1D7FF, brand fill #323A8A, brand ring #3E46A0, link #7BA7FF,
   link hover #ADC8FF, button hover #6A82E6.
   The guide player's dark mode rules are in the last section of this
   field, under "From Portal dark mode" (moved Nov 30, 2026).
   To undo: delete this whole section, the rules under "From Portal
   dark mode" in the last section, and the dark mode rule in the
   "Portal header wordmark" script block.
   ============================================================ */
@media (prefers-color-scheme: dark) {
/* Page background and text */
.ml-in-portal { color-scheme: dark; }
.ml-in-portal body, .ml-in-portal .AL_Custom_Template, .ml-in-portal .AL_Custom_Template > div, .ml-in-portal .AL_Custom_Template main, .ml-in-portal div.academy-content-wrapper, .ml-in-portal div.academy-content { background-color: #282A3D !important; }
.ml-in-portal .AL_Custom_Template { color: #DFE1EB !important; }
/* Header row: tabs, breadcrumbs and the language picker */
.ml-in-portal .AL_Custom_TabBar, .ml-in-portal div:has(> .AL_Custom_BreadcrumbBar) { background-color: #282A3D !important; border-bottom-color: #545768 !important; }
.ml-in-portal .AL_Custom_TabBarTab { color: #F5F6FA !important; }
.ml-in-portal .AL_Custom_TabBarTab:hover { background-color: #3E4152 !important; }
.ml-in-portal .AL_Custom_TabBarTab.active, .ml-in-portal .AL_Custom_TabBarTab.active:hover { background-color: #323A8A !important; box-shadow: 0 0 0 1px #3E46A0 !important; color: #D1D7FF !important; }
.ml-in-portal .AL_Custom_TabBarTab:focus-visible { box-shadow: 0 0 0 1px rgba(209, 215, 255, 0.7), 0 0 0 4px rgba(181, 192, 255, 0.7) !important; }
.ml-in-portal .AL_Custom_Breadcrumb.AL_Custom_Breadcrumb > a { color: #7BA7FF !important; }
.ml-in-portal .AL_Custom_Breadcrumb.AL_Custom_Breadcrumb > a:hover { color: #ADC8FF !important; }
.ml-in-portal .AL_Custom_Breadcrumb > span { color: #F5F6FA !important; }
.ml-in-portal .AL_Custom_Breadcrumb > svg { color: #A0A3B8 !important; }
.ml-in-portal .AL_Custom_LanguagePicker .footer-select button { background-color: #333648 !important; box-shadow: 0 0 0 1px rgba(106, 109, 128, 0.9), 0 2px 1px 0 rgba(31, 33, 51, 0.25), 0 2px 3px 0 rgba(31, 33, 51, 0.4) !important; }
.ml-in-portal .AL_Custom_LanguagePicker .footer-select button span { color: #F5F6FA !important; }
.ml-in-portal .AL_Custom_LanguagePicker .footer-select button svg { color: #C0C3D4 !important; }
.ml-in-portal .AL_Custom_Footer { background-color: #282A3D !important; border-top-color: #545768 !important; }
/* Collection headings and cards */
.ml-in-portal .AL_Custom_Template_Collections .academy-content h2 { color: #F5F6FA !important; }
.ml-in-portal .AL_Custom_CardContentInner { background-color: #282A3D !important; box-shadow: 0 0 0 1px rgba(62, 65, 82, 0.9), 0 3px 0 0 rgba(31, 33, 51, 0.9), 0 3px 2px 0 rgba(31, 33, 51, 0.9) !important; }
.ml-in-portal .AL_Custom_CardBody { background-color: #282A3D !important; }
.ml-in-portal .AL_Custom_CardShadows > div { background-color: #282A3D !important; box-shadow: 0 0 0 1px rgba(62, 65, 82, 0.9), 0 2px 2px 0 rgba(31, 33, 51, 0.9) !important; }
.ml-in-portal .AL_Custom_CardTitle { color: #F5F6FA !important; }
.ml-in-portal .AL_Custom_CardDescription { color: #DFE1EB !important; }
.ml-in-portal .AL_Custom_ContentTypeLabel > span, .ml-in-portal .AL_Custom_CardFooter > div > span, .ml-in-portal .AL_Custom_ItemsCount, .ml-in-portal .AL_Custom_CardFooter > div, .ml-in-portal .AL_Custom_CardCta { color: #A0A3B8 !important; }
.ml-in-portal .AL_Custom_CardFooter { border-top-color: #545768 !important; }
.ml-in-portal .AL_Custom_CardFooter::before { background-color: #323A8A !important; }
/* Card icons: WorkRamp draws parts of them in white, which would vanish on a dark card */
.ml-in-portal div.AL_Custom_PCAcademyIconWrapper svg [fill="#FFFFFF"], .ml-in-portal div.AL_Custom_PCAcademyIconWrapper svg [fill="#fff"], .ml-in-portal div.AL_Custom_PCAcademyIconWrapper svg [fill="white"] { fill: #282A3D !important; }
.ml-in-portal div.AL_Custom_PCAcademyIconWrapper svg [fill]:not([fill="none"]):not([fill="#FFFFFF"]):not([fill="#fff"]):not([fill="white"]) { fill: #A0A3B8 !important; }
.ml-in-portal div.AL_Custom_PCAcademyIconWrapper svg [stroke]:not([stroke="none"]) { stroke: #A0A3B8 !important; }
/* Course page: description and outline */
.ml-in-portal div:has(+ .AL_Custom_GOOutlineWrapper) h1, .ml-in-portal div:has(+ * > .AL_Custom_GOOutlineWrapper) h1, .ml-in-portal div:has(+ .AL_Custom_GOOutlineWrapper) h2, .ml-in-portal div:has(+ * > .AL_Custom_GOOutlineWrapper) h2, .ml-in-portal div:has(+ .AL_Custom_GOOutlineWrapper) h3, .ml-in-portal div:has(+ * > .AL_Custom_GOOutlineWrapper) h3 { color: #F5F6FA !important; }
.ml-in-portal div:has(+ .AL_Custom_GOOutlineWrapper) p, .ml-in-portal div:has(+ * > .AL_Custom_GOOutlineWrapper) p, .ml-in-portal div:has(+ .AL_Custom_GOOutlineWrapper) li, .ml-in-portal div:has(+ * > .AL_Custom_GOOutlineWrapper) li { color: #DFE1EB !important; }
.ml-in-portal .AL_Custom_GOHeading { color: #F5F6FA !important; }
.ml-in-portal .AL_Custom_GOSectionContainer > div:has(> .AL_Custom_GOSectionTitle) { background-color: #3E4152 !important; box-shadow: 0 0 0 1px #545768 !important; }
.ml-in-portal .AL_Custom_GOSectionTitle > div:first-child { color: #DFE1EB !important; }
.ml-in-portal .AL_Custom_GOSectionTaskContainer { background-color: #282A3D !important; box-shadow: 0 0 0 1px #545768 !important; }
.ml-in-portal .AL_Custom_GOSectionTaskContainer > div:has(> .AL_Custom_GOSectionTask) .AL_Custom_GOSectionTask > div { color: #DFE1EB !important; }
.ml-in-portal .AL_Custom_GOSectionTaskContainer > div:first-child:has(> .AL_Custom_GOSectionTask) a.AL_Custom_GOSectionTask { box-shadow: 0 0 0 1px rgba(154, 171, 255, 0.5), 0 1px 1px 0 rgba(31, 33, 51, 0.4), 0 1px 3px 0 rgba(31, 33, 51, 0.35) !important; color: #FFFFFF !important; }
.ml-in-portal .AL_Custom_GOSectionTaskContainer > div:first-child:has(> .AL_Custom_GOSectionTask) a.AL_Custom_GOSectionTask:hover { background: #6A82E6 !important; }
/* Training path page */
.ml-in-portal .AL_Custom_PCInnerSummaryBox, .ml-in-portal .AL_Custom_PCModuleBox { background-color: #282A3D !important; box-shadow: 0 0 0 1px rgba(62, 65, 82, 0.9), 0 3px 0 0 rgba(31, 33, 51, 0.9), 0 3px 2px 0 rgba(31, 33, 51, 0.9) !important; }
.ml-in-portal .AL_Custom_PCTitle, .ml-in-portal .AL_Custom_PCModuleTitle { color: #F5F6FA !important; }
.ml-in-portal .AL_Custom_PCModuleCount, .ml-in-portal .AL_Custom_PCDuration { color: #A0A3B8 !important; }
.ml-in-portal .AL_Custom_PCInnerSummaryBox :has(> svg:only-child), .ml-in-portal .AL_Custom_PCModuleDescription, .ml-in-portal .AL_Custom_PCModuleDescription span { color: #DFE1EB !important; }
.ml-in-portal .AL_Custom_PCPathLine { background-color: #545768 !important; }
.ml-in-portal .AL_Custom_Template_Path [fill="#4ABF4A"], .ml-in-portal .AL_Custom_Template_Path [fill="#4abf4a"] { fill: #6A82E6 !important; }
.ml-in-portal .AL_Custom_Template_Path [stroke="#4ABF4A"], .ml-in-portal .AL_Custom_Template_Path [stroke="#4abf4a"] { stroke: #6A82E6 !important; }
.ml-in-portal .AL_Custom_PCSummaryImage:has(> img[src*="/default_badges/"]) { background-color: #323A8A !important; }
.ml-in-portal .AL_Custom_PCToggledContent { border-color: #545768 !important; }
.ml-in-portal .AL_Custom_PCModuleGuideSection { background-color: #3E4152 !important; border-color: #545768 !important; }
.ml-in-portal .AL_Custom_PCModuleGuideSection > div:first-child, .ml-in-portal .AL_Custom_PCModuleGuideSection .truncated-div > div, .ml-in-portal .AL_Custom_PCModuleGuideTaskTitle span > :first-child, .ml-in-portal .AL_Custom_PCShowHideToggle { color: #DFE1EB !important; }
.ml-in-portal .AL_Custom_PCModuleGuideTaskTitleWrapper { background-color: #282A3D !important; }
.ml-in-portal .AL_Custom_PCShowHideToggleWrapper { border-top-color: #545768 !important; }
/* Menus, such as the language list */
.ml-in-portal [role="listbox"] [role="option"], .ml-in-portal [role="listbox"] [role="option"] * { color: #DFE1EB !important; }
.ml-in-portal [role="listbox"] [role="option"]:hover, .ml-in-portal [role="listbox"] [role="option"][data-hovered], .ml-in-portal [role="listbox"] [role="option"][data-focused] { background-color: #3E4152 !important; }
.ml-in-portal [role="listbox"] [role="option"][aria-selected="true"], .ml-in-portal [role="listbox"] [role="option"][aria-selected="true"] * { color: #7BA7FF !important; }
}

/* ============================================================
   Rules that use WorkRamp's generated class names
   (moved here Nov 30, 2026)
   The rules above use class names WorkRamp keeps stable: the
   AL_Custom_ names from WorkRamp's help article, and plain names
   such as academy-banner or task-previewer-file. The rules below
   style parts that have no stable name, so they find them by
   WorkRamp's generated class names, such as Sidebar-sc- or
   TaskWrapper-sc-. A WorkRamp update can rename those. Then a rule
   here stops matching and that part goes back to WorkRamp's style,
   while the rest of the page keeps its look.
   Almost all of these rules style the guide player, the page that
   plays a course's tasks: the left nav, the top bar, buttons, text,
   callouts and questions. WorkRamp offers no stable names there.
   If something on a course page looks off after a WorkRamp update,
   check here first. Each rule has a note on what it styles. The
   rules keep the order they had above, so they still override each
   other the same way.
   ============================================================ */

/* From "Portal match": the guide player */
/* Guide player (the page that plays a course's tasks): the left nav in
   the portal's light nav style instead of WorkRamp's dark one, and the
   top bar as a 40 px portal page header. WorkRamp gives this page no
   AL_Custom classes, so these rules match its component names.
   The "Guide nav current task" block in Custom Script Tags marks the
   task you are on with the class ml-current-task. */
div[class*="SidebarWrapper-sc-"] > div[class*="Sidebar-sc-"] {
  box-sizing: border-box !important;
  border-right: 1px solid #DFE1EB !important;
  background-color: #FFFFFF !important;
  box-shadow: none !important;
}
/* Left nav: the borders and background of its three blocks */
div[class*="Sidebar-sc-"] > div {
  border-color: #DFE1EB !important;
  background-color: transparent !important;
  box-shadow: none !important;
}
/* Left nav: text color */
div[class*="Sidebar-sc-"] [class*="StyledText-sc-"] {
  color: #3E4152 !important;
}
/* WorkRamp draws the nav icons in white for its dark nav */
div[class*="Sidebar-sc-"] svg [fill="#FFFFFF"],
div[class*="Sidebar-sc-"] svg [fill="#fff"],
div[class*="Sidebar-sc-"] svg [fill="white"] {
  fill: #82859A !important;
}
/* Left nav: icon outlines drawn in white */
div[class*="Sidebar-sc-"] svg [stroke="#FFFFFF"],
div[class*="Sidebar-sc-"] svg [stroke="#fff"],
div[class*="Sidebar-sc-"] svg [stroke="white"] {
  stroke: #82859A !important;
}
/* Left nav: links and buttons */
div[class*="Sidebar-sc-"] button,
div[class*="Sidebar-sc-"] a {
  color: #545768 !important;
}
/* Top of the nav: Return to Overview in a 40 px row that lines up with
   the top bar, then the course title and progress */
div[class*="Sidebar-sc-"] > div:first-child {
  position: relative !important;
  padding: 0 16px 12px !important;
}
/* Left nav top: the Return to Overview row */
div[class*="Sidebar-sc-"] > div:first-child > div > div:first-child {
  margin: 0 -16px 12px !important;
  padding: 6px 8px !important;
  border-bottom: 1px solid #DFE1EB !important;
}
/* Left nav top: the Return to Overview link */
div[class*="Sidebar-sc-"] a[class*="StyledButton"] {
  height: 28px !important;
  padding: 0 8px !important;
  border: 0 !important;
  border-radius: 8px !important;
}
/* Return to Overview link on hover */
div[class*="Sidebar-sc-"] a[class*="StyledButton"]:hover {
  background-color: #F5F6FA !important;
}
/* Return to Overview link: its text */
div[class*="Sidebar-sc-"] a[class*="StyledButton"] span[class*="StyledText"] {
  font-size: 13px !important;
  line-height: 20px !important;
  font-weight: 500 !important;
  color: #3E4152 !important;
}
/* Left nav: the course title */
div[class*="Sidebar-sc-"] h1 {
  padding-right: 32px !important;
  font-size: 16px !important;
  line-height: 24px !important;
  font-weight: 500 !important;
  color: #282A3D !important;
}
/* Left nav: the progress bar track */
div[class*="Sidebar-sc-"] div[class*="StyledTrack-sc-"] {
  height: 4px !important;
  border-radius: 2px !important;
  background-color: #E8EAFF !important;
}
/* Left nav: the progress bar fill */
div[class*="Sidebar-sc-"] div[class*="StyledBar-sc-"] {
  border-radius: 2px !important;
  background-color: #5461C8 !important;
}
/* Left nav: the progress percentage */
div[class*="Sidebar-sc-"] span[class*="ValueLabel-sc-"] {
  font-size: 12px !important;
  line-height: 16px !important;
  font-weight: 500 !important;
  color: #6A6D80 !important;
}
/* The arrow that shows the course details: at the right end of the
   course title instead of on its own line */
div[class*="Sidebar-sc-"] div[class*="StyledButtonWrapper-sc-"] {
  position: absolute !important;
  top: 53px !important;
  right: 12px !important;
  width: auto !important;
  height: 24px !important;
  margin: 0 !important;
}
/* Course details arrow: the button */
div[class*="Sidebar-sc-"] div[class*="StyledButtonWrapper-sc-"] > button {
  width: 24px !important;
  height: 24px !important;
  min-width: 0 !important;
  padding: 0 !important;
  border-radius: 8px !important;
  color: #82859A !important;
}
/* Course details arrow on hover */
div[class*="Sidebar-sc-"] div[class*="StyledButtonWrapper-sc-"] > button:hover {
  background-color: #F5F6FA !important;
}
/* Course details arrow: the button's label */
div[class*="Sidebar-sc-"] div[class*="StyledButtonWrapper-sc-"] > button span {
  color: #82859A !important;
}
/* Course details arrow: the icon */
div[class*="Sidebar-sc-"] div[class*="StyledButtonWrapper-sc-"] > button svg {
  width: 16px !important;
  height: 16px !important;
}
/* Course details (time estimate and description) */
div[class*="Sidebar-sc-"] > div:first-child p[class*="StyledText-sc-"] {
  font-size: 13px !important;
  line-height: 20px !important;
  color: #3E4152 !important;
}
/* Course details: the time estimate */
div[class*="Sidebar-sc-"] div[class*="VerticalCenterWrapper-sc-"] {
  font-size: 12px !important;
  line-height: 16px !important;
  font-weight: 500 !important;
  color: #6A6D80 !important;
}
/* My Results row */
div[class*="Sidebar-sc-"] > div:nth-child(2) {
  padding: 4px 8px !important;
}
/* My Results: the row button */
div[class*="Sidebar-sc-"] h2 > button {
  width: 100% !important;
  height: 28px !important;
  padding: 0 8px !important;
  border-radius: 8px !important;
  background-color: transparent !important;
  font-size: 13px !important;
  line-height: 20px !important;
  font-weight: 500 !important;
  color: #3E4152 !important;
}
/* My Results row on hover */
div[class*="Sidebar-sc-"] h2 > button:hover {
  background-color: #F5F6FA !important;
}
/* Sections (Course Modules): a portal nav group. Gray container with a
   header row, and the tasks in a white list inside it. */
div[class*="Sidebar-sc-"] > div:nth-child(3) {
  padding: 8px !important;
}
/* Sections: the list */
div[class*="Sidebar-sc-"] ul[class*="StyledChildrenContainer-sc-"] {
  margin: 0 !important;
  padding: 0 !important;
}
/* Sections: each section */
div[class*="Sidebar-sc-"] ul[class*="StyledChildrenContainer-sc-"] > li {
  margin: 0 0 8px !important;
}
/* Sections: each section's box */
div[class*="Sidebar-sc-"] ul[class*="StyledChildrenContainer-sc-"] > li > div {
  padding: 0 0 4px !important;
  border-radius: 10px !important;
  background-color: #F5F6FA !important;
  box-shadow: 0 0 0 1px #DFE1EB !important;
}
/* Sections: each section's header row */
div[class*="Sidebar-sc-"] ul[class*="StyledChildrenContainer-sc-"] > li > div > div:first-child {
  min-height: 32px !important;
  margin: 0 !important;
  padding: 0 4px !important;
  align-items: center !important;
}
/* Section header: the title area and the expand button */
div[class*="Sidebar-sc-"] ul[class*="StyledChildrenContainer-sc-"] > li > div > div:first-child > div:first-child > div,
div[class*="Sidebar-sc-"] ul[class*="StyledChildrenContainer-sc-"] > li > div > div:first-child button {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
/* Section header: the expand arrow */
div[class*="Sidebar-sc-"] ul[class*="StyledChildrenContainer-sc-"] > li > div > div:first-child svg {
  display: block !important;
}
/* Section header: the expand arrow's color */
div[class*="Sidebar-sc-"] ul[class*="StyledChildrenContainer-sc-"] > li > div > div:first-child svg path {
  fill: #545768 !important;
}
/* Section header: the section name */
div[class*="Sidebar-sc-"] ul[class*="StyledChildrenContainer-sc-"] > li > div > div:first-child h2 {
  font-size: 13px !important;
  line-height: 20px !important;
  font-weight: 500 !important;
  color: #3E4152 !important;
}
/* Section tasks: the white box around the task list */
div[class*="Sidebar-sc-"] ul[class*="StyledChildrenContainer-sc-"] .ReactCollapse--content > div {
  margin: 0 4px !important;
  padding: 4px !important;
  border-radius: 8px !important;
  background-color: #FFFFFF !important;
  box-shadow: 0 0 0 1px #DFE1EB !important;
}
/* Section tasks: each task row */
div[class*="Sidebar-sc-"] ul[class*="StyledChildrenContainer-sc-"] .ReactCollapse--content > div > button {
  height: 28px !important;
  min-height: 0 !important;
  padding: 0 8px !important;
  border-radius: 8px !important;
}
/* Task row on hover */
div[class*="Sidebar-sc-"] ul[class*="StyledChildrenContainer-sc-"] .ReactCollapse--content > div > button:hover {
  background-color: #F5F6FA !important;
}
/* Task row: the task name */
div[class*="Sidebar-sc-"] ul[class*="StyledChildrenContainer-sc-"] .ReactCollapse--content > div > button span {
  margin-left: 2px !important;
  font-size: 13px !important;
  line-height: 20px !important;
  color: #3E4152 !important;
}
/* The task you are on: the portal's selected nav item */
div[class*="Sidebar-sc-"] ul[class*="StyledChildrenContainer-sc-"] .ReactCollapse--content > div > button.ml-current-task {
  background-color: #E8EAFF !important;
  box-shadow: 0 0 0 1px #D1D7FF !important;
}
/* The task you are on: its name */
div[class*="Sidebar-sc-"] ul[class*="StyledChildrenContainer-sc-"] .ReactCollapse--content > div > button.ml-current-task span {
  color: #3E46A0 !important;
}
/* The task you are on: its icon */
div[class*="Sidebar-sc-"] ul[class*="StyledChildrenContainer-sc-"] .ReactCollapse--content > div > button.ml-current-task svg [fill] {
  fill: #4A52B5 !important;
}
/* Top bar: 40 px, the nav toggle as a plain icon button, the task name
   as a portal page title, and Next lined up with the Next button at the
   bottom of the page */
main[class*="TaskWrapper-sc-"] > div > div[class*="StyledContainer-sc-"]:first-child {
  padding: 6px 12px 6px 8px !important;
  border-bottom-color: #DFE1EB !important;
}
/* Top bar: its inner row */
main[class*="TaskWrapper-sc-"] > div > div[class*="StyledContainer-sc-"]:first-child > div {
  height: 28px !important;
  min-height: 0 !important;
}
/* Top bar: the right end */
main[class*="TaskWrapper-sc-"] > div > div[class*="StyledContainer-sc-"]:first-child > div > div:last-child {
  padding-right: 0 !important;
}
/* Top bar: the nav toggle button */
main[class*="TaskWrapper-sc-"] > div > div[class*="StyledContainer-sc-"]:first-child button[class*="StyledIconButton"] {
  width: 28px !important;
  height: 28px !important;
  min-width: 0 !important;
  border: 0 !important;
  border-radius: 8px !important;
  background-color: transparent !important;
  color: #545768 !important;
}
/* Nav toggle on hover */
main[class*="TaskWrapper-sc-"] > div > div[class*="StyledContainer-sc-"]:first-child button[class*="StyledIconButton"]:hover {
  background-color: #F5F6FA !important;
}
/* Top bar: the task name */
main[class*="TaskWrapper-sc-"] > div > div[class*="StyledContainer-sc-"]:first-child h2 {
  font-size: 13px !important;
  line-height: 20px !important;
  font-weight: 500 !important;
  color: #282A3D !important;
}
/* Next and the other theme buttons on the guide page: the portal's
   24 px primary button */
main[class*="TaskWrapper-sc-"] button[class*="StyledBaseThemeButton-sc-"] {
  height: 24px !important;
  min-height: 0 !important;
  padding: 0 10px !important;
  border: 0 !important;
  border-radius: 8px !important;
  background-color: #5461C8 !important;
  box-shadow: 0 0 0 1px rgba(50, 58, 138, 0.85), 0 1px 1px 0 rgba(31, 33, 51, 0.03), 0 1px 3px 0 rgba(31, 33, 51, 0.05) !important;
}
/* Theme buttons on hover */
main[class*="TaskWrapper-sc-"] button[class*="StyledBaseThemeButton-sc-"]:hover {
  background-color: #4A52B5 !important;
}
/* Theme buttons: the label */
main[class*="TaskWrapper-sc-"] button[class*="StyledBaseThemeButton-sc-"] span {
  font-size: 12px !important;
  line-height: 16px !important;
  font-weight: 500 !important;
  color: #E8EAFF !important;
}
/* From "Resource pages and course pages": course content in the guide player */
/* Course videos: rounded corners */
main[class*="TaskWrapper-sc-"] .video-js {
  border-radius: 8px !important;
  overflow: hidden !important;
}
/* Course videos: the play button */
main[class*="TaskWrapper-sc-"] .video-js .vjs-big-play-button {
  top: 50% !important;
  left: 50% !important;
  width: 64px !important;
  height: 40px !important;
  margin: -20px 0 0 -32px !important;
  border: 0 !important;
  border-radius: 8px !important;
  background-color: rgba(31, 33, 51, 0.72) !important;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.24) !important;
}
/* Course videos: the play icon */
main[class*="TaskWrapper-sc-"] .video-js .vjs-big-play-button .vjs-icon-placeholder::before {
  font-size: 24px !important;
  line-height: 40px !important;
}
/* Course videos: the play button on hover or keyboard focus */
main[class*="TaskWrapper-sc-"] .video-js:hover .vjs-big-play-button,
main[class*="TaskWrapper-sc-"] .video-js .vjs-big-play-button:focus {
  background-color: #5461C8 !important;
  box-shadow: 0 0 0 1px rgba(50, 58, 138, 0.85) !important;
}
/* Course pages: half the space between blocks (32 px instead of 64) */
main[class*="TaskWrapper-sc-"] div[class*="RendererWrapper"] > div[class*="StyledContainer-sc-"] {
  padding-top: 16px !important;
  padding-bottom: 16px !important;
}
/* Course pages: the space above the first block */
main[class*="TaskWrapper-sc-"] div[class*="RendererWrapper"]:first-child > div[class*="StyledContainer-sc-"] {
  padding-top: 24px !important;
}
/* Text blocks: portal text colors. Sizes the authors picked stay. */
main[class*="TaskWrapper-sc-"] [class*="FormattedRichTextContent"] {
  color: #3E4152 !important;
}
/* Text pasted in with a black color set takes the portal text color */
main[class*="TaskWrapper-sc-"] [class*="FormattedRichTextContent"] [style*="color:#000000"],
main[class*="TaskWrapper-sc-"] [class*="FormattedRichTextContent"] [style*="color: #000000"],
main[class*="TaskWrapper-sc-"] [class*="FormattedRichTextContent"] [style*="color:rgb(0, 0, 0)"],
main[class*="TaskWrapper-sc-"] [class*="FormattedRichTextContent"] [style*="color: rgb(0, 0, 0)"] {
  color: inherit !important;
}
/* Text blocks: bold text and headings */
main[class*="TaskWrapper-sc-"] [class*="FormattedRichTextContent"] strong,
main[class*="TaskWrapper-sc-"] [class*="FormattedRichTextContent"] b,
main[class*="TaskWrapper-sc-"] [class*="FormattedRichTextContent"] strong[style*="color"],
main[class*="TaskWrapper-sc-"] [class*="FormattedRichTextContent"] h1,
main[class*="TaskWrapper-sc-"] [class*="FormattedRichTextContent"] h2,
main[class*="TaskWrapper-sc-"] [class*="FormattedRichTextContent"] h3 {
  font-weight: 600 !important;
  color: #282A3D !important;
}
/* Text blocks: links */
main[class*="TaskWrapper-sc-"] [class*="FormattedRichTextContent"] a {
  font-weight: 500 !important;
  color: #1E4A9E !important;
  text-decoration: none !important;
}
/* Text block links on hover */
main[class*="TaskWrapper-sc-"] [class*="FormattedRichTextContent"] a:hover {
  color: #1A3E87 !important;
  text-decoration: underline !important;
}
/* Callouts: the portal's note style (light gray fill, hairline,
   10 px corners), with the icon in a small white tile */
main[class*="TaskWrapper-sc-"] [class*="StyledModernCalloutContainer"] {
  padding: 12px 16px !important;
  border-radius: 10px !important;
  background-color: #F5F6FA !important;
  box-shadow: 0 0 0 1px #DFE1EB !important;
}
/* Callouts: the inner row */
main[class*="TaskWrapper-sc-"] [class*="StyledModernCalloutContainer"] > div {
  flex-wrap: nowrap !important;
  align-items: center !important;
}
/* Callouts: the icon column */
main[class*="TaskWrapper-sc-"] [class*="StyledModernCalloutContainer"] > div > div:first-child {
  flex: 0 0 auto !important;
  width: auto !important;
  max-width: none !important;
  padding: 0 12px 0 0 !important;
}
/* Callouts: the text column */
main[class*="TaskWrapper-sc-"] [class*="StyledModernCalloutContainer"] > div > div:last-child {
  flex: 1 1 auto !important;
  width: auto !important;
  max-width: none !important;
  padding: 0 !important;
}
/* Callouts: the icon box */
main[class*="TaskWrapper-sc-"] [class*="StyledModernCalloutContainer"] [class*="StyledIconWrapper"] {
  box-sizing: border-box !important;
  width: 32px !important;
  height: 32px !important;
  padding: 6px !important;
  border-radius: 8px !important;
  background-color: #FFFFFF !important;
  box-shadow: 0 0 0 1px #DFE1EB !important;
}
/* Callouts: the icon */
main[class*="TaskWrapper-sc-"] [class*="StyledModernCalloutContainer"] [class*="StyledIconWrapper"] svg {
  display: block !important;
  width: 20px !important;
  height: 20px !important;
}
/* Callouts: the text */
main[class*="TaskWrapper-sc-"] [class*="StyledCalloutLearnerView"],
main[class*="TaskWrapper-sc-"] [class*="StyledCalloutLearnerView"] p,
main[class*="TaskWrapper-sc-"] [class*="StyledCalloutLearnerView"] span {
  font-size: 14px !important;
  line-height: 20px !important;
}
/* Callouts: headings */
main[class*="TaskWrapper-sc-"] [class*="StyledCalloutLearnerView"] h1,
main[class*="TaskWrapper-sc-"] [class*="StyledCalloutLearnerView"] h2,
main[class*="TaskWrapper-sc-"] [class*="StyledCalloutLearnerView"] h3,
main[class*="TaskWrapper-sc-"] [class*="StyledCalloutLearnerView"] h1 span,
main[class*="TaskWrapper-sc-"] [class*="StyledCalloutLearnerView"] h2 span,
main[class*="TaskWrapper-sc-"] [class*="StyledCalloutLearnerView"] h3 span {
  margin: 0 !important;
  font-size: 14px !important;
  line-height: 20px !important;
  font-weight: 600 !important;
  color: #282A3D !important;
}
/* Questions: headings at the portal's 20 px title size */
main[class*="TaskWrapper-sc-"] [class*="QuestionHeaderWrapper"] h1 {
  font-size: 20px !important;
  line-height: 28px !important;
  font-weight: 600 !important;
  color: #282A3D !important;
}
/* Questions: the line under the question */
main[class*="TaskWrapper-sc-"] .wr_element_knowledge_check_subtext {
  font-size: 14px !important;
  line-height: 20px !important;
  color: #6A6D80 !important;
}
/* Required: the portal's neutral tag */
main[class*="TaskWrapper-sc-"] [class*="StyledBadge"] {
  height: auto !important;
  padding: 2px 4px !important;
  border: 0 !important;
  border-radius: 4px !important;
  background-color: rgba(223, 225, 235, 0.75) !important;
}
/* Required tag: the label */
main[class*="TaskWrapper-sc-"] [class*="StyledBadge"] span {
  font-size: 11px !important;
  line-height: 12px !important;
  font-weight: 500 !important;
  letter-spacing: normal !important;
  text-transform: none !important;
  color: #282A3D !important;
}
/* Rating buttons: the portal's button shape. WorkRamp's own colors
   stay, so the chosen rating keeps its brand blue fill. */
main[class*="TaskWrapper-sc-"] button[data-testid="scale-button"] {
  height: 32px !important;
  border: 0 !important;
  border-radius: 8px !important;
  box-shadow: 0 0 0 1px rgba(9, 11, 20, 0.24), 0 1px 1px 0 rgba(31, 33, 51, 0.03), 0 1px 3px 0 rgba(31, 33, 51, 0.05) !important;
  font-size: 14px !important;
  line-height: 32px !important;
  font-weight: 500 !important;
}
/* Rating buttons: the keyboard focus ring */
main[class*="TaskWrapper-sc-"] button[data-testid="scale-button"]:focus-visible {
  outline: none !important;
  box-shadow: 0 0 0 1px rgba(84, 97, 200, 0.7), 0 0 0 3px rgba(106, 130, 230, 0.7) !important;
}
/* The words under the rating buttons (Not confident, Expert) */
main[class*="TaskWrapper-sc-"] [class*="ButtonsContainer"] + div > p {
  font-size: 12px !important;
  line-height: 16px !important;
  color: #6A6D80 !important;
}
/* Text answers: the portal's input style */
main[class*="TaskWrapper-sc-"] textarea {
  box-sizing: border-box !important;
  padding: 8px 12px !important;
  border: 0 !important;
  border-radius: 8px !important;
  box-shadow: 0 0 0 1px rgba(9, 11, 20, 0.24), 0 1px 1px 0 rgba(31, 33, 51, 0.03), 0 1px 3px 0 rgba(31, 33, 51, 0.05) !important;
  font-size: 14px !important;
  line-height: 20px !important;
  color: #282A3D !important;
}
/* Text answers: the placeholder text */
main[class*="TaskWrapper-sc-"] textarea::placeholder {
  color: #82859A !important;
}
/* Text answers: the focus ring */
main[class*="TaskWrapper-sc-"] textarea:focus {
  outline: none !important;
  box-shadow: 0 0 0 1px rgba(84, 97, 200, 0.7), 0 0 0 3px rgba(106, 130, 230, 0.7) !important;
}
/* Text answers: the Saved note */
main[class*="TaskWrapper-sc-"] [class*="SavedNotification"] {
  font-size: 12px !important;
  line-height: 16px !important;
  font-weight: 500 !important;
  color: #0E5A1A !important;
}
/* Dividers: the portal's hairline color */
main[class*="TaskWrapper-sc-"] hr {
  border-top-color: #DFE1EB !important;
}
/* The note under videos that must be watched to the end */
main[class*="TaskWrapper-sc-"] .task-video-full-watch-note {
  margin-top: 8px !important;
  font-size: 12px !important;
  line-height: 16px !important;
  color: #6A6D80 !important;
}
/* Retake Questions and other plain buttons in the top bar and at the
   bottom of a task: the portal's 24 px secondary button, next to the
   Finish button */
main[class*="TaskWrapper-sc-"] [class*="FooterWrapper"] button[class*="StyledButton"]:not([class*="StyledBaseThemeButton"]),
main[class*="TaskWrapper-sc-"] > div > div[class*="StyledContainer-sc-"]:first-child button[class*="StyledButton"]:not([class*="StyledBaseThemeButton"]):not([class*="StyledIconButton"]) {
  height: 24px !important;
  min-height: 0 !important;
  padding: 0 10px !important;
  border: 0 !important;
  border-radius: 8px !important;
  background-color: #FFFFFF !important;
  box-shadow: 0 0 0 1px rgba(9, 11, 20, 0.24), 0 1px 1px 0 rgba(31, 33, 51, 0.03), 0 1px 3px 0 rgba(31, 33, 51, 0.05) !important;
}
/* Retake Questions and other plain buttons on hover */
main[class*="TaskWrapper-sc-"] [class*="FooterWrapper"] button[class*="StyledButton"]:not([class*="StyledBaseThemeButton"]):hover,
main[class*="TaskWrapper-sc-"] > div > div[class*="StyledContainer-sc-"]:first-child button[class*="StyledButton"]:not([class*="StyledBaseThemeButton"]):not([class*="StyledIconButton"]):hover {
  background-color: #F5F6FA !important;
}
/* WorkRamp gives each footer button a fixed column. On phones that
   hides part of the Retake Questions label, so the columns fit their
   buttons. */
main[class*="TaskWrapper-sc-"] [class*="FooterWrapper"] div[class*="StyledCol"] {
  flex: 0 0 auto !important;
  width: auto !important;
  max-width: none !important;
}
/* Retake Questions and other plain buttons: the label */
main[class*="TaskWrapper-sc-"] [class*="FooterWrapper"] button[class*="StyledButton"]:not([class*="StyledBaseThemeButton"]) span,
main[class*="TaskWrapper-sc-"] > div > div[class*="StyledContainer-sc-"]:first-child button[class*="StyledButton"]:not([class*="StyledBaseThemeButton"]):not([class*="StyledIconButton"]) span {
  font-size: 12px !important;
  line-height: 16px !important;
  font-weight: 500 !important;
  color: #3E4152 !important;
}
@media (prefers-color-scheme: dark) {
/* Dark mode: Retake Questions and other plain buttons in the top bar */
.ml-in-portal main[class*="TaskWrapper-sc-"] > div > div[class*="StyledContainer-sc-"]:first-child button[class*="StyledButton"]:not([class*="StyledBaseThemeButton"]):not([class*="StyledIconButton"]) { background-color: #333648 !important; box-shadow: 0 0 0 1px rgba(106, 109, 128, 0.9), 0 2px 1px 0 rgba(31, 33, 51, 0.25), 0 2px 3px 0 rgba(31, 33, 51, 0.4) !important; }
/* Dark mode: the same buttons on hover */
.ml-in-portal main[class*="TaskWrapper-sc-"] > div > div[class*="StyledContainer-sc-"]:first-child button[class*="StyledButton"]:not([class*="StyledBaseThemeButton"]):not([class*="StyledIconButton"]):hover { background-color: #3E4152 !important; }
/* Dark mode: the same buttons' label */
.ml-in-portal main[class*="TaskWrapper-sc-"] > div > div[class*="StyledContainer-sc-"]:first-child button[class*="StyledButton"]:not([class*="StyledBaseThemeButton"]):not([class*="StyledIconButton"]) span { color: #F5F6FA !important; }
}
/* From "Portal dark mode": the guide player in dark mode */
@media (prefers-color-scheme: dark) {
/* Guide player: left nav */
.ml-in-portal div[class*="SidebarWrapper-sc-"] > div[class*="Sidebar-sc-"] { background-color: #282A3D !important; border-right-color: #545768 !important; }
/* Dark mode, left nav: block borders */
.ml-in-portal div[class*="Sidebar-sc-"] > div { border-color: #545768 !important; }
/* Dark mode, left nav: the line under Return to Overview */
.ml-in-portal div[class*="Sidebar-sc-"] > div:first-child > div > div:first-child { border-bottom-color: #545768 !important; }
/* Dark mode, left nav: text colors */
.ml-in-portal div[class*="Sidebar-sc-"] [class*="StyledText-sc-"],
.ml-in-portal div[class*="Sidebar-sc-"] a[class*="StyledButton"] span[class*="StyledText"],
.ml-in-portal div[class*="Sidebar-sc-"] > div:first-child p[class*="StyledText-sc-"],
.ml-in-portal div[class*="Sidebar-sc-"] h2 > button,
.ml-in-portal div[class*="Sidebar-sc-"] ul[class*="StyledChildrenContainer-sc-"] > li > div > div:first-child h2,
.ml-in-portal div[class*="Sidebar-sc-"] ul[class*="StyledChildrenContainer-sc-"] .ReactCollapse--content > div > button span { color: #DFE1EB !important; }
/* Dark mode, left nav: the course title */
.ml-in-portal div[class*="Sidebar-sc-"] h1 { color: #F5F6FA !important; }
/* Dark mode, left nav: links and buttons */
.ml-in-portal div[class*="Sidebar-sc-"] button,
.ml-in-portal div[class*="Sidebar-sc-"] a { color: #C0C3D4 !important; }
/* Dark mode, left nav: icons drawn in white */
.ml-in-portal div[class*="Sidebar-sc-"] svg [fill="#FFFFFF"],
.ml-in-portal div[class*="Sidebar-sc-"] svg [fill="#fff"],
.ml-in-portal div[class*="Sidebar-sc-"] svg [fill="white"] { fill: #A0A3B8 !important; }
/* Dark mode, left nav: icon outlines drawn in white */
.ml-in-portal div[class*="Sidebar-sc-"] svg [stroke="#FFFFFF"],
.ml-in-portal div[class*="Sidebar-sc-"] svg [stroke="#fff"],
.ml-in-portal div[class*="Sidebar-sc-"] svg [stroke="white"] { stroke: #A0A3B8 !important; }
/* Dark mode, left nav: rows and buttons on hover */
.ml-in-portal div[class*="Sidebar-sc-"] a[class*="StyledButton"]:hover,
.ml-in-portal div[class*="Sidebar-sc-"] h2 > button:hover,
.ml-in-portal div[class*="Sidebar-sc-"] div[class*="StyledButtonWrapper-sc-"] > button:hover,
.ml-in-portal div[class*="Sidebar-sc-"] ul[class*="StyledChildrenContainer-sc-"] .ReactCollapse--content > div > button:hover { background-color: #3E4152 !important; }
/* Dark mode, left nav: the progress bar track */
.ml-in-portal div[class*="Sidebar-sc-"] div[class*="StyledTrack-sc-"] { background-color: #323A8A !important; }
/* Dark mode, left nav: the progress percentage and time estimate */
.ml-in-portal div[class*="Sidebar-sc-"] span[class*="ValueLabel-sc-"],
.ml-in-portal div[class*="Sidebar-sc-"] div[class*="VerticalCenterWrapper-sc-"] { color: #A0A3B8 !important; }
/* Dark mode, left nav: the course details arrow */
.ml-in-portal div[class*="Sidebar-sc-"] div[class*="StyledButtonWrapper-sc-"] > button,
.ml-in-portal div[class*="Sidebar-sc-"] div[class*="StyledButtonWrapper-sc-"] > button span { color: #A0A3B8 !important; }
/* Dark mode, sections: each section's box */
.ml-in-portal div[class*="Sidebar-sc-"] ul[class*="StyledChildrenContainer-sc-"] > li > div { background-color: #3E4152 !important; box-shadow: 0 0 0 1px #545768 !important; }
/* Dark mode, sections: the expand arrow */
.ml-in-portal div[class*="Sidebar-sc-"] ul[class*="StyledChildrenContainer-sc-"] > li > div > div:first-child svg path { fill: #C0C3D4 !important; }
/* Dark mode, sections: the box around the task list */
.ml-in-portal div[class*="Sidebar-sc-"] ul[class*="StyledChildrenContainer-sc-"] .ReactCollapse--content > div { background-color: #282A3D !important; box-shadow: 0 0 0 1px #545768 !important; }
/* Dark mode: the task you are on */
.ml-in-portal div[class*="Sidebar-sc-"] ul[class*="StyledChildrenContainer-sc-"] .ReactCollapse--content > div > button.ml-current-task { background-color: #323A8A !important; box-shadow: 0 0 0 1px #3E46A0 !important; }
/* Dark mode: the task you are on, its name */
.ml-in-portal div[class*="Sidebar-sc-"] ul[class*="StyledChildrenContainer-sc-"] .ReactCollapse--content > div > button.ml-current-task span { color: #D1D7FF !important; }
/* Dark mode: the task you are on, its icon */
.ml-in-portal div[class*="Sidebar-sc-"] ul[class*="StyledChildrenContainer-sc-"] .ReactCollapse--content > div > button.ml-current-task svg [fill] { fill: #9AABFF !important; }
/* Guide player: top bar and buttons */
.ml-in-portal main[class*="TaskWrapper-sc-"] > div > div[class*="StyledContainer-sc-"]:first-child { background-color: #282A3D !important; border-bottom-color: #545768 !important; }
/* Dark mode, top bar: the nav toggle button */
.ml-in-portal main[class*="TaskWrapper-sc-"] > div > div[class*="StyledContainer-sc-"]:first-child button[class*="StyledIconButton"] { color: #C0C3D4 !important; }
/* Dark mode, top bar: the nav toggle on hover */
.ml-in-portal main[class*="TaskWrapper-sc-"] > div > div[class*="StyledContainer-sc-"]:first-child button[class*="StyledIconButton"]:hover { background-color: #3E4152 !important; }
/* Dark mode, top bar: the task name */
.ml-in-portal main[class*="TaskWrapper-sc-"] > div > div[class*="StyledContainer-sc-"]:first-child h2 { color: #F5F6FA !important; }
/* Dark mode: Next and the other theme buttons */
.ml-in-portal main[class*="TaskWrapper-sc-"] button[class*="StyledBaseThemeButton-sc-"] { box-shadow: 0 0 0 1px rgba(154, 171, 255, 0.5), 0 1px 1px 0 rgba(31, 33, 51, 0.4), 0 1px 3px 0 rgba(31, 33, 51, 0.35) !important; }
/* Dark mode: theme buttons on hover */
.ml-in-portal main[class*="TaskWrapper-sc-"] button[class*="StyledBaseThemeButton-sc-"]:hover { background-color: #6A82E6 !important; }
/* Dark mode: theme buttons' label */
.ml-in-portal main[class*="TaskWrapper-sc-"] button[class*="StyledBaseThemeButton-sc-"] span { color: #FFFFFF !important; }
/* Guide player: the course content keeps a white page below the dark top bar */
.ml-in-portal div[class*="GuideTaskWrapper-sc-"] { min-height: 100vh !important; background: linear-gradient(#282A3D 0, #282A3D 40px, #545768 40px, #545768 41px, #FFFFFF 41px) !important; }
/* Dark mode: dialogs on course pages */
.ml-in-portal div[class*="StyledDialog-sc-"] { background-color: #333648 !important; border-color: #545768 !important; box-shadow: 0 0 0 1px rgba(31, 33, 51, 0.5), 0 7px 8px 0 rgba(31, 33, 51, 0.4), 0 9px 11px 0 rgba(31, 33, 51, 0.4) !important; }
}
