/*
 * This file intentionally starts small.
 * Most legacy visual rules still live in the theme main.css while we migrate
 * them here in controlled slices.
 */

body.npp-masterstudy-visual-active {
  --npp-masterstudy-visual-layer: 1;
}

.npp-legacy-account-mobile-menu-shell {
  display: block !important;
  height: 0 !important;
  margin: 0 !important;
  max-width: none !important;
  padding: 0 !important;
  width: 0 !important;
}

@media (min-width: 1280px) {
  .npp-legacy-account-mobile-menu-shell .masterstudy-account-sidebar,
  .npp-legacy-account-mobile-menu-shell .masterstudy-account-mobile-menu {
    display: none !important;
  }
}

@media (max-width: 480px) {
  body.npp-theme.npp-account-route.npp-masterstudy-visual-active .masterstudy-analytics-short-report-page {
    display: block !important;
    height: auto !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow: visible !important;
    width: 100% !important;
  }

  body.npp-theme.npp-account-route.npp-masterstudy-visual-active .masterstudy-analytics-short-report-page__tabs {
    display: block !important;
    margin: 10px 0 12px !important;
    max-width: 100% !important;
    overflow: visible !important;
    width: 100% !important;
  }

  body.npp-theme.npp-account-route.npp-masterstudy-visual-active .masterstudy-analytics-short-report-page__tabs .masterstudy-tabs {
    background: transparent !important;
    display: grid !important;
    gap: 6px !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    height: auto !important;
    margin: 0 !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow: visible !important;
    padding: 0 !important;
    width: 100% !important;
  }

  body.npp-theme.npp-account-route.npp-masterstudy-visual-active .masterstudy-analytics-short-report-page__tabs .masterstudy-tabs__item {
    align-items: center !important;
    border-radius: 8px !important;
    display: flex !important;
    font-size: 11px !important;
    height: auto !important;
    justify-content: center !important;
    letter-spacing: 0 !important;
    line-height: 1.15 !important;
    margin: 0 !important;
    max-width: 100% !important;
    min-height: 38px !important;
    min-width: 0 !important;
    overflow: visible !important;
    overflow-wrap: anywhere !important;
    padding: 8px 4px !important;
    text-align: center !important;
    white-space: normal !important;
    width: 100% !important;
    word-break: normal !important;
  }
}

.npp-masterstudy-visual-active .npp-account-plugin-icon-hidden,
.npp-masterstudy-visual-active .npp-account-native-icon-hidden {
  display: none !important;
}

body.npp-theme.npp-account-chat.npp-masterstudy-visual-active .masterstudy-account-menu .npp-account-plugin-icon-hidden,
body.npp-theme.npp-account-chat.npp-masterstudy-visual-active .masterstudy-account-menu .npp-account-native-icon-hidden,
body.npp-theme.npp-account-chat.npp-masterstudy-visual-active .masterstudy-account-menu i.npp-account-plugin-icon-hidden[class^="stmlms-"],
body.npp-theme.npp-account-chat.npp-masterstudy-visual-active .masterstudy-account-menu i.npp-account-plugin-icon-hidden[class*=" stmlms-"],
body.npp-theme.npp-account-chat.npp-masterstudy-visual-active .masterstudy-account-menu i.npp-account-native-icon-hidden[class^="stmlms-"],
body.npp-theme.npp-account-chat.npp-masterstudy-visual-active .masterstudy-account-menu i.npp-account-native-icon-hidden[class*=" stmlms-"] {
  display: none !important;
  width: 0 !important;
  min-width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  overflow: hidden !important;
}

body.npp-theme.npp-account-chat.npp-masterstudy-visual-active .masterstudy-account-menu__list a.masterstudy-account-menu__list-item::before {
  content: none !important;
  display: none !important;
}

.npp-masterstudy-visual-active .npp-account-svg-icon {
  align-items: center;
  background: rgba(53, 211, 153, 0.14);
  border: 1px solid rgba(53, 211, 153, 0.28);
  border-radius: 10px;
  color: #1fc99a;
  display: inline-flex;
  flex: 0 0 28px;
  height: 28px;
  justify-content: center;
  margin-right: 10px;
  width: 28px;
}

.npp-masterstudy-visual-active .npp-account-svg-icon svg {
  display: block;
  fill: none;
  height: 15px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
  width: 15px;
}

.npp-masterstudy-visual-active .masterstudy-account-menu__list-item_active .npp-account-svg-icon,
.npp-masterstudy-visual-active .masterstudy-account-menu__list-item:hover .npp-account-svg-icon,
.npp-masterstudy-visual-active .masterstudy-account-mobile-menu__link_active .npp-account-svg-icon,
.npp-masterstudy-visual-active .masterstudy-account-mobile-menu__link:hover .npp-account-svg-icon,
.npp-masterstudy-visual-active .stm_lms_acc_tabs .float_menu_item__inline.float_menu_item_active .npp-account-svg-icon,
.npp-masterstudy-visual-active .stm_lms_acc_tabs .float_menu_item__inline:hover .npp-account-svg-icon,
.npp-masterstudy-visual-active .stm_lms_acc_tabs .dropdown_menu_item_active .npp-account-svg-icon,
.npp-masterstudy-visual-active .stm_lms_acc_tabs .dropdown_menu_item:hover .npp-account-svg-icon,
.npp-masterstudy-visual-active .stm_lms_user_float_menu .float_menu_item:hover .npp-account-svg-icon,
.npp-masterstudy-visual-active .stm_lms_user_float_menu .float_menu_item_active .npp-account-svg-icon,
.npp-masterstudy-visual-active .stm_lms_user_float_menu .dropdown_menu_item:hover .npp-account-svg-icon,
.npp-masterstudy-visual-active .stm_lms_user_float_menu .dropdown_menu_item_active .npp-account-svg-icon {
  background: #35d399;
  border-color: #35d399;
  color: #06111f;
}

/* Fixed MasterStudy frame shared by all account tabs. */
body.npp-theme.npp-account-route.npp-masterstudy-visual-active {
  --npp-ms-account-frame: 1020px;
  --npp-ms-account-content: 720px;
  --npp-ms-account-sidebar: 260px;
  --npp-ms-account-gap: 40px;
  overflow-x: hidden !important;
}

body.npp-theme.npp-account-route.npp-masterstudy-visual-active :is(
  .npp-main,
  .npp-content,
  .site-main,
  .entry-content
) {
  overflow-x: hidden !important;
}

body.npp-theme.npp-account-route.npp-masterstudy-visual-active :is(
  .stm-lms-wrapper.user-account-page,
  .stm_lms_account_classic,
  .masterstudy-account,
  .stm_lms_user_account,
  .stm_lms_user_account__content,
  .stm_lms_acc_tabs
) {
  box-sizing: border-box !important;
  width: min(var(--npp-ms-account-frame), calc(100vw - 64px)) !important;
  max-width: min(var(--npp-ms-account-frame), calc(100vw - 64px)) !important;
  min-width: 0 !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

body.npp-theme.npp-account-route.npp-masterstudy-visual-active .stm-lms-wrapper.user-account-page > .container {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

body.npp-theme.npp-account-route.npp-masterstudy-visual-active .masterstudy-account {
  align-items: flex-start !important;
  gap: var(--npp-ms-account-gap) !important;
}

body.npp-theme.npp-account-route.npp-masterstudy-visual-active .masterstudy-account-sidebar {
  flex: 0 0 var(--npp-ms-account-sidebar) !important;
  width: var(--npp-ms-account-sidebar) !important;
  max-width: var(--npp-ms-account-sidebar) !important;
  min-width: 0 !important;
}

body.npp-theme.npp-account-route.npp-masterstudy-visual-active .masterstudy-account-container {
  box-sizing: border-box !important;
  flex: 0 0 var(--npp-ms-account-content) !important;
  width: var(--npp-ms-account-content) !important;
  max-width: var(--npp-ms-account-content) !important;
  min-width: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  overflow: visible !important;
}

body.npp-theme.npp-account-route.npp-masterstudy-visual-active :is(
  .masterstudy-enrolled-courses,
  .masterstudy-enrolled-courses__list,
  .masterstudy-enrolled-courses-tabs,
  .masterstudy-enrolled-quizzes,
  .masterstudy-account-my-certificates,
  .masterstudy-account-settings,
  .masterstudy-account-orders,
  .masterstudy-account-messages,
  #masterstudy-account-messages,
  .masterstudy-orders,
  .masterstudy-orders-container,
  .masterstudy-orders-row,
  .masterstudy-orders-details,
  .masterstudy-instructor-courses,
  .masterstudy-account-wishlist,
  .masterstudy-account-announcement,
  .stm_lms_user_content,
  .stm-lms-user,
  .stm_lms_user_info,
  #stm_lms_chat
) {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

body.npp-theme.npp-account-route.npp-masterstudy-visual-active :is(
  .masterstudy-enrolled-course,
  .masterstudy-enrolled-courses-card,
  .stm_lms_courses__single,
  .stm_lms_instructor_courses__single,
  .masterstudy-orders-table,
  .masterstudy-payment-methods__table,
  .masterstudy-payment-methods__table-woocommerce
) {
  max-width: 100% !important;
  min-width: 0 !important;
}

body.npp-theme.npp-account-route.npp-masterstudy-visual-active .npp-empty-assignments {
  align-items: center;
  border: 1px solid #dbe0e9;
  border-radius: 10px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 360px;
  padding: 44px 36px;
  text-align: center;
  width: 100%;
}

body.npp-theme.npp-account-route.npp-masterstudy-visual-active .npp-empty-assignments__icon {
  align-items: center;
  background: rgba(53, 211, 153, .14);
  border: 1px solid rgba(53, 211, 153, .28);
  border-radius: 18px;
  color: #1fc99a;
  display: inline-flex;
  height: 64px;
  justify-content: center;
  margin-bottom: 22px;
  width: 64px;
}

body.npp-theme.npp-account-route.npp-masterstudy-visual-active .npp-empty-assignments__icon svg {
  display: block;
  fill: none;
  height: 32px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  width: 32px;
}

body.npp-theme.npp-account-route.npp-masterstudy-visual-active .npp-empty-assignments h2 {
  color: #001931;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 12px;
}

body.npp-theme.npp-account-route.npp-masterstudy-visual-active .npp-empty-assignments p {
  color: #4d5e6f;
  font-size: 15px;
  line-height: 1.55;
  margin: 0;
  max-width: 520px;
}

body.npp-theme.npp-account-route.npp-masterstudy-visual-active .npp-empty-assignments__hint {
  margin-top: 8px !important;
}

body.npp-theme.npp-account-route.npp-masterstudy-visual-active .npp-enrolled-assignments {
  box-sizing: border-box;
  width: 100%;
}

body.npp-theme.npp-account-route.npp-masterstudy-visual-active .npp-enrolled-assignments__header {
  align-items: center;
  border-bottom: 1px solid #dbe0e9;
  display: flex;
  gap: 14px;
  justify-content: space-between;
  margin-bottom: 28px;
  padding-bottom: 22px;
}

body.npp-theme.npp-account-route.npp-masterstudy-visual-active .npp-enrolled-assignments__header h2 {
  color: #001931;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.2;
  margin: 0;
}

body.npp-theme.npp-account-route.npp-masterstudy-visual-active .npp-enrolled-assignments__header span {
  align-items: center;
  background: #eef4fb;
  border-radius: 999px;
  color: #1f6fff;
  display: inline-flex;
  font-size: 14px;
  font-weight: 800;
  height: 34px;
  justify-content: center;
  min-width: 34px;
  padding: 0 12px;
}

body.npp-theme.npp-account-route.npp-masterstudy-visual-active .npp-enrolled-assignments__list {
  display: grid;
  gap: 12px;
  width: 100%;
}

body.npp-theme.npp-account-route.npp-masterstudy-visual-active .npp-enrolled-assignment {
  align-items: center;
  border: 1px solid #dbe0e9;
  border-radius: 10px;
  box-sizing: border-box;
  color: #001931;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  min-height: 112px;
  padding: 20px;
  text-decoration: none;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
  width: 100%;
}

body.npp-theme.npp-account-route.npp-masterstudy-visual-active .npp-enrolled-assignment:hover,
body.npp-theme.npp-account-route.npp-masterstudy-visual-active .npp-enrolled-assignment:focus-visible {
  border-color: rgba(53, 211, 153, .65);
  box-shadow: 0 18px 45px rgba(7, 17, 31, .08);
  color: #001931;
  outline: 0;
  transform: translateY(-1px);
}

body.npp-theme.npp-account-route.npp-masterstudy-visual-active .npp-enrolled-assignment__content {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

body.npp-theme.npp-account-route.npp-masterstudy-visual-active .npp-enrolled-assignment__content strong {
  color: #001931;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.25;
}

body.npp-theme.npp-account-route.npp-masterstudy-visual-active .npp-enrolled-assignment__content span,
body.npp-theme.npp-account-route.npp-masterstudy-visual-active .npp-enrolled-assignment__content small {
  color: #4d5e6f;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
}

body.npp-theme.npp-account-route.npp-masterstudy-visual-active .npp-enrolled-assignment__side {
  align-items: flex-end;
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  gap: 10px;
}

body.npp-theme.npp-account-route.npp-masterstudy-visual-active .npp-enrolled-assignment__status,
body.npp-theme.npp-account-route.npp-masterstudy-visual-active .npp-enrolled-assignment__action {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-size: 12px;
  font-weight: 900;
  justify-content: center;
  line-height: 1;
  min-height: 30px;
  padding: 8px 12px;
  text-transform: uppercase;
  white-space: nowrap;
}

body.npp-theme.npp-account-route.npp-masterstudy-visual-active .npp-enrolled-assignment__status {
  background: #eef4fb;
  color: #4d5e6f;
}

body.npp-theme.npp-account-route.npp-masterstudy-visual-active .npp-enrolled-assignment__status--draft {
  background: rgba(31, 111, 255, .12);
  color: #1f6fff;
}

body.npp-theme.npp-account-route.npp-masterstudy-visual-active .npp-enrolled-assignment__status--pending {
  background: rgba(255, 180, 40, .16);
  color: #a56400;
}

body.npp-theme.npp-account-route.npp-masterstudy-visual-active .npp-enrolled-assignment__status--passed,
body.npp-theme.npp-account-route.npp-masterstudy-visual-active .npp-enrolled-assignment__status--publish {
  background: rgba(53, 211, 153, .16);
  color: #0f8d68;
}

body.npp-theme.npp-account-route.npp-masterstudy-visual-active .npp-enrolled-assignment__status--not_passed {
  background: rgba(255, 77, 91, .12);
  color: #c9283a;
}

body.npp-theme.npp-account-route.npp-masterstudy-visual-active .npp-enrolled-assignment__action {
  background: #35d399;
  color: #06111f;
}

@media (max-width: 767px) {
  body.npp-theme.npp-account-route.npp-masterstudy-visual-active .npp-enrolled-assignments__header {
    margin-bottom: 22px;
    padding-bottom: 18px;
  }

  body.npp-theme.npp-account-route.npp-masterstudy-visual-active .npp-enrolled-assignments__header h2 {
    font-size: 24px;
  }

  body.npp-theme.npp-account-route.npp-masterstudy-visual-active .npp-enrolled-assignment {
    align-items: stretch;
    flex-direction: column;
    gap: 18px;
    min-height: 0;
    padding: 18px;
  }

  body.npp-theme.npp-account-route.npp-masterstudy-visual-active .npp-enrolled-assignment__side {
    align-items: stretch;
    flex-direction: row;
    justify-content: space-between;
  }
}

@media (max-width: 1023px) {
  body.npp-theme.npp-account-route.npp-masterstudy-visual-active {
    --npp-ms-account-frame: min(560px, calc(100vw - 56px));
    --npp-ms-account-content: 100%;
    --npp-ms-account-gap: 24px;
  }

  body.npp-theme.npp-account-route.npp-masterstudy-visual-active :is(
    .stm-lms-wrapper,
    .stm-lms-wrapper.user-account-page,
    .stm_lms_account_classic,
    .masterstudy-account,
    .masterstudy-account-container,
    .masterstudy-account-content,
    .masterstudy-account__content,
    .masterstudy-account__main,
    .stm_lms_user_account,
    .stm_lms_user_account__content,
    .stm_lms_acc_tabs
  ) {
    box-sizing: border-box !important;
    width: var(--npp-ms-account-frame) !important;
    max-width: var(--npp-ms-account-frame) !important;
    min-width: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    overflow-x: hidden !important;
  }

  body.npp-theme.npp-account-route.npp-masterstudy-visual-active .masterstudy-account {
    display: block !important;
  }

  body.npp-theme.npp-account-route.npp-masterstudy-visual-active .masterstudy-account-sidebar {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  body.npp-theme.npp-account-route.npp-masterstudy-visual-active .masterstudy-account-container {
    flex: none !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  body.npp-theme.npp-account-route.npp-masterstudy-visual-active .stm-lms-wrapper.user-account-page > .container {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  body.npp-theme.npp-account-route.npp-masterstudy-visual-active :is(
    .masterstudy-enrolled-courses-sorting,
    .masterstudy-enrolled-courses-sorting__block-wrapper,
    .masterstudy-enrolled-courses-sorting__block,
    .masterstudy-enrolled-courses-sorting__block-content,
    .stm_lms_acc_tabs__main
  ) {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  body.npp-theme.npp-account-route.npp-masterstudy-visual-active .masterstudy-enrolled-courses-tabs {
    align-items: flex-start !important;
    overflow: visible !important;
  }

  body.npp-theme.npp-account-route.npp-masterstudy-visual-active .masterstudy-enrolled-courses-tabs__blocks {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px 10px !important;
    justify-content: flex-start !important;
    margin-left: 0 !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow: visible !important;
    width: 100% !important;
  }

  body.npp-theme.npp-account-route.npp-masterstudy-visual-active .masterstudy-enrolled-courses-tabs__block {
    flex: 0 1 auto !important;
    margin-right: 0 !important;
    max-width: 100% !important;
    padding-bottom: 8px !important;
  }

  body.npp-theme.npp-account-route.npp-masterstudy-visual-active .masterstudy-enrolled-courses-tabs__block-content,
  body.npp-theme.npp-account-route.npp-masterstudy-visual-active .masterstudy-enrolled-courses-tabs__block-title,
  body.npp-theme.npp-account-route.npp-masterstudy-visual-active .masterstudy-enrolled-courses-tabs__block-value {
    flex-shrink: 0 !important;
    white-space: nowrap !important;
  }

  body.npp-theme.npp-account-route.npp-masterstudy-visual-active .masterstudy-enrolled-courses-tabs__block-content {
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    width: 100% !important;
  }

  body.npp-theme.npp-account-route.npp-masterstudy-visual-active .masterstudy-enrolled-courses-tabs__block-title,
  body.npp-theme.npp-account-route.npp-masterstudy-visual-active .masterstudy-enrolled-courses-tabs__block-value {
    text-align: center !important;
  }

  body.npp-theme.npp-account-route.npp-masterstudy-visual-active .masterstudy-enrolled-courses-sorting__block {
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
  }

  body.npp-theme.npp-account-route.npp-masterstudy-visual-active .masterstudy-enrolled-courses-sorting__block-content {
    align-items: center !important;
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    text-align: center !important;
    width: 100% !important;
  }

  body.npp-theme.npp-account-route.npp-masterstudy-visual-active .masterstudy-enrolled-courses-sorting__block-title,
  body.npp-theme.npp-account-route.npp-masterstudy-visual-active .masterstudy-enrolled-courses-sorting__block-value {
    justify-content: center !important;
    text-align: center !important;
  }
}

.npp-modal-open {
  overflow: hidden;
}

.npp-profile-delete-modal {
  align-items: center;
  display: flex;
  inset: 0;
  justify-content: center;
  opacity: 0;
  padding: 24px;
  pointer-events: none;
  position: fixed;
  transition: opacity .18s ease;
  z-index: 999999;
}

.npp-profile-delete-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.npp-profile-delete-modal__backdrop {
  background: rgba(7, 17, 31, .68);
  inset: 0;
  position: absolute;
}

.npp-profile-delete-modal__dialog {
  background: #ffffff;
  border: 1px solid rgba(53, 211, 153, .22);
  border-radius: 16px;
  box-shadow: 0 28px 90px rgba(7, 17, 31, .34);
  box-sizing: border-box;
  color: #07111f;
  max-width: 430px;
  padding: 30px;
  position: relative;
  text-align: center;
  transform: translateY(8px) scale(.98);
  transition: transform .18s ease;
  width: min(430px, calc(100vw - 40px));
}

.npp-profile-delete-modal.is-open .npp-profile-delete-modal__dialog {
  transform: translateY(0) scale(1);
}

.npp-profile-delete-modal__close {
  align-items: center;
  background: #eef4fb;
  border: 0;
  border-radius: 10px;
  color: #5d6980;
  cursor: pointer;
  display: inline-flex;
  font-size: 24px;
  height: 38px;
  justify-content: center;
  line-height: 1;
  position: absolute;
  right: 16px;
  top: 16px;
  width: 38px;
}

.npp-profile-delete-modal__close svg {
  display: block;
  fill: none;
  height: 18px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
  width: 18px;
}

.npp-profile-delete-modal__close:hover,
.npp-profile-delete-modal__close:focus-visible {
  background: #dfe7f1;
  color: #07111f;
}

.npp-profile-delete-modal__icon {
  align-items: center;
  background: linear-gradient(135deg, rgba(53, 211, 153, .18), rgba(31, 111, 255, .12));
  border: 1px solid rgba(53, 211, 153, .28);
  border-radius: 16px;
  color: #1f6fff;
  display: inline-flex;
  height: 58px;
  justify-content: center;
  margin-bottom: 18px;
  width: 58px;
}

.npp-profile-delete-modal__icon svg {
  fill: none;
  height: 30px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  width: 30px;
}

.npp-profile-delete-modal__dialog h2 {
  color: #07111f;
  font-size: 24px;
  line-height: 1.2;
  margin: 0 0 10px;
}

.npp-profile-delete-modal__dialog p {
  color: #5d6980;
  font-size: 15px;
  line-height: 1.55;
  margin: 0;
}

.npp-profile-delete-modal__actions {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr 1fr;
  margin-top: 24px;
}

.npp-profile-delete-modal__button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 10px;
  cursor: pointer;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 46px;
  padding: 12px 16px;
}

.npp-profile-delete-modal__button--ghost {
  background: #eef4fb;
  color: #07111f;
}

.npp-profile-delete-modal__button--danger {
  background: linear-gradient(135deg, #35d399, #57e0b5);
  box-shadow: 0 16px 35px rgba(53, 211, 153, .24);
  color: #06111f;
}

.npp-profile-delete-modal__button:hover,
.npp-profile-delete-modal__button:focus-visible {
  outline: 3px solid rgba(31, 111, 255, .22);
  outline-offset: 2px;
}

@media (max-width: 480px) {
  .npp-profile-delete-modal {
    padding: 18px;
  }

  .npp-profile-delete-modal__dialog {
    padding: 28px 20px 20px;
  }

  .npp-profile-delete-modal__actions {
    grid-template-columns: 1fr;
  }
}

.stm-lms-wrapper--gradebook #stm_lms_gradebook {
  position: relative;
}

.stm-lms-wrapper--gradebook .stm_lms_gradebook__courses:empty::before {
  align-items: center;
  color: #5d6980;
  content: "Carregando boletim de notas...";
  display: flex;
  font-weight: 700;
  justify-content: center;
  min-height: 96px;
}

.stm-lms-wrapper--gradebook .stm_lms_gradebook__courses:not(.loading):empty::before {
  content: "Nenhum curso encontrado para este instrutor.";
}

.npp-gradebook-page {
  background: #fff;
}

.npp-gradebook {
  margin: 72px auto;
  max-width: var(--npp-ms-account-content, 720px);
  width: 100%;
}

.npp-gradebook,
.npp-gradebook * {
  box-sizing: border-box;
}

.npp-gradebook__header {
  border-bottom: 1px solid #d7e0ec;
  display: flex;
  justify-content: space-between;
  margin-bottom: 28px;
  padding-bottom: 20px;
}

.npp-gradebook__header h1 {
  color: #07111f;
  font-size: 34px;
  line-height: 1.15;
  margin: 0 0 8px;
}

.npp-gradebook__header p {
  color: #31435a;
  font-size: 15px;
  margin: 0;
}

.npp-gradebook__grid {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.npp-gradebook__card {
  background: #fff;
  border: 1px solid #d7e0ec;
  border-radius: 8px;
  cursor: pointer;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  padding: 20px;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.npp-gradebook__card:hover,
.npp-gradebook__card.is-open {
  border-color: rgba(53, 211, 153, .75);
  box-shadow: 0 18px 42px rgba(7, 17, 31, .08);
}

.npp-gradebook__course {
  align-items: center;
  display: grid;
  gap: 16px;
  grid-template-columns: 96px 1fr;
  min-width: 0;
}

.npp-gradebook__thumb {
  border-radius: 8px;
  display: block;
  height: 72px;
  overflow: hidden;
}

.npp-gradebook__thumb img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.npp-gradebook__course-info span,
.npp-gradebook__stats span {
  color: #6b7b91;
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.npp-gradebook__course-info h2 {
  color: #07111f;
  font-size: 18px;
  line-height: 1.28;
  margin: 5px 0 0;
  overflow-wrap: anywhere;
}

.npp-gradebook__stats {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 20px;
}

.npp-gradebook__stats button {
  background: #eef4fb;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  padding: 12px;
  text-align: left;
  transition: background .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.npp-gradebook__stats button:hover,
.npp-gradebook__stats button.is-active {
  background: #e6fff5;
  border-color: rgba(53, 211, 153, .7);
  box-shadow: 0 10px 24px rgba(53, 211, 153, .14);
}

.npp-gradebook__stats strong {
  color: #07111f;
  display: block;
  font-size: 21px;
  line-height: 1;
  margin-top: 8px;
}

.npp-gradebook__progress {
  background: #e6edf6;
  border-radius: 999px;
  height: 8px;
  margin-top: 18px;
  overflow: hidden;
}

.npp-gradebook__progress span {
  background: linear-gradient(90deg, #35d399, #f0d75a);
  display: block;
  height: 100%;
}

.npp-gradebook__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.npp-gradebook__button {
  align-items: center;
  border: 0;
  background: #35d399;
  border-radius: 8px;
  color: #06111f;
  cursor: pointer;
  display: inline-flex;
  font-weight: 900;
  justify-content: center;
  min-height: 44px;
  padding: 0 24px;
  text-decoration: none;
}

.npp-gradebook__button--ghost {
  background: #eef4fb;
  color: #07111f;
}

.npp-gradebook__button--small {
  font-size: 13px;
  min-height: 38px;
  padding: 0 16px;
}

.npp-gradebook__button:hover,
.npp-gradebook__button:focus {
  color: #06111f;
  text-decoration: none;
}

.npp-gradebook__details {
  border-top: 1px solid #d7e0ec;
  cursor: default;
  margin-top: 20px;
  min-width: 0;
  padding-top: 18px;
}

.npp-gradebook__details h3 {
  color: #07111f;
  font-size: 20px;
  margin: 0;
}

.npp-gradebook__panel-head {
  align-items: center;
  display: flex;
  gap: 14px;
  justify-content: space-between;
  margin-bottom: 14px;
}

.npp-gradebook__table-wrap {
  overflow-x: auto;
}

.npp-gradebook__table {
  border-collapse: collapse;
  min-width: 680px;
  width: 100%;
}

.npp-gradebook__table th,
.npp-gradebook__table td {
  border-bottom: 1px solid #d7e0ec;
  color: #07111f;
  padding: 12px 10px;
  text-align: left;
}

.npp-gradebook__table th {
  color: #6b7b91;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.npp-gradebook__table a {
  color: #0b63ff;
  font-weight: 800;
  text-decoration: none;
}

.npp-gradebook__value {
  border-radius: 999px;
  display: inline-flex;
  font-weight: 900;
  min-width: 58px;
  padding: 6px 10px;
}

.npp-gradebook__value.is-good {
  background: rgba(53, 211, 153, .16);
  color: #008661;
}

.npp-gradebook__value.is-bad {
  background: rgba(255, 61, 82, .14);
  color: #d62035;
}

.npp-gradebook__materials {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.npp-gradebook__materials li {
  background: #eef4fb;
  border: 1px solid #d7e0ec;
  border-radius: 8px;
  display: grid;
  gap: 4px;
  padding: 14px 16px;
}

.npp-gradebook__materials span {
  color: #35b987;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.npp-gradebook__materials strong {
  color: #07111f;
  font-size: 16px;
  overflow-wrap: anywhere;
}

.npp-gradebook__materials small {
  color: #6b7b91;
  font-size: 13px;
}

.npp-gradebook__details-empty {
  background: #eef4fb;
  border-radius: 8px;
  color: #31435a;
  margin: 0;
  padding: 16px;
}

.npp-gradebook__empty {
  background: #eef4fb;
  border: 1px solid #d7e0ec;
  border-radius: 8px;
  padding: 28px;
}

.npp-gradebook__empty h2 {
  color: #07111f;
  font-size: 22px;
  margin: 0 0 8px;
}

.npp-gradebook__empty p {
  color: #31435a;
  margin: 0;
}

@media (min-width: 768px) and (max-width: 1024px) {
  .npp-gradebook__stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .npp-gradebook__stats button {
    min-width: 0;
  }
}

@media (max-width: 767px) {
  .npp-gradebook {
    margin: 28px auto 120px;
    max-width: 100%;
    padding: 0 18px;
  }

  .npp-gradebook__header h1 {
    font-size: 28px;
  }

  .npp-gradebook__card {
    padding: 16px;
  }

  .npp-gradebook__course {
    grid-template-columns: 1fr;
  }

  .npp-gradebook__thumb {
    height: auto;
  }

  .npp-gradebook__stats {
    grid-template-columns: 1fr 1fr;
  }

  .npp-gradebook__stats button {
    min-width: 0;
  }

  .npp-gradebook__stats span,
  .npp-gradebook__stats strong {
    overflow-wrap: anywhere;
  }

  .npp-gradebook__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .npp-gradebook__panel-head {
    align-items: stretch;
    display: grid;
    grid-template-columns: 1fr;
  }

  .npp-gradebook__button {
    width: 100%;
  }

  .npp-gradebook__table-wrap {
    overflow: visible;
  }

  .npp-gradebook__table,
  .npp-gradebook__table thead,
  .npp-gradebook__table tbody,
  .npp-gradebook__table tr,
  .npp-gradebook__table th,
  .npp-gradebook__table td {
    display: block;
    min-width: 0;
    width: 100%;
  }

  .npp-gradebook__table thead {
    display: none;
  }

  .npp-gradebook__table tr {
    background: #eef4fb;
    border: 1px solid #d7e0ec;
    border-radius: 8px;
    margin-bottom: 10px;
    padding: 12px;
  }

  .npp-gradebook__table td {
    align-items: center;
    border-bottom: 1px solid rgba(215, 224, 236, .9);
    display: flex;
    gap: 12px;
    justify-content: space-between;
    padding: 10px 0;
    text-align: right;
  }

  .npp-gradebook__table td:last-child {
    border-bottom: 0;
  }

  .npp-gradebook__table td::before {
    color: #6b7b91;
    content: attr(data-label);
    flex: 0 0 auto;
    font-size: 12px;
    font-weight: 900;
    text-align: left;
    text-transform: uppercase;
  }

  .npp-gradebook__table td > * {
    min-width: 0;
  }

  .npp-gradebook__materials li {
    padding: 12px;
  }
}

@media (min-width: 1024px) {
  .npp-certificates-template-toolbar {
    align-items: stretch !important;
    background: #fff !important;
    border: 1px solid #dbe0e9 !important;
    border-radius: 8px !important;
    box-shadow: 0 12px 28px rgba(15, 35, 55, 0.06) !important;
    box-sizing: border-box !important;
    display: grid !important;
    gap: 14px !important;
    grid-template-columns: 1fr !important;
    grid-template-rows: auto auto auto !important;
    margin-bottom: 24px !important;
    padding: 16px !important;
    width: 100% !important;
  }

  .npp-certificates-template-toolbar > .masterstudy-instructor-certificates__title {
    align-self: center !important;
    grid-column: 1 / -1 !important;
    line-height: 1.1 !important;
    margin: 0 !important;
  }

  .npp-certificates-template-toolbar__filters {
    align-items: center !important;
    display: grid !important;
    gap: 12px !important;
    grid-column: 1 !important;
    grid-row: 2 !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    min-width: 0 !important;
  }

  .npp-certificates-template-toolbar__filters .masterstudy-search,
  .npp-certificates-template-toolbar__filters .masterstudy-select {
    margin: 0 !important;
    min-width: 0 !important;
    width: 100% !important;
  }

  .npp-certificates-template-toolbar__action {
    align-self: end !important;
    grid-column: 2 !important;
    grid-row: 2 !important;
    justify-self: end !important;
  }

  .npp-certificates-template-toolbar__action .masterstudy-button {
    margin: 0 !important;
    min-width: 0 !important;
    white-space: nowrap !important;
    width: 160px !important;
  }

  .npp-certificates-toolbar {
    align-items: center !important;
    background: #fff !important;
    border: 1px solid #dbe0e9 !important;
    border-radius: 8px !important;
    box-shadow: 0 12px 28px rgba(15, 35, 55, 0.06) !important;
    box-sizing: border-box !important;
    column-gap: 12px !important;
    display: grid !important;
    grid-template-areas:
      "title title title"
      "search category instructor"
      ". . button" !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    margin-bottom: 24px !important;
    padding: 16px !important;
    row-gap: 12px !important;
    width: 100% !important;
  }

  .npp-certificates-toolbar__title {
    grid-area: title !important;
    line-height: 1.1 !important;
    margin: 0 !important;
    white-space: nowrap !important;
  }

  .npp-certificates-toolbar__search {
    grid-area: search !important;
    margin: 0 !important;
    min-width: 0 !important;
    width: 100% !important;
  }

  .npp-certificates-toolbar__filters {
    display: contents !important;
  }

  .npp-certificates-toolbar__category {
    grid-area: category !important;
  }

  .npp-certificates-toolbar__instructor {
    grid-area: instructor !important;
  }

  .npp-certificates-toolbar__category,
  .npp-certificates-toolbar__instructor {
    margin: 0 !important;
    min-width: 0 !important;
    width: 100% !important;
  }

  .npp-certificates-toolbar__button {
    grid-area: button !important;
    justify-self: end !important;
    margin: 0 !important;
    min-width: 0 !important;
    white-space: nowrap !important;
    width: 160px !important;
  }

  .npp-certificates-toolbar__button .masterstudy-button__title {
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  body.npp-account-certificates .masterstudy-instructor-certificates,
  body.npp-account-certificates .masterstudy-instructor-certificates__content,
  body.npp-account-certificates .masterstudy-instructor-certificates__list {
    box-sizing: border-box;
    max-width: 100%;
    min-width: 0;
    width: 100%;
  }

  body.npp-account-certificates .masterstudy-instructor-certificates__header {
    align-items: center;
    background: #fff;
    border: 1px solid #dbe0e9;
    border-radius: 8px;
    box-shadow: 0 12px 28px rgba(15, 35, 55, 0.06);
    box-sizing: border-box;
    column-gap: 12px;
    display: grid;
    grid-template-areas:
      "title title title"
      "search category instructor"
      ". . button";
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-bottom: 24px;
    padding: 16px;
    row-gap: 12px;
  }

  body.npp-account-certificates .masterstudy-instructor-certificates__title {
    grid-area: title;
    line-height: 1.1;
    margin: 0;
    white-space: nowrap;
  }

  body.npp-account-certificates .masterstudy-instructor-certificates__header > .masterstudy-search {
    grid-area: search;
    margin: 0 !important;
    min-width: 0 !important;
    width: 100%;
  }

  body.npp-account-certificates .masterstudy-instructor-certificates__header-wrapper {
    display: contents;
  }

  body.npp-account-certificates .masterstudy-instructor-certificates__header-wrapper .masterstudy-select {
    margin: 0 !important;
    min-width: 0 !important;
    width: 100% !important;
  }

  body.npp-account-certificates .masterstudy-instructor-certificates__header-wrapper .masterstudy-select:nth-child(1) {
    grid-area: category;
  }

  body.npp-account-certificates .masterstudy-instructor-certificates__header-wrapper .masterstudy-select:nth-child(2) {
    grid-area: instructor;
  }

  body.npp-account-certificates .masterstudy-instructor-certificates__header > .masterstudy-button {
    grid-area: button;
    justify-self: end;
    margin: 0 !important;
    min-width: 0;
    white-space: nowrap;
    width: 160px;
  }

  body.npp-account-certificates .masterstudy-instructor-certificates__header > .masterstudy-button .masterstudy-button__title {
    overflow: hidden;
    text-overflow: ellipsis;
  }

  body.npp-account-certificates .masterstudy-instructor-certificates__content {
    overflow: hidden;
  }

  body.npp-account-certificates .masterstudy-instructor-certificates__heading {
    box-sizing: border-box;
    display: grid;
    gap: 14px;
    grid-template-columns: minmax(180px, 1fr) 104px 156px 54px 148px;
    height: auto;
    min-height: 40px;
    padding: 0 20px;
  }

  body.npp-account-certificates .masterstudy-instructor-certificates__heading-title,
  body.npp-account-certificates .masterstudy-instructor-certificates__heading-category,
  body.npp-account-certificates .masterstudy-instructor-certificates__heading-instructor,
  body.npp-account-certificates .masterstudy-instructor-certificates__heading-id,
  body.npp-account-certificates .masterstudy-instructor-certificates__heading-actions {
    box-sizing: border-box;
    margin: 0;
    min-width: 0;
    width: auto;
  }

  body.npp-account-certificates .masterstudy-instructor-certificates__item {
    align-items: center;
    box-sizing: border-box;
    display: grid;
    gap: 14px;
    grid-template-columns: minmax(180px, 1fr) 504px;
    padding: 10px 20px;
  }

  body.npp-account-certificates .masterstudy-instructor-certificates__item--hidden {
    display: none !important;
  }

  body.npp-account-certificates .masterstudy-instructor-certificates__item-wrapper {
    box-sizing: border-box;
    min-width: 0;
  }

  body.npp-account-certificates .masterstudy-instructor-certificates__item-wrapper:first-child {
    align-items: center;
    display: flex;
    min-width: 0;
    width: auto;
  }

  body.npp-account-certificates .masterstudy-instructor-certificates__item-wrapper:last-child {
    align-items: center;
    display: grid;
    gap: 14px;
    grid-template-columns: 104px 156px 54px 148px;
    width: 100%;
  }

  body.npp-account-certificates .masterstudy-instructor-certificates__item-image {
    margin-right: 18px;
  }

  body.npp-account-certificates .masterstudy-instructor-certificates__item-title,
  body.npp-account-certificates .masterstudy-instructor-certificates__item-category,
  body.npp-account-certificates .masterstudy-instructor-certificates__item-instructor,
  body.npp-account-certificates .masterstudy-instructor-certificates__item-id {
    box-sizing: border-box;
    margin: 0;
    max-width: 100%;
    min-width: 0;
    overflow-wrap: anywhere;
    width: auto;
  }

  body.npp-account-certificates .masterstudy-instructor-certificates__item-actions {
    align-items: center;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 10px;
    justify-content: center;
    margin: 0;
    max-width: 148px;
    min-width: 0;
    padding-right: 4px;
    width: 148px;
  }

  body.npp-account-certificates .masterstudy-instructor-certificates__item-actions .masterstudy-button,
  body.npp-account-certificates .masterstudy-instructor-certificates__item-actions a {
    justify-content: center;
    margin: 0;
    max-width: 100%;
    min-width: 0;
    width: 78px;
  }

  body.npp-account-certificates .masterstudy-instructor-certificates__delete {
    flex: 0 0 40px;
    margin: 0;
  }
}

@media (min-width: 1024px) {
  body.npp-account-certificates .masterstudy-instructor-certificates > .npp-certificates-template-toolbar {
    align-items: stretch !important;
    background: #fff !important;
    border: 1px solid #dbe0e9 !important;
    border-radius: 8px !important;
    box-shadow: 0 12px 28px rgba(15, 35, 55, 0.06) !important;
    box-sizing: border-box !important;
    display: grid !important;
    gap: 14px !important;
    grid-template-columns: 1fr !important;
    grid-template-rows: auto auto auto !important;
    margin-bottom: 24px !important;
    padding: 16px !important;
    width: 100% !important;
  }

  body.npp-account-certificates .npp-certificates-template-toolbar > .masterstudy-instructor-certificates__title {
    align-self: center !important;
    grid-column: 1 / -1 !important;
    grid-row: 1 !important;
    line-height: 1.1 !important;
    margin: 0 !important;
  }

  body.npp-account-certificates .npp-certificates-template-toolbar__filters {
    align-items: center !important;
    display: grid !important;
    gap: 12px !important;
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    grid-template-columns: repeat(3, minmax(190px, 1fr)) !important;
    justify-self: stretch !important;
    min-width: 0 !important;
    width: 100% !important;
  }

  body.npp-account-certificates .npp-certificates-template-toolbar__filters > * {
    box-sizing: border-box !important;
    max-width: none !important;
    min-width: 0 !important;
    width: 100% !important;
  }

  body.npp-account-certificates .npp-certificates-template-toolbar__filters .masterstudy-search,
  body.npp-account-certificates .npp-certificates-template-toolbar__filters .masterstudy-select {
    box-sizing: border-box !important;
    flex: 1 1 auto !important;
    margin: 0 !important;
    max-width: none !important;
    min-width: 0 !important;
    width: 100% !important;
  }

  body.npp-account-certificates .npp-certificates-template-toolbar__filters .masterstudy-search__input,
  body.npp-account-certificates .npp-certificates-template-toolbar__filters .masterstudy-select__wrapper {
    box-sizing: border-box !important;
    max-width: none !important;
    min-width: 0 !important;
    width: 100% !important;
  }

  body.npp-account-certificates .npp-certificates-template-toolbar__filters .masterstudy-select__placeholder {
    max-width: 100% !important;
    width: 100% !important;
  }

  body.npp-account-certificates .npp-certificates-template-toolbar__action {
    align-self: end !important;
    grid-column: 1 / -1 !important;
    grid-row: 3 !important;
    justify-self: end !important;
  }

  body.npp-account-certificates .npp-certificates-template-toolbar__action .masterstudy-button {
    margin: 0 !important;
    min-width: 0 !important;
    white-space: nowrap !important;
    width: 160px !important;
  }
}
