/* Presentation only: retain every page's content, controls and layout model. */
:root {
  color-scheme: light;
  --ink: #24282d;
  --ink-soft: #5b626a;
  --muted: #5b626a;
  --paper: #ffffff;
  --paper-strong: #f6f8f9;
  --panel: #f6f8f9;
  --line: #dce1e5;
  --line-dark: #a6afb7;
  --shadow: none;
  --box-bg: #ffffff;
  --box-tint: #f6f8f9;
  --box-line: #dce1e5;
  --box-line-strong: #a6afb7;
  --site-link: #08747b;
  --site-font: "Segoe UI", "Malgun Gothic", Arial, sans-serif;
}
html body {
  color: #24282d !important;
  background-color: #fff !important;
  font-family: var(--site-font) !important;
  letter-spacing: 0;
}
body :is(h1,h2,h3,h4,h5,h6) {
  font-family: var(--site-font) !important;
  letter-spacing: 0 !important;
  text-shadow: none !important;
  overflow-wrap: anywhere;
}
body h1 { font-size: 36px !important; line-height: 1.45 !important; font-weight: 700 !important; }
body :is(article,.post-body,.translated-document,.doc-content) h2 { font-size: 25px !important; line-height: 1.55 !important; font-weight: 700 !important; }
body :is(article,.post-body,.translated-document,.doc-content) h3 { font-size: 21px !important; line-height: 1.55 !important; font-weight: 700 !important; }
body :is(.hero,.article-hero,.documents-hero,.document-hero,.source-hub-hero,.intro) {
  color: #24282d !important;
  background-color: #fff !important;
  border-color: #dce1e5 !important;
  box-shadow: none !important;
}
body :is(.hero,.article-hero,.documents-hero,.document-hero,.source-hub-hero,.intro) :is(h1,h1 strong,h1 span) { color: #24282d !important; }
body :is(.hero,.article-hero,.documents-hero,.document-hero,.source-hub-hero,.intro) > p,
body :is(.hero-inner,.documents-hero-inner) > p:not(.eyebrow) { color: #5b626a !important; }
body :is(.hero-inner,.documents-hero-inner) { padding-top: 44px !important; padding-bottom: 36px !important; }
body :is(.eyebrow,.kicker,.hero-serial,.article-meta,.document-meta,.lead,.hero-copy) { letter-spacing: 0 !important; }
body :is(.eyebrow,.kicker) { color: #5b626a !important; }
body :is(.topbar,.site-header,.map-header,.guestbook-header,.site-path-band,.site-language-band) {
  color: #24282d !important;
  background: #fff !important;
  border-color: #dce1e5 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}
body :is(.topbar,.site-header,.map-header,.guestbook-header,.site-path-band,.site-language-band) :is(a,button,.topbar-title,.site-breadcrumbs,.site-path-tools) { color: #24282d !important; }
body :is(.topbar label,.topbar-search span) { color: #5b626a !important; }
body :is(.site-language-switch,.language-switch,.locale-switch,.document-tabs) a[aria-current] { border-color: #08747b !important; }
body :is(.site-breadcrumbs,.breadcrumbs,.site-path-tools,.topbar-title) { font-family: var(--site-font) !important; letter-spacing: 0 !important; }
body :is(.subnav,.site-language-switch) { color: #24282d !important; background-color: #fff !important; border-color: #dce1e5 !important; }
body .site-language-switch { width: auto !important; min-width: 0; flex-basis: auto; }
body :is(.toc,.contents,.document-toc,.doc-toc) {
  padding: 8px 12px 8px 0 !important;
  color: #24282d !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}
body :is(.toc,.contents,.document-toc,.doc-toc) :is(strong,summary) {
  margin-bottom: 20px !important;
  padding: 0 !important;
  color: #24282d !important;
  font: 700 16px/1.5 var(--site-font) !important;
  letter-spacing: 0 !important;
  border: 0 !important;
  text-transform: none !important;
}
body :is(.toc,.contents,.document-toc,.doc-toc) a {
  padding-top: 6px !important;
  padding-bottom: 6px !important;
  color: #45494e !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  font-family: var(--site-font) !important;
  font-size: 14px !important;
  line-height: 1.6 !important;
  font-weight: 400;
  letter-spacing: 0 !important;
  text-decoration: none;
  overflow-wrap: anywhere;
}
body :is(.toc,.contents,.document-toc,.doc-toc) :is(a[aria-current],a.active) { color: #24282d !important; font-weight: 700; }
body :is(.toc,.contents,.document-toc,.doc-toc) :is(a:hover,a:focus-visible) { color: #24282d !important; text-decoration: underline; text-underline-offset: 4px; }
body :is(.toc,.contents,.document-toc,.doc-toc) a:focus-visible { outline: 2px solid #24282d; outline-offset: 3px; }
body :is(.page-grid,.document-layout,.doc-layout,.reading-layout) > :is(article,main,section) { min-width: 0; }
body :is(article,.translated-document,.doc-content,.post-body) :is(p,li,dd,dt,td,th) > a { color: #08747b; text-underline-offset: 3px; }
body :is(.article-card,.topic-card,.note-card,.document-entry,.collection-card,.source-hub-panel,.expert-card,.kernel-post-card) {
  color: #24282d !important;
  background-color: #fff !important;
  border-color: #dce1e5 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}
body :is(.article-card,.topic-card,.note-card,.document-entry,.collection-card,.expert-card,.kernel-post-card) h2 { font-size: 22px !important; }
body :is(.article-card,.topic-card,.note-card,.document-entry,.collection-card,.expert-card,.kernel-post-card) h3 { font-size: 19px !important; }
body .document-entry > * { min-width: 0; overflow-wrap: anywhere; }
body :is(.section-light,.section-dark,.section:nth-of-type(even),.profile-section,.hardware-section,.personal-topics-section,.site-footer,.page-foot) {
  color: #24282d !important;
  background-color: #fff !important;
  border-color: #dce1e5 !important;
  box-shadow: none !important;
}
body :is(.section-heading,.home-map-heading) h2 { font-size: 30px !important; line-height: 1.45 !important; }
body :is(.home-map-sidebar,.map-sidebar) { border-color: #dce1e5 !important; background-color: #fff !important; }
body :is(.home-map-folders,.full-sections,.document-meta > div,.analysis-strip) { border-color: #dce1e5 !important; }
body :is(.doc-table,.table-scroll,.translated-document,.doc-content,.post-body,.dujin-article) th {
  color: #24282d !important;
  background-color: #f6f8f9 !important;
  border-color: #dce1e5 !important;
}
body :is(input:not([type="checkbox"]):not([type="radio"]),textarea,select) { color: #24282d; background-color: #fff; border-color: #a6afb7; border-radius: 3px; }
body :is(.button-primary,.primary,.search-row button,.home-map-search-field button) { color: #fff !important; background-color: #08747b !important; border-color: #08747b !important; }
body :is(.button-secondary,.motion-controls button,.animation-buttons button) { color: #08747b; background-color: #fff; border-color: #a6afb7; }
body :is(.home-map-page-link,.page-link,.source-hub-links a,.document-link-list a) { color: #24282d; }
body :is(.home-map-page-link,.page-link,.source-hub-links a,.document-link-list a):hover { color: #08747b; }
/* Code, source line positions, diagrams and simulation state colors stay local. */
html:has(link[data-site-design="source"]) body { font-family: Consolas, "Cascadia Mono", monospace !important; }
html:has(link[data-site-design="lab"]) body > header,
html:has(link[data-site-design="lab"]) :is(.dujin-context,.modebar,.shell > aside) { color: #24282d !important; background-color: #fff !important; border-color: #dce1e5 !important; }
@media (max-width: 600px) {
  body .map-header,
  html:has(link[data-site-design="lab"]) body > header { flex-wrap: wrap; gap: 12px 20px; }
  html:has(link[data-site-design="lab"]) body > header { height: auto; min-height: 67px; padding-top: 14px; padding-bottom: 14px; }
  body .map-header > a,
  html:has(link[data-site-design="lab"]) body > header > button { flex-shrink: 0; white-space: nowrap; }
  body :is(.topbar-search label,.topbar-title) { color: #5b626a !important; }
  body h1 { font-size: 28px !important; }
  body :is(article,.post-body,.translated-document,.doc-content) h2 { font-size: 23px !important; }
  body :is(article,.post-body,.translated-document,.doc-content) h3 { font-size: 20px !important; }
  body :is(.section-heading,.home-map-heading) h2 { font-size: 26px !important; }
  body :is(.hero-inner,.documents-hero-inner) { padding-top: 30px !important; padding-bottom: 28px !important; }
  body :is(.toc,.contents,.document-toc,.doc-toc) { padding: 8px 0 !important; }
}
@media print {
  body h1 { font-size: 24pt !important; }
  body :is(article,.post-body,.translated-document,.doc-content) h2 { font-size: 17pt !important; }
  body :is(article,.post-body,.translated-document,.doc-content) h3 { font-size: 14pt !important; }
}
