/* =====================================================
   PROFILE PAGE — scoped to .profile-page only
   ===================================================== */

.profile-page {
  width: 100%;
  max-width: var(--ieg-content);
  margin: 0 auto;
  padding: 18px 0 30px;
  box-sizing: border-box;
}

.profile-page *,
.profile-page *::before,
.profile-page *::after {
  box-sizing: border-box;
}


/* =====================================================
   HERO
   ===================================================== */

.profile-page .profile-hero {
  position: relative;
  min-height: 146px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  overflow: hidden;

  padding: 24px 28px;

  background:
    radial-gradient(
      circle at 72% 45%,
      rgba(190, 232, 222, 0.38) 0%,
      rgba(224, 244, 239, 0.28) 31%,
      rgba(255, 255, 255, 0) 63%
    ),
    linear-gradient(
      105deg,
      #ffffff 0%,
      #fbfdfc 40%,
      #edf9f6 76%,
      #d9f2eb 100%
    );

  border: 1px solid #e4ebe7;
  border-radius: 15px;
}

.profile-page .profile-hero-main {
  display: flex;
  align-items: center;
  gap: 24px;

  position: relative;
  z-index: 3;
}

.profile-page .profile-avatar {
  width: 100px;
  height: 100px;
  flex: 0 0 100px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background:
    linear-gradient(
      135deg,
      #215f48 0%,
      #08704d 100%
    );

  color: #ffffff;

  font-size: 32px;
  line-height: 1;
  font-weight: 800;
  overflow: hidden;
}

.profile-page .profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.profile-page .profile-avatar span {
  color: inherit;
  font: inherit;
}

.profile-page .profile-hero-copy h1 {
  margin: 0;

  color: #101417;

  font-size: 34px;
  line-height: 1.05;
  font-weight: 780;
  letter-spacing: -1px;
}

.profile-page .profile-context {
  margin-top: 7px;

  color: #29363d;

  font-size: 17px;
  line-height: 1.4;
}

.profile-page .profile-context span {
  margin: 0 3px;
}

.profile-page .profile-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 10px;
  margin-top: 13px;
  max-width: 420px;
}

.profile-page .profile-hero-link {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  min-height: 38px;
  padding: 8px 14px;
  border: 1px solid #ccd6d1;
  border-radius: 8px;
  background: #ffffff;
  color: #16231c;
  font: inherit;
  text-decoration: none;
  cursor: pointer;
  transition:
    background 0.15s ease,
    border-color 0.15s ease,
    color 0.15s ease;
}

.profile-page .profile-hero-link--map {
  flex: 1 1 220px;
  border-color: #15964a;
  background: #15964a;
  color: #ffffff;
}

.profile-page .profile-hero-link--map:hover {
  background: #128340;
  border-color: #128340;
  color: #ffffff;
}

.profile-page .profile-hero-link--dash {
  flex: 0 0 auto;
  align-self: center;
  font-size: 14px;
  font-weight: 650;
}

.profile-page .profile-hero-link--dash:hover {
  background: #f6faf8;
  border-color: #aebdb6;
}

.profile-page .profile-hero-link-title {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
}

.profile-page .profile-hero-link-desc {
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
  opacity: 0.92;
}

.profile-page .profile-edit-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  margin-top: 13px;

  min-height: 38px;

  padding: 8px 14px;

  border: 1px solid #ccd6d1;
  border-radius: 8px;

  background: #ffffff;

  color: #16231c;

  font: inherit;
  font-size: 14px;
  font-weight: 650;

  text-decoration: none;
  cursor: pointer;

  transition:
    background 0.15s ease,
    border-color 0.15s ease;
}

.profile-page .profile-edit-btn:hover {
  background: #f6faf8;
  border-color: #aebdb6;
}

.profile-page .profile-edit-btn svg {
  width: 17px;
  height: 17px;
}

.profile-page .profile-report {
  margin-top: 8px;
}


/* HERO ART */

.profile-page .profile-hero-art {
  position: absolute;

  right: 0;
  top: 0;

  width: 420px;
  height: 100%;

  overflow: hidden;
  pointer-events: none;
}

.profile-page .profile-hero-art::before {
  content: "";

  position: absolute;

  right: 45px;
  top: -30px;

  width: 180px;
  height: 220px;

  background: rgba(102, 199, 174, 0.11);

  transform: skewX(-20deg);
}

.profile-page .profile-hero-art::after {
  content: "";

  position: absolute;

  right: -40px;
  top: -35px;

  width: 220px;
  height: 230px;

  background: rgba(110, 201, 177, 0.11);

  transform: skewX(-20deg);
}

.profile-page .profile-hero-message {
  position: absolute;

  left: 20px;
  top: 37px;

  z-index: 3;

  display: flex;
  flex-direction: column;

  color: #087043;

  font-size: 15px;
  line-height: 20px;
  font-style: italic;
  font-weight: 650;
}

.profile-page .profile-hero-message strong {
  font-weight: 780;
}

.profile-page .profile-hero-accent {
  position: absolute;

  left: 20px;
  top: 104px;

  width: 38px;
  height: 4px;

  border-radius: 999px;

  background: var(--ieg-green, #15964a);

  z-index: 4;
}

.profile-page .profile-id-card {
  position: absolute;

  right: 36px;
  top: 40px;

  width: 152px;
  height: 72px;

  display: flex;
  align-items: center;
  gap: 14px;

  padding: 12px 15px;

  background: rgba(255, 255, 255, 0.88);

  border-radius: 9px;

  z-index: 3;
}

.profile-page .profile-id-avatar {
  width: 32px;
  height: 32px;

  flex: 0 0 32px;

  border-radius: 50%;

  background: #c6eade;
}

.profile-page .profile-id-lines {
  flex: 1;

  display: flex;
  flex-direction: column;
  gap: 7px;
}

.profile-page .profile-id-lines span {
  display: block;

  height: 6px;

  border-radius: 999px;

  background: #bee6da;
}

.profile-page .profile-id-lines span:nth-child(1) {
  width: 100%;
}

.profile-page .profile-id-lines span:nth-child(2) {
  width: 75%;
}

.profile-page .profile-id-lines span:nth-child(3) {
  width: 56%;
}


/* =====================================================
   TABS — use .is-on (existing kit.js tab state)
   ===================================================== */

.profile-page .profile-tabs {
  margin-top: 16px;
  border-bottom: 1px solid #dde6e1;
}

.profile-page .profile-tabs__scroll {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(21, 150, 74, 0.35) transparent;
}

.profile-page .profile-tabs__scroll::-webkit-scrollbar {
  height: 4px;
}

.profile-page .profile-tabs__scroll::-webkit-scrollbar-thumb {
  background: rgba(21, 150, 74, 0.35);
  border-radius: 4px;
}

.profile-page .profile-tab {
  position: relative;

  display: inline-flex;
  align-items: center;
  gap: 8px;

  flex: 0 0 auto;
  min-height: 48px;

  padding: 0 14px;

  border: 0;
  background: transparent;
  cursor: pointer;

  color: #5b6871;

  font-family: inherit;
  font-size: 14px;
  font-weight: 600;

  text-decoration: none;
  white-space: nowrap;
}

.profile-page .profile-tab svg {
  width: 19px;
  height: 19px;
}

.profile-page .profile-tab:hover {
  color: var(--ieg-green, #15964a);
}

.profile-page .profile-tab.is-on,
.profile-page .profile-tab.active {
  color: #172019;
  font-weight: 700;
}

.profile-page .profile-tab.is-on::after,
.profile-page .profile-tab.active::after {
  content: "";

  position: absolute;

  left: 0;
  right: 0;
  bottom: -1px;

  height: 3px;

  border-radius: 3px 3px 0 0;

  background: var(--ieg-green, #15964a);
}

.profile-page .profile-tab.is-on svg,
.profile-page .profile-tab.active svg {
  color: var(--ieg-green, #15964a);
}


/* =====================================================
   GENERAL CARDS
   ===================================================== */

.profile-page .profile-card {
  background: #ffffff;

  border: 1px solid #dde7e2;
  border-radius: 14px;

  padding: 18px;

  box-shadow:
    0 3px 10px rgba(17, 57, 39, 0.035);
}

.profile-page .profile-card-heading {
  display: flex;
  align-items: center;
  gap: 12px;

  margin-bottom: 17px;
}

.profile-page .profile-card-heading-action {
  justify-content: space-between;
}

.profile-page .profile-heading-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.profile-page .profile-card-icon {
  width: 42px;
  height: 42px;

  flex: 0 0 42px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 11px;

  background: #e8f7ef;

  color: var(--ieg-green, #15964a);
}

.profile-page .profile-card-icon svg {
  width: 21px;
  height: 21px;
}

.profile-page .profile-card-heading h2 {
  margin: 0;

  color: #151d19;

  font-size: 17px;
  line-height: 1.25;
  font-weight: 750;
}

.profile-page .profile-card-heading p {
  margin: 3px 0 0;

  color: #718079;

  font-size: 13px;
  line-height: 1.4;
}


/* =====================================================
   TOP GRID
   ===================================================== */

.profile-page .profile-overview-grid {
  display: grid;

  grid-template-columns:
    minmax(0, 1.06fr)
    minmax(0, 1.02fr)
    minmax(0, 1fr);

  gap: 14px;

  margin-top: 14px;
}


/* =====================================================
   DETAIL ROWS
   ===================================================== */

.profile-page .profile-detail-list {
  display: flex;
  flex-direction: column;
}

.profile-page .profile-detail-row {
  display: grid;

  grid-template-columns: 140px minmax(0, 1fr);

  align-items: center;

  min-height: 42px;

  border-bottom: 1px solid #e4ebe7;

  font-size: 13.5px;
}

.profile-page .profile-detail-row:last-child {
  border-bottom: 0;
}

.profile-page .profile-detail-row > span {
  color: #68766f;
}

.profile-page .profile-detail-row strong {
  color: #172019;

  font-weight: 650;
}

.profile-page .profile-detail-row strong i,
.profile-page .profile-detail-row strong small {
  font-weight: 500;
  color: #718079;
}

.profile-page .profile-detail-action a {
  color: var(--ieg-green, #15964a);

  font-weight: 700;
  text-decoration: none;
}

.profile-page .profile-detail-action a:hover {
  color: var(--ieg-green-hover, #0f843f);
}

.profile-page .profile-status-badge,
.profile-page .profile-access-badge {
  display: inline-flex;
  align-items: center;

  min-height: 25px;

  padding: 3px 10px;

  border-radius: 999px;

  background: #dff5e8;

  color: #138144;

  font-size: 12px;
  font-weight: 700;
}


/* =====================================================
   SMALL BUTTON
   ===================================================== */

.profile-page .profile-small-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 36px;

  padding: 7px 12px;

  border: 1px solid #d3ddd8;
  border-radius: 8px;

  background: #ffffff;

  color: #10743f;

  font-size: 13px;
  font-weight: 700;

  text-decoration: none;
}

.profile-page .profile-small-btn:hover {
  background: #f6faf8;
}


/* =====================================================
   PROGRESS STATS
   ===================================================== */

.profile-page .profile-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));

  gap: 8px;
}

.profile-page .profile-stat-card {
  min-height: 102px;

  display: flex;
  align-items: center;
  gap: 12px;

  padding: 12px;

  border: 1px solid #e3eae6;
  border-radius: 11px;

  text-decoration: none;

  background: #ffffff;

  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease,
    transform 0.15s ease;
}

.profile-page .profile-stat-card:hover {
  border-color: #cddbd3;

  box-shadow:
    0 4px 12px rgba(17, 57, 39, 0.06);

  transform: translateY(-1px);
}

.profile-page .profile-stat-icon {
  width: 48px;
  height: 48px;

  flex: 0 0 48px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 11px;
}

.profile-page .profile-stat-icon svg {
  width: 23px;
  height: 23px;
}

.profile-page .profile-stat-icon-notes {
  background: #e8f1fc;
  color: #1473d1;
}

.profile-page .profile-stat-icon-training {
  background: #e9f2fd;
  color: #247bd7;
}

.profile-page .profile-stat-icon-mocks {
  background: #f1e9fc;
  color: #8c49dc;
}

.profile-page .profile-stat-icon-forum {
  background: #fff3df;
  color: #e68312;
}

.profile-page .profile-stat-content {
  display: flex;
  flex-direction: column;
}

.profile-page .profile-stat-content strong {
  color: #12191f;

  font-size: 24px;
  line-height: 1;
  font-weight: 800;
}

.profile-page .profile-stat-content span {
  margin-top: 5px;

  color: #66746d;

  font-size: 13px;
}

.profile-page .profile-stat-content small {
  margin-top: 5px;

  color: #108143;

  font-size: 11px;
  font-weight: 700;
}


/* =====================================================
   RECENT ACTIVITY
   ===================================================== */

.profile-page .profile-activity-card {
  margin-top: 14px;
}

.profile-page .profile-activity-list {
  display: flex;
  flex-direction: column;
}

.profile-page .profile-activity-empty {
  margin: 0;
  padding: 8px 0 4px;
  color: #718077;
  font-size: 13.5px;
  line-height: 1.5;
}

.profile-page .profile-activity-item {
  display: grid;

  grid-template-columns: 36px minmax(0, 1fr) auto;

  align-items: center;

  min-height: 44px;

  border-top: 1px solid #e5ebe8;

  color: #18221c;

  text-decoration: none;
}

.profile-page .profile-activity-icon {
  width: 29px;
  height: 29px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 8px;

  background: #e8f7ef;
}

.profile-page .profile-activity-icon span {
  width: 9px;
  height: 12px;

  border: 2px solid var(--ieg-green, #15964a);
  border-radius: 2px;
}

.profile-page .profile-activity-title {
  padding-right: 12px;

  font-size: 13.5px;
}

.profile-page .profile-activity-item time {
  color: #718077;

  font-size: 12px;
  white-space: nowrap;
}

.profile-page .profile-activity-item:hover .profile-activity-title {
  color: var(--ieg-green, #15964a);
}

/* =====================================================
   BOTTOM GRID + QUICK ACTIONS
   ===================================================== */

.profile-page .profile-bottom-grid {
  display: grid;
  grid-template-columns: minmax(0, 2.08fr) minmax(280px, 1fr);
  gap: 14px;
  margin-top: 14px;
}

.profile-page .profile-actions-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.profile-page .profile-action {
  min-height: 45px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 13px;
  border: 1px solid #dde6e1;
  border-radius: 9px;
  background: #ffffff;
  color: #1d2821;
  font: inherit;
  font-size: 13px;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition:
    background 0.15s ease,
    border-color 0.15s ease;
}

.profile-page .profile-action:hover {
  background: #f6faf8;
  border-color: #c8d8cf;
  color: #137d44;
}

.profile-page .profile-action strong {
  color: #627067;
  font-size: 18px;
}

.profile-page .profile-context-change {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #e5eee9;
}

.profile-page .profile-context-change h3 {
  margin: 0 0 6px;
  color: #15201a;
  font-size: 15px;
  font-weight: 700;
}

.profile-page .profile-context-change-lead {
  margin: 0 0 12px;
  color: #5a675f;
  font-size: 13px;
  line-height: 1.45;
}


/* =====================================================
   ACCOUNT / NOTIFICATIONS PANELS
   ===================================================== */

.profile-page .profile-account-panel {
  width: 100%;
  max-width: 100%;
}

.profile-page .profile-account-section {
  width: 100%;
  max-width: 100%;
}

.profile-page .profile-account-meta {
  margin: 0 0 16px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid #dde7e2;
  border-radius: 13px;
}

.profile-page .profile-panel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.profile-page .profile-panel-lead {
  margin: 0;
  color: #5a675f;
  font-size: 14px;
  line-height: 1.5;
}

.profile-page .profile-account-section--points .pricing-section {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 1.2rem 0 0.4rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.profile-page .profile-account-section--points .pricing-plans {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  width: 100%;
  max-width: 100%;
}

.profile-page .profile-account-section--points .pricing-card {
  min-width: 0;
}

.profile-page .profile-account-section--points .pricing-card--featured {
  transform: none;
}

.profile-page .profile-responsive-list__cards {
  display: none;
}

.profile-page .profile-stack-card {
  margin: 0 0 10px;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid #dde7e2;
  border-radius: 12px;
}

.profile-page .profile-stack-card.is-current {
  border-color: #9fd0b8;
  background: #f5fbf8;
}

.profile-page .profile-stack-card__title {
  color: #151d19;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
}

.profile-page .profile-stack-card__badge {
  margin: 4px 0 10px;
  color: #08704d;
  font-size: 12.5px;
  font-weight: 650;
}

.profile-page .profile-stack-card__row {
  display: grid;
  grid-template-columns: minmax(0, 42%) minmax(0, 1fr);
  gap: 8px;
  padding: 6px 0;
  border-top: 1px solid #e8eee9;
  font-size: 13.5px;
}

.profile-page .profile-stack-card__row:first-of-type {
  border-top: 0;
}

.profile-page .profile-stack-card__row span {
  color: #65706a;
}

.profile-page .profile-stack-card__row strong {
  color: #17211b;
  font-weight: 650;
  word-break: break-word;
}

.profile-page .profile-stack-card__actions {
  margin-top: 10px;
}

/* Secondary tab panels */
.profile-page .pf-panel,
.profile-page .profile-panel-card {
  width: 100%;
  margin-top: 14px;
}

/* display:flex on panels must not defeat the hidden attribute */
.profile-page .pf-panel[hidden],
.profile-page .profile-panel-card[hidden],
.profile-page .profile-notify-embed[hidden],
.profile-page [data-ieg-panel][hidden] {
  display: none !important;
}


/* =====================================================
   RESPONSIVE
   ===================================================== */

@media (max-width: 1050px) {

  .profile-page .profile-overview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .profile-page .profile-progress-card {
    grid-column: 1 / -1;
  }

}


@media (max-width: 800px) {

  .profile-page {
    padding: 14px 0 24px;
  }

  .profile-page .profile-overview-grid {
    grid-template-columns: 1fr;
  }

  .profile-page .profile-progress-card {
    grid-column: auto;
  }

  .profile-page .profile-bottom-grid {
    grid-template-columns: 1fr;
  }

  .profile-page .profile-hero-art {
    width: 300px;
    opacity: 0.75;
  }

  .profile-page .profile-id-card {
    right: 18px;
  }

  .profile-page .profile-hero-message {
    display: none;
  }

}


@media (max-width: 640px) {

  .profile-page .profile-hero {
    padding: 18px;

    min-height: auto;
  }

  .profile-page .profile-hero-main {
    gap: 14px;
  }

  .profile-page .profile-avatar {
    width: 72px;
    height: 72px;
    flex-basis: 72px;

    font-size: 24px;
  }

  .profile-page .profile-hero-copy h1 {
    font-size: 28px;
  }

  .profile-page .profile-context {
    font-size: 14px;
  }

  .profile-page .profile-hero-actions {
    max-width: none;
  }

  .profile-page .profile-hero-link--dash {
    flex: 1 1 auto;
    text-align: center;
  }

  .profile-page .profile-hero-art {
    display: none;
  }

  .profile-page .profile-tabs__scroll {
    gap: 4px;
  }

  .profile-page .profile-tab {
    padding: 0 10px;
  }

  .profile-page .profile-stats-grid {
    grid-template-columns: 1fr;
  }

  .profile-page .profile-detail-row {
    grid-template-columns: 115px minmax(0, 1fr);
  }

  .profile-page .profile-card-heading-action {
    align-items: flex-start;
    gap: 10px;
  }

  .profile-page .profile-activity-item {
    grid-template-columns: 34px minmax(0, 1fr);
  }

  .profile-page .profile-activity-item time {
    grid-column: 2;
    margin-top: -4px;
    padding-bottom: 8px;
  }
}

/* =====================================================
   NOTIFICATIONS — Notifications tab (inline)
   Scoped to .profile-page .profile-notify-embed
   ===================================================== */

.profile-page .profile-notify-embed {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.profile-page .profile-notify-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
}

.profile-page .profile-notify-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin: 0;
  width: 100%;
  box-sizing: border-box;
}

.profile-page .profile-notify-head .profile-card-heading {
  margin-bottom: 0;
}

.profile-page .profile-notify-head__copy {
  min-width: 0;
  flex: 1 1 16rem;
}

.profile-page .profile-notify-master__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  flex: 0 0 auto;
}

.profile-page .profile-notify-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
  width: 100%;
}

.profile-page .profile-notify-group {
  margin: 0;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
}

/* Platform / General (3rd card) spans full row = same width as header */
.profile-page .profile-notify-group:nth-child(n+3) {
  grid-column: 1 / -1;
}

.profile-page .profile-notify-group .profile-card-heading {
  margin-bottom: 10px;
}

.profile-page .profile-notify-group .profile-card-heading h2 {
  margin: 0;
}

.profile-page .profile-notify-list {
  display: flex;
  flex-direction: column;
}

.profile-page .profile-notify-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
  border-top: 1px solid #e4ebe7;
}

.profile-page .profile-notify-row:first-child {
  border-top: 0;
  padding-top: 2px;
}

.profile-page .profile-notify-row__text {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.profile-page .profile-notify-row__title {
  color: #17211b;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.35;
}

.profile-page .profile-notify-row__hint {
  color: #65706a;
  font-size: 12.5px;
  line-height: 1.4;
}

.profile-page .profile-notify-row__hint:empty {
  display: none;
}

.profile-page .profile-notify-row .tog_switch {
  margin-top: 2px;
}

/* OFF = grey, ON = IEGrinds green (page-scoped; do not change global toggles) */
.profile-page .profile-notify-embed .tog_switch .slider {
  background-color: #9aa6a0;
}

.profile-page .profile-notify-embed .tog_switch input:checked + .slider {
  background-color: var(--ieg-green, #15964a);
}

.profile-page .profile-notify-embed .tog_switch input:focus-visible + .slider {
  outline: 2px solid var(--ieg-green, #15964a);
  outline-offset: 2px;
}

.profile-page .profile-notify-actions {
  margin-top: 0;
  justify-content: flex-end;
}

.profile-page .profile-notify-embed .ieg-form__result:empty {
  display: none;
  margin: 0;
}

.profile-page .profile-learning-info {
  margin: 14px 0 0;
  align-items: flex-start;
}

.profile-page .profile-learning-info + .profile-card {
  margin-top: 14px;
}

.profile-page .profile-learning-info strong {
  display: block;
  margin: 0 0 4px;
  color: #17211b;
  font-size: 13.5px;
  font-weight: 700;
}

.profile-page .profile-learning-info p {
  margin: 0;
}

.profile-page .profile-security-note {
  margin: 0 0 16px;
}

.profile-page .profile-text-link {
  border: 0;
  background: none;
  padding: 0;
  color: #08704d;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
  text-align: left;
}

.profile-page .profile-text-link:hover {
  text-decoration: underline;
}

.profile-page .profile-points-card .points-total,
.profile-page .points-total {
  font-size: 1.75rem;
  margin: 0.4rem 0;
}

.profile-page .profile-points-card ul,
.profile-page .profile-security-card ul {
  margin: 0.4rem 0 0.8rem;
  padding-left: 1.15rem;
}

.profile-page .profile-security-card textarea {
  width: 100%;
  margin: 0.4rem 0;
  padding: 0.6rem;
  border: 1px solid #c5d4cc;
  border-radius: 8px;
  resize: vertical;
}

.profile-page .table-wrap {
  overflow-x: auto;
  max-width: 100%;
}

.profile-page .table-wrap table {
  width: 100%;
  border-collapse: collapse;
}

.profile-page .table-wrap th,
.profile-page .table-wrap td {
  padding: 0.45rem 0.5rem;
  border-bottom: 1px solid #e4eee8;
  text-align: left;
  vertical-align: top;
}

.profile-page [data-ieg-panel="account"] > .profile-card,
.profile-page [data-ieg-panel="account"] > .ieg-form,
.profile-page [data-ieg-panel="account"] > .ieg-form-section,
.profile-page .profile-account-section > .profile-card,
.profile-page .profile-account-section > .ieg-form,
.profile-page .profile-account-section > .ieg-form-section {
  margin-top: 14px;
  width: 100%;
  max-width: 100%;
}

.profile-page #context .cx-form {
  margin-top: 8px;
}

@media (max-width: 900px) {
  .profile-page .profile-notify-grid {
    grid-template-columns: 1fr;
  }

  .profile-page .profile-notify-group:nth-child(n+3) {
    grid-column: auto;
  }

  .profile-page .profile-account-section--points .pricing-plans {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .profile-page .profile-notify-head {
    align-items: stretch;
  }

  .profile-page .profile-notify-master__actions {
    width: 100%;
  }

  .profile-page .profile-notify-master__actions .ieg-btn {
    flex: 1 1 auto;
  }

  .profile-page .profile-notify-actions {
    justify-content: stretch;
  }

  .profile-page .profile-notify-actions .ieg-btn,
  .profile-page .profile-notify-actions input[type="submit"] {
    width: 100%;
  }

  .profile-page .profile-account-section--points .pricing-plans,
  .profile-page .pricing-plans {
    grid-template-columns: 1fr;
  }

  .profile-page .profile-responsive-list__table {
    display: none;
  }

  .profile-page .profile-responsive-list__cards {
    display: block;
  }
}
