/* Static equivalents of the archived geometry-dependent article passes. */
html.ap-static-rendered .content-wrapper { display: block !important; }
html.ap-static-rendered .content-main { width: 100%; max-width: none; min-width: 0; }
html.ap-static-rendered button.ap-inline-search__icon {
  pointer-events: auto; cursor: pointer; appearance: none; border: 0;
  background: transparent; padding: 0; margin: 0; color: inherit;
}
html.ap-static-rendered .ap-search-page-form { margin: 24px 0; }
html.ap-static-rendered .ap-recovery-editor-controls { display: none !important; }
html.ap-static-rendered .ap-static-article::after,
html.ap-static-rendered .ap-natural-flow::after { content: ""; display: table; clear: both; }
html.ap-static-rendered .ap-static-article { min-width: 0; }
html.ap-static-rendered .ap-table-scroll { min-width: 0; max-width: 100%; overflow-x: auto; overscroll-behavior-inline: contain; }
html.ap-static-rendered .ap-table-scroll > table { width: 100%; }
html.ap-static-rendered .ap-static-toc { container-type: inline-size; }
html.ap-static-rendered .ap-static-toc .ap-toc-columns-list { column-count: 1; column-gap: 24px; }
html.ap-static-rendered .ap-static-toc li { break-inside: avoid; }
@container (min-width: 560px) {
  html.ap-static-rendered .ap-static-toc .ap-toc-columns-list { column-count: 2; }
}
html.ap-static-rendered .ap-media-caption { display: block; }
html.ap-static-rendered .ap-media-quality { display: block; margin-block-start: .25em; font-size: .85em; color: #575757; }
html.ap-static-rendered .ap-card-grid--media {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 18px;
}
html.ap-static-rendered .ap-flag-directory-list {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(170px, 100%), 1fr)); gap: 12px;
}
html.ap-static-rendered .ap-static-article ul.gallery {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 18px; list-style: none;
}
html.ap-static-rendered .ap-static-article ul.gallery > li { width: auto !important; margin: 0; }
html.ap-static-rendered .ap-static-article img { height: auto; max-width: 100%; }
html.ap-static-rendered .ap-static-article img.ap-flag-image { display: inline-block; max-height: 24px; width: auto; margin: 0 .2em; vertical-align: middle; border-radius: 2px; }
html.ap-static-rendered .ap-natural-flow > table.ltbl,
html.ap-static-rendered .ap-natural-flow > table.ap-forced-sidebar-table { width: min(390px, 100%); }
html.ap-static-rendered .ap-static-sidebar > table {
  float: none !important; clear: none !important; width: 100% !important;
  min-width: 0 !important; min-inline-size: 0 !important;
  max-width: 100% !important; margin: 0 0 24px !important;
}
@media (min-width: 821px) {
  html.ap-static-rendered body .ap-natural-flow > .ap-static-sidebar {
    float: right; clear: right; width: 390px; max-width: 42%; margin: 0 0 26px 28px;
  }
  html.ap-static-rendered body .ap-natural-flow > table.ltbl,
  html.ap-static-rendered body .ap-natural-flow > table.ap-forced-sidebar-table {
    float: right !important; clear: right !important;
    width: 390px !important; max-width: 42% !important;
    margin: 0 0 26px 28px !important;
  }
  html.ap-static-rendered body :is(.l-main,#content).ap-natural-flow > :is(h2,h3,h4,h5,h6,.ht,ul,ol,p,blockquote,.ap-static-toc,.ap-table-scroll):not(:where(.gallery,.ap-card-grid--media,.ap-flag-directory-list)),
  html.ap-static-rendered body :is(.l-main,#content) .ap-natural-flow > :is(h2,h3,h4,h5,h6,.ht,ul,ol,p,blockquote,.ap-static-toc,.ap-table-scroll):not(:where(.gallery,.ap-card-grid--media,.ap-flag-directory-list)) {
    display: flow-root !important; clear: none !important;
    min-width: 0; width: auto !important; inline-size: auto !important;
  }
  html.ap-static-rendered body :is(.l-main,#content).ap-natural-flow > :is(h2,.ht),
  html.ap-static-rendered body :is(.l-main,#content) .ap-natural-flow > :is(h2,.ht) {
    display: flex !important;
  }
}
@media (max-width: 820px) {
  html.ap-static-rendered .ap-static-sidebar { float: none; width: 100%; max-width: 100%; margin: 18px 0 24px; }
  html.ap-static-rendered body .ap-natural-flow > table.ltbl,
  html.ap-static-rendered body .ap-natural-flow > table.ap-forced-sidebar-table {
    float: none !important; width: 100% !important; max-width: 100% !important;
    margin: 18px 0 24px !important;
  }
}
@media (max-width: 760px) {
  html.ap-static-rendered .ap-static-toc .ap-toc-columns-list { column-count: 1; }
  html.ap-static-rendered .ap-static-article { overflow-wrap: anywhere; }
}
html.ap-static-rendered .ap-static-toc a { color: #4c78a2; }
html.ap-static-rendered .ap-static-toc > h2 { border-bottom: 1px solid rgba(66, 153, 194, .18); padding-bottom: 14px; }
html.ap-static-rendered .ap-static-toc > h2::before {
  content: ""; display: inline-block; width: 13px; height: 13px; margin-right: 12px;
  border-radius: 50%; vertical-align: 3px; background: conic-gradient(#9d7bff, #42d4d7, #91de75, #9d7bff);
  box-shadow: 0 0 0 5px rgba(58, 192, 214, .10);
}

/* Qualified article.js enhancement: source order and authored tiny icons survive. */
html.ap-static-rendered .l-main[data-ap-enhanced="1"] .ap-enhanced-image { max-inline-size: 100%; min-inline-size: 0; }
html.ap-static-rendered .l-main[data-ap-enhanced="1"] .ap-enhanced-figure { box-sizing: border-box; max-inline-size: 100%; }
html.ap-static-rendered .l-main[data-ap-enhanced="1"] .ap-enhanced-inner { width: 100% !important; max-inline-size: 100%; box-sizing: border-box; }
html.ap-static-rendered .l-main[data-ap-enhanced="1"] .ap-media-clear { clear: both !important; float: none !important; }
html.ap-static-rendered .l-main[data-ap-enhanced="1"] .ap-image-status { display: inline-block; max-width: 100%; margin: .25em .4em; font-size: .9em; color: #575757; overflow-wrap: anywhere; }
html.ap-static-rendered .l-main[data-ap-enhanced="1"] .ap-image-unavailable { max-inline-size: 100%; }
html.ap-static-rendered .l-main[data-ap-enhanced="1"] .ap-enhanced-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 18px; align-items: start; list-style: none; padding-inline-start: 0; }
html.ap-static-rendered .l-main[data-ap-enhanced="1"] .ap-enhanced-gallery > li { width: auto !important; min-width: 0; max-width: 100%; margin: 0; }
html.ap-static-rendered .l-main[data-ap-enhanced="1"] .ap-enhanced-gallery .thumb, html.ap-static-rendered .l-main[data-ap-enhanced="1"] .ap-enhanced-gallery .thumbinner { width: auto !important; max-width: 100%; }
html.ap-static-rendered .l-main[data-ap-enhanced="1"] .ap-js-table-scroll { max-inline-size: 100%; min-inline-size: 0; overflow-x: auto; }
html.ap-static-rendered .l-main[data-ap-enhanced="1"] .ap-native-media { max-inline-size: 100%; }
html.ap-static-rendered .l-main[data-ap-enhanced="1"] video.ap-native-media { height: auto; }

/* Keep recovered infobox cells within the sidebar's available width. */
html.ap-static-rendered .l-main .ap-static-sidebar>table{display:table!important;table-layout:fixed!important}
html.ap-static-rendered .l-main .ap-static-sidebar>table>tbody>tr>td,
html.ap-static-rendered .l-main .ap-static-sidebar>table>tbody>tr>th,
html.ap-static-rendered .l-main .ap-static-sidebar>table>tr>td,
html.ap-static-rendered .l-main .ap-static-sidebar>table>tr>th{overflow-wrap:anywhere;min-inline-size:0;max-inline-size:100%}

/* Source resolution and display role are independent. These rules apply before JS. */
html.ap-static-rendered body :is(.l-main,#content) img.ap-content-image {
  width: auto !important;
  inline-size: auto !important;
  max-width: 100% !important; max-inline-size: 100% !important;
  height: auto !important; block-size: auto !important; object-fit: contain;
}
html.ap-static-rendered body :is(.l-main,#content) .ap-content-media {
  float: none !important; clear: none !important; display: flow-root !important;
  width: auto !important; inline-size: auto !important;
  max-width: min(100%, var(--ap-media-width, 100%)) !important;
  max-inline-size: min(100%, var(--ap-media-width, 100%)) !important;
  min-width: 0 !important; box-sizing: border-box;
  margin: 1.2rem 0 1.5rem !important;
  container-type: inline-size;
}
html.ap-static-rendered body :is(.l-main,#content) .ap-content-media > :is(a,picture,.thumbinner) {
  display: block !important; width: 100% !important; max-width: 100% !important;
  inline-size: 100% !important; box-sizing: border-box;
}
html.ap-static-rendered body :is(.l-main,#content) .ap-content-media img {
  display: block !important; margin: 0 !important;
}
html.ap-static-rendered body :is(.l-main,#content) .ap-content-media .ap-media-caption {
  width: auto !important; inline-size: auto !important; max-inline-size: 68ch !important;
  margin: .6rem 0 0 !important; text-align: start !important;
}
@container (min-width: 680px) {
  html.ap-static-rendered body :is(.l-main,#content) .ap-content-media .ap-media-caption {
    margin-inline: auto !important; text-align: center !important;
  }
}
html.ap-static-rendered body :is(.l-main,#content) .ap-content-media--wide {
  float: none !important; clear: none !important;
}
html.ap-static-rendered body :is(.l-main,#content) .ap-media-row {
  display: flex; flex-wrap: wrap; gap: 24px; clear: none; align-items: flex-start;
  min-inline-size: min(100%,var(--ap-row-min-width,100%));
}
html.ap-static-rendered body :is(.l-main,#content) .ap-media-row > .ap-content-media {
  flex: 0 0 auto; margin: 1.2rem 0 1.5rem !important;
}
html.ap-static-rendered body :is(.l-main,#content) img:is(.ap-flag-image,.ap-utility-image) {
  display: inline-block !important; float: none !important; clear: none !important;
  margin: 0 .12em !important; vertical-align: middle !important;
  min-width: 0 !important; min-height: 0 !important;
  border-radius: 0 !important; box-shadow: none !important;
}
html.ap-static-rendered body :is(.l-main,#content) .ap-related-callout,
html.ap-static-rendered body :is(.l-main,#content) .ap-hatnote { min-width: 0; width: auto; display: flow-root; }
html.ap-static-rendered body :is(.l-main,#content) .ap-native-media { max-width: 100%; }
html.ap-static-rendered body :is(.l-main,#content) video.ap-native-media {
  display: block; width: min(100%,var(--ap-media-width,100%)); height: auto;
}
html.ap-static-rendered body :is(.l-main,#content) .ap-static-sidebar img.ap-content-image {
  max-width: 100% !important; height: auto !important;
}

/* Small decoded media may wrap prose only when a readable text track remains. */
html.ap-static-rendered body :is(.l-main,#content) .ap-content-media.ap-content-media--compact {
  float: left !important; clear: none !important; margin-inline-end: 24px !important;
}
/* Preserve nested composite tables while allowing their own horizontal scroll. */
html.ap-static-rendered body :is(.l-main,#content) .ap-static-sidebar table table {
  max-inline-size: 100% !important; width: 100% !important; table-layout: auto;
}
html.ap-static-rendered body :is(.l-main,#content) .ap-table-scroll > table {
  min-inline-size: min-content; table-layout: auto;
}
@media (max-width: 760px) {
  html.ap-static-rendered body :is(.l-main,#content) .ap-static-sidebar .ap-empty-table-cell { display: none; }
  html.ap-static-rendered body :is(.l-main,#content) .ap-static-sidebar .ap-single-table-cell-row > :not(.ap-empty-table-cell) { width: 100% !important; }
}
html.ap-static-rendered body :is(.l-main,#content) .ap-nowrap-listen,
html.ap-static-rendered body :is(.l-main,#content) .ap-nowrap-listen > a { display: inline !important; white-space: nowrap !important; }
html.ap-static-rendered body :is(.l-main,#content) .ap-nowrap-listen img { display: inline-block !important; float: none !important; margin: 0 .12em !important; }
/* Natural-size media rows wrap without shrinking images to create extra columns. */
html.ap-static-rendered body :is(.l-main,#content) :is(.ap-card-grid--media,ul.gallery,ol.gallery) {
  display: flex !important; flex-wrap: wrap; gap: 18px; align-items: flex-start;
}
html.ap-static-rendered body :is(.l-main,#content) :is(.ap-card-grid--media,ul.gallery,ol.gallery) > li {
  flex: 0 0 auto; width: min(100%,var(--ap-media-width,100%)) !important;
  min-width: 0 !important; max-width: 100% !important; margin: 0 !important;
}
html.ap-static-rendered body :is(.l-main,#content) .ap-static-toc .ap-toc-short { column-count: 1 !important; }
html.ap-static-rendered body :is(.l-main,#content) .ap-static-toc ul { list-style: disc; }
html.ap-static-rendered body :is(.l-main,#content) .ap-static-toc ol { list-style: decimal; }
html.ap-static-rendered body :is(.l-main,#content) .ap-static-toc li { display: list-item !important; }
html.ap-static-rendered body :is(.l-main,#content) { overflow-wrap: anywhere; }
@container (min-width: 840px) {
  html.ap-static-rendered body :is(.l-main,#content) .ap-static-toc .ap-toc-columns-list { column-count: 3; }
}
@container (min-width: 1120px) {
  html.ap-static-rendered body :is(.l-main,#content) .ap-static-toc .ap-toc-columns-list { column-count: 4; }
}
html.ap-static-rendered body :is(.l-main,#content) .ap-natural-media-row {
  display: flex !important; flex-wrap: wrap !important; gap: 24px !important;
  width: auto !important; inline-size: auto !important; max-width: 100% !important;
  min-width: 0 !important; min-inline-size: 0 !important;
  clear: none !important; justify-content: flex-start !important; align-items: flex-start !important;
}
html.ap-static-rendered body :is(.l-main,#content) .ap-natural-media-row > .ap-content-media {
  flex: 0 0 min(100%,var(--ap-media-width,100%)) !important;
  float: none !important; clear: none !important; margin-inline: 0 !important;
}
html.ap-static-rendered body :is(.l-main,#content) :is(.ap-card-grid--media,ul.gallery,ol.gallery) > li {
  inline-size: min(100%,var(--ap-media-width,100%)) !important; flex: 0 0 auto !important;
}
@media (max-width: 760px) {
  html.ap-static-rendered body :is(.l-main,#content) .ap-content-media .ap-media-caption { text-align: center !important; margin-inline: auto !important; }
}
/* Keep page metadata on the article's outer grid and contain its historical float. */
/* Each flex gallery row fits at its own vertical position beside the sidebar. */
html.ap-static-rendered body :is(.l-main,#content) ul.gallery.ap-flow-gallery-row {
  width: auto !important; inline-size: auto !important; min-width: 0 !important;
  margin: 16px 0 18px !important;
}
html.ap-static-rendered body :is(.l-main,#content) ul.gallery.ap-flow-gallery-row + ul.gallery.ap-flow-gallery-row {
  margin-block-start: 0 !important;
}
html.ap-static-rendered body .ap-page-metadata {
  display: flow-root !important; clear: both !important;
  width: 100% !important; inline-size: 100% !important; max-inline-size: 100% !important;
  margin-inline: 0 !important;
}
html.ap-static-rendered body .ap-page-metadata > .update { float: none !important; }

/* Native MathML is part of article content, including archived TeX annotations. */
html.ap-static-rendered body .ap-native-math {
  position: static !important; clip: auto !important; clip-path: none !important;
  width: auto !important; height: auto !important; max-inline-size: 100%;
}
html.ap-static-rendered body .ap-native-math[display="block"] { overflow-x: auto; }
html.ap-static-rendered body .ap-math-image-fallback { display: none !important; }
html.ap-static-rendered body .ap-native-math { margin-inline: .12em; }
