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U7Bjq+Hw/E5QguVTBkwjjteA5etbCVjebc/I/bsR/SFAAAA") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: block;
}

:root {
  --bg: #0a0a0a;
  --surface: #141414;
  --surface-elevated: #1e1e20;
  --surface-hover: #27272a;
  --border: #1f1f22;
  --text-primary: #ebebee;
  --text-body: #ebebee;
  --text-muted: #9898a0;
  --accent-green: #4ade80;
  --tok-tag: #e2876f;
  --tok-attr: #e5b88a;
  --tok-str: #8bc498;
  --tok-kw: #ebebee;
  --tok-punct: #9898a0;
  --tok-comment: #9898a0;
  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, Roboto, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, 'Cascadia Mono', Consolas, Menlo, monospace;
  --fs-h1: 1.875rem;
  --fs-h2: 1.25rem;
  --fs-lg: 1rem;
  --fs-base: 0.9375rem;
  --fs-sm: 0.8125rem;
  --fs-xs: 0.75rem;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  background-color: var(--bg);
  color: var(--text-body);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  min-height: 100vh;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

body {
  padding-top: 56px;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar,
.docs-sidebar::-webkit-scrollbar,
.search-results::-webkit-scrollbar,
.code-scroll::-webkit-scrollbar,
.table-wrap::-webkit-scrollbar {
  display: none;
}

.docs-sidebar,
.search-results,
.code-scroll,
.table-wrap {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

a, button {
  font-family: inherit;
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--text-primary);
  outline-offset: 2px;
}

/* Fixed Solid Pure-Black Single-Row Header */
.docs-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 70;
  height: 56px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.docs-header-inner {
  max-width: 1200px;
  height: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 24px;
  min-width: 0;
}

.mobile-menu-btn {
  display: none;
  position: relative;
  appearance: none;
  border: none;
  background: var(--surface);
  color: var(--text-primary);
  width: 34px;
  height: 34px;
  border-radius: 8px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}

.mobile-menu-btn::after {
  content: "";
  position: absolute;
  inset: -5px;
}

.brand-link {
  font-family: "Plus Jakarta Sans", var(--font-sans);
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: normal;
  color: #ffffff;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.search-trigger {
  position: relative;
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 32px;
  padding: 0 10px 0 12px;
  border-radius: 8px;
  border: none;
  background: var(--surface);
  color: var(--text-muted);
  font-size: var(--fs-sm);
  cursor: pointer;
  transition: color 0.15s ease, background-color 0.15s ease;
}

.search-trigger::after {
  content: "";
  position: absolute;
  inset: -6px 0;
}

.search-trigger:hover {
  color: var(--text-primary);
  background: var(--surface-elevated);
}

.search-trigger-left {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.kbd-group {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.kbd {
  font-family: var(--font-sans);
  font-size: var(--fs-xs);
  font-weight: 500;
  line-height: 1;
  padding: 3px 6px;
  border-radius: 4px;
  background: var(--surface-hover);
  border: none;
  color: var(--text-muted);
}

.header-divider {
  width: 1px;
  height: 16px;
  background: var(--border);
}

.header-icon-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  text-decoration: none;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  transition: color 0.15s ease, background-color 0.15s ease;
}

.header-icon-link::after {
  content: "";
  position: absolute;
  inset: -8px;
}

.header-icon-link:hover {
  color: var(--text-primary);
  background: var(--surface-elevated);
}

.header-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  padding: 0 12px;
  border-radius: 7px;
  background: var(--text-primary);
  color: var(--bg);
  font-size: var(--fs-sm);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.15s ease;
}

.header-cta::after {
  content: "";
  position: absolute;
  inset: -7px 0;
}

.header-cta:hover {
  opacity: 0.9;
}

/* 2-Column Layout with independently fixed desktop sidebar */
.docs-layout {
  max-width: 1200px;
  margin: 0 auto;
  padding: 28px 24px 96px 310px;
}

/* Left Sidebar: pinned independently of main content scroll */
.docs-sidebar {
  position: fixed;
  top: 56px;
  bottom: 0;
  left: max(24px, calc((100vw - 1200px) / 2 + 24px));
  width: 244px;
  overflow-y: auto;
  overscroll-behavior: contain;
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 14px 18px 16px 0;
  z-index: 40;
}

.docs-sidebar::after {
  content: "";
  position: fixed;
  top: 96px;
  bottom: 44px;
  left: calc(max(24px, calc((100vw - 1200px) / 2 + 24px)) + 244px);
  width: 1px;
  background: var(--border);
  pointer-events: none;
}

.sidebar-group {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.sidebar-group-label {
  font-size: var(--fs-xs);
  font-weight: 500;
  color: var(--text-muted);
  padding: 0 10px 2px;
}

.sidebar-link {
  display: block;
  width: 100%;
  text-align: left;
  text-decoration: none;
  appearance: none;
  border: none;
  background: transparent;
  padding: 2.5px 10px;
  border-radius: 7px;
  font-size: var(--fs-sm);
  font-weight: 400;
  line-height: 1.28;
  color: var(--text-body);
  cursor: pointer;
  transition: background-color 0.14s ease, color 0.14s ease;
}

.sidebar-link:hover {
  background: var(--surface);
  color: var(--text-primary);
}

.sidebar-link.is-active {
  background: var(--surface-elevated);
  color: var(--text-primary);
  font-weight: 600;
}

/* Centered Content Column matching shadcn Typeset */
.docs-main {
  min-width: 0;
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
}

.doc-header {
  margin-bottom: 1.75em;
}

.doc-title {
  max-width: 30ch;
  font-size: var(--fs-h1);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: var(--text-primary);
}

.doc-subtitle {
  max-width: 65ch;
  margin-top: 8px;
  font-size: var(--fs-lg);
  line-height: 1.6;
  color: var(--text-muted);
}

/* Unified shadcn/typeset rhythm */
.typeset.typeset-docs {
  --typeset-size: var(--fs-base);
  --typeset-leading: 1.75;
  --typeset-flow: 1.25em;
  font-size: var(--typeset-size);
  line-height: var(--typeset-leading);
  color: var(--text-body);
}

.typeset-docs > * + * {
  margin-top: var(--typeset-flow);
}

.typeset-docs p,
.typeset-docs ul,
.typeset-docs ol,
.typeset-docs h2,
.typeset-docs h3 {
  max-width: 65ch;
}

.typeset-docs h2 {
  font-size: var(--fs-h2);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.35;
  color: var(--text-primary);
  margin-top: 2em;
}

.typeset-docs h2 + * {
  margin-top: 0.75em;
}

.typeset-docs h3 {
  font-size: var(--fs-lg);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.4;
  color: var(--text-primary);
  margin-top: 1.5em;
}

.typeset-docs h3 + * {
  margin-top: 0.5em;
}

.typeset-docs p {
  color: var(--text-body);
}

.typeset-docs strong {
  color: var(--text-primary);
  font-weight: 600;
}

.typeset-docs ul,
.typeset-docs ol {
  padding-left: 1.35em;
}

.typeset-docs li + li {
  margin-top: 0.55em;
}

.typeset-docs a:not(.btn-primary-white) {
  color: var(--text-primary);
  text-decoration: underline;
  text-decoration-color: rgba(235, 235, 238, 0.35);
  text-underline-offset: 3px;
}

.typeset-docs a:not(.btn-primary-white):hover {
  text-decoration-color: var(--text-primary);
}

/* Inline code: calm matching tone, blends cleanly into prose */
.typeset-docs code {
  font-family: var(--font-mono);
  font-size: 0.85em;
  font-weight: 400;
  padding: 0.14em 0.42em;
  border-radius: 5px;
  background: var(--surface-elevated);
  border: none;
  color: var(--text-body);
}

/* Borderless Neutral Dark Numbered Code Block */
.code-card {
  display: flex;
  align-items: flex-start;
  background: var(--surface);
  border: none;
  border-radius: 12px;
  overflow: hidden;
}

.code-scroll {
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding: 16px 8px 16px 0;
}

.code-lines {
  display: flex;
  flex-direction: column;
  width: max-content;
  min-width: 100%;
  font-family: var(--font-mono);
  font-size: var(--fs-sm);
  line-height: 1.75;
}

.code-line {
  display: flex;
  align-items: baseline;
}

.code-ln {
  flex: 0 0 46px;
  padding-left: 14px;
  padding-right: 14px;
  text-align: right;
  color: var(--text-muted);
  user-select: none;
}

.code-src {
  white-space: pre;
  padding-right: 14px;
  color: var(--text-body);
}

.tok-tag { color: var(--tok-tag); }
.tok-attr { color: var(--tok-attr); }
.tok-str { color: var(--tok-str); }
.tok-kw { color: var(--tok-kw); }
.tok-punct { color: var(--tok-punct); }
.tok-comment { color: var(--tok-comment); }

.code-copy-wrap {
  flex-shrink: 0;
  padding: 10px 10px 0 4px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.code-copy-btn {
  position: relative;
  width: 30px;
  height: 30px;
  border-radius: 7px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.code-copy-btn::after {
  content: "";
  position: absolute;
  inset: -7px;
}

.code-copy-btn:hover {
  background: var(--surface-hover);
  color: var(--text-primary);
}

.code-copy-btn.is-copied {
  color: var(--accent-green);
}

/* Clean shadcn Table with uniform readable text and fixed column geometry */
.table-wrap {
  width: 100%;
  overflow-x: auto;
}

.shadcn-table {
  width: 100%;
  border-collapse: collapse;
  caption-side: bottom;
  font-size: var(--fs-sm);
  line-height: 1.6;
  background: transparent;
  table-layout: fixed;
}

.shadcn-table thead tr {
  border-bottom: 1px solid var(--surface-hover);
}

.shadcn-table th {
  height: 40px;
  padding: 0 12px;
  text-align: left;
  vertical-align: middle;
  font-weight: 500;
  color: var(--text-primary);
  white-space: nowrap;
}

.shadcn-table tbody tr {
  border-bottom: 1px solid var(--border);
  transition: background-color 0.15s ease;
}

.shadcn-table tbody tr:last-child {
  border-bottom: none;
}

.shadcn-table tbody tr:hover {
  background: var(--surface);
}

.shadcn-table td {
  padding: 12px 12px;
  vertical-align: top;
  color: var(--text-body);
}

.shadcn-table td.cell-title {
  font-weight: 500;
  color: var(--text-primary);
}

.shadcn-table td.cell-id {
  font-variant-numeric: tabular-nums;
  font-weight: 500;
  color: var(--text-primary);
  white-space: nowrap;
}

.shadcn-table td.cell-group {
  color: var(--text-muted);
  white-space: nowrap;
}

.doc-primary-cta-row {
  margin-top: 1.5em;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-primary-white {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 16px;
  border-radius: 8px;
  background: var(--text-primary);
  color: var(--bg);
  font-size: var(--fs-sm);
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: opacity 0.15s ease;
}

.btn-primary-white::after {
  content: "";
  position: absolute;
  inset: -4px 0;
}

.btn-primary-white:hover {
  opacity: 0.9;
}

/* Clean Filter Tabs Bar */
.rules-tabs-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.rules-filter-bar {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border-radius: 8px;
  background: var(--surface);
  border: none;
  max-width: 100%;
}

.rule-filter-pill {
  position: relative;
  appearance: none;
  border: none;
  background: transparent;
  color: var(--text-muted);
  height: 30px;
  padding: 0 12px;
  border-radius: 6px;
  font-family: var(--font-sans);
  font-size: var(--fs-sm);
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.14s ease, background-color 0.14s ease;
}

.rule-filter-pill::after {
  content: "";
  position: absolute;
  inset: -7px 0;
}

.rule-filter-pill:hover {
  color: var(--text-primary);
}

.rule-filter-pill.is-active {
  background: var(--surface-hover);
  color: var(--text-primary);
}

.tab-label-full {
  display: inline;
}

.tab-label-short {
  display: none;
}

.rules-count-text {
  font-family: var(--font-sans);
  font-size: var(--fs-sm);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  color: var(--text-muted);
}

.rules-table-stage {
  min-height: 460px;
}

/* Simple Flat Bottom Prev/Next Navigation */
.doc-bottom-nav {
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.bottom-nav-link {
  appearance: none;
  text-decoration: none;
  background: transparent;
  border: none;
  padding: 8px 0;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: var(--fs-sm);
  font-weight: 500;
  cursor: pointer;
  transition: color 0.15s ease;
}

.bottom-nav-link:hover {
  color: var(--text-primary);
}

.bottom-nav-link--next {
  margin-left: auto;
  text-align: right;
}

/* Command Menu Search Modal matching shadcn */
html.drawer-open,
body.drawer-open {
  overflow: hidden;
  overscroll-behavior: none;
}

.search-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(0, 0, 0, 0.82);
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 88px 16px 24px;
}

.search-modal.is-open {
  display: flex;
}

.search-card {
  width: 100%;
  max-width: 520px;
  background: var(--surface);
  border: none;
  border-radius: 14px;
  overflow: hidden;
}

.search-input-wrap {
  padding: 10px 10px 6px;
}

.search-input-row {
  padding: 8px 12px;
  background: var(--surface-elevated);
  border-radius: 9px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.search-input {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: var(--fs-base);
  outline: none;
}

.search-input::placeholder {
  color: var(--text-muted);
}

.search-results {
  max-height: 340px;
  overflow-y: auto;
  padding: 4px 10px 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.search-group-heading {
  padding: 8px 10px 4px;
  font-size: var(--fs-xs);
  font-weight: 500;
  color: var(--text-muted);
}

.search-hit {
  width: 100%;
  text-align: left;
  appearance: none;
  border: none;
  background: transparent;
  padding: 8px 10px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--text-body);
}

.search-hit:hover,
.search-hit.is-selected {
  background: var(--surface-hover);
  color: var(--text-primary);
}

.search-hit-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.search-hit-icon {
  color: var(--text-muted);
  flex-shrink: 0;
}

.search-hit.is-selected .search-hit-icon,
.search-hit:hover .search-hit-icon {
  color: var(--text-body);
}

.search-hit-title {
  font-size: var(--fs-sm);
  font-weight: 500;
  color: inherit;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-hit-meta {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  flex-shrink: 0;
}

.search-footer {
  border-top: 1px solid var(--border);
  background: var(--surface-elevated);
  padding: 9px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: var(--fs-xs);
  color: var(--text-muted);
}

.search-footer-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.search-footer-key {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 5px;
  background: var(--surface-hover);
  color: var(--text-body);
  font-size: var(--fs-xs);
}

@media (max-width: 820px) {
  .docs-header-inner {
    padding: 0 12px;
    gap: 8px;
  }

  .header-left {
    gap: 10px;
  }

  .header-right {
    gap: 8px;
  }

  .mobile-menu-btn {
    display: inline-flex;
  }

  .header-divider,
  .kbd-group {
    display: none;
  }

  .search-trigger {
    width: 34px;
    padding: 0;
    justify-content: center;
    gap: 0;
  }

  .search-label-short,
  .search-label-full {
    display: none;
  }

  .docs-layout {
    grid-template-columns: 1fr;
    padding: 24px 16px 72px;
    gap: 20px;
  }

  .docs-sidebar {
    display: none;
    position: fixed;
    top: 56px;
    left: 0;
    right: 0;
    bottom: 0;
    width: auto;
    z-index: 60;
    gap: 16px;
    padding: 18px 20px 40px;
    border-radius: 0;
    background: var(--bg);
    overflow-y: auto;
    overscroll-behavior: contain;
    touch-action: pan-y;
  }

  .docs-sidebar.is-open {
    display: flex;
  }

  .docs-sidebar::after {
    display: none;
  }

  .sidebar-link {
    min-height: 44px;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    font-size: var(--fs-base);
  }

  .tab-label-full {
    display: none;
  }

  .tab-label-short {
    display: inline;
  }

  .rules-filter-bar {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2px;
    width: 100%;
  }

  .rule-filter-pill {
    padding: 0 4px;
    font-size: var(--fs-xs);
    text-align: center;
  }

  .shadcn-table {
    min-width: 600px;
  }

  .doc-bottom-nav {
    flex-wrap: wrap;
    gap: 8px;
  }
}
