@charset "UTF-8";
:root {
  --bg: #321e57;
  --bg-2: #321e57;
  --header: #22143d;
  --panel: rgba(111, 66, 193, 0.96);
  --panel-strong: rgba(111, 66, 193, 0.98);
  --panel-soft: rgba(255, 255, 255, 0.05);
  --text: #f7f2ff;
  --muted: #d5c8ed;
  --muted-2: #b9a7da;
  --line: rgba(213, 200, 237, 0.18);
  --line-strong: rgba(213, 200, 237, 0.3);
  --accent: #198754;
  --accent-2: #2bb673;
  --accent-3: #6f42c1;
  --accent-soft: #8f65da;
  --ok: #2bb673;
  --warning: #ffd779;
  --shadow: 0 24px 70px rgba(32, 24, 51, 0.32);
  --header-2: #2a1650;
  --brand-warm-1: #ffb15b;
  --brand-warm-2: #ff8a3d;
  --brand-warm-3: #d4463b;
  --brand-cold-1: #62d8ff;
  --brand-cold-2: #2a9cf7;
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --max: 1850px;
}

html[data-theme=dark] {
  color-scheme: dark;
}

html[data-theme=light] {
  color-scheme: light;
  --bg: #f6f3fb;
  --bg-2: #efe9f8;
  --header: #ffffff;
  --panel: rgba(255, 255, 255, 0.96);
  --panel-strong: rgba(255, 255, 255, 0.985);
  --panel-soft: rgba(50, 30, 87, 0.04);
  --text: #201833;
  --muted: #645a7d;
  --muted-2: #80759b;
  --line: rgba(50, 30, 87, 0.12);
  --line-strong: rgba(50, 30, 87, 0.2);
  --accent: #157347;
  --accent-2: #198754;
  --accent-3: #6f42c1;
  --accent-soft: #8f65da;
  --ok: #198754;
  --warning: #c58b00;
  --shadow: 0 18px 45px rgba(32, 24, 51, 0.12);
  --header-2: #2a1650;
  --brand-warm-1: #ffb15b;
  --brand-warm-2: #ff8a3d;
  --brand-warm-3: #d4463b;
  --brand-cold-1: #62d8ff;
  --brand-cold-2: #2a9cf7;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  font: 16px/1.65 Inter, "Segoe UI", Roboto, Arial, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}

code,
pre {
  font-family: "Cascadia Code", Consolas, "Courier New", monospace;
}

::-moz-selection {
  background: rgba(213, 200, 237, 0.26);
}

::selection {
  background: rgba(213, 200, 237, 0.26);
}

.container {
  width: min(var(--max), 100% - 2rem);
  margin: 0 auto;
}

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================================
   Utilitaires texte / sections
   ========================================================================== */
.section {
  padding: 1.3rem 0 1rem;
}

.page-header.compact-header {
  padding-top: 1rem;
}

.page-simple {
  padding-top: 1rem;
}

.section-head {
  margin-bottom: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
}

.kicker,
.eyebrow {
  color: var(--muted-2);
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.86rem;
  font-weight: 800;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.65rem;
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
}

.section h2 {
  margin: 0;
  font-size: clamp(1.55rem, 3.2vw, 2.4rem);
}

.lead {
  color: var(--muted);
  margin: 0.35rem 0 0;
}

.muted {
  color: var(--muted);
}

.small {
  font-size: 0.95rem;
  color: var(--muted);
}

/* ==========================================================================
   Page hero / breadcrumbs
   ========================================================================== */
.page-hero {
  padding: 1rem 0 1rem;
}

.breadcrumbs {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
  align-items: center;
  color: var(--muted);
  margin-bottom: 0.9rem;
  font-size: 0.95rem;
}

.page-title {
  margin: 0 0 0.55rem;
  font-size: clamp(2rem, 4vw, 3rem);
}

.page-intro {
  max-width: 72ch;
  color: var(--muted);
}

/* ==========================================================================
   Eleventy migration additions
   ========================================================================== */
.standard-layout-grid {
  align-items: start;
}

.toc-card {
  position: sticky;
  top: 1.5rem;
}

.doc-markdown {
  min-width: 0;
}
.doc-markdown h1:first-child {
  margin-top: 0;
}

/* ==========================================================================
   Light theme
   ========================================================================== */
html[data-theme=light] body {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  color: var(--text);
}
html[data-theme=light] .breadcrumbs,
html[data-theme=light] .lead,
html[data-theme=light] .muted,
html[data-theme=light] .small {
  color: var(--muted);
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(34, 20, 61, 0.96);
  border-bottom: 1px solid rgba(213, 200, 237, 0.12);
}
.site-header.site-header-login {
  z-index: 60;
  background: rgba(34, 20, 61, 0.98);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.topbar {
  min-height: 40px;
  display: grid;
  grid-template-columns: auto 1fr auto auto auto;
  align-items: center;
  gap: 1rem;
  padding-block: 0;
}

.brand {
  min-width: 290px;
  gap: 0;
  align-self: stretch;
  display: inline-flex;
  align-items: center;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--brand-warm-3), var(--brand-warm-2));
  display: grid;
  place-items: center;
  color: #f7f2ff;
  font-weight: 900;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.22);
}

.brand-mark,
.brand-text {
  display: none !important;
}

.brand-logo {
  width: 290px;
  height: auto;
  max-height: 32px;
  -o-object-fit: contain;
     object-fit: contain;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.45));
  image-rendering: auto;
}

.brand-text small {
  display: block;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.78rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}
.nav a,
.nav button.nav-link {
  padding: 0.42rem 0.6rem;
  border-radius: 8px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 0.86rem;
  line-height: 1.1;
}
.nav a:hover,
.nav a.active,
.nav button.nav-link:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  border-color: transparent;
}

.main-nav {
  gap: 0.15rem;
  flex-wrap: nowrap;
}
.main-nav a {
  color: #f1e7ff;
  opacity: 0.92;
}
.main-nav a:hover, .main-nav a.active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  border-color: transparent;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.mobile-nav {
  display: none;
  padding: 0 0 1rem;
}
.mobile-nav.open {
  display: block;
}
.mobile-nav .nav {
  display: grid;
  gap: 0.45rem;
}

/* ==========================================================================
   Grilles / layouts
   ========================================================================== */
.hero-shell {
  display: grid;
  grid-template-columns: 1.3fr 0.85fr;
  gap: 1rem;
  align-items: stretch;
}

.grid-3,
.grid-2,
.explorer-grid,
.doc-grid {
  display: grid;
  gap: 1rem;
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.compact-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

.explorer-layout {
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  gap: 1rem;
  padding-bottom: 2rem;
}

.viewer-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 1rem;
  padding-bottom: 2rem;
}

.search-page-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 320px minmax(0, 1fr);
}

.doc-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sidebar-card {
  position: sticky;
  top: 92px;
  align-self: start;
}
.sidebar-card nav {
  display: grid;
  gap: 0.38rem;
}
.sidebar-card a {
  padding: 0.72rem 0.82rem;
  border-radius: 12px;
  color: var(--muted);
}
.sidebar-card a:hover, .sidebar-card a.active {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(213, 200, 237, 0.18);
  color: var(--text);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  margin-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding: 0.9rem 0 1.1rem;
  background: rgba(34, 20, 61, 0.5) !important;
  z-index: 2;
  backdrop-filter: blur(10px) saturate(125%);
}
.site-footer .inline-code {
  color: var(--text);
}

.footer-row {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.footer-row-main {
  padding-bottom: 0.4rem;
}

.footer-row-sub {
  padding-top: 0;
  border-top: 1px solid rgba(213, 200, 237, 0.12);
}

.footer-copy {
  display: grid;
  gap: 0.15rem;
}

.footer-powered {
  color: var(--muted);
}

/* ==========================================================================
   Light theme
   ========================================================================== */
html[data-theme=light] .site-header,
html[data-theme=light] .site-footer {
  background: rgba(255, 255, 255, 0.82) !important;
  border-color: rgba(50, 30, 87, 0.08);
  box-shadow: 0 6px 18px rgba(32, 24, 51, 0.06);
}
html[data-theme=light] .site-header.site-header-login {
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(50, 30, 87, 0.08);
}
html[data-theme=light] .nav a,
html[data-theme=light] .nav button.nav-link,
html[data-theme=light] .sidebar-card a {
  color: var(--muted);
}
html[data-theme=light] .main-nav a {
  color: var(--text);
  opacity: 0.92;
}
html[data-theme=light] .nav a:hover,
html[data-theme=light] .nav a.active,
html[data-theme=light] .nav button.nav-link:hover,
html[data-theme=light] .sidebar-card a:hover,
html[data-theme=light] .sidebar-card a.active,
html[data-theme=light] .main-nav a:hover,
html[data-theme=light] .main-nav a.active {
  background: rgba(50, 30, 87, 0.06);
  color: var(--text);
  border-color: transparent;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1240px) {
  .topbar {
    grid-template-columns: auto 1fr auto auto;
  }
}
@media (max-width: 1080px) {
  .hero-shell,
  .doc-grid,
  .grid-3,
  .grid-2,
  .explorer-layout,
  .viewer-layout,
  .search-page-grid {
    grid-template-columns: 1fr;
  }
  .sidebar-card {
    position: static;
  }
}
@media (max-width: 980px) {
  .nav.desktop-only,
  .header-search.desktop-only,
  .theme-toggle.desktop-only {
    display: none;
  }
  .menu-toggle {
    display: inline-grid;
    place-items: center;
  }
  .topbar {
    grid-template-columns: auto 1fr auto auto;
    min-height: 52px;
  }
  .brand-logo {
    width: 240px;
    height: auto;
    max-height: 28px;
  }
}
@media (max-width: 960px) {
  .compact-grid,
  .grid-3,
  .grid-2,
  .doc-grid,
  .hero-shell,
  .explorer-layout,
  .viewer-layout {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 900px) {
  .nav.desktop-only {
    display: none;
  }
  .menu-toggle {
    display: inline-grid;
    place-items: center;
  }
  .header-inner {
    min-height: 72px;
  }
  .search-controls {
    grid-template-columns: 1fr !important;
  }
  .toc-card {
    position: static;
  }
}
@media (max-width: 820px) {
  .site-header {
    background: rgba(34, 20, 61, 0.98);
  }
}
@media (max-width: 720px) {
  .container {
    width: min(var(--max), 100% - 1rem);
  }
  .brand-logo {
    width: 190px;
    height: auto;
    max-height: 24px;
  }
}
/* ==========================================================================
   Toggle / recherche
   ========================================================================== */
.theme-toggle {
  min-height: 30px;
  padding: 0.36rem 0.66rem;
  border-radius: 6px;
  border: 1px solid rgba(213, 200, 237, 0.18);
  background: rgba(34, 20, 61, 0.16);
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  cursor: pointer;
  font: inherit;
  font-size: 0.85rem;
  white-space: nowrap;
}
.theme-toggle:hover {
  background: rgba(34, 20, 61, 0.24);
}

.theme-toggle-icon {
  font-size: 0.95rem;
  line-height: 1;
}

.header-search {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
}
.header-search input {
  width: 160px;
  min-height: 30px;
  border-radius: 4px;
  border: 1px solid rgba(111, 66, 193, 0.55);
  background: rgba(62, 31, 112, 0.66);
  color: #f7f2ff;
  padding: 0.38rem 0.62rem;
  font: inherit;
  font-size: 0.85rem;
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}
.header-search input::-moz-placeholder {
  color: #a992d4;
}
.header-search input::placeholder {
  color: #a992d4;
}
.header-search input:focus {
  border-color: rgba(111, 66, 193, 0.92);
  box-shadow: 0 0 0 3px rgba(111, 66, 193, 0.14);
}
.header-search button {
  min-height: 30px;
  padding: 0.36rem 0.66rem;
  border-radius: 4px;
  border: 1px solid rgba(25, 135, 84, 0.55);
  background: rgba(9, 18, 14, 0.12);
  color: #39d98a;
  cursor: pointer;
  font: inherit;
  font-size: 0.85rem;
}
.header-search button:hover {
  background: rgba(25, 135, 84, 0.12);
  color: #66efad;
}

.mobile-search {
  width: 100%;
  margin: 0 0 0.8rem;
  justify-content: stretch;
}
.mobile-search input {
  width: 100%;
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  padding: 3.4rem 0 2rem;
}
.hero h1 {
  margin: 0.8rem 0 0.9rem;
  font-size: clamp(2.35rem, 5vw, 4rem);
  line-height: 1.02;
  max-width: 12ch;
}
.hero p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 1.02rem;
  max-width: 68ch;
}

.hero-card,
.glass,
.doc-card,
.stat-card,
.feature-card,
.aside-card,
.search-box,
.viewer-shell,
.sidebar-card {
  background: linear-gradient(180deg, rgba(111, 66, 193, 0.985), rgba(111, 66, 193, 0.955));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 2rem;
  position: relative;
  overflow: hidden;
}
.hero-card::before {
  content: "";
  position: absolute;
  inset: -30% auto auto -10%;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(213, 200, 237, 0.14), transparent 62%);
  pointer-events: none;
}

.hero-actions,
.row-actions,
.card-actions,
.chips,
.quick-links,
.toolbar-row {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

/* ==========================================================================
   Boutons
   ========================================================================== */
.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(213, 200, 237, 0.18);
  color: var(--text);
  background: rgba(34, 20, 61, 0.16);
  transition: 0.15s ease;
}
.button:hover {
  transform: translateY(-1px);
  background: rgba(34, 20, 61, 0.24);
}
.button.small {
  min-height: 38px;
  padding: 0.55rem 0.85rem;
  font-size: 0.95rem;
}

.button-primary {
  color: #f7f2ff;
  background: linear-gradient(135deg, #198754, #2bb673);
  border-color: rgba(25, 135, 84, 0.18);
  font-weight: 800;
}
.button-primary:hover {
  background: linear-gradient(135deg, #105c39, #23945d);
}

.button-secondary {
  color: var(--text);
  background: linear-gradient(135deg, rgba(34, 20, 61, 0.72), rgba(50, 30, 87, 0.72));
  border-color: rgba(213, 200, 237, 0.18);
}

/* ==========================================================================
   Cards / stats
   ========================================================================== */
.stats-panel {
  padding: 1rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.stat-card {
  padding: 1rem;
  border-radius: var(--radius-lg);
  background: rgba(34, 20, 61, 0.24);
}
.stat-card strong {
  display: block;
  font-size: 1.7rem;
  margin-bottom: 0.2rem;
}
.stat-card span {
  color: var(--muted);
}

.feature-card,
.doc-card,
.aside-card,
.search-box,
.sidebar-card {
  padding: 1.2rem;
  border-radius: var(--radius-lg);
}

.mini-card {
  padding: 1rem;
  border-radius: var(--radius-lg);
}

.feature-card h3,
.doc-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.18rem;
}
.feature-card p,
.doc-card p {
  color: var(--muted);
}

.badge,
.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid var(--line);
  background: rgba(34, 20, 61, 0.18);
  padding: 0.38rem 0.66rem;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.85rem;
}

.badge-accent {
  background: rgba(25, 135, 84, 0.14);
  color: #d8ffe8;
  border-color: rgba(25, 135, 84, 0.25);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.85rem;
}

/* ==========================================================================
   Listes / blocs
   ========================================================================== */
.check-list,
.link-list,
.toc-list,
.plain-list,
.roadmap-list {
  margin: 0;
}

.check-list,
.link-list,
.toc-list,
.plain-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.check-list li,
.link-list li,
.plain-list li {
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: rgba(34, 20, 61, 0.24);
}

.link-list a {
  display: block;
}

.notice {
  padding: 1rem 1.1rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(213, 200, 237, 0.22);
  background: rgba(34, 20, 61, 0.24);
}

.code-block {
  background: #22143d;
  border: 1px solid rgba(213, 200, 237, 0.16);
  border-radius: 18px;
  padding: 1rem 1.1rem;
  overflow-x: auto;
  color: #f7f2ff;
}

.doc-markdown pre,
.standard-markdown pre,
.viewer-body pre {
  margin: 1rem 0;
  overflow-x: auto;
}

.doc-markdown pre code.hljs,
.standard-markdown pre code.hljs,
.viewer-body pre code.hljs,
.code-block.hljs {
  display: block;
  padding: 1rem 1.1rem;
  border-radius: 18px;
  border: 1px solid rgba(213, 200, 237, 0.16);
  background: #22143d;
  color: #f7f2ff;
  overflow-x: auto;
}

.inline-code {
  font-family: "Cascadia Code", Consolas, monospace;
  background: rgba(34, 20, 61, 0.24);
  border: 1px solid var(--line);
  padding: 0.18rem 0.45rem;
  border-radius: 0.5rem;
}

/* ==========================================================================
   Inputs / recherche
   ========================================================================== */
.search-box {
  display: grid;
  gap: 0.8rem;
}

.search-input,
.filter-select {
  width: 100%;
  min-height: 48px;
  border-radius: 14px;
  border: 1px solid var(--line-strong);
  background: rgba(34, 20, 61, 0.78);
  color: var(--text);
  padding: 0.9rem 1rem;
  font: inherit;
  outline: none;
}
.search-input:focus,
.filter-select:focus {
  border-color: rgba(25, 135, 84, 0.62);
  box-shadow: 0 0 0 4px rgba(25, 135, 84, 0.13);
}

.search-input::-moz-placeholder {
  color: #a992d4;
}

.search-input::placeholder {
  color: #a992d4;
}

.search-results-meta {
  color: var(--muted);
  font-size: 0.95rem;
}

.search-controls input,
.search-controls select {
  width: 100%;
}

/* ==========================================================================
   Docs / viewer
   ========================================================================== */
.doc-meta {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}

.doc-card h3 a {
  color: inherit;
}
.doc-card .summary {
  min-height: 3.5em;
}
.doc-card .card-actions {
  margin-top: 1rem;
}

.empty-state {
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px dashed var(--line-strong);
  text-align: center;
  color: var(--muted);
}

.viewer-shell {
  padding: 1.4rem 1.5rem;
  overflow: hidden;
}

.viewer-header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(213, 200, 237, 0.12);
  margin-bottom: 1rem;
}

.viewer-body {
  font-size: 1rem;
}
.viewer-body h1,
.viewer-body h2,
.viewer-body h3,
.viewer-body h4 {
  scroll-margin-top: 100px;
}
.viewer-body h1 {
  font-size: 2rem;
  margin: 1rem 0 0.8rem;
}
.viewer-body h2 {
  font-size: 1.45rem;
  margin: 1.35rem 0 0.7rem;
}
.viewer-body h3 {
  font-size: 1.15rem;
  margin: 1rem 0 0.5rem;
}
.viewer-body p,
.viewer-body li {
  color: #ddf6ff;
}
.viewer-body ul,
.viewer-body ol {
  padding-left: 1.25rem;
}
.viewer-body hr {
  border: 0;
  height: 1px;
  background: var(--line);
  margin: 1.2rem 0;
}
.viewer-body blockquote {
  border-left: 3px solid var(--accent);
  margin: 1rem 0;
  padding: 0.2rem 0 0.2rem 1rem;
  color: var(--muted);
}
.viewer-body pre {
  background: #22143d;
  border: 1px solid rgba(213, 200, 237, 0.16);
  border-radius: 18px;
  padding: 1rem 1.1rem;
  overflow-x: auto;
}
.viewer-body code {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 0.15rem 0.4rem;
  border-radius: 0.45rem;
}
.viewer-body pre code {
  background: transparent;
  border: 0;
  padding: 0;
}
.viewer-body table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid var(--line);
  margin: 1rem 0;
}
.viewer-body th,
.viewer-body td {
  padding: 0.75rem 0.8rem;
  border-bottom: 1px solid rgba(213, 200, 237, 0.12);
  text-align: left;
}
.viewer-body tr:last-child td {
  border-bottom: 0;
}

.toc-list a {
  color: var(--muted);
  display: block;
}
.toc-list a:hover {
  color: var(--text);
}
.toc-list .lvl-3 {
  padding-left: 0.7rem;
}
.toc-list .lvl-4 {
  padding-left: 1.4rem;
}

/* ==========================================================================
   Résultats / changelog / roadmap
   ========================================================================== */
.result-card {
  padding: 1rem 1.1rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}
.result-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.12rem;
}
.result-card p {
  margin: 0 0 0.85rem;
  color: var(--muted);
}
.result-card mark {
  background: rgba(213, 200, 237, 0.14);
  color: var(--text);
  border-radius: 0.35rem;
  padding: 0 0.15rem;
}

.release-strip {
  display: grid;
  gap: 1rem;
}

.release-mini {
  padding: 1rem 1.05rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.03);
}

.release-version {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.55rem;
  padding: 0.32rem 0.62rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--text);
  background: rgba(25, 135, 84, 0.16);
  border: 1px solid rgba(25, 135, 84, 0.32);
}

.timeline {
  position: relative;
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: linear-gradient(180deg, rgba(25, 135, 84, 0.48), rgba(213, 200, 237, 0.16));
}
.timeline.compact .timeline-item {
  padding: 0.9rem 1rem;
}

.timeline-item {
  position: relative;
  padding: 1rem 3rem;
}

.timeline-dot {
  position: absolute;
  left: 8px;
  top: 1.15rem;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border: 3px solid rgba(34, 20, 61, 0.92);
  box-shadow: 0 0 0 6px rgba(25, 135, 84, 0.14);
}

.timeline-card {
  padding: 1.15rem 1.2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(111, 66, 193, 0.94), rgba(104, 60, 182, 0.92));
  box-shadow: var(--shadow);
}
.timeline-card h3 {
  margin: 0.1rem 0 0.35rem;
  font-size: 1.16rem;
}
.timeline-card h3 a {
  text-decoration: none;
  color: var(--text);
}
.timeline-card h3 a:hover {
  text-decoration: underline;
}

.roadmap-card {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.roadmap-list {
  padding-left: 1.1rem;
  display: grid;
  gap: 0.55rem;
  color: var(--muted);
}

.progress-wrap {
  margin-top: auto;
  display: grid;
  gap: 0.45rem;
}

.progress-bar {
  width: 100%;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  border: 1px solid rgba(213, 200, 237, 0.16);
}
.progress-bar span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

/* ==========================================================================
   Light theme
   ========================================================================== */
html[data-theme=light] .hero-card,
html[data-theme=light] .glass,
html[data-theme=light] .doc-card,
html[data-theme=light] .stat-card,
html[data-theme=light] .feature-card,
html[data-theme=light] .aside-card,
html[data-theme=light] .search-box,
html[data-theme=light] .viewer-shell,
html[data-theme=light] .sidebar-card,
html[data-theme=light] .timeline-card,
html[data-theme=light] .release-mini,
html[data-theme=light] .result-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 243, 252, 0.96));
  border-color: rgba(50, 30, 87, 0.08);
  box-shadow: var(--shadow);
}
html[data-theme=light] .hero p,
html[data-theme=light] .page-intro,
html[data-theme=light] .feature-card p,
html[data-theme=light] .doc-card p,
html[data-theme=light] .search-results-meta {
  color: var(--muted);
}
html[data-theme=light] .notice,
html[data-theme=light] .check-list li,
html[data-theme=light] .link-list li,
html[data-theme=light] .plain-list li,
html[data-theme=light] .inline-code,
html[data-theme=light] .stat-card {
  background: rgba(50, 30, 87, 0.04);
}
html[data-theme=light] .search-input,
html[data-theme=light] .filter-select,
html[data-theme=light] .header-search input {
  background: rgba(255, 255, 255, 0.96);
  color: var(--text);
  border-color: rgba(50, 30, 87, 0.16);
}
html[data-theme=light] .header-search input::-moz-placeholder, html[data-theme=light] .search-input::-moz-placeholder {
  color: #82779b;
}
html[data-theme=light] .header-search input::placeholder,
html[data-theme=light] .search-input::placeholder {
  color: #82779b;
}
html[data-theme=light] .header-search button {
  background: rgba(25, 135, 84, 0.08);
  color: #157347;
  border-color: rgba(25, 135, 84, 0.22);
}
html[data-theme=light] .button {
  background: rgba(50, 30, 87, 0.04);
  border-color: rgba(50, 30, 87, 0.12);
  color: var(--text);
}
html[data-theme=light] .button:hover {
  background: rgba(50, 30, 87, 0.08);
}
html[data-theme=light] .button-primary {
  background: linear-gradient(135deg, #198754, #2bb673);
  border-color: rgba(25, 135, 84, 0.18);
}
html[data-theme=light] .button-primary:hover {
  background: linear-gradient(135deg, #105c39, #23945d);
}
html[data-theme=light] .button-secondary {
  color: var(--text);
  background: linear-gradient(135deg, rgba(34, 20, 61, 0.72), rgba(50, 30, 87, 0.72));
  border-color: rgba(213, 200, 237, 0.18);
}
html[data-theme=light] .badge,
html[data-theme=light] .tag {
  background: rgba(50, 30, 87, 0.04);
  color: var(--muted);
}
html[data-theme=light] .badge-accent {
  background: rgba(25, 135, 84, 0.1);
  color: #157347;
  border-color: rgba(25, 135, 84, 0.22);
}
html[data-theme=light] .timeline-dot {
  border-color: rgba(255, 255, 255, 0.96);
}
html[data-theme=light] .timeline-card h3 a {
  color: var(--text);
}
html[data-theme=light] .theme-toggle {
  background: rgba(50, 30, 87, 0.04);
  border-color: rgba(50, 30, 87, 0.12);
  color: var(--text);
}
html[data-theme=light] .theme-toggle:hover {
  background: rgba(50, 30, 87, 0.08);
}
html[data-theme=light] .viewer-body p,
html[data-theme=light] .viewer-body li {
  color: var(--text);
}
html[data-theme=light] .viewer-body pre {
  background: #f2edf9;
  color: var(--text);
  border-color: rgba(50, 30, 87, 0.1);
}
html[data-theme=light] .viewer-body code {
  background: rgba(50, 30, 87, 0.05);
  border-color: rgba(50, 30, 87, 0.08);
  color: var(--text);
}
html[data-theme=light] .code-block {
  background: #f2edf9;
  color: var(--text);
  border-color: rgba(50, 30, 87, 0.1);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 720px) {
  .hero {
    padding-top: 2.25rem;
  }
  .hero-card {
    padding: 1.25rem;
  }
  .viewer-shell {
    padding: 1rem;
  }
}/*# sourceMappingURL=site.css.map */