/* SPDX-License-Identifier: Apache-2.0 · Copyright 2026 Neer Patel */
/* FusionSpace theme for mdBook. Generated by tools/build/kit_product.py.
   book.toml:
     [output.html]
     additional-css = ["theme/fusionspace-mdbook.css", "theme/fonts.css"]
     default-theme = "light"
     preferred-dark-theme = "navy"
   Copy this file, product/web/fonts.css and product/web/fonts/ into the book's theme/ folder. */
.light, .rust {
  --bg: #F3F4F7; --fg: #0B0F1C; --sidebar-bg: #FFFFFF; --sidebar-fg: #0B0F1C;
  --sidebar-non-existant: #98A1B8; --sidebar-active: #3350D6; --sidebar-spacer: #D6DAE4;
  --scrollbar: #566079; --icons: #566079; --icons-hover: #0B0F1C; --links: #3350D6;
  --inline-code-color: #0B0F1C; --theme-popup-bg: #FFFFFF; --theme-popup-border: #566079;
  --theme-hover: #D6DAE4; --quote-bg: #FFFFFF; --quote-border: #566079;
  --table-border-color: #D6DAE4; --table-header-bg: #FFFFFF; --table-alternate-bg: #F3F4F7;
  --searchbar-border-color: #566079; --searchbar-bg: #FFFFFF; --searchbar-fg: #0B0F1C;
  --searchbar-shadow-color: transparent; --searchresults-header-fg: #566079; --searchresults-border-color: #D6DAE4;
  --searchresults-li-bg: #FFFFFF; --search-mark-bg: #F5AF20;
  --code-bg: #FFFFFF;
}
.navy, .coal, .ayu {
  --bg: #0B0F1C; --fg: #F3F4F7; --sidebar-bg: #141A2B; --sidebar-fg: #F3F4F7;
  --sidebar-non-existant: #566079; --sidebar-active: #768DF5; --sidebar-spacer: #2A3248;
  --scrollbar: #6D7790; --icons: #98A1B8; --icons-hover: #F3F4F7; --links: #768DF5;
  --inline-code-color: #F3F4F7; --theme-popup-bg: #141A2B; --theme-popup-border: #6D7790;
  --theme-hover: #2A3248; --quote-bg: #141A2B; --quote-border: #6D7790;
  --table-border-color: #2A3248; --table-header-bg: #141A2B; --table-alternate-bg: #0B0F1C;
  --searchbar-border-color: #6D7790; --searchbar-bg: #141A2B; --searchbar-fg: #F3F4F7;
  --searchbar-shadow-color: transparent; --searchresults-header-fg: #98A1B8; --searchresults-border-color: #2A3248;
  --searchresults-li-bg: #141A2B; --search-mark-bg: #F5AF20;
  --code-bg: #141A2B;
}
html { font-family: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif; }
body::before { content: ""; position: fixed; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg,#DA7C30 0%,#D07D7A 35%,#A188CB 65%,#768DF5 100%); z-index: 1000; }
code, pre, kbd, .hljs { font-family: 'Cascadia Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace !important; font-variant-numeric: tabular-nums slashed-zero; }
h1, h2, h3, .menu-title { font-family: 'Cascadia Mono', ui-monospace, Menlo, monospace; font-weight: 600; letter-spacing: 0; }
h2 { border-top: 2px solid var(--fg); padding-top: 0.6em; }
table { border-collapse: collapse; }
table thead th { font-family: 'Cascadia Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace; font-size: 0.75em; text-transform: uppercase; letter-spacing: 0.06em; border-bottom: 2px solid var(--fg); }
table td, table th { border-left: 0; border-right: 0; }
blockquote { border-left: 0; border: 1px solid var(--quote-border); padding: 0.6em 1em; }
.sidebar .chapter li.chapter-item a.active { box-shadow: inset 2px 0 0 var(--links); }
pre, code, .theme-popup, .searchbar { border-radius: 0 !important; }
