.ek-formatted {
  min-width: 0;
  max-width: 100%;
  line-height: 1.65;
  overflow-wrap: anywhere;
}
.ek-formatted > * { margin: 0; }
.ek-formatted > * + * { margin-top: .82em; }
.ek-formatted > p, .ek-formatted li { white-space: pre-line; }
.ek-formatted > h4, .ek-formatted > h5, .ek-formatted > h6 {
  font-size: 1.06em;
  line-height: 1.36;
  font-weight: 750;
}
.ek-formatted > ul, .ek-formatted > ol { padding-inline-start: 1.55em; }
.ek-formatted li + li { margin-top: .18em; }
.ek-formatted .ek-format-tail { white-space: pre-wrap; }
.ek-message-detail { font-size: .87rem; }
.ek-message-detail summary { cursor: pointer; font-weight: 650; }
.ek-message-detail p, .ek-message-detail pre { margin: .35rem 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.ek-formatted .ek-inline-code {
  padding: .1em .32em;
  color: #412a62;
  background: #efe9fb;
  border: 1px solid #d9cee9;
  border-radius: .3em;
  font: .9em/1.4 ui-monospace, "Cascadia Code", Consolas, monospace;
}
.ek-formatted .ek-code-block {
  min-width: 0;
  overflow: hidden;
  border: 2px solid #221a38;
  border-radius: 7px;
  background: #201c30;
  color: #f7f4ff;
  box-shadow: 2px 2px 0 #bbaec7;
}
.ek-code-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  min-height: 40px;
  padding: .18rem .65rem .18rem .9rem;
  color: #e9e0ff;
  background: #342b49;
  border-bottom: 1px solid #51445f;
}
.ek-code-language {
  min-width: 0;
  overflow-wrap: anywhere;
  font: 680 .79rem/1.3 ui-monospace, "Cascadia Code", Consolas, monospace;
}
.ek-code-language::before {
  content: "";
  display: inline-block;
  width: .55em;
  height: .55em;
  margin-right: .65em;
  vertical-align: .06em;
  border-radius: 2px;
  background-color: #c8bcfc;
}
.ek-code-bar .ek-code-copy {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: .55em;
  min-height: 32px;
  padding: .23rem .52rem;
  border: 1px solid #6e5e85;
  border-radius: 5px;
  box-shadow: none;
  color: #f7f4ff;
  background: transparent;
  font: 650 .76rem/1.25 system-ui, sans-serif;
}
.ek-code-copy::before {
  content: "";
  display: inline-block;
  width: .63em;
  height: .75em;
  border: 1px solid currentColor;
  border-radius: 1px;
  box-shadow: -2px -2px 0 -1px #342b49, -3px -3px 0 -1px currentColor;
}
.ek-code-bar .ek-code-copy:hover { color: white; background: #473b5e; }
.ek-code-bar .ek-code-copy:focus-visible { outline: 2px solid #ffcc4d; outline-offset: 2px; }
.ek-code-block pre {
  display: block;
  overflow-x: auto;
  margin: 0;
  max-width: 100%;
  padding: .82rem 1rem;
  color: inherit;
  background: transparent;
  white-space: pre;
  overflow-wrap: normal;
  word-break: normal;
  tab-size: 4;
  font: .88rem/1.65 ui-monospace, "Cascadia Code", Consolas, monospace;
  text-align: start;
  scrollbar-color: #887a99 #201c30;
}
.ek-code-block pre:focus-visible { outline: 2px solid #fbd371; outline-offset: -3px; }
.ek-code-block pre code {
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  font: inherit;
  white-space: inherit;
  overflow-wrap: normal;
}
.ek-syntax-keyword { color: #dfb5ff; }
.ek-syntax-function { color: #9cd8ff; }
.ek-syntax-string { color: #a8e8bc; }
.ek-syntax-literal { color: #ffd186; }
.ek-syntax-comment { color: #beb2cf; font-style: italic; }
@media (max-width: 520px) {
  .ek-code-block pre { padding: .75rem; font-size: .81rem; }
  .ek-code-bar { padding-left: .75rem; }
}
