/* Fulcrum documentation theme. Overrides Docsify 5 core using public variables. */
:root {
  color-scheme: light;
  --fd-heading: #303c48;
  --fd-heading-soft: #526170;
  --fd-muted: #687785;
  --fd-line: #e2e8ef;
  --fd-surface: #f5f8fb;
  --fd-link: #326583;
  --fd-link-hover: #204e6a;
  --color-bg: #fff;
  --color-text: #5b6570;
  --theme-color: var(--fd-link);
  --font-family: 'Segoe UI Variable Text', 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  --font-family-mono: 'Cascadia Code', 'SFMono-Regular', Consolas, 'Liberation Mono', monospace;
  --font-size: 16px;
  --font-weight: 350;
  --line-height: 1.8;
  --modular-scale: 1.2;
  --heading-color: var(--fd-heading);
  --heading-font-weight: 450;
  --heading-line-height: 1.3;
  --strong-color: #414e5b;
  --strong-font-weight: 600;
  --border-color: var(--fd-line);
  --border-radius: 8px;
  --content-max-width: 1080px;
  --content-margin-inline: 52px;
  --scroll-padding-top: 32px;
  --link-color: var(--fd-link);
  --link-color-hover: var(--fd-link-hover);
  --link-underline-color: #b6cad9;
  --link-underline-color-hover: var(--fd-link-hover);
  --link-underline-thickness: 1px;
  --link-underline-thickness-hover: 1px;
  --sidebar-width: 296px;
  --sidebar-bg: #f2f3f4;
  --sidebar-border-color: var(--fd-line);
  --sidebar-color: var(--fd-muted);
  --sidebar-font-size: 13px;
  --sidebar-name-color: var(--fd-heading);
  --sidebar-name-font-size: 18px;
  --sidebar-name-font-weight: 500;
  --sidebar-name-margin: 30px 24px 26px;
  --sidebar-link-color: #657382;
  --sidebar-link-color-active: #285671;
  --sidebar-link-spacing: 0.3em;
  --sidebar-group-title-color: #465666;
  --sidebar-group-title-font-size: 12px;
  --sidebar-group-title-font-weight: 600;
  --sidebar-group-title-spacing: 0.5em;
  --sidebar-group-spacing: 1.4em;
  --sidebar-toggle-bg: #e8eef4;
  --sidebar-toggle-bg-hover: #d8e4ed;
  --sidebar-toggle-color: #647c90;
  --sidebar-toggle-color-hover: #334f65;
  --blockquote-bg: #f2f6fa;
  --blockquote-color: #5a6b7b;
  --blockquote-border-color: #a9c3d5;
  --blockquote-border-width: 0 0 0 3px;
  --blockquote-border-radius: 0 8px 8px 0;
  --blockquote-padding: 18px 24px;
  --code-bg: #eef3f7;
  --code-color: #455e72;
  --codeblock-bg: #f6f8fb;
  --codeblock-color: #4b5d6e;
  --codeblock-comment: #718392;
  --codeblock-function: #4a728b;
  --codeblock-keyword: #426989;
  --codeblock-operator: #647b8e;
  --codeblock-property: #596b80;
  --codeblock-string: #54776f;
  --codeblock-punctuation: #71808d;
  --codeblock-selector: #55766d;
  --codeblock-tag: #4e6986;
  --codeblock-variable: #746580;
  --table-row-alt-bg: #f8fafc;
}

body { -webkit-font-smoothing: antialiased; }
.markdown-section a.glossary-term { color: inherit; font-weight: inherit; text-decoration: underline dotted #7895a8; text-underline-offset: 4px; cursor: help; }
.glossary-popup { position: fixed; z-index: 100; width: min(340px, calc(100vw - 24px)); padding: 18px 20px; border: 1px solid #ccd8e0; border-top: 3px solid #354f60; border-radius: 6px; background: #fff; color: #4e606d; box-shadow: 0 8px 28px #24374624; font-size: 14px; line-height: 1.6; }
.glossary-popup[hidden] { display: none; }
.glossary-popup strong { color: #354f60; font-size: 15px; }
.glossary-popup p { margin: 8px 0; }
.glossary-popup small { color: #6c7e8a; font-size: 11px; }
::selection { background: #dce9f3; color: #2e465b; }
a, button { -webkit-tap-highlight-color: #dce9f3; }
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid #527f9f;
  outline-offset: 4px;
  border-radius: 4px;
}

/* Comfortable prose measure; diagrams and reference tables use the full width. */
.markdown-section { padding-top: 64px; padding-bottom: 96px; }
.page-signature { display: flex; align-items: flex-start; gap: 28px; margin-bottom: 30px; transform: translateY(-64px); color: #354f60; }
.page-signature > svg { width: 48px; height: 48px; flex: 0 0 48px; fill: currentColor; }
.page-signature-track { flex: 1; min-width: 0; padding-top: 23px; }
.page-signature-line { display: block; height: 1px; background: #b8c6ce; position: relative; }
.page-signature-line::before { content: ''; position: absolute; top: -1px; left: 0; width: min(86px, 35%); height: 3px; background: #354f60; }
.page-signature-line::after { content: '+'; position: absolute; right: 0; top: -13px; font: 20px/1 monospace; color: #6c889a; }
.page-signature-label { display: block; margin-top: 14px; font: 10px/1.6 var(--font-family-mono); letter-spacing: 0.18em; color: #718693; }
.page-breadcrumbs { display: flex; flex-wrap: wrap; gap: 6px 10px; margin-bottom: 14px; font-size: 12px; line-height: 1.6; color: #788792; }
.page-breadcrumbs > span + span::before { content: '/'; margin-right: 10px; color: #a6b2ba; }
.page-breadcrumbs .breadcrumb-guide { color: var(--breadcrumb-guide-color); font-weight: 600; }
.markdown-section .callout { max-width: 78ch; box-sizing: border-box; font-style: italic; }
.markdown-section .callout .callout-type { font-style: normal; font-weight: 700; }
.markdown-section .callout { background: var(--fd-surface); color: var(--color-text); border: 1px solid var(--fd-line); border-left: 3px solid #8496a4; box-shadow: none; }
.markdown-section .callout.note { border-left-color: #7896ac; }
.markdown-section .callout.tip { border-left-color: #789b88; }
.markdown-section .callout.important { border-left-color: #9886ab; }
.markdown-section .callout.warning { border-left-color: #ae936d; }
.markdown-section .callout.caution { border-left-color: #ac7d7d; }
.markdown-section .callout :is(p, .callout-type) { color: inherit; }
.markdown-section :is(p, ul, ol, blockquote) { max-width: 78ch; }
.markdown-section > p:has(img), .markdown-section > p:has(a[href$='.svg']) { max-width: none; }
.markdown-section h1 {
  color: #354f60;
  padding-bottom: 20px;
  border-bottom: 1px solid #d9dfe3;
  margin-bottom: 28px;
  font-size: clamp(2rem, 3.2vw, 2.65rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.2;
}
.markdown-section .review-status { color: #b42318; font-weight: 600; }
.markdown-section h2 {
  position: relative;
  margin-top: 52px;
  padding-top: 0;
  padding-bottom: 14px;
  border-top: 0;
  border-bottom: 0;
  color: #465563;
  font-size: 1.55rem;
  letter-spacing: -0.02em;
}
.markdown-section h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: min(100%, 78ch);
  font-size: var(--font-size);
  border-bottom: 1px solid #d9dfe3;
}
.markdown-section h3 { color: var(--fd-heading-soft); font-size: 1.2rem; letter-spacing: -0.01em; }
.markdown-section :is(h4, h5, h6) { color: #657484; font-weight: 500; }
.markdown-section h1 + p { color: #64717f; font-size: 1.08rem; line-height: 1.8; }
.markdown-section p { margin-block: 1.15em; }
.markdown-section li { padding-left: 4px; margin-block: 0.5em; }
.markdown-section li::marker { color: #90a4b5; }
.markdown-section a:not(.anchor) {
  font-weight: 450;
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: color 140ms ease, text-decoration-color 140ms ease;
}
.markdown-section a.anchor { color: inherit; }
.markdown-section a.anchor:hover { color: var(--fd-link); }
.markdown-section img { display: block; height: auto; margin-block: 28px 16px; border-radius: 8px; }
.markdown-section img[src$="/fulcrum-user-connection.svg"] { width: 70%; margin-inline: 0 auto; }
.page-feedback { max-width: 78ch; margin-top: 40px; padding-top: 20px; border-top: 1px solid #e3e9ed; font-size: 14px; }
.page-feedback fieldset { padding: 0; margin: 0; border: 0; }
.page-feedback legend { font-weight: 700; margin-bottom: 10px; }
.feedback-choices { display: flex; gap: 20px; }
.feedback-choices label { display: flex; align-items: center; gap: 6px; cursor: pointer; }
.feedback-details { margin-top: 16px; }
.feedback-details[hidden] { display: none; }
.feedback-details > label { display: block; margin-bottom: 6px; }
.feedback-details textarea { box-sizing: border-box; width: 100%; padding: 10px; font: inherit; color: #354f60; border: 1px solid #a9bac5; border-radius: 6px; resize: vertical; }
.page-feedback .feedback-hint, .page-feedback .feedback-status { font-size: 12px; line-height: 1.5; }
.page-feedback button { padding: 8px 14px; font: inherit; color: white; background: #354f60; border: 0; border-radius: 6px; cursor: pointer; }
.page-feedback :focus-visible { outline: 2px solid #577cae; outline-offset: 3px; }
.page-review { margin: 20px 0 28px; padding: 14px 18px; border: 1px solid #bdcdd9; border-radius: 8px; background: #f4f7fa; font-size: 13px; }
.page-review p { margin: 6px 0 12px; }
.page-review select { padding: 5px; color: #354f60; background: #fff; font: inherit; }
.review-actions { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 12px 0; }
.page-review small { display: block; font-size: 11px; }
.markdown-section .section-review-link { display: inline-block; margin: 0 0 12px; font-size: 11px; font-weight: normal; }
.markdown-section blockquote p { font-weight: 350; }
.markdown-section pre { border: 1px solid var(--fd-line); box-shadow: none; }
.markdown-section :not(pre) > code { border: 0; box-shadow: none; background: var(--code-bg); color: var(--code-color); padding: 0.08em 0.25em; border-radius: 3px; font-size: 0.86em; white-space: normal; overflow-wrap: anywhere; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.markdown-section pre code { font-weight: 400; line-height: 1.7; }
.markdown-section table {
  display: block;
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--fd-line);
  border-radius: 10px;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.9rem;
  line-height: 1.65;
}
.markdown-section table :is(th, td) {
  padding: 15px 18px;
  min-width: 140px;
  border: 0;
  border-bottom: 1px solid var(--fd-line);
  vertical-align: top;
}
.markdown-section table th { background: #eef3f7; color: #475b6d; font-weight: 550; text-align: left; }
.markdown-section table tbody tr:last-child td { border-bottom: 0; }
.markdown-section table td + td, .markdown-section table th + th { border-left: 1px solid #e9eef3; }

/* Navigation uses a filled active row instead of a heavy text treatment. */
.sidebar .app-name { text-align: left; line-height: 1.45; letter-spacing: -0.025em; }
.sidebar .app-name-link { color: var(--fd-heading); }
.sidebar-nav { padding-bottom: 32px; }
.sidebar-nav > ul > li:has(> ul) > a,
.sidebar-nav > ul > li:has(> ul) > p > a {
  text-transform: uppercase;
  font-size: var(--sidebar-group-title-font-size);
  font-weight: var(--sidebar-group-title-font-weight);
  color: var(--sidebar-group-title-color);
}
.sidebar-nav li > a {
  padding: 4px 10px;
  margin-right: 12px;
  border-radius: 6px;
  line-height: 1.55;
  white-space: normal;
  text-decoration: none;
  transition: background-color 140ms ease, color 140ms ease;
}
.sidebar-nav li > a:hover { background: #edf2f7; color: #3f5b70; text-decoration: none; }
.sidebar-nav li.active > a { background: #e6eef5; color: #285671; font-weight: 500; box-shadow: inset 2px 0 #789ab4; }
.sidebar-nav li > p { line-height: 1.6; margin-top: 0; margin-bottom: 0; }
.sidebar-nav ul ul > li { margin-top: 0; margin-bottom: 0; }
.sidebar-nav li > p.group-title { letter-spacing: 0.025em; }
.sidebar-nav > ul > li.group > p.group-title { font-size: 11px; text-transform: uppercase; letter-spacing: 0.075em; }
.sidebar-nav ul ul { border-left: 1px solid #e5ebf1; }
.sidebar-nav .active > ul { border-left-color: #bdd0df; }

/* A separate H2 outline keeps long pages easy to scan. */
.page-outline { display: none; }
@media (min-width: 1280px) {
  body.has-page-outline .content { padding-right: 248px; }
  .page-outline:not([hidden]) {
    display: block;
    position: fixed;
    top: var(--page-outline-top, 64px);
    right: 28px;
    width: 204px;
    max-height: calc(100vh - var(--page-outline-top, 64px) - 32px);
    overflow-y: auto;
    border-left: 1px solid var(--fd-line);
    padding-left: 20px;
    font-size: 13px;
    line-height: 1.6;
  }
  .page-outline-title { margin: 0 0 14px; color: var(--fd-heading); font-weight: 600; }
  .page-outline ul { list-style: none; margin: 0; padding: 0; }
  .page-outline li { margin: 0 0 12px; }
  .page-outline a { display: block; color: var(--fd-muted); text-decoration: none; }
  .page-outline a:hover, .page-outline a[aria-current] { color: var(--fd-link-hover); }
  .page-outline a[aria-current] { font-weight: 600; }
}

@media (max-width: 900px) {
  :root { --content-margin-inline: 30px; --sidebar-width: 272px; }
  .markdown-section { padding-top: 48px; }
}
@media (max-width: 768px) {
  :root { --content-margin-inline: 22px; --font-size: 15px; }
  .markdown-section { padding-top: 52px; padding-bottom: 56px; }
  .markdown-section h1 { font-size: 2rem; }
  .markdown-section h2 { margin-top: 36px; font-size: 1.4rem; }
  .markdown-section table :is(th, td) { padding: 12px 14px; }
  .sidebar.show { box-shadow: 12px 0 40px #243b5314; }
}
/* The team's internal header (<fd-nav> in index.html, from the website's /nav.js).
   It is fixed to the top and, only while shown, sets --fd-nav-h; everything this
   site fixes to the top moves down by it. Public visitors never see it, so for
   them the variable is unset and every value below is the theme's own. */
html { scroll-padding-top: calc(var(--scroll-padding-top) + var(--fd-nav-h, 0px)); }
body { padding-top: var(--fd-nav-h, 0px); }
body.sticky .sidebar,
body.sticky .sidebar-toggle,
body > .progress,
#skip-to-content { top: var(--fd-nav-h, 0px); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
.guide-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin: 32px 0; }
.markdown-section a.guide-tile { display: flex; flex-direction: column; gap: 14px; padding: 26px; border: 1px solid #d5dfe4; position: relative; box-shadow: inset 0 -2px transparent; min-height: 244px; border-radius: 6px; background: #f6f8f9; color: #354f60; text-decoration: none; }
.markdown-section a.guide-tile:hover, .markdown-section a.guide-tile:focus-visible { background: #eaf0f3; border-color: #456577; }
.guide-tile strong { font-size: 1.2rem; letter-spacing: .04em; }
.guide-tile-number { font-size: .7rem; letter-spacing: .12em; color: #637985; }
.guide-tile-action { margin-top: auto; padding-top: 8px; font-weight: 600; }
@media (max-width: 640px) { .guide-tiles { grid-template-columns: 1fr; } }
@media print {
  .sidebar, .sidebar-toggle, .app-nav, .page-outline { display: none !important; }
  fd-nav { display: none !important; }
  body { padding-top: 0; }
  body.has-page-outline .content { padding-right: 0; }
  main > .content { position: static !important; }
  .markdown-section { max-width: none; padding: 0; }
  .markdown-section table { display: table; overflow: visible; }
}

.guide-tile-icon { position: absolute; top: 64px; left: 26px; width: 45px; height: 45px; padding: 10px; box-sizing: content-box; border: 1px solid #354f601a; border-radius: 13px; background: #dce9f1; color: #354f60; }
.guide-tile:nth-child(2) .guide-tile-icon { background: #e5e0f2; color: #60517d; }
.guide-tile:nth-child(3) .guide-tile-icon { background: #dcebe2; color: #446957; }
.guide-tile:nth-child(4) .guide-tile-icon { background: #f4e8cf; color: #80652d; }
.guide-tile:nth-child(5) .guide-tile-icon { background: #f1ded5; color: #8b5b46; }
.guide-tile:nth-child(6) .guide-tile-icon { background: #d9ebeb; color: #3e7071; }
.guide-tile > strong, .guide-tile > strong + span { margin-left: 84px; }
.guide-tile-action { visibility: hidden; }
.guide-tile-number { padding-right: 0; }
.guide-tile strong { min-height: 29px; }
.markdown-section a.guide-tile { border-radius: 18px; }
.guide-tile > strong + span { margin-top: -7px; }
.guide-tile:nth-child(1) .guide-tile-icon { background: #a9cff7; color: #174f9a; }
.guide-tile:nth-child(2) .guide-tile-icon { background: #c4b4ed; color: #55329a; }
.guide-tile:nth-child(3) .guide-tile-icon { background: #a7d9b2; color: #216b37; }
.guide-tile:nth-child(4) .guide-tile-icon { background: #f6d666; color: #735000; }
.guide-tile:nth-child(5) .guide-tile-icon { background: #f3ad87; color: #9a3b14; }
.guide-tile:nth-child(6) .guide-tile-icon { background: #89d2dc; color: #125e78; }
.guide-tiles { max-width: 810px; gap: 30px; }
.markdown-section a.guide-tile { min-height: 205px; padding: 20px; gap: 10px; }
.guide-tile-icon { top: 56px; left: 20px; }
.guide-tile > strong, .guide-tile > strong + span { margin-left: 82px; }
.guide-tile > strong + span { margin-top: -5px; font-size: .9rem; line-height: 1.6; }
.guide-tile strong { font-size: 1rem; line-height: 1.35; min-height: 27px; }
.guide-tile-number { font-size: .6rem; letter-spacing: .08em; }
.guide-tile:nth-child(1) .guide-tile-icon { background: #1769e0; color: #fff; }
.guide-tile:nth-child(2) .guide-tile-icon { background: #e32832; color: #fff; }
.guide-tile:nth-child(3) .guide-tile-icon { background: #079447; color: #fff; }
.guide-tile:nth-child(4) .guide-tile-icon { background: #ffcf00; color: #403300; }
.guide-tile:nth-child(5) .guide-tile-icon { background: #f16c08; color: #fff; }
.guide-tile:nth-child(6) .guide-tile-icon { background: #6929ca; color: #fff; }
.guide-tile:nth-child(1) .guide-tile-icon { background: #57778f; color: #fff; }
.guide-tile:nth-child(2) .guide-tile-icon { background: #91616a; color: #fff; }
.guide-tile:nth-child(3) .guide-tile-icon { background: #588166; color: #fff; }
.guide-tile:nth-child(4) .guide-tile-icon { background: #998747; color: #fff; }
.guide-tile:nth-child(5) .guide-tile-icon { background: #a67450; color: #fff; }
.guide-tile:nth-child(6) .guide-tile-icon { background: #7c6994; color: #fff; }
.markdown-section a.guide-tile:nth-child(1) { background: #fafcfc; }
.markdown-section a.guide-tile:nth-child(2) { background: #f8fafb; }
.markdown-section a.guide-tile:nth-child(3) { background: #f8fafa; }
.markdown-section a.guide-tile:nth-child(4) { background: #fafcfc; }
.markdown-section a.guide-tile:nth-child(5) { background: #f9fafc; }
.markdown-section a.guide-tile:nth-child(6) { background: #f8fafc; }
.markdown-section a.guide-tile:hover, .markdown-section a.guide-tile:focus-visible { background: #fcfdfe; }
.markdown-section:has(.guide-tiles) { padding-top: 24px; padding-bottom: 24px; }
.markdown-section:has(.guide-tiles) > .page-signature,
.markdown-section:has(.guide-tiles) > .page-breadcrumbs { display: none; }
.markdown-section:has(.guide-tiles) > h1 { margin-top: 0; }
.markdown-section:has(.guide-tiles) > h1 { display: flex; align-items: center; gap: 18px; }
.markdown-section:has(.guide-tiles) > h1::before {
  content: '';
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 168 168'%3E%3Cpath d='M137.758 30.24H30.239v107.52L0 168V0h168l-30.242 30.24Z'/%3E%3Cpath d='M117.6 47.04v70.56H47.04L117.6 47.04Z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.guide-tiles { max-width: none; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin: 24px 0; }
.markdown-section a.guide-tile { min-height: 176px; padding: 16px; gap: 8px; }
.guide-tile-icon { top: 48px; left: 16px; width: 45px; height: 45px; padding: 5px; border-radius: 11px; }
.guide-tile > strong, .guide-tile > strong + span { margin-left: 68px; }
.guide-tile strong { font-size: .9rem; min-height: 0; }
.guide-tile > strong + span { margin-top: -4px; font-size: .82rem; line-height: 1.5; }
.guide-tile-number { font-size: .55rem; letter-spacing: .04em; }
.guide-tile-action { display: none; }
@media (max-width: 1100px) { .guide-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .guide-tiles { grid-template-columns: 1fr; } }

/* Named palettes: Classic preserves the approved muted colors; UI samples the design-system hexagons. */
:root {
  --palette-classic-1: #57778f;
  --palette-ui-1: #80a5e3;
  --palette-classic-2: #91616a;
  --palette-ui-2: #76bd97;
  --palette-classic-3: #588166;
  --palette-ui-3: #58bed5;
  --palette-classic-4: #998747;
  --palette-ui-4: #ca94d6;
  --palette-classic-5: #a67450;
  --palette-ui-5: #e7a875;
  --palette-classic-6: #7c6994;
  --palette-ui-6: #db8a96;
}
.guide-tiles {
  --guide-icon-1: var(--palette-ui-1);
  --guide-icon-2: var(--palette-ui-2);
  --guide-icon-3: var(--palette-ui-3);
  --guide-icon-4: var(--palette-ui-4);
  --guide-icon-5: var(--palette-ui-5);
  --guide-icon-6: var(--palette-ui-6);
}
.guide-tiles[data-palette="classic"] {
  --guide-icon-1: var(--palette-classic-1);
  --guide-icon-2: var(--palette-classic-2);
  --guide-icon-3: var(--palette-classic-3);
  --guide-icon-4: var(--palette-classic-4);
  --guide-icon-5: var(--palette-classic-5);
  --guide-icon-6: var(--palette-classic-6);
}
.guide-tile:nth-child(1) .guide-tile-icon { background: var(--guide-icon-1); color: #fff; }
.guide-tile:nth-child(2) .guide-tile-icon { background: var(--guide-icon-2); color: #fff; }
.guide-tile:nth-child(3) .guide-tile-icon { background: var(--guide-icon-3); color: #fff; }
.guide-tile:nth-child(4) .guide-tile-icon { background: var(--guide-icon-4); color: #fff; }
.guide-tile:nth-child(5) .guide-tile-icon { background: var(--guide-icon-5); color: #fff; }
.guide-tile:nth-child(6) .guide-tile-icon { background: var(--guide-icon-6); color: #fff; }

.markdown-section a.guide-tile { color: #354f60; }
.markdown-section a.guide-tile > strong { color: inherit; }
.guide-tile-number { color: #637985; }
.markdown-section a.guide-tile:hover, .markdown-section a.guide-tile:focus-visible { color: #354f60; }
.guide-tile:hover .guide-tile-number, .guide-tile:focus-visible .guide-tile-number { color: #637985; }

.markdown-section .page-copyright { margin-top: 48px; padding-top: 16px; border-top: 1px solid #e3e9ed; color: #657382; font-size: 11px; line-height: 1.5; }

.markdown-section a.guide-tile-disabled { opacity: 0.4; pointer-events: none; cursor: default; }

/* Reader appearance preference. Diagram artwork keeps its original colors. */
.nav-tools { display: flex; gap: 4px; padding: 8px 12px 2px; }
.nav-tools button { display: grid; place-items: center; width: 30px; height: 30px; padding: 5px; border: 1px solid transparent; border-radius: 5px; background: transparent; color: var(--color-text); cursor: pointer; }
.nav-tools svg { width: 18px; height: 18px; }
.nav-tools button:hover, .nav-tools button[aria-pressed="true"] { background: var(--fd-surface); border-color: var(--fd-line); }
:root:not([data-reviewer-tools="on"]) :is(.page-review, .section-review-link) { display: none; }
:root[data-color-mode="dark"] {
  color-scheme: dark;
  --color-bg: #141c24; --color-text: #c1ccd5;
  --fd-heading: #d5e2ec; --fd-heading-soft: #b9cbd9; --fd-muted: #a0b1bf;
  --fd-line: #354552; --fd-surface: #202c37; --fd-link: #8ec6ed; --fd-link-hover: #c2e2f8;
  --strong-color: #e0e8ee; --sidebar-bg: #1b252f;
  --sidebar-link-color: #afbfcc; --sidebar-link-color-active: #c2e2f8; --sidebar-group-title-color: #c5d5e2;
  --sidebar-toggle-bg: #253441; --sidebar-toggle-bg-hover: #354b5c; --sidebar-toggle-color: #b9cbd9;
  --blockquote-bg: #202e3a; --blockquote-color: #c1d0dd; --blockquote-border-color: #64849c;
  --code-bg: #263642; --code-color: #c0d7e8; --codeblock-bg: #1b2731; --codeblock-color: #c0d7e8;
  --table-row-alt-bg: #1c2832; --link-underline-color: #64849c;
}
[data-color-mode="dark"] .markdown-section h1,
[data-color-mode="dark"] .markdown-section h2,
[data-color-mode="dark"] .page-signature { color: var(--fd-heading); }
[data-color-mode="dark"] .markdown-section :is(h4,h5,h6),
[data-color-mode="dark"] .page-breadcrumbs,
[data-color-mode="dark"] .page-signature-label,
[data-color-mode="dark"] .markdown-section h1 + p,
[data-color-mode="dark"] .markdown-section .page-copyright { color: var(--fd-muted); }
[data-color-mode="dark"] .markdown-section .review-status { color: #ff9c91; }
[data-color-mode="dark"] .markdown-section h1,
[data-color-mode="dark"] .markdown-section h2::after,
[data-color-mode="dark"] .page-feedback,
[data-color-mode="dark"] .markdown-section .page-copyright,
[data-color-mode="dark"] .sidebar-nav ul ul { border-color: var(--fd-line); }
[data-color-mode="dark"] .page-signature-line { background: var(--fd-line); }
[data-color-mode="dark"] .page-signature-line::before { background: var(--fd-heading); }
[data-color-mode="dark"] .sidebar-nav li > a:hover,
[data-color-mode="dark"] .sidebar-nav li.active > a { background: #2c3e4c; color: #c2e2f8; }
[data-color-mode="dark"] .markdown-section a.guide-tile { background: #202d38; color: #d5e2ec; border-color: #405260; }
[data-color-mode="dark"] .markdown-section a.guide-tile:nth-child(even) { background: #24323e; }
[data-color-mode="dark"] .markdown-section a.guide-tile:hover,
[data-color-mode="dark"] .markdown-section a.guide-tile:focus-visible { background: #304454; color: #f1f7fb; }
[data-color-mode="dark"] .guide-tile-number { color: #adbfcd; }
[data-color-mode="dark"] .glossary-popup,
[data-color-mode="dark"] .page-review { background: #202e3a; color: var(--color-text); border-color: #59748a; }
[data-color-mode="dark"] .glossary-popup strong { color: var(--fd-heading); }
[data-color-mode="dark"] .glossary-popup small { color: var(--fd-muted); }
[data-color-mode="dark"] .feedback-details textarea,
[data-color-mode="dark"] .page-review select,
[data-color-mode="dark"] .search input { background: #1b2731; color: var(--color-text); border-color: #59748a; }
[data-color-mode="dark"] .page-feedback button,
[data-color-mode="dark"] .nav-tools button[aria-pressed="true"] { background: #41657f; color: #fff; }
[data-color-mode="dark"] .markdown-section table th { background: #2a3b49; color: #d5e2ec; }
[data-color-mode="dark"] .markdown-section table :is(th,td) { border-color: var(--fd-line); }
[data-color-mode="dark"] ::selection { background: #41657f; color: #fff; }
@media print { .nav-tools, .page-review, .section-review-link { display: none; } }
.medium-zoom-overlay { z-index: 200; }
.medium-zoom-image--opened { z-index: 201; }

/* Operating-system instructions: only the selected panel is visible on screen. */
.os-tabs { margin: 24px 0; border: 0; border-radius: 0; overflow: visible; }
.os-tab-list { display: flex; flex-wrap: wrap; gap: 4px; padding: 0; border-bottom: 1px solid var(--fd-line); background: transparent; }
.markdown-section .os-tab-list button { appearance: none; background: transparent; border: 1px solid transparent; border-radius: 3px 3px 0 0; box-shadow: none; padding: 9px 16px; margin: 0 0 -1px; color: var(--fd-muted); font: inherit; font-weight: 400; cursor: pointer; }
.markdown-section .os-tab-list button:hover { color: var(--fd-heading); background: transparent; box-shadow: none; }
.markdown-section .os-tab-list button[aria-selected="true"] { color: var(--fd-heading); background: var(--color-bg, #fff); border-color: var(--fd-line); border-bottom-color: var(--color-bg, #fff); font-weight: 600; }
.os-tab-list button:focus-visible, .os-tab-panel:focus-visible { outline: 2px solid #80a5e3; outline-offset: -3px; }
.os-tab-panel { padding: 8px 16px 16px; border: 1px solid var(--fd-line); border-top: 0; border-radius: 0 0 3px 3px; }
.os-tab-panel[hidden] { display: none; }
.os-tab-panel > h3:first-child { display: none; }
.os-tab-panel pre { max-width: 100%; }
.markdown-section pre { position: relative; }
.markdown-section pre > code { padding-right: 44px; }
.markdown-section pre[data-lang]::after { right: 48px; }
.markdown-section pre .copy-code { position: absolute; top: 9px; right: 9px; display: grid; place-items: center; width: 30px; height: 30px; padding: 5px; border: 1px solid transparent; border-radius: 4px; background: transparent; color: var(--fd-muted); box-shadow: none; cursor: pointer; font: inherit; line-height: 1; }
.markdown-section pre .copy-code:hover { color: var(--fd-heading); border-color: var(--fd-line); background: var(--color-bg); }
.markdown-section pre .copy-code:focus-visible { outline: 2px solid #80a5e3; outline-offset: 1px; }
.copy-code-status { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media print { .copy-code, .copy-code-status { display: none !important; } }
@media print {
  .os-tabs { border: 0; overflow: visible; }
  .os-tab-list { display: none; }
  .os-tab-panel, .os-tab-panel[hidden] { display: block !important; padding: 0; border: 0; }
  .os-tab-panel > h3:first-child { display: block; }
}
