/* Student hub — profile & “your courses” (clarity-first, minimal chrome) */

.dm-hub {
  --dm-hub-border: rgba(15, 23, 42, 0.08);
  --dm-hub-surface: #ffffff;
  --dm-hub-canvas: transparent;
  --dm-hub-muted: var(--dm-slate-600);
  --dm-hub-title: var(--dm-slate-900);
  min-height: calc(100vh - 5.5rem);
  padding: clamp(1.5rem, 4vw, 3rem) 0 clamp(3rem, 6vw, 5rem);
  background: var(--dm-hub-canvas);
}

.dm-hub__container {
  width: 100%;
  max-width: 38rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1rem, 4vw, 1.25rem);
  padding-right: clamp(1rem, 4vw, 1.25rem);
}

.dm-hub-back {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--dm-hub-muted);
  text-decoration: none;
  margin-bottom: 1.75rem;
  transition: color 0.15s ease;
}

.dm-hub-back:hover {
  color: var(--dm-primary);
}

.dm-hub-back:focus-visible {
  outline: 2px solid var(--dm-primary);
  outline-offset: 3px;
  border-radius: 4px;
}

/* —— Profile identity —— */
.dm-hub-identity {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

@media (min-width: 480px) {
  .dm-hub-identity {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    gap: 1.5rem;
  }
}

.dm-hub-identity__avatar {
  width: 5.5rem;
  height: 5.5rem;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}

.dm-hub-identity__avatar--fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, var(--dm-blue-100), var(--dm-slate-100));
  color: var(--dm-blue-700);
  font-size: 2rem;
}

.dm-hub-identity__body {
  min-width: 0;
  flex: 1;
}

.dm-hub-identity__title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--dm-hub-title);
  line-height: 1.2;
  margin: 0 0 0.35rem;
}

.dm-hub-identity__email {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--dm-hub-muted);
  line-height: 1.45;
  word-break: break-word;
}

/* Enrollment summary — visibility of status (Nielsen #1) */
.dm-hub-stats {
  display: flex;
  gap: 0;
  margin: 0 0 2rem;
  padding: 0;
  border: 1px solid var(--dm-hub-border);
  border-radius: 0.75rem;
  background: var(--dm-hub-surface);
  overflow: hidden;
}

.dm-hub-stats__item {
  flex: 1;
  padding: 1rem 1.25rem;
  text-align: center;
  border-right: 1px solid var(--dm-hub-border);
}

.dm-hub-stats__item:last-child {
  border-right: none;
}

.dm-hub-stats__value {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  color: var(--dm-hub-title);
  line-height: 1.2;
}

.dm-hub-stats__label {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--dm-hub-muted);
}

.dm-hub-stats dd {
  margin: 0;
}

/* Primary action — one clear next step */
.dm-hub-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 400px) {
  .dm-hub-actions {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }
}

.dm-hub-actions .btn-dm-primary {
  padding: 0.65rem 1.35rem;
  font-weight: 600;
}

.dm-hub-actions__ghost {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--dm-hub-muted);
  text-decoration: none;
  padding: 0.5rem 0;
  text-align: center;
}

@media (min-width: 400px) {
  .dm-hub-actions__ghost {
    text-align: left;
    padding: 0.5rem 0.75rem;
  }
}

.dm-hub-actions__ghost:hover {
  color: var(--dm-primary);
}

/* —— Learning page header —— */
.dm-hub-page-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 1.875rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--dm-hub-title);
  margin: 0 0 0.5rem;
  line-height: 1.2;
}

.dm-hub-page-lede {
  margin: 0 0 2rem;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--dm-hub-muted);
  max-width: 34em;
}

.dm-hub-alert {
  font-size: 0.875rem;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(245, 158, 11, 0.35);
  background: rgba(245, 158, 11, 0.08);
  color: var(--dm-slate-800);
}

/* Section titles — progressive disclosure labels */
.dm-hub-section {
  margin-bottom: 2.25rem;
}

.dm-hub-section:last-child {
  margin-bottom: 0;
}

.dm-hub-section__title {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dm-hub-muted);
  margin: 0 0 0.35rem;
}

.dm-hub-section__hint {
  margin: 0 0 1rem;
  font-size: 0.875rem;
  color: var(--dm-hub-muted);
  line-height: 1.45;
}

/* Disclosure rows (bundles) */
.dm-hub-disclosure {
  border: 1px solid var(--dm-hub-border);
  border-radius: 0.75rem;
  background: var(--dm-hub-surface);
  margin-bottom: 0.5rem;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.dm-hub-disclosure:last-of-type {
  margin-bottom: 0;
}

.dm-hub-disclosure summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.15rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--dm-hub-title);
  border-radius: 0.75rem;
  transition: background 0.12s ease;
}

.dm-hub-disclosure summary::-webkit-details-marker {
  display: none;
}

.dm-hub-disclosure summary:hover {
  background: rgba(37, 99, 235, 0.04);
}

.dm-hub-disclosure[open] summary {
  border-radius: 0.75rem 0.75rem 0 0;
  border-bottom: 1px solid var(--dm-hub-border);
}

.dm-hub-disclosure__lead {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
}

.dm-hub-disclosure__icon {
  font-size: 1.25rem;
  line-height: 1;
  flex-shrink: 0;
}

.dm-hub-disclosure__name {
  text-align: left;
  min-width: 0;
}

.dm-hub-disclosure__meta {
  flex-shrink: 0;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--dm-hub-muted);
}

.dm-hub-disclosure__body {
  padding: 1rem 1.15rem 1.15rem;
}

.dm-hub-disclosure__desc {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--dm-hub-muted);
  margin: 0 0 1rem;
}

.dm-hub-course-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 0;
  border-top: 1px solid var(--dm-hub-border);
  text-decoration: none;
  color: inherit;
  transition: background 0.12s ease;
  margin: 0 -0.25rem;
  padding-left: 0.25rem;
  padding-right: 0.25rem;
  border-radius: 0.375rem;
}

.dm-hub-course-row:first-of-type {
  border-top: none;
  padding-top: 0;
}

.dm-hub-course-row:hover {
  background: rgba(37, 99, 235, 0.04);
  color: inherit;
}

.dm-hub-course-row__title {
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--dm-primary);
  text-decoration: underline;
  text-decoration-color: rgba(37, 99, 235, 0.25);
  text-underline-offset: 3px;
}

.dm-hub-course-row:hover .dm-hub-course-row__title {
  text-decoration-color: var(--dm-primary);
}

.dm-hub-course-row__meta {
  font-size: 0.8125rem;
  color: var(--dm-hub-muted);
  white-space: nowrap;
}

.dm-hub-link-quiet {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--dm-hub-muted);
  text-decoration: none;
}

.dm-hub-link-quiet:hover {
  color: var(--dm-primary);
}

/* Standalone course list */
.dm-hub-simple-list {
  border: 1px solid var(--dm-hub-border);
  border-radius: 0.75rem;
  background: var(--dm-hub-surface);
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.dm-hub-simple-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  padding: 1rem 1.15rem;
  border-bottom: 1px solid var(--dm-hub-border);
  text-decoration: none;
  color: inherit;
  transition: background 0.12s ease;
}

.dm-hub-simple-row:last-child {
  border-bottom: none;
}

.dm-hub-simple-row:hover {
  background: rgba(37, 99, 235, 0.04);
  color: inherit;
}

.dm-hub-simple-row__main {
  min-width: 0;
  flex: 1;
}

.dm-hub-simple-row__title {
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--dm-primary);
  margin: 0 0 0.25rem;
}

.dm-hub-simple-row__summary {
  font-size: 0.8125rem;
  color: var(--dm-hub-muted);
  margin: 0;
  line-height: 1.45;
}

.dm-hub-simple-row__badge {
  flex-shrink: 0;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--dm-hub-muted);
}

/* Empty state — recognition over recall, one path forward */
.dm-hub-empty {
  text-align: center;
  padding: clamp(2rem, 6vw, 3rem) 1.5rem;
  border: 1px dashed var(--dm-hub-border);
  border-radius: 0.75rem;
  background: var(--dm-hub-surface);
}

.dm-hub-empty__icon {
  width: 3rem;
  height: 3rem;
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  background: var(--dm-blue-soft);
  color: var(--dm-primary);
  font-size: 1.35rem;
}

.dm-hub-empty__title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--dm-hub-title);
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}

.dm-hub-empty__text {
  font-size: 0.9375rem;
  color: var(--dm-hub-muted);
  line-height: 1.5;
  margin: 0 auto 1.5rem;
  max-width: 22rem;
}

.dm-hub-empty .btn-dm-primary {
  font-weight: 600;
}

/* —— Dashboard (profile + your courses) —— */
.dm-hub__container--dashboard {
  max-width: 52rem;
}

.dm-dash-header {
  margin-bottom: 2rem;
}

.dm-dash-eyebrow {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dm-primary);
  margin: 0 0 0.35rem;
}

.dm-dash-title {
  font-family: var(--font-display);
  font-size: clamp(1.625rem, 4vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--dm-hub-title);
  margin: 0 0 0.5rem;
  line-height: 1.15;
}

.dm-dash-lede {
  margin: 0;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--dm-hub-muted);
  max-width: 40rem;
}

.dm-dash-alert {
  font-size: 0.875rem;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  margin-bottom: 1.25rem;
  line-height: 1.45;
}

.dm-dash-alert--success {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: var(--dm-slate-800);
}

.dm-dash-alert--error {
  background: rgba(244, 63, 94, 0.08);
  border: 1px solid rgba(244, 63, 94, 0.25);
  color: var(--dm-slate-800);
}

.dm-dash-card {
  background: var(--dm-hub-surface);
  border: 1px solid var(--dm-hub-border);
  border-radius: 0.75rem;
  padding: 1.35rem 1.35rem 1.5rem;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  height: 100%;
}

.dm-dash-card__title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 0.35rem;
  color: var(--dm-hub-title);
  letter-spacing: -0.02em;
}

.dm-dash-card__hint {
  font-size: 0.8125rem;
  color: var(--dm-hub-muted);
  line-height: 1.45;
  margin: 0 0 1rem;
}

.dm-dash-micro {
  font-size: 0.75rem;
  color: var(--dm-hub-muted);
  word-break: break-all;
}

.dm-dash-link {
  color: var(--dm-primary);
  text-decoration: none;
  font-weight: 500;
}

.dm-dash-link:hover {
  text-decoration: underline;
}

.dm-dash-photo-wrap {
  display: flex;
  justify-content: center;
}

@media (min-width: 992px) {
  .dm-dash-photo-wrap {
    justify-content: flex-start;
  }
}

.dm-dash-photo {
  width: 7.5rem;
  height: 7.5rem;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}

.dm-dash-photo--fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, var(--dm-blue-100), var(--dm-slate-100));
  color: var(--dm-blue-700);
  font-size: 2.75rem;
}

.dm-dash-stats-inline {
  display: flex;
  gap: 0;
  margin: 0;
  padding: 0;
  border: 1px solid var(--dm-hub-border);
  border-radius: 0.5rem;
  overflow: hidden;
}

.dm-dash-stats-inline > div {
  flex: 1;
  padding: 0.85rem 1rem;
  text-align: center;
  border-right: 1px solid var(--dm-hub-border);
}

.dm-dash-stats-inline > div:last-child {
  border-right: none;
}

.dm-dash-stats-inline dt {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--dm-hub-muted);
  margin: 0;
}

.dm-dash-stats-inline dd {
  margin: 0.2rem 0 0;
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--dm-hub-title);
}

.dm-dash-user-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1rem;
  background: var(--dm-hub-surface);
  border: 1px solid var(--dm-hub-border);
  border-radius: 0.75rem;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.dm-dash-user-pill__img {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.dm-dash-user-pill__img--fb {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--dm-slate-100);
  color: var(--dm-slate-600);
  font-size: 1.1rem;
}

.dm-dash-user-pill__label {
  margin: 0;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--dm-hub-muted);
}

.dm-dash-user-pill__name {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--dm-hub-title);
}

/* Progress bars (your courses + lesson page) */
.dm-hub-progress {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  width: 100%;
  max-width: 18rem;
}

.dm-hub-progress--compact {
  max-width: 100%;
  margin-top: 0.35rem;
}

.dm-hub-progress__track {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 0.375rem;
  border-radius: 999px;
  background: var(--dm-slate-200);
  overflow: hidden;
  box-sizing: border-box;
}

.dm-hub-progress__fill {
  display: block;
  height: 100%;
  max-width: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--dm-blue-600), var(--dm-play-emerald));
  transition: width 0.35s ease;
  box-sizing: border-box;
}

/* Full course / syllabus: solid green when every lesson is done (gradient never reads as “all green”) */
.dm-hub-progress--complete .dm-hub-progress__fill {
  background-color: #34a853 !important;
  background-image: none !important;
  width: 100% !important;
}

.dm-hub-progress__text {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--dm-hub-muted);
}

.dm-hub-course-row--progress {
  align-items: flex-start;
}

.dm-hub-course-row__main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
}

.dm-hub-simple-row--stack {
  flex-direction: column;
  align-items: stretch;
}

.dm-hub-simple-row--stack .dm-hub-simple-row__badge {
  align-self: flex-end;
}

/* —— Full-width profile (investor / dashboard polish) —— */
.dm-profile-page {
  min-height: calc(100vh - 5.5rem);
  overflow-x: hidden;
  background: var(--dm-slate-50);
}

.dm-profile-fluid {
  max-width: none;
  width: 100%;
  padding-left: clamp(1rem, 4vw, 3rem);
  padding-right: clamp(1rem, 4vw, 3rem);
  padding-bottom: 3rem;
}

.dm-profile-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-top: 0.75rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--dm-hub-border);
  background: var(--dm-slate-50);
}

.dm-profile-toolbar__back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--dm-hub-muted);
  text-decoration: none;
}

.dm-profile-toolbar__back:hover {
  color: var(--dm-primary);
}

.dm-profile-toolbar__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.dm-profile-hero {
  position: relative;
  padding-top: clamp(1.75rem, 4vw, 3rem);
  padding-bottom: clamp(1.75rem, 4vw, 3rem);
  margin-bottom: 0;
}

.dm-profile-hero::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  background: linear-gradient(
    125deg,
    #f8fafc 0%,
    #eff6ff 38%,
    #f0fdf4 72%,
    #ffffff 100%
  );
  border-bottom: 1px solid var(--dm-hub-border);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
}

.dm-profile-hero > .row {
  position: relative;
  z-index: 1;
}

.dm-profile-hero__avatar-wrap {
  position: relative;
}

.dm-profile-hero__avatar {
  width: clamp(5.5rem, 12vw, 8rem);
  height: clamp(5.5rem, 12vw, 8rem);
  border-radius: 1rem;
  object-fit: cover;
  box-shadow:
    0 0 0 4px #fff,
    0 0 0 5px rgba(37, 99, 235, 0.12),
    0 12px 40px rgba(15, 23, 42, 0.12);
}

.dm-profile-hero__avatar--fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, var(--dm-blue-100), var(--dm-slate-100));
  color: var(--dm-blue-700);
  font-size: clamp(2.5rem, 8vw, 3.5rem);
  border-radius: 1rem;
}

.dm-profile-hero__eyebrow {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dm-primary);
  margin: 0 0 0.35rem;
}

.dm-profile-hero__title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  color: var(--dm-hub-title);
  margin: 0 0 0.35rem;
  line-height: 1.15;
}

.dm-profile-hero__email {
  margin: 0;
  font-size: 1rem;
  color: var(--dm-hub-muted);
  word-break: break-word;
}

.dm-profile-kpi-row .dm-profile-kpi {
  display: inline-flex;
  align-items: baseline;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 0.5rem;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.dm-profile-kpi__value {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--dm-hub-title);
}

.dm-profile-kpi__label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--dm-hub-muted);
}

.dm-profile-alerts {
  padding-top: 1rem;
  padding-bottom: 0.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.dm-profile-grid {
  margin-top: 1.5rem;
}

.dm-profile-card {
  background: var(--dm-hub-surface);
  border: 1px solid var(--dm-hub-border);
  border-radius: 0.75rem;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.dm-profile-card__head {
  padding: 1.25rem 1.35rem 1rem;
  border-bottom: 1px solid var(--dm-hub-border);
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.6), transparent);
}

.dm-profile-card__title {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 0.35rem;
  color: var(--dm-hub-title);
}

.dm-profile-card__lede {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--dm-hub-muted);
}

.dm-profile-card__body {
  padding: 1.25rem 1.35rem 1.35rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.dm-profile-card__fine {
  font-size: 0.75rem;
  color: var(--dm-hub-muted);
}

.dm-profile-card__link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--dm-primary);
  text-decoration: none;
}

.dm-profile-card__link:hover {
  text-decoration: underline;
}

.dm-profile-metric-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin: 0;
}

@media (max-width: 575.98px) {
  .dm-profile-metric-grid {
    grid-template-columns: 1fr;
  }
}

.dm-profile-metric-grid > div {
  padding: 0.85rem 1rem;
  border: 1px solid var(--dm-hub-border);
  border-radius: 0.5rem;
  background: var(--dm-slate-50);
}

.dm-profile-metric-grid dt {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--dm-hub-muted);
  margin: 0 0 0.25rem;
}

.dm-profile-metric-grid dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--dm-hub-title);
}
