/* inline */
@scope (html[data-site-styles~="f34c96a2e2bc8f48"]) {
iot-depth:where(:scope, *) {
  --part-color: #0d47a1;
}

.mcmp-grid:where(:scope, *),
.mcmp-flow:where(:scope, *),
.mcmp-mask:where(:scope, *),
.mcmp-ratio:where(:scope, *) {
  display: grid;
  gap: 0.85rem;
  margin: 1rem 0 1.25rem;
  min-width: 0;
}

.mcmp-grid:where(:scope, *) {
  grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
}

.mcmp-card:where(:scope, *),
.mcmp-step:where(:scope, *) {
  min-width: 0;
  padding: 0.9rem;
  overflow-wrap: anywhere;
  border: 1px solid rgba(25, 55, 88, 0.16);
  border-top: 4px solid #0d47a1;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(25, 55, 88, 0.07);
  box-sizing: border-box;
}

.mcmp-card h3:where(:scope, *),
.mcmp-step h3:where(:scope, *) {
  margin: 0 0 0.35rem;
  font-size: 1.02rem;
}

.mcmp-card p:last-child:where(:scope, *),
.mcmp-card ul:last-child:where(:scope, *),
.mcmp-step p:last-child:where(:scope, *) {
  margin-bottom: 0;
}

.mcmp-note:where(:scope, *) {
  margin: 1rem 0 1.2rem;
  padding: 0.85rem 1rem;
  border-left: 4px solid #0f766e;
  border-radius: 0 8px 8px 0;
  background: #ecfdf5;
}

.mcmp-note--warn:where(:scope, *) {
  border-left-color: #b45309;
  background: #fff7ed;
}

.mcmp-mask:where(:scope, *) {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  list-style: none;
  padding: 0;
}

.mcmp-mask .mcmp-step:nth-child(2):where(:scope, *) {
  border-top-color: #b45309;
}

.mcmp-mask .mcmp-step:nth-child(3):where(:scope, *) {
  border-top-color: #0f766e;
}

.mcmp-mask .mcmp-step:nth-child(4):where(:scope, *) {
  border-top-color: #7c3aed;
}

.mcmp-equation:where(:scope, *) {
  min-width: 0;
  margin: 1rem 0 1.25rem;
  padding: 0.8rem 1rem;
  overflow-x: auto;
  border-left: 4px solid #0d47a1;
  border-radius: 0 8px 8px 0;
  background: #eff6ff;
}

.mcmp-scroll-hint:where(:scope, *) {
  margin: 0.75rem 0 0.35rem;
  color: #526b82;
  font-size: 0.88rem;
  font-weight: 650;
}

.mcmp-equation-scroll:where(:scope, *) {
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  padding: 0.25rem 0 0.65rem;
  scrollbar-gutter: stable;
}

.mcmp-equation-scroll:focus-visible:where(:scope, *) {
  outline: 3px solid #0d47a1;
  outline-offset: 3px;
}

.mcmp-equation-scroll .katex:where(:scope, *) {
  display: inline-block;
  width: max-content;
  min-width: max-content;
  max-width: none !important;
  overflow: visible !important;
}

.mcmp-equation-scroll .katex-display:where(:scope, *) {
  width: max-content;
  min-width: 100%;
  margin: 0.5rem 0;
  text-align: left;
}

.mcmp-dct-wrap:where(:scope, *) {
  margin: 1rem 0 1.25rem;
  overflow-x: auto;
}

.mcmp-dct-wrap:focus-visible:where(:scope, *) {
  outline: 3px solid #0d47a1;
  outline-offset: 3px;
}

.mcmp-dct:where(:scope, *) {
  display: grid;
  grid-template-columns: repeat(8, minmax(48px, 1fr));
  min-width: 520px;
  overflow: hidden;
  border: 1px solid #b9cadc;
  border-radius: 8px;
}

.mcmp-dct > div:where(:scope, *) {
  display: grid;
  min-height: 48px;
  place-items: center;
  border-right: 1px solid #d8e2ec;
  border-bottom: 1px solid #d8e2ec;
  color: #17324d;
  background: color-mix(in srgb, #eff6ff calc(100% - var(--order) * 1.15%), #dbeafe);
  font-size: 0.78rem;
  font-weight: 700;
}

.mcmp-dct > div:where(:scope, *)::before {
  content: attr(data-basis);
  display: block;
  color: #526b82;
  font-size: 0.64rem;
  font-weight: 600;
}

.mcmp-dct > div:where(:scope, *)::after {
  content: attr(data-order);
}

.mcmp-dct > div:first-child:where(:scope, *) {
  color: #fff;
  background: #0d47a1;
}

.mcmp-flow:where(:scope, *) {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: stretch;
}

.mcmp-flow .mcmp-step:where(:scope, *) {
  position: relative;
  text-align: center;
}

.mcmp-flow .mcmp-step:not(:last-child):where(:scope, *)::after {
  position: absolute;
  z-index: 1;
  top: 43%;
  right: -0.68rem;
  content: "\2192";
  color: #0d47a1;
  font-size: 1.1rem;
  font-weight: 800;
}

.mcmp-ratio:where(:scope, *) {
  grid-template-columns: minmax(0, 1.1fr) repeat(3, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
  border: 1px solid #b9cadc;
  border-radius: 8px;
}

.mcmp-ratio > div:where(:scope, *) {
  min-width: 0;
  padding: 0.7rem 0.75rem;
  overflow-wrap: anywhere;
  border-right: 1px solid #d8e2ec;
  border-bottom: 1px solid #d8e2ec;
}

.mcmp-ratio > div:nth-child(-n + 4):where(:scope, *) {
  background: #eff6ff;
  font-weight: 700;
}

.mcmp-ratio > div:nth-child(4n + 1):not(:nth-child(-n + 4)):where(:scope, *) {
  font-weight: 700;
}

.mcmp-ratio > div:nth-last-child(-n + 4):where(:scope, *) {
  border-bottom: 0;
}

@media (max-width: 760px) {
  .mcmp-mask:where(:scope, *),
  .mcmp-flow:where(:scope, *),
  .mcmp-ratio:where(:scope, *) {
    grid-template-columns: 1fr;
  }

  .mcmp-flow .mcmp-step:not(:last-child):where(:scope, *)::after {
    top: auto;
    right: 48%;
    bottom: -0.9rem;
    content: "\2193";
  }

  .mcmp-ratio:where(:scope, *) {
    gap: 0.7rem;
    overflow: visible;
    border: 0;
  }

  .mcmp-ratio > div:nth-child(-n + 4):where(:scope, *) {
    display: none;
  }

  .mcmp-ratio > div:where(:scope, *) {
    border: 1px solid #d8e2ec;
    border-radius: 8px;
  }

  .mcmp-ratio > div:nth-child(4n + 1):where(:scope, *) {
    margin-top: 0.4rem;
    background: #eff6ff;
  }
}
}
