/* tempguru.wiki: encyclopedia theme */
:root {
  --text: #202122; --text-muted: #54595d;
  --link: #1a6fb0; --link-visited: #5a4a9c;
  --border: #a2a9b1; --border-light: #c8ccd1;
  --bg-body: #f6f6f6; --bg-box: #f8f9fa; --bg-content: #ffffff;
  --navy: #0A1628; --cyan: #24BBEA; --accent: #dcf1fb; --accent-row: #eaf6fc;
  --serif: 'Linux Libertine', 'Georgia', 'Times New Roman', serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Inter, Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 12px; }
body { margin: 0; background: var(--bg-body); color: var(--text); font-family: var(--sans); font-size: 15px; line-height: 1.65; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
a:visited { color: var(--link-visited); }
a.external::after { content: ""; display: inline-block; width: 9px; height: 9px; margin-left: 3px;
  background: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath fill='%231a6fb0' d='M6 1h5v5H9.5V3.56L5.28 7.78 4.22 6.72 8.44 2.5H6V1zM2 2h2.5v1.5H3.5v5h5v-1H10V10H2V2z'/%3E%3C/svg%3E") no-repeat center / contain; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 8px; top: 8px; background: #fff; padding: 6px 10px; z-index: 10; }

.site-header { background: var(--bg-content); border-bottom: 1px solid #eaecf0; }
.header-inner, .tabs-inner, .layout, .site-footer-inner { max-width: 1320px; margin: 0 auto; padding: 0 16px; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 12px; padding-bottom: 12px; }
.logo { display: flex; align-items: center; gap: 12px; color: inherit; }
.logo:hover { text-decoration: none; } .logo:visited { color: inherit; }
.logo-mark { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--navy); color: var(--cyan); font-family: var(--serif); font-size: 22px; font-weight: bold; }
.logo-title { display: block; font-family: var(--serif); font-size: 20px; line-height: 1.2; }
.logo-tagline { display: block; font-size: 11px; color: var(--text-muted); }
.search { display: flex; }
.search input { width: 260px; padding: 6px 8px; border: 1px solid var(--border-light); border-right: 0; border-radius: 2px 0 0 2px; font: inherit; font-size: 13px; }
.search input:focus { outline: 0; border-color: var(--link); box-shadow: inset 0 0 0 1px var(--link); }
.search button { padding: 6px 14px; border: 1px solid var(--border-light); border-radius: 0 2px 2px 0; background: var(--bg-box); font: inherit; font-size: 13px; cursor: pointer; }

.tabs { background: var(--bg-body); border-bottom: 1px solid var(--border); }
.tabs-inner { display: flex; justify-content: space-between; }
.tabs ul { display: flex; margin: 0; padding: 0; list-style: none; }
.tabs li a { display: block; padding: 9px 12px 8px; font-size: 13px; border: 1px solid transparent; border-bottom: 0; }
.tabs li.selected a { background: var(--bg-content); border-color: var(--border); color: var(--text); margin-bottom: -1px; padding-bottom: 9px; }

.layout { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 0; }
.sidebar { padding: 18px 14px 18px 0; font-size: 13px; }
.sidebar-title { color: var(--text-muted); font-size: 12px; border-bottom: 1px solid var(--border-light); margin: 0 0 6px; padding-bottom: 3px; }
.sidebar ul { list-style: none; margin: 0 0 18px; padding: 0; }
.sidebar li { margin: 4px 0; line-height: 1.35; }
.sidebar li.active a { color: var(--text); font-weight: bold; }

.page { background: var(--bg-content); border: 1px solid var(--border); border-top: 0; padding: 20px 30px 34px; min-width: 0; }
h1, h2 { font-family: var(--serif); font-weight: normal; color: #000; }
h1 { margin: 0; padding-bottom: 4px; font-size: 32px; line-height: 1.25; border-bottom: 1px solid var(--border-light); }
.site-sub { margin: 4px 0 14px; font-size: 13px; color: var(--text-muted); }
h2 { margin: 28px 0 10px; padding-bottom: 4px; font-size: 24px; border-bottom: 1px solid var(--border-light); clear: none; }
h3 { margin: 20px 0 6px; font-size: 16.5px; }
p { margin: 0 0 12px; }
.hatnote { padding-left: 26px; font-style: italic; color: var(--text-muted); font-size: 14px; }
sup.reference { font-size: 11px; line-height: 0; white-space: nowrap; }

.infobox { float: right; clear: right; width: 330px; margin: 0 0 16px 22px; border: 1px solid var(--border); background: var(--bg-box); font-size: 13px; line-height: 1.5; }
.infobox-title { padding: 7px 8px; background: var(--accent); font-size: 17px; font-weight: bold; text-align: center; }
.infobox-image { padding: 10px 8px 4px; text-align: center; }
.infobox-image svg { width: 100%; height: auto; display: block; }
.infobox-caption { padding: 4px 8px 10px; font-size: 12px; color: var(--text-muted); text-align: center; }
.infobox table { width: 100%; border-collapse: collapse; }
.infobox th, .infobox td { padding: 5px 8px; border-top: 1px solid #eaecf0; text-align: left; vertical-align: top; }
.infobox th { width: 38%; }
.infobox .section-row th { width: auto; background: var(--accent-row); text-align: center; font-size: 13.5px; }
.infobox ul { margin: 0; padding-left: 16px; }

.toc { display: inline-block; min-width: 280px; max-width: 100%; margin: 6px 0 18px; padding: 8px 18px 10px 12px; border: 1px solid var(--border); background: var(--bg-box); font-size: 13.5px; }
.toc-title { font-weight: bold; text-align: center; margin-bottom: 4px; }
.toc ol { margin: 0; padding-left: 20px; list-style: none; counter-reset: toc; }
.toc > ol { padding-left: 0; }
.toc li { margin: 2px 0; counter-increment: toc; }
.toc li::before { content: counters(toc, ".") "\00a0"; }
.toc ol ol { counter-reset: toc; }

.table-wrap { overflow-x: auto; margin: 0 0 16px; }
.wikitable { width: 100%; border-collapse: collapse; background: var(--bg-content); font-size: 14px; }
.wikitable caption { padding-bottom: 6px; font-weight: bold; text-align: left; }
.wikitable th, .wikitable td { padding: 7px 9px; border: 1px solid var(--border-light); text-align: left; vertical-align: top; }
.wikitable th { background: var(--bg-box); }
.quote { margin: 0 0 14px; padding: 4px 0 4px 16px; border-left: 3px solid var(--border-light); }
.note { margin: 0 0 14px; padding: 10px 14px; border: 1px solid var(--border-light); border-left: 4px solid var(--cyan); background: var(--bg-box); font-size: 14px; }
.glance { columns: 2; column-gap: 30px; }
.glance li { break-inside: avoid; margin-bottom: 4px; }
dl.faq dt { font-weight: bold; margin-top: 12px; }
dl.faq dd { margin: 2px 0 0 0; }
.references { font-size: 13.5px; padding-left: 30px; }
.references li { margin-bottom: 6px; }
.references li:target { background: #eaf3ff; }
.see-also, .external-links { columns: 2; }
.catlinks { clear: both; margin-top: 26px; padding: 6px 10px; border: 1px solid var(--border-light); background: var(--bg-box); font-size: 13px; }
.catlinks ul { display: inline; margin: 0; padding: 0; list-style: none; }
.catlinks li { display: inline; padding: 0 6px; border-left: 1px solid var(--border-light); }
.catlinks li:first-child { border-left: 0; }
.results li { margin-bottom: 12px; }
.results .snip { display: block; color: var(--text-muted); font-size: 13.5px; }

.site-footer { font-size: 12.5px; color: var(--text-muted); }
.site-footer-inner { padding-top: 16px; padding-bottom: 30px; padding-left: 206px; }
.footer-links { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 14px; }

@media (max-width: 900px) {
  .layout { display: block; }
  .sidebar { display: none; }
  .site-footer-inner { padding-left: 16px; }
  .page { padding: 16px; border-left: 0; border-right: 0; }
  .infobox { float: none; width: 100%; margin: 0 0 16px; }
  .glance, .see-also, .external-links { columns: 1; }
}
@media (max-width: 600px) {
  .header-inner { flex-direction: column; align-items: stretch; gap: 10px; }
  .search input { width: 100%; flex: 1; }
  .tabs li a { padding: 8px 8px 7px; }
  h1 { font-size: 27px; }
}
