@font-face {
  font-family: 'Manrope Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(fonts/manrope-latin-ext-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Manrope Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(fonts/manrope-latin-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Fraunces Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(fonts/fraunces-latin-ext-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Fraunces Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(fonts/fraunces-latin-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
/* Generated from src/tokens/tokens.ts by `pnpm --filter @projqo/ui tokens`. Do not edit. */

/* The theme is the page's color-scheme: data-theme comes from the person's setting (applied
   before first paint by /theme-boot.js); with no setting or "system", the browser decides. */
:root {
  color-scheme: light dark;
  --pq-color-bg: light-dark(#ffffff, #0f1b2d);
  --pq-color-bg-subtle: light-dark(#f6f8fa, #142236);
  --pq-color-bg-muted: light-dark(#ebeff3, #1c2b40);
  --pq-color-bg-pressed: light-dark(#dee3ea, #263750);
  --pq-color-surface: light-dark(#ffffff, #132034);
  --pq-color-surface-raised: light-dark(#ffffff, #1a293e);
  --pq-color-border: light-dark(#d6dce4, #2b3b52);
  --pq-color-border-strong: light-dark(#7d8899, #76859b);
  --pq-color-text: light-dark(#0f1b2d, #e8edf3);
  --pq-color-text-muted: light-dark(#4b5869, #a6b2c1);
  --pq-color-text-disabled: light-dark(#8a94a3, #627188);
  --pq-color-accent: light-dark(#0e7c70, #3aae9f);
  --pq-color-accent-hover: light-dark(#0b6359, #6fc9bc);
  --pq-color-accent-pressed: light-dark(#0b4e47, #a6e0d7);
  --pq-color-accent-subtle: light-dark(#eef9f7, #0d3036);
  --pq-color-accent-text: light-dark(#0b6359, #6fc9bc);
  --pq-color-text-on-accent: light-dark(#ffffff, #0f1b2d);
  --pq-color-focus: light-dark(#0b6359, #6fc9bc);
  --pq-color-brand-disc: light-dark(#0e7c70, #3aae9f);
  --pq-color-brand-glyph: light-dark(#ffffff, #0f1b2d);
  --pq-color-brand-dot: #f2a93b;
  --pq-color-brand-word: light-dark(#0f1b2d, #f6f8fa);
  --pq-color-success-text: light-dark(#16683b, #6cd394);
  --pq-color-success-subtle: light-dark(#e3f4e9, #14301f);
  --pq-color-success-bold: light-dark(#1a7a45, #4bbf78);
  --pq-color-text-on-success: light-dark(#ffffff, #0b1f12);
  --pq-color-warning-text: light-dark(#8a4a00, #f2b55c);
  --pq-color-warning-subtle: light-dark(#fcefdb, #36280f);
  --pq-color-warning-bold: #e9a23b;
  --pq-color-text-on-warning: #2a1800;
  --pq-color-danger-text: light-dark(#b42228, #ff8f8a);
  --pq-color-danger-subtle: light-dark(#fce9e9, #3a191a);
  --pq-color-danger-bold: light-dark(#c4262d, #f0625c);
  --pq-color-danger-hover: light-dark(#a51f25, #f4847f);
  --pq-color-text-on-danger: light-dark(#ffffff, #240606);
  --pq-color-info-text: light-dark(#3a49ad, #a3adf7);
  --pq-color-info-subtle: light-dark(#eceefc, #1e2240);
  --pq-color-info-bold: light-dark(#4351be, #8e9af2);
  --pq-color-text-on-info: light-dark(#ffffff, #0e1230);
  --pq-color-neutral-text: light-dark(#3b4a5e, #c2cbd6);
  --pq-color-neutral-subtle: light-dark(#ebeff3, #233247);
  --pq-color-neutral-bold: light-dark(#566377, #a2adbc);
  --pq-color-text-on-neutral: light-dark(#ffffff, #0f1b2d);
  --pq-color-type-epic: light-dark(#a65a07, #e5a552);
  --pq-color-type-story: light-dark(#1b7d45, #62cb8e);
  --pq-color-type-task: light-dark(#0e7c70, #3aae9f);
  --pq-color-type-bug: light-dark(#c93a33, #f2786f);
  --pq-color-type-subtask: light-dark(#5b687b, #a6b0be);
  --pq-color-type-glyph: light-dark(#ffffff, #0f1b2d);
  --pq-color-ed-grey-text: light-dark(#566377, #a6b2c1);
  --pq-color-ed-grey-bg: light-dark(#ebeff3, #233247);
  --pq-color-ed-red-text: light-dark(#b42228, #ff8f8a);
  --pq-color-ed-red-bg: light-dark(#fce9e9, #3a191a);
  --pq-color-ed-orange-text: light-dark(#a8410b, #f5a26b);
  --pq-color-ed-orange-bg: light-dark(#fdeadc, #3a2414);
  --pq-color-ed-yellow-text: light-dark(#7d5200, #f2c94c);
  --pq-color-ed-yellow-bg: light-dark(#fdf3c8, #352d0e);
  --pq-color-ed-green-text: light-dark(#16683b, #6cd394);
  --pq-color-ed-green-bg: light-dark(#e3f4e9, #14301f);
  --pq-color-ed-teal-text: light-dark(#0b6359, #6fc9bc);
  --pq-color-ed-teal-bg: light-dark(#d3f0eb, #0a3b36);
  --pq-color-ed-blue-text: light-dark(#1f5fa8, #7fb2f0);
  --pq-color-ed-blue-bg: light-dark(#e2eefc, #15283d);
  --pq-color-ed-indigo-text: light-dark(#3a49ad, #a3adf7);
  --pq-color-ed-indigo-bg: light-dark(#eceefc, #1e2240);
  --pq-color-ed-purple-text: light-dark(#7b3fb0, #c9a0f2);
  --pq-color-ed-purple-bg: light-dark(#f1e8fb, #2c1d3d);
  --pq-color-ed-pink-text: light-dark(#a8336b, #f28bbd);
  --pq-color-ed-pink-bg: light-dark(#fbe7f1, #3a1a2b);
  --pq-color-shadow: light-dark(rgb(15 27 45 / 0.14), rgb(0 0 0 / 0.55));
  --pq-color-overlay: light-dark(rgb(15 27 45 / 0.45), rgb(0 0 0 / 0.65));
  --pq-font-sans: "Manrope Variable", Manrope, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --pq-font-display: "Fraunces Variable", Fraunces, Georgia, "Times New Roman", serif;
  --pq-font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --pq-text-label: 0.75rem;
  --pq-text-label-line: 1rem;
  --pq-text-body: 0.875rem;
  --pq-text-body-line: 1.375rem;
  --pq-text-xs: 0.75rem;
  --pq-text-xs-line: 1rem;
  --pq-text-sm: 0.8125rem;
  --pq-text-sm-line: 1.125rem;
  --pq-text-md: 0.875rem;
  --pq-text-md-line: 1.25rem;
  --pq-text-lg: 1rem;
  --pq-text-lg-line: 1.5rem;
  --pq-text-xl: 1.25rem;
  --pq-text-xl-line: 1.75rem;
  --pq-text-2xl: 1.5rem;
  --pq-text-2xl-line: 2rem;
  --pq-text-3xl: 1.875rem;
  --pq-text-3xl-line: 2.375rem;
  --pq-weight-regular: 400;
  --pq-weight-medium: 500;
  --pq-weight-semibold: 600;
  --pq-weight-bold: 700;
  --pq-radius-sm: 4px;
  --pq-radius-md: 6px;
  --pq-radius-lg: 10px;
  --pq-radius-full: 9999px;
  --pq-shadow-1: 0 1px 2px var(--pq-color-shadow);
  --pq-shadow-2: 0 4px 12px var(--pq-color-shadow), 0 0 0 1px var(--pq-color-border);
  --pq-shadow-3: 0 12px 32px var(--pq-color-shadow), 0 0 0 1px var(--pq-color-border);
  --pq-duration-fast: 100ms;
  --pq-duration-normal: 180ms;
  --pq-duration-slow: 280ms;
  --pq-ease-standard: cubic-bezier(0.2, 0, 0, 1);
  --pq-size-control-sm: 24px;
  --pq-size-control-md: 32px;
  --pq-size-control-lg: 40px;
  --pq-size-topbar: 48px;
}
:root[data-theme="light"] {
  color-scheme: light;
}
:root[data-theme="dark"] {
  color-scheme: dark;
}
@media (prefers-reduced-motion: reduce) {
  :root {
    --pq-duration-fast: 0ms;
    --pq-duration-normal: 0ms;
    --pq-duration-slow: 0ms;
  }
}

/* The developer site's look (plan 35.E1): projqo's Tide tokens (packages/ui/src/tokens.css,
   joined in front of this file by the build), Manrope for the text, Fraunces 600 for page
   headings and the wordmark, the system's monospace for code. Light and dark come from the
   tokens' light-dark() and the page's color-scheme (data-theme from the switch). Up to tablet
   width: the navigation becomes a menu below 1024 px. */

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

html {
  font-family: var(--pq-font-sans);
  font-size: 100%;
  -webkit-font-smoothing: antialiased;
  scroll-padding-top: calc(var(--pq-size-topbar) + 16px);
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--pq-color-bg);
  color: var(--pq-color-text);
  font-size: 0.9375rem;
  line-height: 1.6;
}

a {
  color: var(--pq-color-accent-text);
  text-underline-offset: 2px;
}
a:hover {
  color: var(--pq-color-accent-hover);
}
:focus-visible {
  outline: 2px solid var(--pq-color-focus);
  outline-offset: 2px;
  border-radius: 2px;
}

code,
pre {
  font-family: var(--pq-font-mono);
  font-size: 0.8125rem;
}
:not(pre) > code {
  background: var(--pq-color-bg-muted);
  border-radius: var(--pq-radius-sm);
  padding: 0.1em 0.35em;
  overflow-wrap: anywhere;
}

h1,
h2,
h3,
h4 {
  line-height: 1.3;
  margin: 0;
}
h1 {
  font-family: var(--pq-font-display);
  font-weight: 600;
  font-size: var(--pq-text-3xl);
  line-height: var(--pq-text-3xl-line);
  letter-spacing: -0.01em;
}
.content h2 {
  font-size: var(--pq-text-xl);
  font-weight: 600;
  margin: 2.25rem 0 0.75rem;
}
.content h3 {
  font-size: var(--pq-text-lg);
  font-weight: 600;
  margin: 1.5rem 0 0.5rem;
}
.content h4 {
  font-size: var(--pq-text-md);
  font-weight: 700;
  margin: 1.25rem 0 0.5rem;
}
.content p,
.content ul,
.content ol {
  margin: 0 0 1rem;
}
.content li + li {
  margin-top: 0.25rem;
}
.content ul ul,
.content ol ul {
  margin: 0.25rem 0 0;
}
a.anchor {
  color: inherit;
  text-decoration: none;
}
a.anchor:hover {
  text-decoration: underline;
}

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

.skip-link {
  position: absolute;
  left: 8px;
  top: -48px;
  z-index: 50;
  background: var(--pq-color-accent);
  color: var(--pq-color-text-on-accent);
  padding: 8px 12px;
  border-radius: var(--pq-radius-md);
  font-weight: 600;
}
.skip-link:focus {
  top: 8px;
}

/* ---- Top bar ---- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 12px;
  height: 56px;
  padding: 0 16px;
  background: var(--pq-color-bg);
  border-bottom: 1px solid var(--pq-color-border);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--pq-color-text);
  text-decoration: none;
  flex: none;
  min-height: 32px;
}
.brand:hover {
  color: var(--pq-color-text);
}
.mark {
  display: block;
  flex: none;
}
.wordmark {
  font-family: var(--pq-font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  font-size: 1.3125rem;
  line-height: 1;
  color: var(--pq-color-brand-word);
}
.brand-sub {
  font-size: var(--pq-text-md);
  font-weight: 600;
  line-height: 1;
  color: var(--pq-color-text-muted);
  padding-left: 8px;
  border-left: 1px solid var(--pq-color-border);
}
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: var(--pq-radius-md);
  background: transparent;
  color: var(--pq-color-text);
  cursor: pointer;
  font: inherit;
}
.icon-button:hover {
  background: var(--pq-color-bg-muted);
}
.icon-button[aria-pressed="true"] {
  background: var(--pq-color-accent-subtle);
  color: var(--pq-color-accent-text);
  border-color: var(--pq-color-border);
}
#menu-toggle {
  display: none;
}

/* ---- Search ---- */

.search {
  position: relative;
  flex: 1 1 auto;
  max-width: 480px;
  margin-left: auto;
  display: flex;
  align-items: center;
}
.search-icon {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  color: var(--pq-color-text-muted);
  pointer-events: none;
}
.search-input {
  width: 100%;
  height: 36px;
  padding: 0 12px 0 32px;
  border: 1px solid var(--pq-color-border-strong);
  border-radius: var(--pq-radius-md);
  background: var(--pq-color-surface);
  color: var(--pq-color-text);
  font: inherit;
  font-size: var(--pq-text-md);
  appearance: none;
}
.search-input::placeholder {
  color: var(--pq-color-text-muted);
  opacity: 1;
}
.search-results {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  max-height: min(70vh, 480px);
  overflow-y: auto;
  background: var(--pq-color-surface-raised);
  border-radius: var(--pq-radius-lg);
  box-shadow: var(--pq-shadow-3);
  padding: 6px;
  z-index: 40;
}
.result {
  display: block;
  padding: 8px 10px;
  border-radius: var(--pq-radius-md);
  color: var(--pq-color-text);
  text-decoration: none;
  cursor: pointer;
}
.result[aria-selected="true"],
.result:hover {
  background: var(--pq-color-accent-subtle);
}
.result-title {
  display: block;
  font-weight: 600;
}
.result-meta {
  display: block;
  font-size: var(--pq-text-sm);
  color: var(--pq-color-text-muted);
  overflow-wrap: anywhere;
}
.result-kind {
  font-weight: 600;
}
.result-empty {
  padding: 8px 10px;
  margin: 0;
  color: var(--pq-color-text-muted);
}
.search-page-results {
  list-style: none;
  padding: 0;
  margin: 0;
}
.search-page-results li {
  border-bottom: 1px solid var(--pq-color-border);
}
.search-page-results .result {
  padding: 12px 4px;
}

/* ---- Frame ---- */

.frame {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  min-height: calc(100vh - 56px);
}
.site-nav {
  position: sticky;
  top: 56px;
  align-self: start;
  height: calc(100vh - 56px);
  overflow-y: auto;
  padding: 20px 12px 40px 16px;
  border-right: 1px solid var(--pq-color-border);
  background: var(--pq-color-bg-subtle);
  font-size: var(--pq-text-md);
}
.nav-heading {
  font-size: var(--pq-text-xs);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--pq-color-text-muted);
  margin: 20px 8px 6px;
}
.nav-heading:first-child {
  margin-top: 0;
}
.nav-list,
.nav-list ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-list a,
.nav-list summary {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  padding: 4px 8px;
  border-radius: var(--pq-radius-md);
  color: var(--pq-color-text);
  text-decoration: none;
  line-height: 1.35;
}
.nav-list summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}
.nav-list summary::-webkit-details-marker {
  display: none;
}
.nav-list summary::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
  margin: 0 4px 0 2px;
  transition: transform var(--pq-duration-fast) var(--pq-ease-standard);
}
.nav-list details[open] > summary::before {
  transform: rotate(45deg);
}
.nav-list details ul {
  padding-left: 12px;
  margin-bottom: 4px;
}
.nav-list details a {
  font-size: var(--pq-text-sm);
}
.nav-list a:hover,
.nav-list summary:hover {
  background: var(--pq-color-bg-muted);
}
.nav-list a[aria-current="page"] {
  background: var(--pq-color-accent-subtle);
  color: var(--pq-color-accent-text);
  font-weight: 600;
}
.nav-list a.is-deprecated span:last-child {
  text-decoration: line-through;
}

.main {
  min-width: 0;
  padding: 16px 40px 48px;
}
.main:focus {
  outline: none;
}
.page-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  min-height: 32px;
}
.action {
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 12px;
  border: 1px solid var(--pq-color-border-strong);
  border-radius: var(--pq-radius-md);
  background: var(--pq-color-surface);
  color: var(--pq-color-text);
  font: inherit;
  font-size: var(--pq-text-sm);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}
.action:hover {
  background: var(--pq-color-bg-muted);
  color: var(--pq-color-text);
}

.page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 40px;
  max-width: 1320px;
}
.page-grid.has-toc {
  grid-template-columns: minmax(0, 1fr) 220px;
}
.frame-wide .page-grid {
  max-width: none;
}
.content {
  min-width: 0;
  max-width: 820px;
}
.frame-wide .content {
  max-width: none;
}
.toc {
  position: sticky;
  top: 80px;
  align-self: start;
  font-size: var(--pq-text-sm);
  padding-top: 8px;
}
.toc-heading {
  font-size: var(--pq-text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--pq-color-text-muted);
  margin: 0 0 8px;
}
.toc ul {
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 1px solid var(--pq-color-border);
}
.toc a {
  display: block;
  padding: 3px 12px;
  color: var(--pq-color-text-muted);
  text-decoration: none;
}
.toc a:hover {
  color: var(--pq-color-accent-text);
}

.page-head {
  margin: 8px 0 24px;
}
.page-head h1 {
  margin-bottom: 8px;
}
.eyebrow {
  font-size: var(--pq-text-sm);
  font-weight: 700;
  color: var(--pq-color-accent-text);
  margin: 0 0 4px;
}
.lede {
  font-size: var(--pq-text-lg);
  line-height: 1.6;
  color: var(--pq-color-text-muted);
  max-width: 720px;
}
.hero h1 {
  font-size: 2.25rem;
  line-height: 2.75rem;
}
.muted {
  color: var(--pq-color-text-muted);
}

/* ---- Tables, callouts, cards ---- */

.table-wrap {
  overflow-x: auto;
  margin: 0 0 1.25rem;
  border: 1px solid var(--pq-color-border);
  border-radius: var(--pq-radius-lg);
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: var(--pq-text-md);
}
th,
td {
  text-align: left;
  vertical-align: top;
  padding: 8px 12px;
  border-bottom: 1px solid var(--pq-color-border);
}
th {
  background: var(--pq-color-bg-subtle);
  font-weight: 600;
}
tbody tr:last-child td {
  border-bottom: 0;
}
td code {
  white-space: nowrap;
}

.callout {
  border: 1px solid var(--pq-color-border);
  border-left: 4px solid var(--pq-color-info-bold);
  background: var(--pq-color-info-subtle);
  border-radius: var(--pq-radius-md);
  padding: 12px 16px;
  margin: 0 0 1.25rem;
}
.callout-warning {
  border-left-color: var(--pq-color-warning-bold);
  background: var(--pq-color-warning-subtle);
}
.callout-title {
  font-weight: 700;
  margin: 0 0 4px !important;
}
.callout > :last-child,
.callout p:last-child {
  margin-bottom: 0;
}
blockquote {
  margin: 0 0 1rem;
  padding: 4px 16px;
  border-left: 3px solid var(--pq-color-border-strong);
  color: var(--pq-color-text-muted);
}

.cards {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 12px;
}
.content .cards li + li {
  margin-top: 0;
}
.card a {
  display: flex;
  flex-direction: column;
  gap: 4px;
  height: 100%;
  padding: 16px;
  border: 1px solid var(--pq-color-border);
  border-radius: var(--pq-radius-lg);
  background: var(--pq-color-surface);
  color: var(--pq-color-text);
  text-decoration: none;
}
.card a:hover {
  border-color: var(--pq-color-accent);
  color: var(--pq-color-text);
}
.card-title {
  font-weight: 700;
  color: var(--pq-color-accent-text);
}
.card-text {
  color: var(--pq-color-text-muted);
  font-size: var(--pq-text-md);
}
.card-meta {
  margin-top: auto;
  font-size: var(--pq-text-sm);
  color: var(--pq-color-text-muted);
}

/* ---- Code ---- */

.code {
  border: 1px solid var(--pq-color-border);
  border-radius: var(--pq-radius-lg);
  background: var(--pq-color-bg-subtle);
  margin: 0 0 1.25rem;
  overflow: hidden;
}
.code-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 36px;
  padding: 2px 6px 2px 12px;
  border-bottom: 1px solid var(--pq-color-border);
  font-size: var(--pq-text-sm);
  color: var(--pq-color-text-muted);
}
.code-lang {
  font-weight: 600;
}
.code pre {
  margin: 0;
  padding: 12px;
  overflow-x: auto;
  line-height: 1.55;
  tab-size: 2;
}
.copy {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 10px;
  border: 1px solid var(--pq-color-border-strong);
  border-radius: var(--pq-radius-md);
  background: var(--pq-color-surface);
  color: var(--pq-color-text);
  font: inherit;
  font-size: var(--pq-text-sm);
  font-weight: 600;
  cursor: pointer;
  flex: none;
}
.copy:hover {
  background: var(--pq-color-bg-muted);
}
.no-js .copy {
  display: none;
}
.tabs [role="tablist"] {
  display: flex;
  gap: 4px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}
.tabs [role="tab"] {
  height: 32px;
  padding: 0 12px;
  border: 1px solid var(--pq-color-border);
  border-radius: var(--pq-radius-md);
  background: var(--pq-color-surface);
  color: var(--pq-color-text);
  font: inherit;
  font-size: var(--pq-text-sm);
  font-weight: 600;
  cursor: pointer;
}
.tabs [role="tab"][aria-selected="true"] {
  background: var(--pq-color-accent);
  border-color: var(--pq-color-accent);
  color: var(--pq-color-text-on-accent);
}
.no-js .tabs [role="tablist"] {
  display: none;
}
.no-js .tabs [role="tabpanel"][hidden] {
  display: block;
}

/* ---- Reference ---- */

.method {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  min-width: 56px;
  height: 24px;
  padding: 0 6px;
  border-radius: var(--pq-radius-sm);
  font-family: var(--pq-font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  background: var(--pq-color-neutral-subtle);
  color: var(--pq-color-neutral-text);
}
.method-sm {
  min-width: 48px;
  height: 20px;
  font-size: 0.6875rem;
}
.method-get {
  background: var(--pq-color-info-subtle);
  color: var(--pq-color-info-text);
}
.method-post {
  background: var(--pq-color-success-subtle);
  color: var(--pq-color-success-text);
}
.method-patch,
.method-put {
  background: var(--pq-color-warning-subtle);
  color: var(--pq-color-warning-text);
}
.method-delete {
  background: var(--pq-color-danger-subtle);
  color: var(--pq-color-danger-text);
}
.endpoint {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 8px 8px 10px;
  margin: 0 0 12px;
  border: 1px solid var(--pq-color-border);
  border-radius: var(--pq-radius-lg);
  background: var(--pq-color-bg-subtle);
}
.endpoint-path {
  flex: 1 1 auto;
  min-width: 0;
  background: none !important;
  padding: 0 !important;
  overflow-wrap: anywhere;
  font-size: 0.875rem;
}
.scope {
  font-size: var(--pq-text-md);
  color: var(--pq-color-text-muted);
}
.badge {
  display: inline-flex;
  align-items: center;
  height: 20px;
  padding: 0 6px;
  border-radius: var(--pq-radius-sm);
  font-size: var(--pq-text-xs);
  font-weight: 700;
  vertical-align: middle;
  background: var(--pq-color-neutral-subtle);
  color: var(--pq-color-neutral-text);
  font-family: var(--pq-font-sans);
}
.badge-required {
  background: var(--pq-color-warning-subtle);
  color: var(--pq-color-warning-text);
}
.badge-deprecated {
  background: var(--pq-color-danger-subtle);
  color: var(--pq-color-danger-text);
}
.op-index {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 4px 16px;
}
.content .op-index li + li {
  margin-top: 0;
}
.op-index a {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  text-decoration: none;
}
.op {
  border-top: 1px solid var(--pq-color-border);
  padding: 32px 0 8px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px 40px;
}
.op h2 {
  margin-top: 0 !important;
}
.op-side .side-heading {
  font-size: var(--pq-text-md);
  margin: 0 0 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.op-side .side-heading ~ .side-heading {
  margin-top: 16px;
}
@media (min-width: 1280px) {
  .frame-wide .op {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .frame-wide .op-side {
    position: sticky;
    top: 72px;
    align-self: start;
    max-height: calc(100vh - 88px);
    overflow-y: auto;
  }
}
.op-deprecated h2 a {
  text-decoration: line-through;
  text-decoration-thickness: 1px;
}

.fields {
  list-style: none;
  margin: 0 0 1rem !important;
  padding: 0;
  border-top: 1px solid var(--pq-color-border);
}
.content .fields li + li {
  margin-top: 0;
}
.field {
  padding: 10px 0;
  border-bottom: 1px solid var(--pq-color-border);
}
.field-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
}
.field-name {
  font-weight: 700;
  background: none !important;
  padding: 0 !important;
  color: var(--pq-color-text);
}
.field-type {
  font-size: var(--pq-text-sm);
  color: var(--pq-color-text-muted);
  margin: 0;
}
.field-desc {
  margin-top: 4px;
}
.field-desc p {
  margin: 0 0 0.5rem;
}
.field-desc > :last-child {
  margin-bottom: 0;
}
.field-limits,
.field-from,
.field-note {
  font-size: var(--pq-text-sm);
  color: var(--pq-color-text-muted);
  margin: 4px 0 0 !important;
}
.children {
  margin-top: 8px;
}
.children > summary {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid var(--pq-color-border);
  border-radius: var(--pq-radius-full);
  font-size: var(--pq-text-sm);
  font-weight: 600;
  color: var(--pq-color-accent-text);
  cursor: pointer;
  list-style: none;
}
.children > summary::-webkit-details-marker {
  display: none;
}
.children[open] > summary {
  margin-bottom: 8px;
}
.children > .fields,
.children > .shape {
  margin-left: 12px !important;
  padding-left: 12px;
  border-left: 2px solid var(--pq-color-border);
}
.shape-title {
  font-weight: 700;
  margin: 8px 0 4px !important;
}
.status-line {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px !important;
}
.status {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 6px;
  border-radius: var(--pq-radius-sm);
  font-family: var(--pq-font-mono);
  font-size: 0.75rem;
  font-weight: 700;
}
.status-ok {
  background: var(--pq-color-success-subtle);
  color: var(--pq-color-success-text);
}
.status-error {
  background: var(--pq-color-danger-subtle);
  color: var(--pq-color-danger-text);
}
.errors {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem !important;
}
.errors li {
  border-bottom: 1px solid var(--pq-color-border);
}
.content .errors li + li {
  margin-top: 0;
}
.errors summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 4px 0;
  cursor: pointer;
}
.errors details[open] summary {
  margin-bottom: 8px;
}

.change {
  border-top: 1px solid var(--pq-color-border);
}

/* ---- Previous and next, footer ---- */

.prev-next {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 48px 0 0;
}
.prev-next a {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 16px;
  border: 1px solid var(--pq-color-border);
  border-radius: var(--pq-radius-lg);
  text-decoration: none;
  color: var(--pq-color-text);
}
.prev-next a:hover {
  border-color: var(--pq-color-accent);
  color: var(--pq-color-text);
}
.prev-next .next {
  text-align: right;
}
.pn-label {
  font-size: var(--pq-text-sm);
  color: var(--pq-color-text-muted);
}
.pn-title {
  font-weight: 700;
  color: var(--pq-color-accent-text);
}
.site-footer {
  margin-top: 48px;
  padding-top: 16px;
  border-top: 1px solid var(--pq-color-border);
  font-size: var(--pq-text-sm);
  color: var(--pq-color-text-muted);
}
.site-footer p {
  margin: 0 0 4px;
}

/* ---- Narrower than a laptop: the navigation is a menu ---- */

@media (max-width: 1279px) {
  .page-grid.has-toc {
    grid-template-columns: minmax(0, 1fr);
  }
  .toc {
    display: none;
  }
}
@media (max-width: 1023px) {
  .frame {
    grid-template-columns: minmax(0, 1fr);
  }
  .main {
    padding: 16px 24px 40px;
  }
  .js #menu-toggle {
    display: inline-flex;
  }
  .no-js .site-nav {
    position: static;
    height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--pq-color-border);
  }
  .js .site-nav {
    position: fixed;
    top: 56px;
    left: 0;
    bottom: 0;
    width: min(320px, 86vw);
    height: auto;
    z-index: 25;
    box-shadow: var(--pq-shadow-3);
    visibility: hidden;
    transform: translateX(-100%);
    /* Closing: hidden once it has slid away. Opening: visible at once, so focus can move in. */
    transition:
      transform var(--pq-duration-normal) var(--pq-ease-standard),
      visibility 0s linear var(--pq-duration-normal);
  }
  .js.nav-open .site-nav {
    visibility: visible;
    transform: none;
    transition: transform var(--pq-duration-normal) var(--pq-ease-standard);
  }
  .brand-sub {
    display: none;
  }
}
