/* Keep the JPMorgan article titles on whole-word line breaks. */
article:has(.l0g-jpm-figure) > .post-head .post-title {
  hyphens: none;
  overflow-wrap: normal;
  word-break: normal;
}

/* Compact compositions retain the verified data and original DejaVu metrics. */
@font-face {
  font-family: 'l0g JPMorgan';
  src: url('/fonts/jpmorgan/dejavu-sans-400.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'l0g JPMorgan';
  src: url('/fonts/jpmorgan/dejavu-sans-700.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
.prose figure.l0g-jpm-figure {
  width: 100%;
  min-width: 0;
  max-width: 48rem;
  margin: 2.5rem auto;
  padding-bottom: 1rem;
  container-type: inline-size;
}
.l0g-jpm-figure .jpm-panel {
  border: 1px solid var(--color-line);
  border-radius: 9px;
  background: var(--color-surface);
}
.l0g-jpm-figure svg {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  overflow: visible;
  letter-spacing: normal;
}
.l0g-jpm-figure svg text {
  font-family: 'l0g JPMorgan', 'DejaVu Sans', Arial, sans-serif;
}
.l0g-jpm-figure .jpm-mobile {
  display: none;
  width: 100%;
  min-width: 0;
}
.prose .l0g-jpm-figure figcaption {
  font-size: .88rem;
  line-height: 1.65;
  color: var(--color-muted);
  margin: 1rem 0;
}
.l0g-jpm-figure .figlabel { font-weight: 700; color: var(--color-paper); }
.l0g-jpm-figure .data-note { font-size: .85rem; line-height: 1.6; margin: .7rem 0; }
.l0g-jpm-figure .data-note pre { white-space: pre-wrap; overflow-wrap: anywhere; }
.l0g-jpm-figure summary { cursor: pointer; }
.l0g-jpm-figure summary:focus-visible { outline: 2px solid var(--color-signal); outline-offset: 4px; }
/* Select the composition from the reading column, including browser zoom. */
@container (max-width: 480px) {
  .l0g-jpm-figure .jpm-mobile { display: block; }
  .l0g-jpm-figure .jpm-desktop { display: none; }
}
@media print {
  .l0g-jpm-figure .jpm-mobile { display: none; }
  .l0g-jpm-figure .jpm-desktop { display: block; }
}
