#dashboard.dashboard-home-redesigned {
  --home-line: rgba(148, 171, 203, .13);
  --home-muted: #8f9eb3;
  padding-bottom: 32px;
}

#dashboard.dashboard-home-redesigned .dashboard-first-score {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 15px;
  margin-top: 12px;
  padding: 18px;
  border: 1px solid rgba(91, 160, 255, .22);
  border-radius: 19px;
  background: linear-gradient(115deg, rgba(33, 75, 125, .38), rgba(15, 32, 52, .86));
}

#dashboard.dashboard-home-redesigned .dashboard-first-score[hidden] {
  display: none !important;
}

#dashboard.dashboard-home-redesigned .dashboard-first-score__icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 14px;
  background: rgba(91, 160, 255, .13);
  font-size: 1.35rem;
}

#dashboard.dashboard-home-redesigned .dashboard-first-score__copy h3 {
  margin: 0;
  color: #edf4ff;
  font-size: .95rem;
}

#dashboard.dashboard-home-redesigned .dashboard-first-score__copy p {
  margin: 4px 0 0;
  color: #a4b2c6;
  font-size: .78rem;
  line-height: 1.45;
}

#dashboard.dashboard-home-redesigned .dashboard-first-score__action {
  min-height: 44px;
  white-space: normal;
}

#dashboard.dashboard-home-redesigned .dashboard-chart-status {
  margin: 12px 0;
  padding: 14px 16px;
  border: 1px solid rgba(255, 157, 46, .24);
  border-radius: 14px;
  background: rgba(255, 157, 46, .07);
  color: #f0c987;
  font-size: .82rem;
  line-height: 1.5;
}

#dashboard.dashboard-home-redesigned .dashboard-chart-status[hidden] {
  display: none !important;
}

#dashboard.dashboard-home-redesigned.dashboard-no-scores .dashboard-main-grid,
#dashboard.dashboard-home-redesigned.dashboard-no-scores .dashboard-charts-grid {
  display: none !important;
}

#dashboard.dashboard-home-redesigned .dashboard-hero-panel {
  grid-template-columns: minmax(0, 1.5fr) minmax(220px, .72fr);
  gap: 18px;
  min-height: 174px;
  align-items: stretch;
  margin: 4px 0 0;
  padding: 25px !important;
  background:
    radial-gradient(circle at 90% 0, rgba(79, 155, 232, .2), transparent 39%),
    linear-gradient(125deg, rgba(22, 44, 70, .98), rgba(11, 24, 40, .98)) !important;
  border-color: rgba(91, 160, 255, .19) !important;
  border-radius: 24px !important;
}

#dashboard.dashboard-home-redesigned .dashboard-first-score {
  grid-template-columns: auto minmax(0, 1fr);
  gap: 11px;
  padding: 14px;
}

#dashboard.dashboard-home-redesigned .dashboard-first-score__icon {
  width: 38px;
  height: 38px;
}

#dashboard.dashboard-home-redesigned .dashboard-first-score__action {
  grid-column: 1 / -1;
  width: 100%;
}

#dashboard.dashboard-home-redesigned .dashboard-hero-kicker {
  color: #83b9ff !important;
  font-size: .68rem;
  font-weight: 800;
}

#dashboard.dashboard-home-redesigned .dashboard-hero-sub {
  max-width: 48ch;
  margin-top: 8px;
  color: #a4b2c6 !important;
  font-size: .9rem;
  line-height: 1.5;
}

#dashboard.dashboard-home-redesigned .dashboard-hero-highlight {
  position: relative;
  min-width: 0;
  padding: 18px 20px;
  background:
    radial-gradient(circle at 90% 5%, rgba(240, 199, 106, .11), transparent 43%),
    rgba(5, 14, 26, .48) !important;
  border-color: rgba(255, 255, 255, .09) !important;
  border-radius: 19px !important;
}

#dashboard.dashboard-home-redesigned .dashboard-highlight-label {
  color: #9aa9bd;
  font-size: .68rem;
  font-weight: 750;
}

#dashboard.dashboard-home-redesigned .dashboard-highlight-value {
  margin-top: 8px;
  color: #f0c76a !important;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  letter-spacing: -.07em;
}

#dashboard.dashboard-home-redesigned .dashboard-highlight-meta {
  margin-top: 7px;
  color: #a5b2c4;
  font-size: .78rem;
}

#dashboard.dashboard-home-redesigned .premium-quick-actions {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 12px 0 0;
}

#dashboard.dashboard-home-redesigned .premium-action {
  display: flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 10px 14px;
  color: #dce8f8;
  font-size: .82rem;
  background: rgba(17, 33, 52, .78);
  border: 1px solid rgba(148, 171, 203, .13);
  border-radius: 15px;
  box-shadow: none;
}

#dashboard.dashboard-home-redesigned .premium-action:hover {
  background: rgba(26, 48, 74, .95);
  border-color: rgba(125, 174, 235, .27);
}

#dashboard.dashboard-home-redesigned .premium-action-icon {
  display: inline-grid;
  width: 29px;
  height: 29px;
  flex: 0 0 29px;
  place-items: center;
  margin: 0;
  font-size: 1rem;
  background: rgba(255, 255, 255, .07);
  border-radius: 10px;
}

#dashboard.dashboard-home-redesigned .premium-action--add {
  color: #fff;
  background: linear-gradient(115deg, #2875e7, #235fc3);
  border-color: rgba(113, 172, 255, .35);
  box-shadow: 0 8px 22px rgba(32, 101, 212, .2);
}

#dashboard.dashboard-home-redesigned .premium-action--add:hover {
  background: linear-gradient(115deg, #3484f4, #286bda);
}

#dashboard.dashboard-home-redesigned .premium-action--add .premium-action-icon {
  background: rgba(255, 255, 255, .15);
}

#dashboard.dashboard-home-redesigned .dashboard-mini-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 13px;
}

#dashboard.dashboard-home-redesigned .xp-level-card {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 13px;
  padding: 17px 19px;
  background:
    radial-gradient(circle at 0 0, rgba(91, 160, 255, .17), transparent 40%),
    linear-gradient(110deg, rgba(19, 38, 60, .98), rgba(13, 26, 43, .98));
  border: 1px solid rgba(91, 160, 255, .19);
  border-radius: 19px;
}

#dashboard.dashboard-home-redesigned .xp-level-card__icon {
  display: grid;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  place-items: center;
  color: #f0c76a;
  font-size: 1.35rem;
  background: rgba(240, 199, 106, .1);
  border: 1px solid rgba(240, 199, 106, .14);
  border-radius: 15px;
}

#dashboard.dashboard-home-redesigned .xp-level-card__body {
  min-width: 0;
  flex: 1;
}

#dashboard.dashboard-home-redesigned .xp-level-card__eyebrow {
  color: #83b9ff;
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .12em;
}

#dashboard.dashboard-home-redesigned .xp-level-card__heading,
#dashboard.dashboard-home-redesigned .xp-level-card__meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

#dashboard.dashboard-home-redesigned .xp-level-card__heading {
  margin-top: 3px;
}

#dashboard.dashboard-home-redesigned .xp-level-card__heading h3 {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  margin: 0;
  color: #f0f4fa;
  font-size: 1rem;
}

#dashboard.dashboard-home-redesigned .xp-level-card__title {
  color: #f0c76a;
  font-size: .8rem;
  font-weight: 700;
}

#dashboard.dashboard-home-redesigned .xp-level-card__heading > strong {
  color: #dbe9ff;
  font-size: .88rem;
  white-space: nowrap;
}

#dashboard.dashboard-home-redesigned .xp-level-card__progress {
  height: 7px;
  overflow: hidden;
  margin-top: 10px;
  background: rgba(5, 14, 26, .75);
  border-radius: 999px;
}

#dashboard.dashboard-home-redesigned .xp-level-card__progress span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, #4f9beb, #80dfbd);
  border-radius: inherit;
  transition: width .45s ease;
}

#dashboard.dashboard-home-redesigned .xp-level-card__meta {
  margin-top: 5px;
  color: #9eacc0;
  font-size: .68rem;
}

#dashboard.dashboard-home-redesigned .xp-level-card__rules {
  margin: 8px 0 0;
  color: #8392a8;
  font-size: .66rem;
  line-height: 1.45;
}

#dashboard.dashboard-home-redesigned .xp-level-card[data-state="error"] .xp-level-card__progress span {
  width: 0 !important;
  background: #e09b6d;
}

#dashboard.dashboard-home-redesigned .dashboard-mini-card {
  position: relative;
  min-width: 0;
  min-height: 100px;
  overflow: hidden;
  padding: 14px 16px;
  background:
    radial-gradient(circle at 100% 0, rgba(91, 160, 255, .10), transparent 46%),
    linear-gradient(145deg, rgba(20, 37, 58, .96), rgba(13, 26, 43, .96)) !important;
  border-color: var(--home-line) !important;
  border-radius: 19px !important;
}

#dashboard.dashboard-home-redesigned .dashboard-mini-label {
  color: #9eacc0;
  font-size: .68rem;
  font-weight: 750;
  letter-spacing: .09em;
}

#dashboard.dashboard-home-redesigned .dashboard-mini-value {
  margin-top: 7px;
  font-size: clamp(1.35rem, 2vw, 1.7rem);
}

#dashboard.dashboard-home-redesigned .dashboard-mini-meta {
  margin-top: 4px;
  color: var(--home-muted);
  font-size: .72rem;
}

#dashboard.dashboard-home-redesigned .dashboard-hub {
  margin: 3px 0 12px;
}

#dashboard.dashboard-home-redesigned .dashboard-hub .hub-section-head {
  margin: 15px 2px 9px;
}

#dashboard.dashboard-home-redesigned .dashboard-hub .hub-section-head h3 {
  color: #e7eef8;
  font-size: .95rem;
  font-weight: 740;
}

#dashboard.dashboard-home-redesigned .dashboard-hub .hub-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}

#dashboard.dashboard-home-redesigned .dashboard-hub .hub-card {
  min-height: 82px;
  padding: 12px;
  background: rgba(16, 31, 49, .75);
  border-color: rgba(148, 171, 203, .12);
  border-radius: 16px;
  box-shadow: none;
}

#dashboard.dashboard-home-redesigned .dashboard-hub .hub-card-icon {
  flex-basis: 34px;
  height: 34px;
  border-radius: 11px;
  font-size: 1rem;
}

#dashboard.dashboard-home-redesigned .dashboard-hub .hub-card-copy {
  gap: 2px;
}

#dashboard.dashboard-home-redesigned .dashboard-hub .hub-card-copy strong {
  font-size: .67rem;
}

#dashboard.dashboard-home-redesigned .dashboard-hub .hub-card-copy > span {
  font-size: .8rem;
}

#dashboard.dashboard-home-redesigned .dashboard-hub .hub-card-copy small {
  font-size: .63rem;
}

#dashboard.dashboard-home-redesigned .dashboard-hub .hub-arrow {
  top: 7px;
  right: 8px;
  font-size: 1rem;
}

#dashboard.dashboard-home-redesigned .premium-section-head {
  display: flex !important;
  align-items: end;
  justify-content: space-between;
  margin: 25px 2px 11px;
}

#dashboard.dashboard-home-redesigned .premium-section-head h3 {
  color: #edf3fd;
  font-size: 1.12rem;
  font-weight: 760;
  letter-spacing: -.03em;
}

#dashboard.dashboard-home-redesigned > .grid {
  gap: 12px;
  margin-top: 0 !important;
}

#dashboard.dashboard-home-redesigned .dashboard-main-grid .performance-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 160px;
  flex-direction: column;
  gap: 12px;
  overflow: visible;
  padding: 20px;
  border-color: var(--home-line) !important;
  border-radius: 21px !important;
  background:
    radial-gradient(circle at 100% 0, rgba(148, 171, 203, .075), transparent 46%),
    linear-gradient(145deg, rgba(19, 35, 54, .98), rgba(12, 24, 40, .98)) !important;
}

#dashboard.dashboard-home-redesigned .performance-card--average {
  background:
    radial-gradient(circle at 95% 0, rgba(91, 160, 255, .19), transparent 48%),
    linear-gradient(145deg, rgba(24, 49, 78, .98), rgba(13, 26, 43, .98)) !important;
}

#dashboard.dashboard-home-redesigned .performance-card--best {
  background:
    radial-gradient(circle at 100% 0, rgba(240, 199, 106, .13), transparent 46%),
    linear-gradient(145deg, rgba(28, 37, 50, .98), rgba(13, 26, 43, .98)) !important;
}

#dashboard.dashboard-home-redesigned .performance-card--progress {
  background:
    radial-gradient(circle at 100% 0, rgba(114, 228, 188, .13), transparent 46%),
    linear-gradient(145deg, rgba(18, 40, 47, .98), rgba(13, 26, 43, .98)) !important;
}

#dashboard.dashboard-home-redesigned .performance-card__head {
  display: flex;
  min-height: 38px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

#dashboard.dashboard-home-redesigned .performance-card__head .card-eyebrow {
  margin: 0;
  color: #aab9cd;
}

#dashboard.dashboard-home-redesigned .performance-card__body {
  min-width: 0;
}

#dashboard.dashboard-home-redesigned .performance-card .stat-big {
  margin: 0;
  color: #f3f7ff;
  font-size: clamp(2rem, 3vw, 2.5rem);
  font-variant-numeric: tabular-nums;
  letter-spacing: -.06em;
  line-height: 1;
}

#dashboard.dashboard-home-redesigned .performance-card--average .stat-big {
  color: #a7d0ff !important;
}

#dashboard.dashboard-home-redesigned .performance-card--best .stat-big {
  color: #f0cf7a !important;
}

#dashboard.dashboard-home-redesigned .performance-card--progress .stat-big {
  color: #85e2c3 !important;
}

#dashboard.dashboard-home-redesigned .performance-card .stat-big small {
  margin-left: 5px;
  color: #93a3b8;
  font-size: .34em;
  font-weight: 700;
  letter-spacing: 0;
}

#dashboard.dashboard-home-redesigned .performance-card__meta {
  display: flex;
  min-height: 20px;
  align-items: center;
  gap: 6px 12px;
  margin-top: 7px;
  color: #92a1b5;
  font-size: .73rem;
  line-height: 1.35;
}

#dashboard.dashboard-home-redesigned .performance-card__meta strong {
  color: inherit;
  font-size: inherit;
  font-weight: 600;
}

#dashboard.dashboard-home-redesigned .performance-filter {
  display: inline-grid;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  place-items: center;
  padding: 0;
  color: #b9d9ff;
  background: rgba(91, 160, 255, .1);
  border: 1px solid rgba(127, 183, 255, .18);
  border-radius: 12px;
  font-size: 1.1rem;
}

#dashboard.dashboard-home-redesigned .performance-filter:hover,
#dashboard.dashboard-home-redesigned .performance-filter:focus-visible {
  color: #fff;
  background: rgba(91, 160, 255, .2);
  border-color: rgba(127, 183, 255, .4);
}

#dashboard.dashboard-home-redesigned .performance-card--average:has(.filter-menu.open) {
  z-index: 3;
}

#dashboard.dashboard-home-redesigned .dashboard-chart-card {
  min-width: 0;
  padding: 20px;
  border-color: var(--home-line) !important;
  border-radius: 21px !important;
  background:
    radial-gradient(circle at 100% 0, rgba(59, 104, 160, .09), transparent 38%),
    linear-gradient(145deg, rgba(18, 34, 54, .98), rgba(12, 24, 40, .98)) !important;
}

#dashboard.dashboard-home-redesigned .dashboard-chart-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 15px;
}

#dashboard.dashboard-home-redesigned .dashboard-chart-kicker {
  display: block;
  margin-bottom: 4px;
  color: #80dfbd;
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

#dashboard.dashboard-home-redesigned .dashboard-chart-heading .card-eyebrow {
  color: #f0f4fa !important;
  font-size: 1rem !important;
  font-weight: 750;
  letter-spacing: -.025em !important;
  text-transform: none;
}

#dashboard.dashboard-home-redesigned .dashboard-chart-icon {
  display: grid;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  place-items: center;
  font-size: 1rem;
  background: rgba(255, 255, 255, .055);
  border: 1px solid rgba(255, 255, 255, .075);
  border-radius: 13px;
}

#dashboard.dashboard-home-redesigned .dashboard-chart-hint {
  margin: -7px 0 10px;
  color: #8392a8;
  font-size: .72rem;
}

#dashboard.dashboard-home-redesigned .dashboard-chart-scroll {
  width: 100%;
  height: 245px;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scrollbar-color: rgba(148, 171, 203, .38) transparent;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x pan-y;
}

#dashboard.dashboard-home-redesigned .dashboard-chart-track {
  position: relative;
  width: 100%;
  min-width: 100%;
  height: 100%;
}

#dashboard.dashboard-home-redesigned .dashboard-chart-canvas {
  position: relative;
  width: 100%;
  height: 245px;
}

#dashboard.dashboard-home-redesigned .dashboard-detail-block {
  display: grid !important;
}

#dashboard.dashboard-home-redesigned .premium-section-head.dashboard-detail-block {
  display: flex !important;
}

#dashboard.dashboard-home-redesigned #hubToggleDetails {
  display: none !important;
}

@media (max-width: 760px) {
  #dashboard.dashboard-home-redesigned .xp-level-card {
    align-items: flex-start;
    gap: 10px;
    padding: 13px;
  }

  #dashboard.dashboard-home-redesigned .xp-level-card__icon {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
    border-radius: 12px;
  }

  #dashboard.dashboard-home-redesigned .xp-level-card__meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
  }

  #dashboard.dashboard-home-redesigned .dashboard-hero-panel {
    display: grid !important;
    grid-template-columns: 1fr;
    gap: 13px;
    min-height: 0;
    padding: 18px !important;
  }

  #dashboard.dashboard-home-redesigned .dashboard-hero-title {
    font-size: 1.65rem !important;
  }

  #dashboard.dashboard-home-redesigned .dashboard-hero-sub {
    margin-top: 6px;
    font-size: .82rem;
  }

  #dashboard.dashboard-home-redesigned .dashboard-hero-highlight {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    column-gap: 12px;
    margin-top: 0;
    padding: 12px 14px;
  }

  #dashboard.dashboard-home-redesigned .dashboard-highlight-label {
    align-self: end;
    font-size: .62rem;
  }

  #dashboard.dashboard-home-redesigned .dashboard-highlight-value {
    grid-column: 2;
    grid-row: 1 / 3;
    margin: 0;
    font-size: 2rem;
  }

  #dashboard.dashboard-home-redesigned .dashboard-highlight-meta {
    margin-top: 2px;
    font-size: .68rem;
  }

  #dashboard.dashboard-home-redesigned .premium-quick-actions {
    gap: 7px;
    margin-top: 9px;
  }

  #dashboard.dashboard-home-redesigned .premium-action {
    min-height: 48px;
    gap: 5px;
    padding: 7px 4px;
    font-size: .69rem;
    border-radius: 13px;
  }

  #dashboard.dashboard-home-redesigned .premium-action-icon {
    width: 25px;
    height: 25px;
    flex-basis: 25px;
    font-size: .85rem;
    border-radius: 8px;
  }

  #dashboard.dashboard-home-redesigned .dashboard-hub .hub-grid {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  #dashboard.dashboard-home-redesigned .dashboard-hub .hub-card {
    min-height: 68px;
    padding: 10px 12px;
  }

  #dashboard.dashboard-home-redesigned .dashboard-mini-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  #dashboard.dashboard-home-redesigned .dashboard-mini-grid .dashboard-mini-card {
    display: block !important;
    min-height: 104px;
    padding: 13px;
  }

  #dashboard.dashboard-home-redesigned .dashboard-mini-meta {
    line-height: 1.35;
  }

  #dashboard.dashboard-home-redesigned .premium-section-head {
    margin-top: 21px;
  }

  #dashboard.dashboard-home-redesigned .dashboard-main-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px;
  }

  #dashboard.dashboard-home-redesigned .dashboard-main-grid .performance-card {
    min-height: 132px;
    gap: 9px;
    padding: 14px !important;
    border-radius: 18px !important;
  }

  #dashboard.dashboard-home-redesigned .dashboard-main-grid .performance-card--average {
    min-height: 104px;
    grid-column: 1 / -1;
  }

  #dashboard.dashboard-home-redesigned .performance-card--average .performance-card__body {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
  }

  #dashboard.dashboard-home-redesigned .performance-card .stat-big {
    font-size: clamp(1.75rem, 8vw, 2.1rem);
  }

  #dashboard.dashboard-home-redesigned .performance-card__meta {
    font-size: .68rem;
  }

  #dashboard.dashboard-home-redesigned .performance-card--average .performance-card__meta {
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
    margin-top: 0;
    text-align: right;
  }

  #dashboard.dashboard-home-redesigned .performance-filter {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
    border-radius: 14px;
  }

  #dashboard.dashboard-home-redesigned .dashboard-chart-card {
    padding: 17px !important;
  }

  #dashboard.dashboard-home-redesigned .dashboard-chart-scroll,
  #dashboard.dashboard-home-redesigned .dashboard-chart-canvas {
    height: 220px;
  }

}

@media (max-width: 380px) {
  #dashboard.dashboard-home-redesigned .premium-action {
    flex-direction: column;
    gap: 2px;
    font-size: .62rem;
  }

  #dashboard.dashboard-home-redesigned .dashboard-mini-grid .dashboard-mini-card {
    padding: 11px;
  }

  #dashboard.dashboard-home-redesigned .dashboard-mini-value {
    font-size: 1.25rem;
  }
}
