.doc-image {
  border: 1px solid color-mix(in srgb, var(--brand-secondary) 35%, transparent);
  border-radius: 0.35rem;
  box-shadow: 0 0.3rem 1rem rgb(25 47 61 / 14%);
  display: block;
  height: auto;
  margin: 1.25rem auto 0.3rem;
  max-width: min(100%, 1100px);
}

.inline-image,
.table-cell-image {
  display: inline-block;
  height: auto;
  max-width: 100%;
  vertical-align: middle;
}

.md-typeset .controls-table td:first-child {
  text-align: center;
  vertical-align: middle;
}

.md-typeset .controls-table .table-icon-contrast {
  background: #f7f9fa;
  border: 1px solid #d9e0e3;
  border-radius: 0.35rem;
  box-shadow: 0 0.12rem 0.35rem rgb(25 47 61 / 12%);
  box-sizing: content-box;
  padding: 0.45rem;
}

.md-typeset .controls-table .control-pair {
  align-items: center;
  color: #4b5560;
  display: inline-flex;
  gap: 0.35rem;
  justify-content: center;
  white-space: nowrap;
}

.md-typeset .controls-table .table-control-compact {
  height: 2.25rem;
  width: 2.25rem;
}

.md-typeset .controls-table .table-control-wide,
.md-typeset .controls-table td:first-child .table-control-wide {
  max-height: 3rem;
  max-width: 8.5rem;
  object-fit: contain;
  width: 8.5rem;
}

.md-typeset p:has(> .doc-image) {
  margin-bottom: 0.2rem;
}

.md-typeset p:has(> .doc-image) + p[align="center"] {
  color: var(--md-default-fg-color--light);
  font-size: 0.76rem;
  font-style: italic;
  font-weight: 500;
  line-height: 1.35;
  margin-bottom: 1.25rem;
  margin-top: 0;
  opacity: 1;
  text-align: center;
}

.note-info,
.note-important {
  align-items: stretch;
  border-radius: 0.45rem;
  display: flex;
  gap: 0.75rem;
  margin: 1rem 0;
  padding: 0.85rem 1rem;
}

.note-info {
  background: color-mix(in srgb, var(--brand-primary) 10%, var(--md-default-bg-color));
  border-left: 4px solid var(--brand-primary);
}

.note-important {
  background: color-mix(in srgb, var(--brand-accent) 11%, var(--md-default-bg-color));
  border-left: 4px solid var(--brand-accent);
}

.note-info .icon,
.note-important .icon {
  align-items: center;
  border-radius: 50%;
  color: #ffffff;
  display: flex;
  flex: 0 0 1.7rem;
  font-weight: 700;
  height: 1.7rem;
  justify-content: center;
  width: 1.7rem;
}

.note-info .icon {
  background: var(--brand-primary);
}

.note-important .icon {
  background: var(--brand-accent);
}

.note-info .divider,
.note-important .divider {
  opacity: 0.45;
  width: 1px;
}

.note-info .divider {
  background: var(--brand-primary);
}

.note-important .divider {
  background: var(--brand-accent);
}

.note-info .content,
.note-important .content {
  flex: 1;
}

.section-intro {
  color: var(--md-default-fg-color);
  font-size: inherit;
  font-weight: 400;
  line-height: inherit;
  margin: 1rem 0 0.55rem;
}

@media screen and (max-width: 768px) {
  .md-typeset .controls-table .table-control-wide,
  .md-typeset .controls-table td:first-child .table-control-wide {
    max-width: 6.25rem;
    width: 6.25rem;
  }
}

@media print {
  .doc-image {
    box-shadow: none;
  }
}
