
:root {
  --blue: #2980b9;
  --blue-dark: #2472a4;
  --side: #343131;
  --side-2: #2f2c2c;
  --side-text: #f2f2f2;
  --side-muted: #b8b8b8;
  --active-bg: #e4e4e4;
  --active-text: #222;
  --body: #fcfcfc;
  --page: #fff;
  --text: #222;
  --muted: #555;
  --line: #ddd;
  --link: #2079c7;
  --code-bg: #f7f7f7;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  --sans: "Lato", "Segoe UI", system-ui, -apple-system, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #e6e6e6;
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.58;
}
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
.layout {
  display: grid;
  grid-template-columns: 302px minmax(0, 800px) minmax(0, 1fr);
  min-height: 100vh;
}
.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: auto;
  background: var(--side);
  color: var(--side-text);
}
.project {
  background: var(--blue);
  padding: 18px 16px 14px;
}
.project a {
  color: #fff;
  display: block;
  text-align: center;
  font-size: 16px;
  font-weight: 700;
}
.project small {
  display: block;
  margin-top: 4px;
  text-align: center;
  color: rgba(255,255,255,.78);
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.search {
  padding: 8px 14px 14px;
  background: var(--blue);
}
.search input {
  width: 100%;
  height: 30px;
  border: 0;
  border-radius: 16px;
  padding: 0 13px;
  outline: 0;
}
.nav-section {
  padding: 18px 0 0;
}
.nav-title {
  color: #55b7f2;
  font-size: 13px;
  font-weight: 700;
  padding: 0 24px 9px;
  text-transform: uppercase;
}
.nav a {
  display: block;
  color: var(--side-text);
  padding: 6px 24px;
  font-size: 15px;
}
.nav a:hover { background: #3d3939; text-decoration: none; }
.nav a.active {
  background: var(--active-bg);
  color: var(--active-text);
}
.nav .child {
  display: block;
  padding-left: 37px;
  background: #dedede;
  color: #333;
}
.nav .child:hover { background: #d3d3d3; }
.nav .topic-link { font-weight: 600; }
.nav .skill-link {
  padding-left: 37px;
  font-size: 14px;
  color: #e8e8e8;
}
.nav .skill-link.active {
  background: var(--active-bg);
  color: var(--active-text);
}
.content-wrap {
  background: var(--page);
  min-height: 100vh;
  padding: 30px 52px 80px;
}
.page-tools {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 22px;
  margin-bottom: 26px;
  border-bottom: 1px solid var(--line);
}
.breadcrumbs {
  color: #333;
}
.breadcrumbs a { color: var(--link); }
.source-link { white-space: nowrap; }
h1, h2, h3 {
  font-family: var(--serif);
  line-height: 1.22;
  color: #333;
}
h1 { font-size: 30px; margin: 0 0 22px; }
h2 { font-size: 26px; margin: 28px 0 12px; }
h3 { font-size: 21px; margin: 22px 0 10px; }
.workflow-step {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.35;
  margin: 22px 0 10px;
  font-weight: 700;
}
p { margin: 0 0 16px; }
ul, ol { margin-top: 8px; margin-bottom: 16px; }
li + li { margin-top: 4px; }
pre {
  background: var(--code-bg);
  border: 1px solid var(--line);
  padding: 13px 14px;
  overflow: auto;
  margin: 16px 0 24px;
  font: 13px/1.5 var(--mono);
}
code { font-family: var(--mono); font-size: 90%; }
table {
  border-collapse: collapse;
  width: 100%;
  margin: 16px 0 24px;
}
th, td {
  border: 1px solid var(--line);
  padding: 8px 10px;
  text-align: left;
  vertical-align: top;
}
th { background: #f0f0f0; }
.lead {
  font-size: 17px;
  color: #333;
}
.admonition {
  border-left: 4px solid var(--blue);
  background: #f5f9fc;
  padding: 12px 16px;
  margin: 18px 0;
}
.admonition p:first-child {
  margin-top: 0;
}
.admonition p:last-child {
  margin-bottom: 0;
}
.admonition.warning {
  border-color: #c17c3a;
  background: #fff8ef;
}
.admonition.success {
  border-color: #3b8f5b;
  background: #f4fbf6;
}
.verification-block {
  margin: 14px 0 20px;
}
.admonition-title {
  margin: 0 0 8px;
  font-weight: 700;
}
.compact-list {
  margin: 8px 0 0 18px;
  padding-left: 16px;
}
.compact-list li {
  margin: 6px 0;
}
.list-block {
  margin: 16px 0 20px;
}
.list-title {
  margin: 0 0 6px;
  font-weight: 700;
}
.question-line {
  margin: 10px 0;
  padding-left: 16px;
  border-left: 3px solid #d8d8d8;
  font-weight: 600;
  color: #333;
}
.question-line strong {
  font-weight: 700;
}
.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.card {
  border: 1px solid var(--line);
  padding: 14px;
  background: #fff;
}
.card b {
  display: block;
  margin-bottom: 6px;
  color: #333;
}
.fig-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.fig {
  border: 1px solid var(--line);
  background: #fff;
  margin: 0;
}
.fig img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  background: #fff;
}
.fig figcaption {
  padding: 8px 10px;
  color: var(--muted);
  font-size: 14px;
}
.cover {
  border: 1px solid var(--line);
  background: #fff;
  margin: 18px 0 26px;
}
.cover img {
  display: block;
  width: 100%;
  max-height: 520px;
  object-fit: contain;
}
.right-rail {
  padding: 30px 28px;
  color: #666;
}
.right-rail .box {
  position: sticky;
  top: 24px;
  max-width: 240px;
  border-left: 3px solid #d0d0d0;
  padding-left: 14px;
  font-size: 14px;
}
.right-rail a {
  display: block;
  padding: 4px 0;
}
.footer {
  margin-top: 52px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: #777;
  font-size: 13px;
}
.hidden { display: none !important; }
@media (max-width: 1020px) {
  .layout { grid-template-columns: 260px minmax(0, 1fr); }
  .right-rail { display: none; }
  .content-wrap { padding: 28px 36px 70px; }
}
@media (max-width: 760px) {
  .layout { display: block; }
  .sidebar { position: static; height: auto; max-height: 55vh; }
  .content-wrap { padding: 24px 20px 60px; }
  .page-tools { display: block; }
  .source-link { margin-top: 8px; display: block; }
  .cards, .fig-grid { grid-template-columns: 1fr; }
}
