body.oxide-page {
  --ia-bg: #f7f6f2;
  --ia-ink: #202624;
  --ia-muted: #424946;
  --ia-accent: #843b30;
  --ia-line: #cccec7;
  --ia-panel: #eaeae3;
}
.oxide-header { background: #262b29; color: #f7f6ef; }
.oxide-header .ia-shell { padding-block: 22px clamp(32px, 4vw, 64px); }
.oxide-topline {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 18px;
  border-bottom: 1px solid #626964;
  color: #e4e6dd;
  font: 14px/1.5 Consolas, monospace;
}
.oxide-topline a:hover { color: #fff; }
.oxide-hero {
  display: grid;
  grid-template-columns: minmax(0, .94fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(32px, 5vw, 90px);
  padding-top: clamp(26px, 3.5vw, 54px);
}
.oxide-intro h1 { margin: 0; text-wrap: balance; }
.oxide-intro p {
  max-width: 39ch;
  margin: 26px 0;
  color: #f0f1e9;
  font-size: clamp(18px, 1.55vw, 24px);
  line-height: 1.5;
}
.oxide-byline, .oxide-cover figcaption { font: 14px/1.5 Consolas, monospace; }
.oxide-byline { color: #d7dcd4; }
.oxide-byline span { display: inline-block; margin-inline: 6px; }
.oxide-cover { margin: 0; }
.oxide-cover img { display: block; width: 100%; }
.oxide-cover figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 14px; margin-top: 10px; color: #e0e4dc; }
.oxide-page .toc-label { font-size: 14px; }
.oxide-page .toc-link { display: block; font-size: 15px; }
.oxide-page .toc-link::before { content: none; }
.oxide-page .toc-link[aria-current="location"] { font-weight: 650; }
.oxide-page .article-main { padding-bottom: clamp(40px, 7vw, 90px); }
.oxide-page .section { margin-bottom: clamp(40px, 5vw, 68px); padding-bottom: clamp(34px, 4vw, 56px); }
.oxide-page .section h2 { text-wrap: balance; }
.oxide-page .section p { max-width: 72ch; line-height: 1.72; }
.oxide-page .editorial-image { background: #eeefe8; }
.oxide-page .editorial-image figcaption, .oxide-page .editorial-image figcaption strong { font-size: 14px; }
.oxide-table-wrap { overflow-x: auto; margin-top: 28px; }
.oxide-table { border-collapse: collapse; width: 100%; font-size: 16px; line-height: 1.5; text-align: left; }
.oxide-table caption { padding: 0 0 12px; font-weight: 600; text-align: left; }
.oxide-table td, .oxide-table th { padding: 14px 16px; border-bottom: 1px solid var(--ia-line); vertical-align: top; }
.oxide-table thead { background: #303a36; color: #fff; }
.oxide-table tbody th { font-weight: 500; width: 42%; }
.oxide-table tbody tr:nth-child(even) { background: #eeefe8; }
.oxide-table td { font-variant-numeric: tabular-nums; }
.oxide-table small { display: block; font-size: 14px; }
.oxide-page .section .oxide-source { margin: 12px 0 24px; font-size: 14px; line-height: 1.55; }
.oxide-steps { padding-left: 1.55em; font-size: 17px; line-height: 1.7; color: var(--ia-muted); }
.oxide-steps li { padding: 0 0 14px 5px; }
.oxide-steps li::marker { color: var(--ia-accent); font-weight: 650; }
.oxide-example { margin: 36px 0; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; border-block: 1px solid var(--ia-line); }
.oxide-example img { width: 100%; display: block; }
.oxide-example figcaption { padding: 20px clamp(16px, 3vw, 34px); font-size: 16px; line-height: 1.6; }
.oxide-example figcaption strong, .oxide-example figcaption a { display: block; }
.oxide-example figcaption strong { margin-bottom: 6px; }
.oxide-example figcaption a { margin-top: 12px; }
.oxide-callout { padding: 20px 24px; border-left: 3px solid var(--ia-accent); background: var(--ia-panel); }
.oxide-callout h3 { margin: 0 0 8px; font-size: 22px; }
.oxide-page .oxide-callout p { margin: 0; }
.oxide-references h2 { margin: 0; font-size: 26px; }
.oxide-references ul { padding-left: 1.2em; line-height: 1.65; }
.oxide-references li + li { margin-top: 8px; }
.oxide-header :focus-visible { outline-color: #f7d3ac; }
@media (max-width: 800px) {
  .oxide-hero { grid-template-columns: 1fr; gap: 24px; }
  .oxide-intro p { max-width: 52ch; margin: 16px 0; }
  .oxide-page .toc { margin-bottom: 30px; }
  .oxide-page .toc-links { grid-template-columns: 1fr; }
  .oxide-page .toc-link { padding-block: 10px; }
}
@media (max-width: 600px) {
  .oxide-topline { font-size: 13px; }
  .oxide-table { font-size: 14px; }
  .oxide-table td, .oxide-table th { padding: 10px 6px; }
  .oxide-table tbody th { width: 36%; }
  .oxide-example { grid-template-columns: 1fr; }
  .oxide-example figcaption { padding-inline: 0; }
}
@media print {
  .oxide-header { background: #fff; color: #202624; }
  .oxide-intro p, .oxide-byline, .oxide-topline, .oxide-cover figcaption { color: #202624; }
  .oxide-hero { display: block; }
  .oxide-cover { max-width: 16cm; margin-top: 18px; }
  .oxide-table-wrap { overflow: visible; }
}
