.editorial-intro-panel {
  background: linear-gradient(120deg, #e9efe5, #f7f5eb);
  border-radius: 1.35rem;
  padding: clamp(1.05rem, 3.5vw, 2.45rem);
  margin-block: 1rem;
}
.editorial-intro-panel h2 { margin: 0 0 .45rem; }
.editorial-intro-panel p { margin: 0; max-width: 68ch; line-height: 1.6; }
.editorial-intro-panel button { margin-top: .75rem; }
.editorial-course-note {
  padding: .8rem 1rem;
  border-inline-start: 3px solid #9db8a2;
  background: #edf3ea;
  border-radius: 0 .65rem .65rem 0;
  line-height: 1.6;
}
.account-learning { width: 100%; min-width: 0; display: grid; gap: .85rem; margin-block: 1rem 1.5rem; }
.account-learning h2 { margin-block: 0 .35rem; scroll-margin-block-start: 9rem; }
.account-learning > .card { padding: 1rem; }
.account-orders { margin-block: .6rem; }
.account-orders ul { display: grid; gap: .55rem; list-style: none; padding: 0; }
.account-orders li {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem 1rem;
  align-items: baseline;
  padding: .8rem;
  border: 1px solid var(--line);
  border-radius: .75rem;
  overflow-wrap: anywhere;
}
.editorial-lesson-steps { display: grid; gap: .7rem; }
.editorial-step { min-width: 0; border: 1px solid var(--line); background: var(--surface); border-radius: 1rem; }
.editorial-step-header {
  width: 100%;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: .65rem;
  color: var(--ink);
  padding: .8rem;
  text-align: start;
}
summary.editorial-step-header { cursor: pointer; list-style: none; }
summary.editorial-step-header::-webkit-details-marker { display: none; }
summary.editorial-step-header > small::after { content: " ▾"; }
.editorial-step[open] > summary.editorial-step-header > small::after { content: " ▴"; }
.editorial-step-number { display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: #e8f0e5; }
.editorial-step-title { display: grid; gap: .2rem; overflow-wrap: anywhere; }
.editorial-step-header small { font-size: .75rem; color: var(--muted); }
.editorial-step-content { padding: clamp(.55rem, 2vw, 1.25rem); border-top: 1px solid var(--line); }
.editorial-step-content > .lesson-quiz { width: 100%; }
.editorial-quiz-intro { margin-block: 0 1rem; }
.legal-footer > .editorial-footer-note { grid-column: 1 / -1; flex-basis: 100%; }
.editorial-footer-note small { display: block; font-size: inherit; margin-top: .15rem; }
