@font-face {
  font-family: "DFP JuliaMono";
  src: url("./vendor/juliamono/JuliaMono-Regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

.lean-code-section {
  min-width: 0;
}

.lean-code-section pre.lean-code-block {
  box-sizing: border-box;
  max-width: 100%;
  max-height: 420px;
  margin: 10px 0;
  padding: 12px;
  overflow: auto;
  border: 1px solid #d8e0e8;
  border-radius: 6px;
  background: #f6f8fb;
  color: #243344;
  font: 12px/1.65 "DFP JuliaMono", ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-variant-ligatures: none;
  text-align: left;
  tab-size: 2;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: normal;
}

.lean-code-block > code {
  display: block;
  padding: 0;
  background: transparent;
  font: inherit;
  white-space: inherit;
  overflow-wrap: inherit;
}

.lean-code-section .detail-source-link {
  display: block;
  overflow-wrap: anywhere;
}

.lean-keyword { color: #7136b7; font-weight: 600; }
.lean-command, .lean-attribute { color: #245aa8; }
.lean-constant { color: #0f6e5a; }
.lean-comment { color: #66727d; font-style: italic; }
.lean-string { color: #b23a33; }
.lean-number { color: #956013; }
.lean-symbol { color: #40546a; }

@media (min-width: 1200px) {
  .v21-view .app-shell:not(.detail-collapsed) .workspace {
    grid-template-columns: minmax(300px, 1fr) minmax(390px, 52%);
  }
}
