/* lesson15：流程示意图加宽，文字完整折行显示 */
html[data-course-id="lesson15"] .algo-split {
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 340px);
}
html[data-course-id="lesson15"] .algo-flow {
  overflow: visible;
  min-width: 0;
}
html[data-course-id="lesson15"] .algo-flow-svg {
  width: 100%;
  max-width: 340px;
  height: auto;
  overflow: visible;
}
html[data-course-id="lesson15"] .algo-flow-svg .flow-label {
  font-size: 12px;
}
html[data-course-id="lesson15"] figure.inline-fig.diagram-fig {
  display: block;
  width: 100%;
  clear: both;
  box-sizing: border-box;
  background: #eef6f2;
  padding: 8px;
  overflow: hidden;
}
html[data-course-id="lesson15"] figure.inline-fig.diagram-fig img {
  max-height: 300px;
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  background: #f3f7f4;
}
html[data-course-id="lesson15"] figure.inline-fig.diagram-fig figcaption {
  display: block;
  margin-top: 0;
  padding: 8px 12px 4px;
  border-top: 1px dashed var(--line);
  text-align: center;
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.45;
}
@media (max-width: 900px) {
  html[data-course-id="lesson15"] .algo-split {
    grid-template-columns: 1fr;
  }
}
