* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #fff;
  color: #202122;
  font-family: sans-serif;
  font-size: 14px;
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: #0645ad;
  text-decoration: none;
}

a:visited {
  color: #0b0080;
}

a:hover,
a:focus {
  text-decoration: underline;
}

.site-shell {
  display: grid;
  grid-template-columns: 176px minmax(0, 1fr);
  min-height: 100vh;
}

.sidebar {
  position: sticky;
  top: 0;
  align-self: start;
  height: 100vh;
  padding: 10px 14px 18px;
  overflow: auto;
  background: #fff;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 58px;
  margin-bottom: 22px;
}

.brand:hover,
.brand:focus {
  text-decoration: none;
}

.mw-logo-icon {
  width: 50px;
  height: 50px;
  flex: 0 0 auto;
  object-fit: contain;
}

.mw-logo-container {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.brand .mw-logo-wordmark,
.brand .mw-logo-tagline {
  display: block;
  width: 104px;
  height: auto;
}

.vector-menu {
  margin-bottom: 18px;
}

.vector-menu h2 {
  margin: 0 0 5px;
  padding-top: 6px;
  border-bottom: 1px solid #c8ccd1;
  color: #54595d;
  font-size: 12px;
  font-weight: 400;
}

.vector-menu a {
  display: block;
  padding: 2px 0;
  font-size: 12px;
}

.page {
  min-width: 0;
  border-left: 1px solid #c8ccd1;
}

.topbar,
.article-tabs,
.mw-body,
.footer {
  width: calc(100% - 48px);
  max-width: 1180px;
  margin-right: auto;
  margin-left: auto;
}

.topbar {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  border-bottom: 1px solid #eaecf0;
}

.personal-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  color: #54595d;
  font-size: 12px;
}

.search {
  display: grid;
  grid-template-columns: minmax(220px, 420px) auto;
  min-width: 300px;
}

.search label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.search input,
.search button {
  height: 34px;
  border: 1px solid #a2a9b1;
  background: #fff;
  color: #202122;
  font: inherit;
}

.search input {
  min-width: 0;
  padding: 4px 8px;
  border-right: 0;
}

.search button {
  padding: 0 12px;
  background: #f8f9fa;
  font-weight: 700;
}

.article-tabs {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #a2a9b1;
}

.article-tabs > div {
  display: flex;
}

.article-tabs a {
  display: block;
  padding: 7px 10px 6px;
  border-right: 1px solid transparent;
  border-left: 1px solid transparent;
  font-size: 13px;
}

.article-tabs .selected {
  margin-bottom: -1px;
  border-right-color: #a2a9b1;
  border-bottom: 1px solid #fff;
  border-left-color: #a2a9b1;
  color: #202122;
}

.mw-body {
  padding: 20px 0 34px;
}

h1,
.mw-body h2 {
  margin: 0 0 8px;
  border-bottom: 1px solid #a2a9b1;
  color: #000;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  line-height: 1.25;
}

h1 {
  font-size: 32px;
}

.mw-body h2 {
  clear: both;
  margin-top: 25px;
  font-size: 22px;
}

.site-note {
  margin: -2px 0 14px;
  color: #54595d;
  font-size: 13px;
}

.hatnote {
  margin: 0 0 12px;
  padding-left: 20px;
  font-style: italic;
}

p {
  margin: 8px 0 12px;
}

.mw-body section p {
  max-width: 84ch;
}

sup {
  line-height: 1;
}

.infobox {
  float: right;
  width: 318px;
  margin: 0 0 18px 24px;
  border: 1px solid #a2a9b1;
  border-spacing: 3px;
  background: #f8f9fa;
  font-size: 12px;
  line-height: 1.45;
}

.infobox caption {
  padding: 6px;
  background: #eaecf0;
  font-size: 17px;
  font-weight: 700;
  text-align: center;
}

.infobox th,
.infobox td {
  padding: 5px 7px;
  vertical-align: top;
}

.infobox th {
  width: 36%;
  background: #eaecf0;
  text-align: left;
}

.infobox-image {
  background: #fff;
  text-align: center;
}

.infobox-image img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto 5px;
}

.toc {
  display: inline-block;
  min-width: 286px;
  margin: 13px 0 10px;
  padding: 8px 14px;
  border: 1px solid #a2a9b1;
  background: #f8f9fa;
  font-size: 13px;
}

.toc h2 {
  margin: 0 0 6px;
  border: 0;
  font-family: sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}

.toc ol {
  margin: 0;
  padding-left: 22px;
}

.thumb {
  width: 260px;
  margin-top: 5px;
  margin-bottom: 14px;
  padding: 3px;
  border: 1px solid #c8ccd1;
  background: #f8f9fa;
  font-size: 12px;
  line-height: 1.4;
}

.tright {
  float: right;
  clear: right;
  margin-left: 20px;
}

.tleft {
  float: left;
  clear: left;
  margin-right: 20px;
}

.thumb img,
.plate-grid img {
  display: block;
  width: 100%;
  height: auto;
  background: #fff;
}

.thumb figcaption,
.plate-grid figcaption {
  padding: 6px 4px 3px;
  color: #202122;
}

.wikitable {
  clear: both;
  width: min(100%, 900px);
  margin: 12px 0 16px;
  border: 1px solid #a2a9b1;
  border-collapse: collapse;
  background: #fff;
  font-size: 13px;
}

.wikitable th,
.wikitable td {
  padding: 7px 9px;
  border: 1px solid #a2a9b1;
  vertical-align: top;
}

.wikitable th {
  background: #eaecf0;
  text-align: left;
}

.plate-grid {
  clear: both;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  max-width: 780px;
  margin: 14px 0 18px;
}

.plate-grid figure {
  margin: 0;
  padding: 3px;
  border: 1px solid #c8ccd1;
  background: #f8f9fa;
  font-size: 12px;
  line-height: 1.4;
}

.columns {
  max-width: 760px;
  columns: 2;
}

.references {
  max-width: 980px;
  margin-top: 10px;
  padding-left: 28px;
  font-size: 12px;
  line-height: 1.45;
}

.references li {
  margin-bottom: 7px;
}

.backref {
  font-weight: 700;
}

.footer {
  padding: 16px 0 28px;
  border-top: 1px solid #c8ccd1;
  color: #54595d;
  font-size: 12px;
}

.footer p {
  max-width: none;
}

@media (min-width: 1500px) {
  .topbar,
  .article-tabs,
  .mw-body,
  .footer {
    width: calc(100% - 80px);
    max-width: 1220px;
  }
}

@media (max-width: 960px) {
  .site-shell {
    display: block;
  }

  .sidebar {
    position: static;
    display: flex;
    height: auto;
    align-items: center;
    border-bottom: 1px solid #a2a9b1;
    gap: 18px;
  }

  .brand {
    margin: 0;
  }

  .vector-menu {
    display: none;
  }

  .page {
    border-left: 0;
    width: 100%;
    overflow: hidden;
  }

  .topbar,
  .article-tabs,
  .mw-body,
  .footer {
    width: calc(100vw - 28px);
    max-width: calc(100vw - 28px);
  }

  .topbar {
    justify-content: space-between;
    gap: 10px;
  }

  .personal-links {
    justify-content: flex-start;
  }

  .search {
    grid-template-columns: minmax(160px, 1fr) 70px;
    min-width: 0;
    width: min(430px, 50vw);
  }
}

@media (max-width: 720px) {
  body {
    font-size: 15px;
  }

  .topbar {
    flex-direction: column;
    align-items: stretch;
    padding: 8px 0;
  }

  .search {
    grid-template-columns: minmax(0, 1fr) 70px;
    width: 100%;
  }

  .article-tabs {
    justify-content: flex-start;
    overflow-x: auto;
  }

  .article-tabs a {
    white-space: nowrap;
  }

  .hatnote {
    overflow-wrap: anywhere;
  }

  h1 {
    font-size: 28px;
  }

  .infobox,
  .thumb,
  .tright,
  .tleft {
    float: none;
    width: 100%;
    max-width: 100%;
    margin: 14px auto;
  }

  .infobox,
  .infobox tbody,
  .infobox tr,
  .infobox th,
  .infobox td {
    display: block;
  }

  .infobox th,
  .infobox td {
    width: 100%;
  }

  .infobox th {
    padding-bottom: 2px;
  }

  .infobox td {
    overflow-wrap: anywhere;
  }

  p {
    max-width: none;
  }

  .toc {
    display: block;
    width: 100%;
  }

  .wikitable {
    display: block;
    overflow-x: auto;
    white-space: normal;
  }

  .plate-grid {
    grid-template-columns: 1fr;
  }

  .columns {
    columns: 1;
  }
}
