:root {
  --learning-center-release: "20260726-learning-center-os-1735";
}

.learning-center-strip,
.learning-path-primer {
  width: min(1120px, calc(100% - 32px));
  margin: 16px auto;
}

.learning-center-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(211, 150, 72, 0.2);
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(255, 240, 248, 0.92), rgba(255, 249, 238, 0.84)),
    rgba(255, 255, 255, 0.86);
  box-shadow: 0 16px 34px rgba(102, 42, 74, 0.06);
}

.learning-center-strip-copy,
.learning-center-strip-actions {
  min-width: 0;
}

.learning-center-strip-copy {
  display: grid;
  gap: 3px;
}

.learning-center-strip-copy span,
.learning-path-primer-head span,
.learning-path-lessons span {
  color: #b9822c;
  font-size: 11px;
  font-weight: 560;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.learning-center-strip-copy strong,
.learning-path-primer h2,
.learning-path-lessons strong {
  color: var(--ink, #2a1722);
  font-weight: 560;
  letter-spacing: 0;
  line-height: 1.18;
}

.learning-center-strip-copy p,
.learning-path-primer p,
.learning-path-lessons small {
  margin: 0;
  color: var(--muted, #7d6571);
  font-size: 13px;
  line-height: 1.4;
}

.learning-center-strip-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.learning-center-strip-actions a,
.learning-path-lessons a {
  color: #2a1722;
  text-decoration: none;
}

.learning-center-strip-actions a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 12px;
  border: 1px solid rgba(226, 111, 160, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
  font-size: 13px;
  font-weight: 520;
  white-space: nowrap;
}

.learning-center-strip-actions a:first-child {
  border-color: rgba(235, 97, 159, 0.34);
  background: linear-gradient(135deg, rgba(255, 100, 166, 0.2), rgba(239, 184, 80, 0.18));
}

.learning-center-strip-actions svg {
  width: 17px;
  height: 17px;
  color: #c88d30;
  flex: 0 0 auto;
}

.learning-path-primer {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid rgba(211, 150, 72, 0.18);
  border-radius: 10px;
  background: rgba(255, 248, 252, 0.78);
}

.learning-path-primer-head {
  display: grid;
  gap: 4px;
}

.learning-path-primer h2 {
  margin: 0;
  font-size: clamp(22px, 3vw, 32px);
}

.learning-path-lessons {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.learning-path-lessons a {
  display: grid;
  gap: 7px;
  min-height: 128px;
  padding: 13px;
  border: 1px solid rgba(226, 111, 160, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.7);
}

body[data-theme="dark"] .learning-center-strip,
body[data-theme="dark"] .learning-path-primer,
body[data-theme="dark"] .learning-center-strip-actions a,
body[data-theme="dark"] .learning-path-lessons a {
  border-color: rgba(255, 137, 188, 0.2);
  background: rgba(43, 16, 34, 0.9);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.2);
}

body[data-theme="dark"] .learning-center-strip-copy strong,
body[data-theme="dark"] .learning-path-primer h2,
body[data-theme="dark"] .learning-path-lessons strong,
body[data-theme="dark"] .learning-center-strip-actions a {
  color: #fff5fa;
}

body[data-theme="dark"] .learning-center-strip-copy p,
body[data-theme="dark"] .learning-path-primer p,
body[data-theme="dark"] .learning-path-lessons small {
  color: #e8cbd8;
}

@media (max-width: 760px) {
  .learning-center-strip,
  .learning-path-primer {
    width: calc(100% - 24px);
    margin: 12px auto;
  }

  .learning-center-strip {
    grid-template-columns: 1fr;
    padding: 12px;
  }

  .learning-center-strip-copy p {
    display: none;
  }

  .learning-center-strip-actions {
    justify-content: stretch;
  }

  .learning-center-strip-actions a {
    flex: 1 1 150px;
    min-width: 0;
    white-space: normal;
    text-align: center;
  }

  .learning-path-lessons {
    grid-template-columns: 1fr;
  }

  .learning-path-lessons a {
    min-height: 0;
  }
}
