@charset "UTF-8";
:root {
  --text: #222;
  --muted: #777;
  --link: #245a88;
  --line: #e5e5e5;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font: 15px/1.85 Arial, "Microsoft YaHei", sans-serif;
}
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, summary:focus-visible {
  outline: 2px solid var(--link);
  outline-offset: 4px;
}
h1, h2, h3 { line-height: 1.5; font-weight: 600; }
h1 { font-size: 28px; margin: 0 0 24px; }
h2 { font-size: 20px; margin: 32px 0 14px; }
h3 { font-size: 17px; margin: 24px 0 12px; }
p { margin: 0 0 16px; }
ul, ol { padding-left: 24px; }
li { margin: 5px 0; }
.skip-link { position: fixed; top: -80px; left: 20px; background: #fff; padding: 8px 16px; }
.skip-link:focus { top: 8px; z-index: 10; }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner {
  max-width: 1040px;
  min-height: 74px;
  margin: auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.site-brand { color: var(--text); font-size: 19px; font-weight: 600; white-space: nowrap; }
.site-navigation { display: flex; align-items: center; gap: 28px; }
.site-navigation a { color: #555; white-space: nowrap; font-size: 14px; }
.site-navigation a.active { color: var(--link); text-decoration: underline; text-underline-offset: 6px; }
.site-main { max-width: 1040px; margin: auto; padding: 38px 32px 64px; min-height: calc(100vh - 155px); }
.main-content { min-width: 0; }
.page-home .main-content, .page-standard .main-content { max-width: 800px; }
.page-home .document-body > section > section { margin-top: 30px; }
.page-home .document-body > section > section > h2 { border-bottom: 1px solid var(--line); padding-bottom: 8px; }
.document-body .headerlink { color: var(--muted); font-size: .7em; margin-left: 8px; opacity: 0; }
.document-body :is(h1,h2,h3):hover .headerlink, .document-body .headerlink:focus { opacity: 1; }
.document-body h2 a.reference.internal { color: inherit; }
.document-body img { max-width: 100%; height: auto; }
.document-body pre { overflow-x: auto; padding: 16px; background: #f6f6f6; font-size: 13px; }
.document-body table { border-collapse: collapse; max-width: 100%; }
.document-body th, .document-body td { border: 1px solid var(--line); padding: 8px 12px; text-align: left; }
.breadcrumbs { display: flex; align-items: baseline; flex-wrap: wrap; gap: 9px; color: var(--muted); font-size: 12px; margin-bottom: 25px; }
.breadcrumbs a { color: var(--muted); }
.course-layout { display: grid; grid-template-columns: 235px minmax(0, 1fr); gap: 35px; }
.course-sidebar { border-right: 1px solid var(--line); padding-right: 20px; align-self: start; }
.back-to-handbooks { display: block; font-size: 14px; margin-bottom: 20px; }
.course-menu summary { cursor: pointer; font-size: 16px; font-weight: 600; display: flex; justify-content: space-between; list-style: none; margin-bottom: 12px; }
.course-menu summary::-webkit-details-marker { display: none; }
.course-nav { font-size: 14px; line-height: 1.75; }
.course-nav ul { list-style: none; padding: 0; margin: 5px 0; }
.course-nav li { margin: 2px 0; }
.course-nav li ul { padding-left: 13px; }
.course-nav p { margin: 0; }
.course-nav a { display: block; padding: 6px 0; color: #555; }
.course-nav a.current { color: var(--link); font-weight: 600; }
.chapter-placeholder { border-top: 1px solid var(--line); padding-top: 20px; margin-top: 30px; color: var(--muted); font-size: 14px; }
.chapter-placeholder h2 { font-size: 17px; color: #555; margin-top: 0; }
.chapter-pagination { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); padding-top: 22px; margin-top: 36px; }
.chapter-pagination a { max-width: 48%; font-size: 12px; }
.chapter-pagination span { display: block; color: var(--muted); margin-bottom: 5px; }
.chapter-pagination strong { font-weight: 400; }
.next-chapter { text-align: right; }
.site-footer { max-width: 976px; margin: 0 auto; padding: 20px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.site-footer { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.site-footer a { color: inherit; }
.document-body input[type=text] { font: inherit; border: 1px solid #bbb; padding: 6px; max-width: 100%; }
.document-body input[type=submit] { font: inherit; padding: 6px 14px; cursor: pointer; }
.word-paragraph { line-height: 1.95; overflow-wrap: anywhere; }
.word-list { padding-left: 1.6em; text-indent: -1.6em; }
.word-list-marker { padding-right: .3em; }
.word-figure, .word-example { margin: 24px 0; }
.word-figure img { display: block; max-width: 100%; height: auto; margin: 12px auto; }
.word-example pre { white-space: pre; tab-size: 4; font: 13px/1.6 Consolas, "Courier New", monospace; margin: 0; }
.copyable-example { position: relative; margin-top: 12px; }
.copyable-example pre { padding-top: 36px; }
.copy-code { position: absolute; right: 10px; top: 7px; border: 1px solid #ccc; background: #fff; color: #555; padding: 2px 9px; font-size: 11px; cursor: pointer; }
.copy-code:focus-visible { outline: 2px solid var(--link); }
.table-scroll, .equation-scroll { overflow-x: auto; margin: 20px 0; padding: 5px 0; }
.word-table { font-size: 13px; min-width: 400px; }
.word-table p { margin: 4px 0; }
math { font-family: "Cambria Math", "STIX Two Math", math; font-size: 1.06em; }
math[display="block"] { margin: 12px 0; }
.course-nav { overflow-wrap: anywhere; }
@media (max-width: 700px) {
  .header-inner { padding: 18px 22px; flex-direction: column; align-items: flex-start; gap: 14px; }
  .site-navigation { flex-wrap: wrap; gap: 12px 23px; }
  .site-navigation a { font-size: 13px; }
  .site-main { padding: 28px 22px 45px; }
  h1 { font-size: 25px; }
  h2 { font-size: 19px; }
  .site-footer { margin: 0 22px; }
  .course-layout { grid-template-columns: 1fr; gap: 25px; }
  .course-sidebar { border-right: 0; border-bottom: 1px solid var(--line); padding: 0 0 12px; }
  .back-to-handbooks { margin-bottom: 12px; }
  .course-nav { max-height: 45vh; overflow-y: auto; }
}
.screenshot-table { width: 100%; border-collapse: collapse; font-size: .94rem; }
.screenshot-table caption { text-align: left; padding: .7rem 0; font-weight: 600; }
.screenshot-table th, .screenshot-table td { border: 1px solid #dce1e6; padding: .65rem .8rem; text-align: left; vertical-align: top; }
.screenshot-table thead { background: #f5f6f7; }
.transcribed-prose { line-height: 1.8; }
.site-visits { margin: 30px 0 0; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.header-search, .search-fields { display: flex; gap: 6px; }
.header-search input { width: 156px; min-width: 0; }
.header-search input, .search-fields input { font: inherit; border: 1px solid #ccc; border-radius: 3px; padding: 5px 9px; background: #fff; }
.header-search input, .header-search button { font-size: 13px; }
.header-search button, .search-page-form button, #site-search-more { font: inherit; white-space: nowrap; cursor: pointer; border: 1px solid #ccc; border-radius: 3px; color: #444; background: #fafafa; padding: 5px 12px; }
.search-page-form label { display: block; margin-bottom: 8px; }
.search-fields input { flex: 1; min-width: 0; }
.search-help, #site-search-status { color: #666; font-size: 14px; margin-top: 12px; }
.site-search-results { list-style: none; padding: 0; }
.site-search-results li { margin: 0; padding: 18px 0; border-bottom: 1px solid var(--line); }
.site-search-results h2 { font-size: 19px; margin: 0 0 5px; }
.site-search-results p { margin: 0; overflow-wrap: anywhere; }
.site-search-results .search-result-category { color: var(--muted); font-size: 12px; margin-bottom: 6px; }
.site-search-results mark { background: #fff1bd; color: inherit; }
input:focus-visible, button:focus-visible { outline: 2px solid var(--link); outline-offset: 2px; }
@media (max-width: 700px) {
  .header-search { flex-basis: 100%; }
  .header-search input { width: auto; flex: 1; }
  .site-navigation { width: 100%; }
}
