.cl-content {
  line-height: 1.8;
  color: inherit;
  overflow-wrap: anywhere;
  min-width: 0;
}
.cl-content section,
.cl-content .cl-demo {
  margin-block: 1.8rem;
}
.cl-content h2 {
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  margin: 0 0 0.6rem;
}
.cl-content p {
  margin: 0.5rem 0 1rem;
}
.cl-audience {
  font-weight: 650;
  color: #27554c;
}
.cl-demo,
.cl-example {
  padding: clamp(1rem, 3vw, 2rem);
  background: #f1f7f4;
  border: 1px solid #c8dfd5;
  border-radius: 16px;
}
.cl-svg {
  display: block;
  margin: 0 auto;
  width: min(100%, 35rem);
  height: auto;
  font-family: system-ui, sans-serif;
}
.cl-frame {
  margin: 0.5rem 0 1rem;
}
.cl-frame figcaption {
  padding-top: 0.65rem;
}
.cl-content [hidden] {
  display: none !important;
}
.cl-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}
.cl-controls button {
  cursor: pointer;
  background: white;
  color: #15493c;
  font: inherit;
  font-weight: 650;
  border: 1px solid #9dbeb1;
  border-radius: 9px;
  padding: 0.38rem 0.85rem;
  min-height: 44px;
}
.cl-controls button:disabled {
  opacity: 0.45;
  cursor: default;
}
.cl-controls [data-step="next"] {
  background: #175e4f;
  color: white;
}
.cl-controls :focus-visible,
.cl-content summary:focus-visible,
.cl-scroll:focus-visible {
  outline: 3px solid #a7650a;
  outline-offset: 2px;
}
.cl-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  clip-path: inset(50%);
  overflow: hidden;
}
.cl-content table {
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
  font-variant-numeric: tabular-nums;
  font-size: 1rem;
}
.cl-content table th,
.cl-content table td {
  padding: 0.42rem 0.7rem;
  border: 1px solid #d8e4dc;
  text-align: center;
  white-space: nowrap;
}
.cl-content th {
  background: #e2efe8;
  color: #234f41;
}
.cl-scroll {
  max-width: 100%;
  max-height: 30rem;
  overflow: auto;
  overscroll-behavior-inline: contain;
  margin-block: 0.7rem;
}
.cl-scroll thead th {
  position: sticky;
  top: 0;
  z-index: 2;
}
.cl-scroll tbody th {
  position: sticky;
  left: 0;
  z-index: 1;
}
.cl-scroll thead th:first-child {
  left: 0;
  z-index: 3;
}
.cl-content caption {
  caption-side: top;
  text-align: left;
  font-weight: 650;
  padding: 0.4rem 0;
}
.cl-content details {
  background: #f8faf7;
  border: 1px solid #d9e5dd;
  border-radius: 9px;
  padding: 0.45rem 0.8rem;
  margin: 0.3rem 0 0.8rem;
}
.cl-content summary {
  cursor: pointer;
  color: #235343;
  font-weight: 600;
}
.cl-content details p {
  margin: 0.5rem 0;
}
.cl-related {
  display: flex;
  gap: 0.5rem 1.2rem;
  flex-wrap: wrap;
}
.cl-ref {
  font-size: 0.9rem;
}
.cl-content li + li {
  margin: 0.35rem 0;
}
.cl-content code {
  background: #eaf1ed;
  padding: 0 0.2rem;
  border-radius: 3px;
}
.cl-content pre {
  line-height: 1.55;
  white-space: pre-wrap;
  font-size: 1.1rem;
  font-variant-numeric: tabular-nums;
}
.cl-frame + .cl-frame {
  border-top: 1px solid #bad3c7;
}
.cl-demo:has(.cl-controls:not([hidden])) .cl-frame {
  border: 0;
}
@media (prefers-reduced-motion: no-preference) {
  .cl-frame:not([hidden]) .cl-svg {
    animation: cl-appear 0.27s ease-out;
  }
  @keyframes cl-appear {
    from {
      opacity: 0.2;
      transform: translateY(3px);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }
}
@media print {
  .cl-content .cl-frame[hidden] {
    display: block !important;
  }
  .cl-controls,
  .cl-sr {
    display: none !important;
  }
  .cl-frame,
  .cl-content details {
    break-inside: avoid;
  }
  .cl-scroll {
    overflow: visible;
    max-height: none;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .cl-demo .cl-turn {
    animation: cl-turn 0.75s ease-in-out both;
  }
  .cl-demo .cl-jump {
    stroke-dasharray: 1;
    animation: cl-jump 0.42s var(--delay, 0s) ease-out both;
  }
  .cl-demo .cl-reveal {
    animation: cl-add 0.52s ease-out both;
  }
  @keyframes cl-turn {
    from {
      transform: translate(var(--dx), var(--dy));
    }
    to {
      transform: translate(0, 0);
    }
  }
  @keyframes cl-jump {
    from {
      stroke-dashoffset: 1;
    }
    to {
      stroke-dashoffset: 0;
    }
  }
  @keyframes cl-add {
    from {
      opacity: 0.1;
      transform: translateY(-5px);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }
}
