
:root {
  --porch-page: #FAF8F3;
  --porch-surface: #FFFFFF;
  --porch-raised: #F4F0E8;
  --porch-text: #122B4B;
  --porch-body: #122B4B;
  --porch-muted: #566477;
  --porch-border: #DDD8CE;
  --porch-control: #7B8795;
  --porch-link: #214F7C;
  --porch-focus: #376EAD;
  --porch-primary: #122B4B;
  --porch-primary-text: #FCF7EB;
  --porch-primary-hover: #21426A;
  --porch-code: #EDF1F5;
  --porch-highlight: #F4F0E8;
  --porch-highlight-border: #DDD8CE;
  --porch-accent: #214F7C;
  --porch-code-bar: #EDF1F5;
  --porch-success: #2F674E;
  --porch-error: #A13D3D;
  --porch-code-text: #122B4B;
  --porch-code-muted: #566477;
  --porch-ink: #122B4B;
  --porch-line: #DDD8CE;
  --porch-paper: #FAF8F3;
  --porch-tint: #F4F0E8;
  --porch-brand-format: 2;
  --primary-hue: 210deg;
  --primary-saturation: 58%;
  --primary-lightness: 31%;
  --hx-color-primary-600: var(--porch-link);
  --hx-font-sans: "-apple-system", "BlinkMacSystemFont", "Segoe UI", "Roboto", "Helvetica", "Arial", sans-serif, ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --hx-font-mono: ui-monospace, "SFMono-Regular", "Menlo", "Consolas", "Liberation Mono", monospace, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  --porch-font-display: ui-serif, "New York", "Georgia", "Times New Roman", serif, ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --hx-color-white: var(--porch-page);
  --hx-color-gray-50: var(--porch-surface);
  --hx-color-gray-100: var(--porch-raised);
  --hx-color-gray-200: var(--porch-border);
  --hx-color-gray-300: var(--porch-border);
  --hx-color-gray-500: var(--porch-muted);
  --hx-color-gray-600: var(--porch-muted);
  --hx-color-gray-700: var(--porch-body);
  --hx-color-gray-900: var(--porch-text);
  --hx-color-slate-900: var(--porch-text);
}
.dark {
  --porch-page: #0C1828;
  --porch-surface: #14283F;
  --porch-raised: #1D3551;
  --porch-text: #FCF7EB;
  --porch-body: #FCF7EB;
  --porch-muted: #B6C2D0;
  --porch-border: #3D536D;
  --porch-control: #8499B2;
  --porch-link: #B6D5F5;
  --porch-focus: #9FC5F2;
  --porch-primary: #FCF7EB;
  --porch-primary-text: #122B4B;
  --porch-primary-hover: #E9DFCD;
  --porch-code: #1D3551;
  --porch-highlight: #1D3551;
  --porch-highlight-border: #3D536D;
  --porch-accent: #B6D5F5;
  --porch-code-bar: #1D3551;
  --porch-success: #A1D2B7;
  --porch-error: #F4B5AD;
  --porch-code-text: #FCF7EB;
  --porch-code-muted: #B6C2D0;
  --porch-ink: #FCF7EB;
  --porch-line: #3D536D;
  --porch-paper: #0C1828;
  --porch-tint: #1D3551;
  --porch-brand-format: 2;
  --primary-hue: 210deg;
  --primary-saturation: 76%;
  --primary-lightness: 84%;
  --hx-color-primary-600: var(--porch-link);
  --hx-color-white: var(--porch-text);
  --hx-color-gray-50: var(--porch-text);
  --hx-color-gray-100: var(--porch-text);
  --hx-color-gray-200: var(--porch-text);
  --hx-color-gray-300: var(--porch-body);
  --hx-color-gray-400: var(--porch-muted);
  --hx-color-gray-500: var(--porch-muted);
  --hx-color-gray-600: var(--porch-border);
  --hx-color-gray-900: var(--porch-text);
  --hx-color-slate-900: var(--porch-text);
  --hx-color-dark: var(--porch-page);
  --hx-color-neutral-900: var(--porch-surface);
  --hx-color-neutral-800: var(--porch-raised);
  --hx-color-neutral-700: var(--porch-border);
}

.porch-brand, h1, h2 {
  font-family: var(--porch-font-display);
}

.porch-mark {
  height: 24px;
  width: auto;
}
.hextra-sidebar-container a.hextra-sidebar-active-item {
  background-color: var(--porch-highlight);
  color: var(--porch-text);
}

.hextra-search-trigger {
  background-color: var(--porch-surface);
  border: 1px solid var(--porch-control);
  color: var(--porch-muted);
}

.hextra-search-dialog,
.hextra-search-input {
  background-color: var(--porch-surface);
  border-color: var(--porch-border);
  color: var(--porch-text);
}

.hextra-search-results > li > a[aria-selected="true"] {
  background-color: var(--porch-highlight);
  color: var(--porch-text);
}

.hextra-code-block pre {
  background-color: var(--porch-code);
  color: var(--porch-code-text);
}

.hextra-code-block .hextra-code-filename {
  background-color: var(--porch-code-bar);
  color: var(--porch-code-muted);
}

.hextra-code-copy-btn {
  background-color: var(--porch-code-bar);
  color: var(--porch-code-muted);
}

.hextra-alert[data-alert="note"] {
  background-color: var(--porch-highlight);
  border-color: var(--porch-highlight-border);
  color: var(--porch-body);
}

.hextra-alert[data-alert="note"] .hextra-alert-title {
  color: var(--porch-accent);
}

.hextra-alert[data-alert="tip"] {
  background-color: var(--porch-highlight);
  border-color: var(--porch-highlight-border);
  color: var(--porch-body);
}

.hextra-alert[data-alert="tip"] .hextra-alert-title {
  color: var(--porch-accent);
}

.hextra-alert[data-alert="important"] {
  background-color: var(--porch-highlight);
  border-color: var(--porch-highlight-border);
  color: var(--porch-body);
}

.hextra-alert[data-alert="important"] .hextra-alert-title {
  color: var(--porch-accent);
}
.hextra-toc a.hextra-toc-active {
  border-left: 2px solid var(--porch-accent);
  padding-left: 0.5rem;
  transition-property: color;
}

.hextra-toc a.hextra-toc-active[class~="hx:ltr:pl-4"] {
  padding-left: calc(var(--hx-spacing) * 4 + 0.5rem);
}

.hextra-toc a.hextra-toc-active[class~="hx:ltr:pl-8"] {
  padding-left: calc(var(--hx-spacing) * 8 + 0.5rem);
}

.hextra-toc a.hextra-toc-active[class~="hx:ltr:pl-12"] {
  padding-left: calc(var(--hx-spacing) * 12 + 0.5rem);
}

.hextra-toc a.hextra-toc-active[class~="hx:ltr:pl-16"] {
  padding-left: calc(var(--hx-spacing) * 16 + 0.5rem);
}

.hextra-toc a.hextra-toc-active[class~="hx:ltr:pl-20"] {
  padding-left: calc(var(--hx-spacing) * 20 + 0.5rem);
}

.content :where(table):not(:where(.hextra-code-block table, [class~=not-prose], [class~=not-prose] *)) th,
.content :where(table):not(:where(.hextra-code-block table, [class~=not-prose], [class~=not-prose] *)) td {
  border-color: var(--porch-border);
}

.content :where(table):not(:where(.hextra-code-block table, [class~=not-prose], [class~=not-prose] *)) thead {
  background-color: var(--porch-raised);
}

.content :where(code):not(:where(.hextra-code-block code, [class~=not-prose], [class~=not-prose] *)) {
  background-color: var(--porch-raised);
  border-color: var(--porch-border);
  color: var(--porch-text);
}

.porch-header .porch-action {
  background-color: var(--porch-primary);
  border-color: var(--porch-primary);
  color: var(--porch-primary-text);
}

.porch-header .porch-action:hover {
  background-color: var(--porch-primary-hover);
}

.porch-waitlist button {
  background-color: var(--porch-primary);
  border-color: var(--porch-primary);
  color: var(--porch-primary-text);
}

.porch-waitlist button:hover:not(:disabled) {
  background-color: var(--porch-primary-hover);
}
:focus-visible {
  outline: 2px solid var(--porch-focus);
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
}
