/*
 * @farming-labs/nuxt-theme — pixel-border theme
 * Inspired by better-auth.com — clean dark UI, sharp corners, visible borders.
 * Import AFTER docs.css to override the default neutral preset.
 */

/* ─── Color Tokens (light) ───────────────────────────────────────── */

:root {
  --color-fd-background: oklch(1 0 0);
  --color-fd-foreground: oklch(0.147 0.004 49.25);
  --color-fd-card: oklch(0.985 0.001 106.423);
  --color-fd-card-foreground: oklch(0.147 0.004 49.25);
  --color-fd-popover: oklch(1 0 0);
  --color-fd-popover-foreground: oklch(0.147 0.004 49.25);
  --color-fd-primary: oklch(0.216 0.006 56.043);
  --color-fd-primary-foreground: oklch(0.985 0.001 106.423);
  --color-fd-secondary: oklch(0.97 0.001 106.424);
  --color-fd-secondary-foreground: oklch(0.216 0.006 56.043);
  --color-fd-muted: oklch(0.97 0.001 106.424);
  --color-fd-muted-foreground: oklch(0.553 0.013 58.071);
  --color-fd-accent: oklch(0.97 0.001 106.424);
  --color-fd-accent-foreground: oklch(0.216 0.006 56.043);
  --color-fd-border: oklch(0.923 0.003 48.717);
  --color-fd-ring: oklch(0.709 0.01 56.259);
  --scrollbar-thumb: var(--color-fd-border);
  --scrollbar-thumb-hover: var(--color-fd-ring);
  --scrollbar-track: transparent;
  --radius: 0px;
  --fd-nav-height: 56px;
  --fd-banner-height: 0px;
  --fd-tocnav-height: 0px;
}

/* ─── Color Tokens (dark) ────────────────────────────────────────── */

.dark {
  --color-fd-background: hsl(0 0% 2%);
  --color-fd-foreground: oklch(0.985 0.001 106.423);
  --color-fd-card: hsl(0 0% 4%);
  --color-fd-card-foreground: oklch(0.985 0.001 106.423);
  --color-fd-popover: hsl(0 0% 4%);
  --color-fd-popover-foreground: oklch(0.985 0.001 106.423);
  --color-fd-primary: oklch(0.985 0.001 106.423);
  --color-fd-primary-foreground: oklch(0.216 0.006 56.043);
  --color-fd-secondary: hsl(0 0% 8%);
  --color-fd-secondary-foreground: oklch(0.985 0.001 106.423);
  --color-fd-muted: hsl(0 0% 10%);
  --color-fd-muted-foreground: hsl(0 0% 55%);
  --color-fd-accent: hsl(0 0% 10%);
  --color-fd-accent-foreground: oklch(0.985 0.001 106.423);
  --color-fd-border: hsl(0 0% 15%);
  --color-fd-ring: hsl(0 0% 30%);
  --scrollbar-thumb: var(--color-fd-border);
  --scrollbar-thumb-hover: var(--color-fd-ring);
  --scrollbar-track: transparent;
}

/* ─── Scroll (light + dark) ──────────────────────────────────────── */

html {
  scroll-behavior: auto;
  scroll-padding-top: calc(
    var(--fd-nav-height, 56px) + var(--fd-banner-height, 0px) + var(--fd-tocnav-height, 0px) + 24px
  );
}

html:not([data-anchor-scrolling]) {
  scroll-behavior: smooth;
}

/* ─── Custom scrollbar (light + dark) ─────────────────────────────── */

* {
  scrollbar-width: thin;
  scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track);
}

::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

::-webkit-scrollbar-track {
  background: var(--scrollbar-track);
}

::-webkit-scrollbar-thumb {
  background-color: var(--scrollbar-thumb);
  border-radius: 9999px;
  border: 3px solid transparent;
  background-clip: content-box;
}

::-webkit-scrollbar-thumb:hover {
  background-color: var(--scrollbar-thumb-hover);
}

::-webkit-scrollbar-corner {
  background: transparent;
}

/* ─── Selection (light + dark) ───────────────────────────────────── */

body {
  overscroll-behavior: none;
}

::selection {
  background: var(--color-fd-foreground);
  color: var(--color-fd-background);
}

/* ─── Inline code word break ─────────────────────────────────────── */

code:not(pre code) {
  overflow-wrap: break-word;
  word-break: break-word;
}

/* ─── Sharp corners everywhere (both modes) ──────────────────────── */

.fd-sidebar-search-btn,
.fd-search-dialog,
.fd-search-overlay .fd-search-dialog,
.fd-search-result,
.fd-codeblock,
.fd-codeblock pre,
.fd-codeblock-title,
.fd-tabs,
.fd-tab-trigger,
.fd-tab-panel,
.fd-callout,
.fd-page-nav-card,
.fd-table-wrapper,
.fd-copy-btn,
.fd-sidebar-search-btn kbd,
.fd-sidebar-collapse-btn,
.fd-theme-toggle {
  border-radius: 0 !important;
}

/* ─── Docs grid: sidebar (sticky left, full height) — no clipping ─────── */
@media (min-width: 1024px) {
  .fd-layout {
    grid-template-columns: var(--fd-sidebar-width) minmax(0, 1fr);
  }
  .fd-sidebar {
    position: sticky;
    top: 0;
    align-self: start;
    min-height: 0;
    height: auto;
    height: 100vh;
  }

  .fd-main {
    min-width: 0;
  }

  .fd-page {
    grid-template-columns: minmax(0, 1fr) var(--fd-toc-width);
  }

  .fd-page-article,
  .fd-page-body {
    max-width: none;
    margin-inline: 0;
  }
}

/* ─── Mobile: ensure sidebar drawer/content isn't clipped ───────────────── */
@media (max-width: 1023px) {
  .fd-sidebar {
    max-height: none;
    overflow-y: visible;
  }
}

/* ─── Sidebar (pixel-border style — BOTH light and dark) ─────────── */

/* Full-width border separators between top-level items */
.fd-sidebar-top-link,
.fd-sidebar-nav > .fd-sidebar-folder {
  border-top: 1px solid var(--color-fd-border);
  margin-left: -12px;
  margin-right: -12px;
  padding-left: 12px;
  padding-right: 12px;
}

.fd-sidebar-folder-content::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 4px;
  bottom: 4px;
  width: 1px;
  background: var(--color-fd-border);
}

.fd-sidebar-top-link.fd-sidebar-first-item,
.fd-sidebar-folder.fd-sidebar-first-item {
  border-top: none;
}

.fd-sidebar-top-link:last-child,
.fd-sidebar-nav > .fd-sidebar-folder:last-child {
  border-bottom: 1px solid var(--color-fd-border);
}
.fd-sidebar-folder-content::before {
  content: "";
  position: absolute;
  left: -4px;
  top: 3px;
  bottom: 0px;
  width: 1px;
  height: calc(100% + 0.01px);
  background: var(--color-fd-border);
}

/* Folder trigger — extend to full sidebar width */
.fd-sidebar-nav > .fd-sidebar-folder > .fd-sidebar-folder-trigger {
  margin-left: -12px;
  margin-right: -12px;
  padding-left: 12px;
  padding-right: 12px;
}

/* All sidebar links — sharp corners, transparent bg */
.fd-sidebar-link {
  font-size: 0.875rem;
  line-height: 1.6;
  border-radius: 0 !important;
  padding: 0.5rem 0.625rem;
  font-weight: 400;
  background-color: transparent !important;
  transition: color 0.15s ease;
  color: var(--color-fd-muted-foreground);
}

.fd-sidebar-link:hover {
  background: transparent !important;
  background-color: transparent !important;
  color: var(--color-fd-foreground);
}

.fd-sidebar-link-active,
.fd-sidebar-link[data-active="true"] {
  color: var(--color-fd-foreground) !important;
  font-weight: 600;
  background: transparent !important;
  background-color: transparent !important;
}

.fd-sidebar-link-active:hover,
.fd-sidebar-link[data-active="true"]:hover {
  background: transparent !important;
  background-color: transparent !important;
}

/* Folder triggers — sharp corners, transparent bg */
.fd-sidebar-folder-trigger {
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 0 !important;
}

.fd-sidebar-folder-trigger:hover {
  background: transparent !important;
}

/* Child links — smaller, inside folder content */
.fd-sidebar-child-link {
  font-size: 0.785rem !important;
  padding-top: 0.25rem !important;
  padding-bottom: 0.25rem !important;
}

.fd-sidebar-child-link.fd-sidebar-link-active {
  font-weight: 600 !important;
}

/* Dark mode — specific color overrides */
.dark .fd-sidebar {
  background: hsl(0 0% 2%);
  border-color: hsl(0 0% 12%);
}

.dark .fd-sidebar-link {
  color: hsl(0 0% 50%);
}

.dark .fd-sidebar-link:hover {
  color: hsl(0 0% 80%);
}

.dark .fd-sidebar-folder-trigger {
  color: hsl(0 0% 90%);
}

.dark .fd-sidebar-folder-trigger:hover {
  color: hsl(0 0% 100%);
}

.dark .fd-sidebar-link-active,
.dark .fd-sidebar-link[data-active="true"] {
  color: var(--color-fd-primary, hsl(0 0% 95%)) !important;
}

.dark .fd-sidebar-child-link {
  color: hsl(0 0% 45%) !important;
}

.dark .fd-sidebar-child-link:hover {
  color: hsl(0 0% 75%) !important;
}

.dark .fd-sidebar-child-link.fd-sidebar-link-active {
  color: var(--color-fd-primary, hsl(0 0% 95%)) !important;
}

/* Active indicator bar for child links */
.fd-sidebar-folder-content .fd-sidebar-link-active::before {
  content: "";
  position: absolute;
  left: -16px;
  top: 25%;
  bottom: 25%;
  width: 2px;
  background: var(--color-fd-foreground);
  border-radius: 0;
}

.dark .fd-sidebar-folder-content .fd-sidebar-link-active::before {
  background: var(--color-fd-primary, hsl(0 0% 95%));
}

/* Sidebar icon */
.fd-sidebar-icon {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  opacity: 0.7;
}

.fd-sidebar-link-active .fd-sidebar-icon {
  opacity: 1;
}

/* Sidebar search button — full-width, border-y */
.fd-sidebar-search-btn {
  background: transparent !important;
  border: none !important;
  border-top: 1px solid var(--color-fd-border) !important;
  border-bottom: 1px solid var(--color-fd-border) !important;
  border-radius: 0 !important;
}

.fd-sidebar-search {
  padding: 0;
  margin-left: -12px;
  margin-right: -12px;
  padding-left: 12px;
  padding-right: 12px;
}

.fd-sidebar-search .fd-sidebar-search-btn {
  width: 100%;
  padding-left: 12px;
  padding-right: 12px;
  margin: 0;
}

.fd-sidebar-search-btn:hover {
  background: var(--color-fd-accent) !important;
}

.dark .fd-sidebar-search-btn {
  color: hsl(0 0% 45%);
}

.dark .fd-sidebar-search-btn:hover {
  background: hsl(0 0% 4%) !important;
  color: hsl(0 0% 65%);
}

/* ─── Tables ─────────────────────────────────────────────────────── */

.fd-table-wrapper {
  border-radius: 0 !important;
}

.dark .fd-table-wrapper {
  border-color: hsl(0 0% 15%);
}

.dark .fd-page-body table th {
  background: hsl(0 0% 6%);
  color: hsl(0 0% 80%);
  font-weight: 500;
  border-color: hsl(0 0% 15%);
}

.dark .fd-page-body table td {
  border-color: hsl(0 0% 12%);
}

/* ─── Code blocks ────────────────────────────────────────────────── */

.fd-codeblock {
  border: 1px solid var(--color-fd-border);
  border-radius: 0 !important;
  box-shadow: none;
}

.fd-codeblock pre.shiki {
  border-radius: 0 !important;
}

.fd-codeblock-title {
  border-bottom: 1px solid var(--color-fd-border) !important;
  border-radius: 0 !important;
  background-color: var(--color-fd-secondary, hsl(0 0% 8%)) !important;
  background-image: repeating-linear-gradient(
    -45deg,
    color-mix(in srgb, var(--color-fd-foreground, #fff) 7%, transparent),
    color-mix(in srgb, var(--color-fd-foreground, #fff) 7%, transparent) 1px,
    transparent 1px,
    transparent 6px
  ) !important;
}

.fd-codeblock-title .fd-copy-btn {
  border-radius: 0 !important;
}

.fd-copy-btn {
  border-radius: 0 !important;
}

/* ─── Tabs ───────────────────────────────────────────────────────── */

.fd-tabs {
  border-radius: 0 !important;
  box-shadow: none;
}

/* ─── Callouts ───────────────────────────────────────────────────── */

.fd-callout {
  border-radius: 0 !important;
}

/* ─── Prev/Next nav cards ────────────────────────────────────────── */

.fd-page-nav-card {
  border-radius: 0 !important;
}

.dark .fd-page-nav-card {
  border-color: hsl(0 0% 15%);
}

.dark .fd-page-nav-card:hover {
  background: hsl(0 0% 6%);
  border-color: hsl(0 0% 22%);
}

/* ─── Search dialog ──────────────────────────────────────────────── */

.fd-search-overlay .fd-search-dialog {
  border-radius: 0;
}

/* ─── Breadcrumb (monospace, uppercase) ───────────────────────────── */

.fd-breadcrumb {
  font-size: 0.75rem;
  letter-spacing: 0.01em;
}

.fd-breadcrumb-parent,
.fd-breadcrumb-current {
  font-family: ui-monospace, monospace;
  text-transform: uppercase;
}

/* ─── Selection ──────────────────────────────────────────────────── */

::selection {
  background: var(--color-fd-foreground);
  color: var(--color-fd-background);
}

/* ─── Scrollbar ──────────────────────────────────────────────────── */

* {
  scrollbar-width: thin;
  scrollbar-color: var(--color-fd-border) transparent;
}

/* ─── HR ─────────────────────────────────────────────────────────── */

.dark hr {
  border-color: hsl(0 0% 15%);
}

/* ─── AI Chat (pixel-border — zero radius, pixel-art, monospace) ── */

.fd-ai-dialog {
  border-radius: 0 !important;
  border-width: 1px;
  box-shadow: 4px 4px 0 0 var(--color-fd-border, hsl(0 0% 15%));
}

.fd-ai-tab-bar {
  gap: 0;
}

.fd-ai-tab {
  border-radius: 0 !important;
  font-size: 12px;
  letter-spacing: 0.04em;
}

.fd-ai-header-title {
  font-size: 13px;
}

.fd-ai-bubble-user {
  border-radius: 0 !important;
  font-size: 12px;
}

.fd-ai-bubble-ai {
  border-radius: 0 !important;
  font-size: 12px;
}

.fd-ai-bubble-ai pre {
  border-radius: 0 !important;
  border: 1px solid var(--color-fd-border, hsl(0 0% 15%));
}

.fd-ai-bubble-ai code {
  border-radius: 0 !important;
}

.fd-ai-input-wrap {
  border-radius: 0 !important;
}

.fd-ai-input {
  font-size: 13px;
}

.fd-ai-send-btn {
  border-radius: 0 !important;
}

.fd-ai-close-btn {
  border-radius: 0 !important;
}

.fd-ai-floating-btn {
  border-radius: 0 !important;
  box-shadow: 3px 3px 0 0 var(--color-fd-border, hsl(0 0% 15%));
}

.fd-ai-floating-btn:hover {
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0 0 var(--color-fd-border, hsl(0 0% 15%));
}

.fd-ai-floating-trigger .ask-ai-trigger {
  font-family: var(--fd-font-sans, inherit);
  border-radius: 0 !important;
  box-shadow: 3px 3px 0 0 var(--color-fd-border, hsl(0 0% 15%)) !important;
}

.fd-ai-floating-trigger .ask-ai-trigger:hover {
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0 0 var(--color-fd-border, hsl(0 0% 15%));
}

.fd-ai-fm-input-bar .fd-ai-floating-trigger .ask-ai-trigger {
  border-radius: 0 !important;
  font-family: var(--fd-font-mono, ui-monospace, monospace) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.04em !important;
  font-size: 12px !important;
  box-shadow: 3px 3px 0 0 var(--color-fd-border, hsl(0 0% 15%)) !important;
}

.fd-ai-fm-input-bar .fd-ai-floating-trigger .ask-ai-trigger:hover {
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0 0 var(--color-fd-border, hsl(0 0% 15%));
}

.fd-ai-suggestion {
  border-radius: 0 !important;
  font-size: 12px;
}

.fd-ai-result {
  border-radius: 0 !important;
}

.fd-ai-esc {
  border-radius: 0 !important;
}

.fd-ai-clear-btn {
  border-radius: 0 !important;
  letter-spacing: 0.04em;
}

.fd-ai-msg-label {
  letter-spacing: 0.06em;
}

.fd-ai-loader-shimmer-text {
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 11px;
}

.fd-ai-loader-typing-dot {
  border-radius: 0;
  width: 4px;
  height: 4px;
}

/* ─── Full-Modal (pixel-border) ──────────────────────────────────── */

.fd-ai-fm-input-container {
  border-radius: 0 !important;
  box-shadow: 4px 4px 0 0 var(--color-fd-border, hsl(0 0% 15%));
}

.fd-ai-fm-send-btn {
  border-radius: 0 !important;
}

.fd-ai-fm-close-btn {
  border-radius: 0 !important;
}

.fd-ai-fm-input {
  font-size: 13px;
}

.fd-ai-fm-suggestion {
  border-radius: 0 !important;
  font-family: var(--fd-font-mono, ui-monospace, monospace);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.fd-ai-fm-trigger-btn {
  border-radius: 0 !important;
  font-family: var(--fd-font-mono, ui-monospace, monospace);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 12px;
  box-shadow: 3px 3px 0 0 var(--color-fd-border, hsl(0 0% 15%));
}

.fd-ai-fm-trigger-btn:hover {
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0 0 var(--color-fd-border, hsl(0 0% 15%));
}

.fd-ai-fm-msg-label {
  font-family: var(--fd-font-mono, ui-monospace, monospace);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 11px;
}

.fd-ai-fm-msg-content {
  font-size: 13px;
}

.fd-ai-fm-msg-content code {
  border-radius: 0 !important;
}

.fd-ai-fm-suggestions-label {
  font-family: var(--fd-font-mono, ui-monospace, monospace);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.fd-ai-fm-clear-btn {
  font-family: var(--fd-font-mono, ui-monospace, monospace);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.fd-ai-fm-footer-hint {
  font-size: 11px;
}

/* Full-modal now uses .fd-ai-loader-typing-dot (see above) */

/* ─── Code blocks in AI chat (pixel-border) ──────────────────────── */

.fd-ai-code-block {
  border-radius: 0 !important;
  box-shadow: 3px 3px 0 0 var(--color-fd-border, hsl(0 0% 15%));
  background: transparent;
  --sh-class: #66d9ef;
  --sh-identifier: #f8f8f2;
  --sh-keyword: #f92672;
  --sh-string: #e6db74;
  --sh-property: #a6e22e;
  --sh-entity: #66d9ef;
  --sh-sign: #f8f8f2;
  --sh-comment: #75715e;
  --sh-jsxliterals: #ae81ff;
}

.fd-ai-code-header {
  border-bottom-color: var(--color-fd-border, hsl(0 0% 15%));
  background: transparent;
}

.fd-ai-code-lang {
  font-family: var(--fd-font-mono, ui-monospace, monospace);
}

.fd-ai-code-copy {
  border-radius: 0 !important;
  font-family: var(--fd-font-mono, ui-monospace, monospace);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.fd-ai-code-block code {
  font-family: var(--fd-font-mono, ui-monospace, monospace);
}

/* Light mode: AI code blocks — light bg + dark text + visible pixel border */
:root:not(.dark) .fd-ai-code-block {
  background: #f4f4f5 !important;
  box-shadow: 3px 3px 0 0 hsl(0 0% 75%);
  --sh-class: #b45309;
  --sh-identifier: #1f2937;
  --sh-keyword: #7c3aed;
  --sh-string: #0d9488;
  --sh-property: #dc2626;
  --sh-entity: #059669;
  --sh-sign: #374151;
  --sh-comment: #6b7280;
  --sh-jsxliterals: #7c3aed;
}

:root:not(.dark) .fd-ai-code-header {
  border-bottom-color: hsl(0 0% 80%);
  background: color-mix(in srgb, #e4e4e7 90%, transparent);
}

:root:not(.dark) .fd-ai-code-lang {
  color: #52525b;
}

:root:not(.dark) .fd-ai-code-copy {
  color: #52525b;
  border-color: hsl(0 0% 75%);
}

:root:not(.dark) .fd-ai-code-copy:hover {
  color: #18181b;
  background: color-mix(in srgb, #d4d4d8 70%, transparent);
}

:root:not(.dark) .fd-ai-code-block code {
  color: #1f2937;
}

/* ─── Prompt (pixel-border theme) ──────────────────────────────── */

.fd-prompt {
  border-radius: 0 !important;
  border: 1px solid var(--color-fd-border, #262626) !important;
  background: var(--color-fd-card, var(--color-fd-background)) !important;
  box-shadow: 4px 4px 0 0 var(--color-fd-border, #262626) !important;
}

.fd-prompt-body {
  border-radius: 0 !important;
  border-top: 1px solid var(--color-fd-border, #262626) !important;
  background: var(--color-fd-background, #0c0c0c) !important;
}

.fd-prompt-action-btn {
  text-transform: uppercase !important;
  box-shadow: 2px 2px 0 0 var(--color-fd-border, #262626) !important;
  font-family: var(--fd-font-mono, ui-monospace, monospace) !important;
  border-radius: 0 !important;
  font-size: 0.75rem !important;
  letter-spacing: 0.03em !important;
  background: var(--color-fd-background) !important;
  color: var(--color-fd-foreground) !important;
  border: 1px solid var(--color-fd-border) !important;
}

.fd-prompt-action-btn:hover {
  background: var(--color-fd-muted) !important;
  color: var(--color-fd-foreground) !important;
}

.fd-prompt-menu {
  border-radius: 0 !important;
  box-shadow: 4px 4px 0 0 var(--color-fd-border, hsl(0 0% 15%)), 0 4px 24px hsl(0 0% 0% / 0.5) !important;
  background: var(--color-fd-popover) !important;
  border: 2px solid var(--color-fd-border) !important;
  padding: 0.375rem !important;
}

.fd-prompt-menu-item {
  border-radius: 0 !important;
  font-size: 0.8rem !important;
  font-family: var(--fd-font-mono, ui-monospace, monospace) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.03em !important;
  color: var(--color-fd-popover-foreground) !important;
  background: transparent !important;
  border-top: 1px solid var(--color-fd-border) !important;
}

.fd-prompt-menu-item:first-child {
  border-top: none !important;
}

.fd-prompt-menu-item:hover {
  background: var(--color-fd-muted) !important;
  color: var(--color-fd-foreground) !important;
}

/* ─── Omni Command Palette — pixel-border theme ──────────────────── */

.omni-content {
  border-radius: 0 !important;
  border: 2px solid var(--color-fd-border, hsl(0 0% 15%)) !important;
  box-shadow:
    4px 4px 0 0 var(--color-fd-border, hsl(0 0% 15%)),
    0 24px 60px -12px rgba(0, 0, 0, 0.5) !important;
}

.omni-item,
.omni-kbd,
.omni-kbd-sm,
.omni-close-btn,
.omni-empty-icon {
  border-radius: 0 !important;
}

.omni-kbd,
.omni-kbd-sm {
  border: 1px solid var(--color-fd-border, hsl(0 0% 15%)) !important;
}

.omni-group-label,
.omni-footer-inner {
  font-family: var(--fd-font-mono, ui-monospace, monospace) !important;
}

.omni-search-input {
  font-family: var(--fd-font-sans, system-ui, -apple-system, sans-serif) !important;
}

.omni-group-label {
  letter-spacing: 0.08em !important;
}

.omni-footer-hint svg {
  border-radius: 0 !important;
}

.omni-filter-menu,
.omni-filter-option {
  border-radius: 0 !important;
}

.omni-highlight {
  background: color-mix(in srgb, var(--color-fd-primary, #6366f1) 25%, transparent) !important;
  border-radius: 0 !important;
}

/* ─── Feedback (pixel-border theme) ──────────────────────────────── */

.fd-feedback-input,
.fd-feedback-submit {
  border-radius: 0 !important;
  box-shadow: 3px 3px 0 0 var(--color-fd-border);
}

.fd-feedback-choice[data-selected="true"] {
  background: var(--color-fd-secondary);
}

.fd-feedback-status[data-status="success"] {
  font-family: var(--fd-font-mono, ui-monospace, monospace);
  text-transform: uppercase;
}
