Skip to content

armgit / dbx

Public Imported from GitHub
0

25 MB lightweight cross-platform database client for 100+ databases, including MySQL, PostgreSQL, SQLite, Redis, MongoDB, DuckDB, SQL Server, and Dameng. Built-in AI, MCP Server, CLI, desktop and Docker. | 轻量级跨平台数据库管理工具,支持 MySQL、PostgreSQL、SQLite、Redis、MongoDB、达梦等 100+ 数据库,提供桌面端、Docker、CLI、内置 AI 助手和 MCP。

101 KB
Raw Blame
@font-face {
  font-family: "Geist Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("/fonts/geist-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: "Geist Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("/fonts/geist-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: "Geist Variable Tabular";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-feature-settings: "tnum";
  src: url("/fonts/geist-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: "Geist Variable Tabular";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-feature-settings: "tnum";
  src: url("/fonts/geist-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;
}

@import "tailwindcss";
@source "../**/*.{vue,ts,tsx,js,jsx,html}";

@import "tw-animate-css";

@import "shadcn-vue/tailwind.css";

@keyframes settings-search-highlight-breathe {
  0%,
  100% {
    background-color: color-mix(in srgb, var(--primary) 4%, transparent);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--primary) 34%, transparent);
  }
  50% {
    background-color: color-mix(in srgb, var(--primary) 9%, transparent);
    box-shadow: inset 0 0 0 3px color-mix(in srgb, var(--primary) 54%, transparent);
  }
}

.settings-search-highlight-breathe {
  animation: settings-search-highlight-breathe 900ms cubic-bezier(0.4, 0, 0.2, 1) 3;
  will-change: background-color, box-shadow;
}

@media (prefers-reduced-motion: reduce) {
  .settings-search-highlight-breathe {
    animation: none;
  }
}

/*
 * `@custom-variant dark` and the `@theme inline` block that maps the raw
 * tokens onto Tailwind's `--color-*` namespace both live in tokens.css now:
 * they are plumbing for those tokens, and the standalone documentation export
 * imports tokens.css without this file. Utilities like `bg-background` come
 * from that block, so an entry point with the raw properties and no `@theme`
 * emits none of them.
 */
@import "./tokens.css";

:root {
  --dbx-dialog-top-z-index: 50;
  --dbx-floating-layer-z-index: 51;
  --data-grid-type-integer-fg: #1d4ed8;
  --data-grid-type-numeric-fg: #0e7490;
  --data-grid-type-string-fg: #166534;
  --data-grid-type-boolean-fg: #c2410c;
  --data-grid-type-temporal-fg: #7e22ce;
  --data-grid-type-structured-fg: #be185d;
  --data-grid-type-identifier-fg: #92400e;
  --data-grid-type-binary-fg: #b91c1c;
  --data-grid-type-spatial-fg: #047857;
}

:root.dark {
  --data-grid-type-integer-fg: #93c5fd;
  --data-grid-type-numeric-fg: #67e8f9;
  --data-grid-type-string-fg: #86efac;
  --data-grid-type-boolean-fg: #fdba74;
  --data-grid-type-temporal-fg: #d8b4fe;
  --data-grid-type-structured-fg: #f9a8d4;
  --data-grid-type-identifier-fg: #fcd34d;
  --data-grid-type-binary-fg: #fca5a5;
  --data-grid-type-spatial-fg: #6ee7b7;
}

/* Reka caches the content's computed z-index on its positioning wrapper.
 * Keep it above the live dialog stack through positioning and stack updates. */
[data-dbx-floating-layer] {
  z-index: max(var(--dbx-floating-layer-z-index, 51), var(--dbx-floating-content-z-index, 0)) !important;
}

/* The column-info tooltip re-derives its type hues from these softer 400-level
 * values: the 300-level grid-cell palette above is tuned for the data surface
 * and glares on the dark popover. Light mode keeps the 700-level base. */
.dark .dbx-column-info-tooltip {
  --data-grid-type-integer-fg: #60a5fa;
  --data-grid-type-numeric-fg: #22d3ee;
  --data-grid-type-string-fg: #4ade80;
  --data-grid-type-boolean-fg: #fb923c;
  --data-grid-type-temporal-fg: #c084fc;
  --data-grid-type-structured-fg: #f472b6;
  --data-grid-type-identifier-fg: #fbbf24;
  --data-grid-type-binary-fg: #f87171;
  --data-grid-type-spatial-fg: #34d399;
}
@layer components {
  .data-grid-type-integer {
    color: var(--data-grid-type-integer-fg);
  }

  .data-grid-type-numeric {
    color: var(--data-grid-type-numeric-fg);
  }

  .data-grid-type-string {
    color: var(--data-grid-type-string-fg);
  }

  .data-grid-type-boolean {
    color: var(--data-grid-type-boolean-fg);
  }

  .data-grid-type-temporal {
    color: var(--data-grid-type-temporal-fg);
  }

  .data-grid-type-structured {
    color: var(--data-grid-type-structured-fg);
  }

  .data-grid-type-identifier {
    color: var(--data-grid-type-identifier-fg);
  }

  .data-grid-type-binary {
    color: var(--data-grid-type-binary-fg);
  }

  .data-grid-type-spatial {
    color: var(--data-grid-type-spatial-fg);
  }
}

:root[data-corner-style="large"] {
  --dbx-radius-default: 6px;
  --dbx-radius-sm: 6px;
  --dbx-radius-md: 6px;
  --dbx-radius-lg: 10px;
  --dbx-radius-xl: 14px;
  --dbx-radius-fixed-4: 6px;
  --dbx-radius-fixed-5: 7px;
  --dbx-radius-fixed-6: 10px;
}

:root[data-corner-style="none"] {
  --dbx-radius-default: 0px;
  --dbx-radius-sm: 0px;
  --dbx-radius-md: 0px;
  --dbx-radius-lg: 0px;
  --dbx-radius-xl: 0px;
  --dbx-radius-fixed-4: 0px;
  --dbx-radius-fixed-5: 0px;
  --dbx-radius-fixed-6: 0px;
}

.rounded {
  border-radius: var(--dbx-radius-default);
}

.rounded-\[4px\] {
  border-radius: var(--dbx-radius-fixed-4);
}

.rounded-\[5px\] {
  border-radius: var(--dbx-radius-fixed-5);
}

.rounded-\[6px\] {
  border-radius: var(--dbx-radius-fixed-6);
}

/*
 * Shared control chrome defaults.
 * Keep these in @layer components + :where() so Tailwind utilities and
 * aria-invalid / disabled / caller bg-* hover:* focus rings can override.
 * Do not set box-shadow here — it would erase focus/invalid rings.
 */
@layer components {
  :where(.dbx-control-chrome):not(.border-0):not(.border-transparent):not([aria-invalid="true"]):not(:disabled) {
    border-color: var(--input);
    background-color: var(--background);
  }

  :where(.dbx-control-chrome):not(.border-0):not(.border-transparent):not([aria-invalid="true"]):not(:disabled):hover {
    background-color: color-mix(in srgb, var(--muted) 55%, var(--background));
  }

  :where(.dbx-control-chrome):not(.border-0):not(.border-transparent):not([aria-invalid="true"]):not(:disabled):focus-visible,
  :where(.dbx-control-chrome):not(.border-0):not(.border-transparent):not([aria-invalid="true"]):not(:disabled)[data-state="open"],
  :where(.dbx-control-chrome):not(.border-0):not(.border-transparent):not([aria-invalid="true"]):not(:disabled)[aria-expanded="true"] {
    border-color: var(--ring);
  }

  :where(.dark) :where(.dbx-control-chrome):not(.border-0):not(.border-transparent):not([aria-invalid="true"]):not(:disabled) {
    border-color: var(--input);
    background-color: color-mix(in srgb, var(--input) 30%, transparent);
  }

  :where(.dark) :where(.dbx-control-chrome):not(.border-0):not(.border-transparent):not([aria-invalid="true"]):not(:disabled):hover {
    background-color: color-mix(in srgb, var(--input) 50%, transparent);
  }

  :where(.dark) :where(.dbx-control-chrome):not(.border-0):not(.border-transparent):not([aria-invalid="true"]):not(:disabled):focus-visible,
  :where(.dark) :where(.dbx-control-chrome):not(.border-0):not(.border-transparent):not([aria-invalid="true"]):not(:disabled)[data-state="open"],
  :where(.dark) :where(.dbx-control-chrome):not(.border-0):not(.border-transparent):not([aria-invalid="true"]):not(:disabled)[aria-expanded="true"] {
    border-color: var(--ring);
  }
}

.dbx-choice-selected {
  border-color: color-mix(in srgb, var(--primary) 40%, transparent) !important;
  background-color: color-mix(in srgb, var(--primary) 10%, transparent) !important;
  color: var(--primary) !important;
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--primary) 30%, transparent) !important;
}

.dbx-choice-selected svg {
  color: currentColor !important;
}

.dbx-tile-selected {
  border-color: var(--primary) !important;
  background-color: color-mix(in srgb, var(--primary) 10%, transparent) !important;
  color: var(--foreground) !important;
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--primary) 28%, transparent);
}

.dbx-tile-selected:hover {
  background-color: color-mix(in srgb, var(--primary) 14%, transparent) !important;
}

html.dbx-legacy-webview input[type="number"] {
  font-variant-numeric: tabular-nums;
}

html.dbx-legacy-webview input[type="number"]:not([class*="appearance-none"])::-webkit-inner-spin-button,
html.dbx-legacy-webview input[type="number"]:not([class*="appearance-none"])::-webkit-outer-spin-button {
  -webkit-appearance: inner-spin-button !important;
  appearance: auto !important;
  opacity: 1 !important;
  cursor: pointer;
}

html.dbx-legacy-webview input[type="number"]:not([class*="appearance-none"]):disabled::-webkit-inner-spin-button,
html.dbx-legacy-webview input[type="number"]:not([class*="appearance-none"]):disabled::-webkit-outer-spin-button {
  cursor: not-allowed;
  opacity: 0.5 !important;
}

@supports not (background-color: color-mix(in srgb, black 10%, transparent)) {
  .dbx-choice-selected {
    border-color: rgb(23, 23, 23) !important;
    background-color: rgba(23, 23, 23, 0.08) !important;
    color: rgb(23, 23, 23) !important;
    box-shadow: 0 0 0 1px rgba(23, 23, 23, 0.28) !important;
  }

  .dbx-choice-selected:hover {
    background-color: rgba(23, 23, 23, 0.12) !important;
  }

  .dbx-choice-selected .text-muted-foreground {
    color: rgb(82, 82, 82) !important;
  }

  .dark .dbx-choice-selected {
    border-color: rgb(244, 244, 245) !important;
    background-color: rgba(255, 255, 255, 0.1) !important;
    color: rgb(244, 244, 245) !important;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.28) !important;
  }

  .dark .dbx-choice-selected:hover {
    background-color: rgba(255, 255, 255, 0.14) !important;
  }

  .dark .dbx-choice-selected .text-muted-foreground {
    color: rgb(212, 212, 216) !important;
  }

  .dbx-tile-selected {
    border-color: rgb(23, 23, 23) !important;
    background-color: rgba(23, 23, 23, 0.08) !important;
    color: rgb(23, 23, 23) !important;
    box-shadow: 0 0 0 1px rgba(23, 23, 23, 0.28);
  }

  .dbx-tile-selected:hover {
    background-color: rgba(23, 23, 23, 0.12) !important;
  }

  .dark .dbx-tile-selected {
    border-color: rgb(244, 244, 245) !important;
    background-color: rgba(255, 255, 255, 0.1) !important;
    color: rgb(244, 244, 245) !important;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.28);
  }

  .dark .dbx-tile-selected:hover {
    background-color: rgba(255, 255, 255, 0.14) !important;
  }
}

@supports (height: 100dvh) {
  :root {
    --dbx-viewport-height: min(100vh, 100dvh);
  }
}

html.theme-soft {
  --background: rgb(250 251 253);
  --foreground: rgb(40 44 52);
  --dbx-foreground-rgb: 40, 44, 52;
  --card: rgb(255 255 255);
  --card-foreground: rgb(36 40 48);
  --popover: rgb(255 255 255);
  --popover-foreground: rgb(36 40 48);
  --primary: rgb(46 95 166);
  --dbx-primary-rgb: 46, 95, 166;
  --primary-foreground: rgb(247 250 255);
  --secondary: rgb(237 241 246);
  --secondary-foreground: rgb(47 53 63);
  --muted: rgb(237 241 246);
  --muted-foreground: rgb(104 113 126);
  --accent: rgb(226 233 242);
  --accent-foreground: rgb(36 44 57);
  --destructive: rgb(197 68 58);
  --border: rgb(208 215 224);
  --input: rgb(198 207 218);
  --ring: rgb(110 128 154);
  --chart-1: rgb(84 125 191);
  --chart-2: rgb(80 150 137);
  --chart-3: rgb(184 128 58);
  --chart-4: rgb(136 115 194);
  --chart-5: rgb(191 94 89);
  --sidebar: rgb(239 242 246);
  --sidebar-foreground: rgb(48 54 65);
  --sidebar-primary: rgb(46 95 166);
  --sidebar-primary-foreground: rgb(247 250 255);
  --sidebar-accent: rgb(224 231 241);
  --sidebar-accent-foreground: rgb(34 41 52);
  --sidebar-border: rgb(202 210 221);
  --sidebar-ring: rgb(110 128 154);
  --dbx-chrome: rgb(236 240 245);
  --dbx-chrome-muted: rgb(231 236 243);
  --dbx-content: rgb(255 255 255);
  --dbx-editor-toolbar: rgb(246 248 251);
  --dbx-gutter: rgb(229 234 241);
  --dbx-sidebar-header: rgb(233 238 244);
}

html.theme-soft.dark {
  --background: rgb(31 33 37);
  --foreground: rgb(202 206 214);
  --dbx-foreground-rgb: 202, 206, 214;
  --card: rgb(38 41 46);
  --card-foreground: rgb(202 206 214);
  --popover: rgb(42 45 51);
  --popover-foreground: rgb(207 211 218);
  --primary: rgb(157 177 205);
  --dbx-primary-rgb: 157, 177, 205;
  --primary-foreground: rgb(27 30 34);
  --secondary: rgb(47 51 58);
  --secondary-foreground: rgb(201 205 213);
  --muted: rgb(47 51 58);
  --muted-foreground: rgb(146 153 164);
  --accent: rgb(55 60 69);
  --accent-foreground: rgb(208 212 219);
  --destructive: rgb(224 101 93);
  --border: rgb(104 112 126 / 0.34);
  --input: rgb(116 126 142 / 0.36);
  --ring: rgb(138 148 164);
  --chart-1: rgb(131 157 199);
  --chart-2: rgb(111 168 153);
  --chart-3: rgb(199 151 91);
  --chart-4: rgb(160 145 207);
  --chart-5: rgb(209 116 111);
  --sidebar: rgb(34 37 42);
  --sidebar-foreground: rgb(193 198 207);
  --sidebar-primary: rgb(157 177 205);
  --sidebar-primary-foreground: rgb(27 30 34);
  --sidebar-accent: rgb(45 50 58);
  --sidebar-accent-foreground: rgb(205 210 218);
  --sidebar-border: rgb(105 114 128 / 0.32);
  --sidebar-ring: rgb(138 148 164);
  --dbx-chrome: rgb(39 43 49);
  --dbx-chrome-muted: rgb(43 47 54);
  --dbx-content: rgb(33 36 41);
  --dbx-editor-toolbar: rgb(36 39 44);
  --dbx-gutter: rgb(27 30 34);
  --dbx-sidebar-header: rgb(38 42 48);
}

html.theme-graphite {
  --background: rgb(249 250 252);
  --foreground: rgb(42 45 51);
  --dbx-foreground-rgb: 42, 45, 51;
  --card: rgb(255 255 255);
  --card-foreground: rgb(39 42 48);
  --popover: rgb(255 255 255);
  --popover-foreground: rgb(39 42 48);
  --primary: rgb(72 80 93);
  --dbx-primary-rgb: 72, 80, 93;
  --primary-foreground: rgb(248 250 252);
  --secondary: rgb(238 240 244);
  --secondary-foreground: rgb(49 53 61);
  --muted: rgb(238 240 244);
  --muted-foreground: rgb(106 112 123);
  --accent: rgb(226 230 236);
  --accent-foreground: rgb(39 44 53);
  --destructive: rgb(198 72 62);
  --border: rgb(210 215 224);
  --input: rgb(198 204 214);
  --ring: rgb(116 125 139);
  --chart-1: rgb(92 107 127);
  --chart-2: rgb(80 143 132);
  --chart-3: rgb(178 132 74);
  --chart-4: rgb(121 113 173);
  --chart-5: rgb(184 94 91);
  --sidebar: rgb(235 238 243);
  --sidebar-foreground: rgb(48 52 60);
  --sidebar-primary: rgb(72 80 93);
  --sidebar-primary-foreground: rgb(248 250 252);
  --sidebar-accent: rgb(222 227 235);
  --sidebar-accent-foreground: rgb(39 44 53);
  --sidebar-border: rgb(202 208 218);
  --sidebar-ring: rgb(116 125 139);
  --dbx-chrome: rgb(232 236 242);
  --dbx-chrome-muted: rgb(226 231 238);
  --dbx-content: rgb(255 255 255);
  --dbx-editor-toolbar: rgb(246 248 251);
  --dbx-gutter: rgb(224 229 237);
  --dbx-sidebar-header: rgb(229 233 240);
}

html.theme-graphite.dark {
  --background: rgb(30 32 36);
  --foreground: rgb(198 201 207);
  --dbx-foreground-rgb: 198, 201, 207;
  --card: rgb(38 40 45);
  --card-foreground: rgb(199 202 208);
  --popover: rgb(42 44 50);
  --popover-foreground: rgb(205 208 214);
  --primary: rgb(174 181 192);
  --dbx-primary-rgb: 174, 181, 192;
  --primary-foreground: rgb(27 29 33);
  --secondary: rgb(47 50 57);
  --secondary-foreground: rgb(199 202 208);
  --muted: rgb(47 50 57);
  --muted-foreground: rgb(144 150 160);
  --accent: rgb(55 58 66);
  --accent-foreground: rgb(207 210 216);
  --destructive: rgb(223 101 92);
  --border: rgb(104 110 122 / 0.34);
  --input: rgb(115 123 137 / 0.36);
  --ring: rgb(138 145 158);
  --chart-1: rgb(146 158 176);
  --chart-2: rgb(110 165 151);
  --chart-3: rgb(198 150 92);
  --chart-4: rgb(151 142 199);
  --chart-5: rgb(206 113 109);
  --sidebar: rgb(33 35 40);
  --sidebar-foreground: rgb(190 195 203);
  --sidebar-primary: rgb(174 181 192);
  --sidebar-primary-foreground: rgb(27 29 33);
  --sidebar-accent: rgb(45 48 55);
  --sidebar-accent-foreground: rgb(204 208 215);
  --sidebar-border: rgb(104 110 122 / 0.32);
  --sidebar-ring: rgb(138 145 158);
  --dbx-chrome: rgb(38 41 47);
  --dbx-chrome-muted: rgb(43 46 53);
  --dbx-content: rgb(32 34 39);
  --dbx-editor-toolbar: rgb(36 38 43);
  --dbx-gutter: rgb(27 29 33);
  --dbx-sidebar-header: rgb(37 40 46);
}

html.theme-cobalt {
  --background: rgb(247 250 253);
  --foreground: rgb(32 43 58);
  --dbx-foreground-rgb: 32, 43, 58;
  --card: rgb(255 255 255);
  --card-foreground: rgb(30 41 56);
  --popover: rgb(255 255 255);
  --popover-foreground: rgb(30 41 56);
  --primary: rgb(43 99 183);
  --dbx-primary-rgb: 43, 99, 183;
  --primary-foreground: rgb(247 250 255);
  --secondary: rgb(232 240 250);
  --secondary-foreground: rgb(38 52 70);
  --muted: rgb(232 240 250);
  --muted-foreground: rgb(96 111 130);
  --accent: rgb(216 229 246);
  --accent-foreground: rgb(31 48 72);
  --destructive: rgb(197 70 61);
  --border: rgb(200 212 229);
  --input: rgb(187 204 224);
  --ring: rgb(85 119 165);
  --chart-1: rgb(60 111 191);
  --chart-2: rgb(75 145 159);
  --chart-3: rgb(180 130 64);
  --chart-4: rgb(132 113 190);
  --chart-5: rgb(190 91 95);
  --sidebar: rgb(232 239 248);
  --sidebar-foreground: rgb(37 51 68);
  --sidebar-primary: rgb(43 99 183);
  --sidebar-primary-foreground: rgb(247 250 255);
  --sidebar-accent: rgb(214 228 246);
  --sidebar-accent-foreground: rgb(31 48 72);
  --sidebar-border: rgb(195 209 228);
  --sidebar-ring: rgb(85 119 165);
  --dbx-chrome: rgb(228 236 247);
  --dbx-chrome-muted: rgb(221 231 245);
  --dbx-content: rgb(255 255 255);
  --dbx-editor-toolbar: rgb(244 248 253);
  --dbx-gutter: rgb(218 229 243);
  --dbx-sidebar-header: rgb(224 234 246);
}

html.theme-cobalt.dark {
  --background: rgb(25 31 42);
  --foreground: rgb(198 207 219);
  --dbx-foreground-rgb: 198, 207, 219;
  --card: rgb(31 38 51);
  --card-foreground: rgb(200 209 221);
  --popover: rgb(35 43 58);
  --popover-foreground: rgb(206 214 225);
  --primary: rgb(137 173 223);
  --dbx-primary-rgb: 137, 173, 223;
  --primary-foreground: rgb(20 28 39);
  --secondary: rgb(43 53 70);
  --secondary-foreground: rgb(200 209 221);
  --muted: rgb(43 53 70);
  --muted-foreground: rgb(143 155 171);
  --accent: rgb(49 62 82);
  --accent-foreground: rgb(209 218 229);
  --destructive: rgb(224 101 94);
  --border: rgb(101 119 144 / 0.34);
  --input: rgb(109 130 158 / 0.36);
  --ring: rgb(133 154 184);
  --chart-1: rgb(133 173 229);
  --chart-2: rgb(107 172 184);
  --chart-3: rgb(199 151 90);
  --chart-4: rgb(158 143 207);
  --chart-5: rgb(209 114 116);
  --sidebar: rgb(28 35 48);
  --sidebar-foreground: rgb(191 202 216);
  --sidebar-primary: rgb(137 173 223);
  --sidebar-primary-foreground: rgb(20 28 39);
  --sidebar-accent: rgb(42 54 72);
  --sidebar-accent-foreground: rgb(206 215 227);
  --sidebar-border: rgb(101 119 144 / 0.32);
  --sidebar-ring: rgb(133 154 184);
  --dbx-chrome: rgb(32 40 54);
  --dbx-chrome-muted: rgb(37 47 63);
  --dbx-content: rgb(27 34 46);
  --dbx-editor-toolbar: rgb(30 38 51);
  --dbx-gutter: rgb(22 28 38);
  --dbx-sidebar-header: rgb(31 39 53);
}

html.theme-sage {
  --background: rgb(248 250 248);
  --foreground: rgb(36 48 43);
  --dbx-foreground-rgb: 36, 48, 43;
  --card: rgb(255 255 255);
  --card-foreground: rgb(34 46 41);
  --popover: rgb(255 255 255);
  --popover-foreground: rgb(34 46 41);
  --primary: rgb(58 123 106);
  --dbx-primary-rgb: 58, 123, 106;
  --primary-foreground: rgb(246 252 249);
  --secondary: rgb(233 241 237);
  --secondary-foreground: rgb(42 58 52);
  --muted: rgb(233 241 237);
  --muted-foreground: rgb(97 113 106);
  --accent: rgb(219 234 227);
  --accent-foreground: rgb(31 55 47);
  --destructive: rgb(196 72 61);
  --border: rgb(203 217 211);
  --input: rgb(190 208 200);
  --ring: rgb(88 135 119);
  --chart-1: rgb(63 132 112);
  --chart-2: rgb(74 137 168);
  --chart-3: rgb(180 132 68);
  --chart-4: rgb(132 115 185);
  --chart-5: rgb(188 95 90);
  --sidebar: rgb(235 242 238);
  --sidebar-foreground: rgb(38 54 48);
  --sidebar-primary: rgb(58 123 106);
  --sidebar-primary-foreground: rgb(246 252 249);
  --sidebar-accent: rgb(218 234 227);
  --sidebar-accent-foreground: rgb(31 55 47);
  --sidebar-border: rgb(197 213 206);
  --sidebar-ring: rgb(88 135 119);
  --dbx-chrome: rgb(231 239 235);
  --dbx-chrome-muted: rgb(225 235 230);
  --dbx-content: rgb(255 255 255);
  --dbx-editor-toolbar: rgb(245 248 246);
  --dbx-gutter: rgb(221 233 227);
  --dbx-sidebar-header: rgb(228 237 233);
}

html.theme-sage.dark {
  --background: rgb(27 35 33);
  --foreground: rgb(198 208 204);
  --dbx-foreground-rgb: 198, 208, 204;
  --card: rgb(34 43 40);
  --card-foreground: rgb(200 210 206);
  --popover: rgb(38 48 45);
  --popover-foreground: rgb(206 216 212);
  --primary: rgb(138 184 169);
  --dbx-primary-rgb: 138, 184, 169;
  --primary-foreground: rgb(22 32 29);
  --secondary: rgb(44 57 53);
  --secondary-foreground: rgb(200 210 206);
  --muted: rgb(44 57 53);
  --muted-foreground: rgb(143 157 151);
  --accent: rgb(50 65 60);
  --accent-foreground: rgb(208 218 214);
  --destructive: rgb(224 102 94);
  --border: rgb(100 122 113 / 0.34);
  --input: rgb(107 132 122 / 0.36);
  --ring: rgb(132 159 149);
  --chart-1: rgb(134 188 170);
  --chart-2: rgb(111 170 190);
  --chart-3: rgb(199 151 91);
  --chart-4: rgb(154 143 203);
  --chart-5: rgb(207 114 108);
  --sidebar: rgb(30 39 36);
  --sidebar-foreground: rgb(191 203 198);
  --sidebar-primary: rgb(138 184 169);
  --sidebar-primary-foreground: rgb(22 32 29);
  --sidebar-accent: rgb(43 58 53);
  --sidebar-accent-foreground: rgb(205 217 212);
  --sidebar-border: rgb(100 122 113 / 0.32);
  --sidebar-ring: rgb(132 159 149);
  --dbx-chrome: rgb(34 45 41);
  --dbx-chrome-muted: rgb(39 51 47);
  --dbx-content: rgb(29 38 35);
  --dbx-editor-toolbar: rgb(32 42 39);
  --dbx-gutter: rgb(24 31 29);
  --dbx-sidebar-header: rgb(33 43 40);
}

html.theme-amber {
  --background: rgb(255 252 242);
  --foreground: rgb(56 48 32);
  --dbx-foreground-rgb: 56, 48, 32;
  --card: rgb(255 255 250);
  --card-foreground: rgb(51 44 30);
  --popover: rgb(255 255 250);
  --popover-foreground: rgb(51 44 30);
  --primary: rgb(149 95 28);
  --dbx-primary-rgb: 149, 95, 28;
  --primary-foreground: rgb(255 250 236);
  --secondary: rgb(247 238 213);
  --secondary-foreground: rgb(68 56 36);
  --muted: rgb(247 238 213);
  --muted-foreground: rgb(123 105 70);
  --accent: rgb(239 219 174);
  --accent-foreground: rgb(65 48 24);
  --destructive: rgb(191 72 57);
  --border: rgb(224 207 168);
  --input: rgb(211 191 148);
  --ring: rgb(166 119 47);
  --chart-1: rgb(171 111 34);
  --chart-2: rgb(93 137 112);
  --chart-3: rgb(69 124 162);
  --chart-4: rgb(134 111 178);
  --chart-5: rgb(184 90 87);
  --sidebar: rgb(247 238 213);
  --sidebar-foreground: rgb(61 51 33);
  --sidebar-primary: rgb(149 95 28);
  --sidebar-primary-foreground: rgb(255 250 236);
  --sidebar-accent: rgb(239 221 181);
  --sidebar-accent-foreground: rgb(65 48 24);
  --sidebar-border: rgb(218 199 158);
  --sidebar-ring: rgb(166 119 47);
  --dbx-chrome: rgb(244 233 203);
  --dbx-chrome-muted: rgb(239 226 191);
  --dbx-content: rgb(255 255 250);
  --dbx-editor-toolbar: rgb(252 247 232);
  --dbx-gutter: rgb(235 219 181);
  --dbx-sidebar-header: rgb(242 229 196);
}

html.theme-amber.dark {
  --background: rgb(37 34 27);
  --foreground: rgb(217 208 188);
  --dbx-foreground-rgb: 217, 208, 188;
  --card: rgb(45 41 32);
  --card-foreground: rgb(219 210 191);
  --popover: rgb(50 46 36);
  --popover-foreground: rgb(225 216 197);
  --primary: rgb(213 169 75);
  --dbx-primary-rgb: 213, 169, 75;
  --primary-foreground: rgb(34 29 21);
  --secondary: rgb(59 53 40);
  --secondary-foreground: rgb(218 209 190);
  --muted: rgb(59 53 40);
  --muted-foreground: rgb(163 150 123);
  --accent: rgb(71 61 43);
  --accent-foreground: rgb(228 219 199);
  --destructive: rgb(225 104 92);
  --border: rgb(129 112 77 / 0.36);
  --input: rgb(141 121 83 / 0.38);
  --ring: rgb(185 151 84);
  --chart-1: rgb(214 170 78);
  --chart-2: rgb(121 171 139);
  --chart-3: rgb(103 161 198);
  --chart-4: rgb(160 143 205);
  --chart-5: rgb(210 115 111);
  --sidebar: rgb(41 37 29);
  --sidebar-foreground: rgb(210 200 180);
  --sidebar-primary: rgb(213 169 75);
  --sidebar-primary-foreground: rgb(34 29 21);
  --sidebar-accent: rgb(57 50 36);
  --sidebar-accent-foreground: rgb(224 215 196);
  --sidebar-border: rgb(129 112 77 / 0.34);
  --sidebar-ring: rgb(185 151 84);
  --dbx-chrome: rgb(48 43 33);
  --dbx-chrome-muted: rgb(54 48 36);
  --dbx-content: rgb(39 36 28);
  --dbx-editor-toolbar: rgb(43 39 31);
  --dbx-gutter: rgb(32 29 23);
  --dbx-sidebar-header: rgb(46 41 32);
}

html.theme-blush {
  --background: rgb(255 248 251);
  --foreground: rgb(61 48 56);
  --dbx-foreground-rgb: 61, 48, 56;
  --card: rgb(255 255 255);
  --card-foreground: rgb(57 45 53);
  --popover: rgb(255 255 255);
  --popover-foreground: rgb(57 45 53);
  --primary: rgb(184 86 123);
  --dbx-primary-rgb: 184, 86, 123;
  --primary-foreground: rgb(255 248 251);
  --secondary: rgb(246 232 239);
  --secondary-foreground: rgb(74 55 67);
  --muted: rgb(246 232 239);
  --muted-foreground: rgb(126 98 115);
  --accent: rgb(239 213 226);
  --accent-foreground: rgb(83 50 68);
  --destructive: rgb(197 69 64);
  --border: rgb(226 202 214);
  --input: rgb(214 187 201);
  --ring: rgb(188 111 141);
  --chart-1: rgb(190 88 126);
  --chart-2: rgb(117 141 190);
  --chart-3: rgb(116 157 132);
  --chart-4: rgb(180 132 74);
  --chart-5: rgb(137 108 183);
  --sidebar: rgb(248 234 241);
  --sidebar-foreground: rgb(66 50 60);
  --sidebar-primary: rgb(184 86 123);
  --sidebar-primary-foreground: rgb(255 248 251);
  --sidebar-accent: rgb(239 214 226);
  --sidebar-accent-foreground: rgb(83 50 68);
  --sidebar-border: rgb(220 195 208);
  --sidebar-ring: rgb(188 111 141);
  --dbx-chrome: rgb(246 230 238);
  --dbx-chrome-muted: rgb(240 220 230);
  --dbx-content: rgb(255 255 255);
  --dbx-editor-toolbar: rgb(253 246 250);
  --dbx-gutter: rgb(237 216 227);
  --dbx-sidebar-header: rgb(243 225 235);
}

html.theme-blush.dark {
  --background: rgb(42 35 40);
  --foreground: rgb(221 205 214);
  --dbx-foreground-rgb: 221, 205, 214;
  --card: rgb(52 42 49);
  --card-foreground: rgb(223 207 216);
  --popover: rgb(58 47 55);
  --popover-foreground: rgb(230 214 222);
  --primary: rgb(226 160 184);
  --dbx-primary-rgb: 226, 160, 184;
  --primary-foreground: rgb(39 29 35);
  --secondary: rgb(67 52 62);
  --secondary-foreground: rgb(222 206 215);
  --muted: rgb(67 52 62);
  --muted-foreground: rgb(166 140 154);
  --accent: rgb(82 59 72);
  --accent-foreground: rgb(231 216 224);
  --destructive: rgb(226 102 96);
  --border: rgb(139 108 124 / 0.35);
  --input: rgb(151 116 134 / 0.38);
  --ring: rgb(202 143 164);
  --chart-1: rgb(225 160 184);
  --chart-2: rgb(134 159 211);
  --chart-3: rgb(126 178 151);
  --chart-4: rgb(202 152 93);
  --chart-5: rgb(170 145 207);
  --sidebar: rgb(47 38 45);
  --sidebar-foreground: rgb(214 197 207);
  --sidebar-primary: rgb(226 160 184);
  --sidebar-primary-foreground: rgb(39 29 35);
  --sidebar-accent: rgb(66 51 61);
  --sidebar-accent-foreground: rgb(229 213 222);
  --sidebar-border: rgb(139 108 124 / 0.33);
  --sidebar-ring: rgb(202 143 164);
  --dbx-chrome: rgb(55 44 52);
  --dbx-chrome-muted: rgb(62 49 58);
  --dbx-content: rgb(44 36 42);
  --dbx-editor-toolbar: rgb(50 40 47);
  --dbx-gutter: rgb(37 30 35);
  --dbx-sidebar-header: rgb(52 42 49);
}

html.theme-vscode {
  --background: rgb(255 255 255);
  --foreground: rgb(51 51 51);
  --dbx-foreground-rgb: 51, 51, 51;
  --card: rgb(255 255 255);
  --card-foreground: rgb(45 45 45);
  --popover: rgb(255 255 255);
  --popover-foreground: rgb(45 45 45);
  --primary: rgb(0 122 204);
  --dbx-primary-rgb: 0, 122, 204;
  --primary-foreground: rgb(255 255 255);
  --secondary: rgb(243 243 243);
  --secondary-foreground: rgb(51 51 51);
  --muted: rgb(243 243 243);
  --muted-foreground: rgb(106 106 106);
  --accent: rgb(229 241 251);
  --accent-foreground: rgb(0 74 122);
  --destructive: rgb(196 72 62);
  --border: rgb(224 224 224);
  --input: rgb(206 206 206);
  --ring: rgb(0 122 204);
  --chart-1: rgb(0 122 204);
  --chart-2: rgb(64 143 114);
  --chart-3: rgb(186 133 62);
  --chart-4: rgb(126 112 190);
  --chart-5: rgb(190 90 90);
  --sidebar: rgb(243 243 243);
  --sidebar-foreground: rgb(51 51 51);
  --sidebar-primary: rgb(0 122 204);
  --sidebar-primary-foreground: rgb(255 255 255);
  --sidebar-accent: rgb(230 230 230);
  --sidebar-accent-foreground: rgb(45 45 45);
  --sidebar-border: rgb(216 216 216);
  --sidebar-ring: rgb(0 122 204);
  --dbx-chrome: rgb(221 221 221);
  --dbx-chrome-muted: rgb(232 232 232);
  --dbx-content: rgb(255 255 255);
  --dbx-editor-toolbar: rgb(246 246 246);
  --dbx-gutter: rgb(229 229 229);
  --dbx-sidebar-header: rgb(236 236 236);
  --dbx-tab-outline: rgb(178 178 178);
}

html.theme-vscode.dark {
  --background: rgb(30 30 30);
  --foreground: rgb(204 204 204);
  --dbx-foreground-rgb: 204, 204, 204;
  --card: rgb(37 37 38);
  --card-foreground: rgb(204 204 204);
  --popover: rgb(45 45 48);
  --popover-foreground: rgb(212 212 212);
  --primary: rgb(0 122 204);
  --dbx-primary-rgb: 0, 122, 204;
  --primary-foreground: rgb(255 255 255);
  --secondary: rgb(45 45 48);
  --secondary-foreground: rgb(204 204 204);
  --muted: rgb(45 45 48);
  --muted-foreground: rgb(133 133 133);
  --accent: rgb(38 79 120);
  --accent-foreground: rgb(235 244 255);
  --destructive: rgb(241 112 105);
  --border: rgb(60 60 60);
  --input: rgb(70 70 70);
  --ring: rgb(0 122 204);
  --chart-1: rgb(55 148 255);
  --chart-2: rgb(78 201 176);
  --chart-3: rgb(220 180 120);
  --chart-4: rgb(197 134 192);
  --chart-5: rgb(244 135 113);
  --sidebar: rgb(37 37 38);
  --sidebar-foreground: rgb(204 204 204);
  --sidebar-primary: rgb(0 122 204);
  --sidebar-primary-foreground: rgb(255 255 255);
  --sidebar-accent: rgb(45 45 48);
  --sidebar-accent-foreground: rgb(212 212 212);
  --sidebar-border: rgb(60 60 60);
  --sidebar-ring: rgb(0 122 204);
  --dbx-chrome: rgb(51 51 51);
  --dbx-chrome-muted: rgb(45 45 48);
  --dbx-content: rgb(30 30 30);
  --dbx-editor-toolbar: rgb(37 37 38);
  --dbx-gutter: rgb(27 27 28);
  --dbx-sidebar-header: rgb(45 45 48);
  --dbx-tab-outline: rgb(92 92 92);
}

html.theme-idea {
  --background: rgb(250 250 250);
  --foreground: rgb(43 43 43);
  --dbx-foreground-rgb: 43, 43, 43;
  --card: rgb(255 255 255);
  --card-foreground: rgb(40 40 40);
  --popover: rgb(255 255 255);
  --popover-foreground: rgb(40 40 40);
  --primary: rgb(75 110 175);
  --dbx-primary-rgb: 75, 110, 175;
  --primary-foreground: rgb(255 255 255);
  --secondary: rgb(239 240 242);
  --secondary-foreground: rgb(47 49 52);
  --muted: rgb(239 240 242);
  --muted-foreground: rgb(106 109 113);
  --accent: rgb(218 231 249);
  --accent-foreground: rgb(34 68 124);
  --destructive: rgb(196 72 62);
  --border: rgb(213 215 219);
  --input: rgb(200 203 209);
  --ring: rgb(75 110 175);
  --chart-1: rgb(75 110 175);
  --chart-2: rgb(78 139 119);
  --chart-3: rgb(181 128 62);
  --chart-4: rgb(132 112 184);
  --chart-5: rgb(188 91 87);
  --sidebar: rgb(235 236 240);
  --sidebar-foreground: rgb(47 49 52);
  --sidebar-primary: rgb(75 110 175);
  --sidebar-primary-foreground: rgb(255 255 255);
  --sidebar-accent: rgb(222 226 233);
  --sidebar-accent-foreground: rgb(34 68 124);
  --sidebar-border: rgb(207 210 216);
  --sidebar-ring: rgb(75 110 175);
  --dbx-chrome: rgb(230 231 235);
  --dbx-chrome-muted: rgb(224 226 231);
  --dbx-content: rgb(255 255 255);
  --dbx-editor-toolbar: rgb(246 247 249);
  --dbx-gutter: rgb(222 225 231);
  --dbx-sidebar-header: rgb(229 231 236);
}

html.theme-idea.dark {
  --background: rgb(43 43 43);
  --foreground: rgb(187 187 187);
  --dbx-foreground-rgb: 187, 187, 187;
  --card: rgb(60 63 65);
  --card-foreground: rgb(187 187 187);
  --popover: rgb(67 70 72);
  --popover-foreground: rgb(200 200 200);
  --primary: rgb(106 135 197);
  --dbx-primary-rgb: 106, 135, 197;
  --primary-foreground: rgb(30 32 34);
  --secondary: rgb(60 63 65);
  --secondary-foreground: rgb(187 187 187);
  --muted: rgb(60 63 65);
  --muted-foreground: rgb(139 141 143);
  --accent: rgb(72 78 86);
  --accent-foreground: rgb(210 218 234);
  --destructive: rgb(226 104 96);
  --border: rgb(85 86 87);
  --input: rgb(96 97 98);
  --ring: rgb(106 135 197);
  --chart-1: rgb(106 135 197);
  --chart-2: rgb(98 170 142);
  --chart-3: rgb(204 152 88);
  --chart-4: rgb(166 145 205);
  --chart-5: rgb(211 115 108);
  --sidebar: rgb(49 51 53);
  --sidebar-foreground: rgb(184 186 188);
  --sidebar-primary: rgb(106 135 197);
  --sidebar-primary-foreground: rgb(30 32 34);
  --sidebar-accent: rgb(62 66 70);
  --sidebar-accent-foreground: rgb(206 214 229);
  --sidebar-border: rgb(85 86 87);
  --sidebar-ring: rgb(106 135 197);
  --dbx-chrome: rgb(60 63 65);
  --dbx-chrome-muted: rgb(55 58 60);
  --dbx-content: rgb(43 43 43);
  --dbx-editor-toolbar: rgb(50 53 55);
  --dbx-gutter: rgb(38 38 38);
  --dbx-sidebar-header: rgb(55 58 60);
}

html.theme-xcode {
  --background: rgb(250 252 255);
  --foreground: rgb(31 41 55);
  --dbx-foreground-rgb: 31, 41, 55;
  --card: rgb(255 255 255);
  --card-foreground: rgb(29 39 53);
  --popover: rgb(255 255 255);
  --popover-foreground: rgb(29 39 53);
  --primary: rgb(10 132 255);
  --dbx-primary-rgb: 10, 132, 255;
  --primary-foreground: rgb(255 255 255);
  --secondary: rgb(235 239 245);
  --secondary-foreground: rgb(43 55 72);
  --muted: rgb(235 239 245);
  --muted-foreground: rgb(98 110 126);
  --accent: rgb(219 236 255);
  --accent-foreground: rgb(0 75 153);
  --destructive: rgb(200 71 62);
  --border: rgb(207 216 228);
  --input: rgb(194 206 221);
  --ring: rgb(10 132 255);
  --chart-1: rgb(10 132 255);
  --chart-2: rgb(78 145 163);
  --chart-3: rgb(184 132 67);
  --chart-4: rgb(130 113 190);
  --chart-5: rgb(190 92 90);
  --sidebar: rgb(242 245 250);
  --sidebar-foreground: rgb(43 55 72);
  --sidebar-primary: rgb(10 132 255);
  --sidebar-primary-foreground: rgb(255 255 255);
  --sidebar-accent: rgb(224 235 250);
  --sidebar-accent-foreground: rgb(0 75 153);
  --sidebar-border: rgb(201 211 224);
  --sidebar-ring: rgb(10 132 255);
  --dbx-chrome: rgb(233 237 243);
  --dbx-chrome-muted: rgb(226 232 240);
  --dbx-content: rgb(255 255 255);
  --dbx-editor-toolbar: rgb(247 249 252);
  --dbx-gutter: rgb(221 229 239);
  --dbx-sidebar-header: rgb(235 240 247);
}

html.theme-xcode.dark {
  --background: rgb(31 35 41);
  --foreground: rgb(215 221 231);
  --dbx-foreground-rgb: 215, 221, 231;
  --card: rgb(37 41 50);
  --card-foreground: rgb(216 222 232);
  --popover: rgb(45 51 59);
  --popover-foreground: rgb(224 229 237);
  --primary: rgb(10 132 255);
  --dbx-primary-rgb: 10, 132, 255;
  --primary-foreground: rgb(255 255 255);
  --secondary: rgb(45 51 59);
  --secondary-foreground: rgb(216 222 232);
  --muted: rgb(45 51 59);
  --muted-foreground: rgb(149 158 173);
  --accent: rgb(29 69 117);
  --accent-foreground: rgb(222 238 255);
  --destructive: rgb(229 105 96);
  --border: rgb(94 106 124 / 0.42);
  --input: rgb(104 118 139 / 0.44);
  --ring: rgb(86 160 255);
  --chart-1: rgb(86 160 255);
  --chart-2: rgb(111 174 190);
  --chart-3: rgb(203 153 90);
  --chart-4: rgb(160 144 207);
  --chart-5: rgb(211 116 111);
  --sidebar: rgb(37 41 50);
  --sidebar-foreground: rgb(207 214 225);
  --sidebar-primary: rgb(10 132 255);
  --sidebar-primary-foreground: rgb(255 255 255);
  --sidebar-accent: rgb(45 54 68);
  --sidebar-accent-foreground: rgb(220 236 255);
  --sidebar-border: rgb(94 106 124 / 0.38);
  --sidebar-ring: rgb(86 160 255);
  --dbx-chrome: rgb(45 51 59);
  --dbx-chrome-muted: rgb(39 45 53);
  --dbx-content: rgb(31 35 41);
  --dbx-editor-toolbar: rgb(35 39 46);
  --dbx-gutter: rgb(25 29 34);
  --dbx-sidebar-header: rgb(42 47 56);
}

html.theme-jetbrains {
  --background: rgb(248 249 251);
  --foreground: rgb(31 35 40);
  --dbx-foreground-rgb: 31, 35, 40;
  --card: rgb(255 255 255);
  --card-foreground: rgb(28 32 37);
  --popover: rgb(255 255 255);
  --popover-foreground: rgb(28 32 37);
  --primary: rgb(108 93 211);
  --dbx-primary-rgb: 108, 93, 211;
  --primary-foreground: rgb(255 255 255);
  --secondary: rgb(235 237 241);
  --secondary-foreground: rgb(43 48 56);
  --muted: rgb(235 237 241);
  --muted-foreground: rgb(100 108 119);
  --accent: rgb(229 225 251);
  --accent-foreground: rgb(66 52 153);
  --destructive: rgb(198 72 62);
  --border: rgb(211 216 224);
  --input: rgb(198 204 214);
  --ring: rgb(108 93 211);
  --chart-1: rgb(108 93 211);
  --chart-2: rgb(57 151 167);
  --chart-3: rgb(184 132 67);
  --chart-4: rgb(72 125 197);
  --chart-5: rgb(190 91 90);
  --sidebar: rgb(242 243 245);
  --sidebar-foreground: rgb(43 48 56);
  --sidebar-primary: rgb(108 93 211);
  --sidebar-primary-foreground: rgb(255 255 255);
  --sidebar-accent: rgb(229 231 236);
  --sidebar-accent-foreground: rgb(66 52 153);
  --sidebar-border: rgb(205 210 219);
  --sidebar-ring: rgb(108 93 211);
  --dbx-chrome: rgb(235 237 241);
  --dbx-chrome-muted: rgb(228 231 236);
  --dbx-content: rgb(255 255 255);
  --dbx-editor-toolbar: rgb(247 248 250);
  --dbx-gutter: rgb(224 228 235);
  --dbx-sidebar-header: rgb(237 239 243);
}

html.theme-jetbrains.dark {
  --background: rgb(30 31 34);
  --foreground: rgb(223 225 229);
  --dbx-foreground-rgb: 223, 225, 229;
  --card: rgb(43 45 48);
  --card-foreground: rgb(223 225 229);
  --popover: rgb(49 51 56);
  --popover-foreground: rgb(231 233 237);
  --primary: rgb(123 97 255);
  --dbx-primary-rgb: 123, 97, 255;
  --primary-foreground: rgb(255 255 255);
  --secondary: rgb(43 45 48);
  --secondary-foreground: rgb(223 225 229);
  --muted: rgb(43 45 48);
  --muted-foreground: rgb(161 164 171);
  --accent: rgb(61 58 89);
  --accent-foreground: rgb(233 231 255);
  --destructive: rgb(229 105 96);
  --border: rgb(77 80 86);
  --input: rgb(89 92 99);
  --ring: rgb(123 97 255);
  --chart-1: rgb(123 97 255);
  --chart-2: rgb(75 190 202);
  --chart-3: rgb(207 155 91);
  --chart-4: rgb(105 162 230);
  --chart-5: rgb(214 116 111);
  --sidebar: rgb(43 45 48);
  --sidebar-foreground: rgb(215 218 224);
  --sidebar-primary: rgb(123 97 255);
  --sidebar-primary-foreground: rgb(255 255 255);
  --sidebar-accent: rgb(54 56 61);
  --sidebar-accent-foreground: rgb(232 231 255);
  --sidebar-border: rgb(77 80 86);
  --sidebar-ring: rgb(123 97 255);
  --dbx-chrome: rgb(43 45 48);
  --dbx-chrome-muted: rgb(37 39 42);
  --dbx-content: rgb(30 31 34);
  --dbx-editor-toolbar: rgb(35 37 40);
  --dbx-gutter: rgb(24 25 28);
  --dbx-sidebar-header: rgb(39 41 44);
}

html.theme-cursor {
  --background: rgb(251 252 254);
  --foreground: rgb(31 36 45);
  --dbx-foreground-rgb: 31, 36, 45;
  --card: rgb(255 255 255);
  --card-foreground: rgb(28 33 42);
  --popover: rgb(255 255 255);
  --popover-foreground: rgb(28 33 42);
  --primary: rgb(59 130 246);
  --dbx-primary-rgb: 59, 130, 246;
  --primary-foreground: rgb(255 255 255);
  --secondary: rgb(239 241 245);
  --secondary-foreground: rgb(42 49 60);
  --muted: rgb(239 241 245);
  --muted-foreground: rgb(101 111 126);
  --accent: rgb(222 235 255);
  --accent-foreground: rgb(31 79 154);
  --destructive: rgb(198 72 62);
  --border: rgb(213 218 226);
  --input: rgb(199 206 217);
  --ring: rgb(59 130 246);
  --chart-1: rgb(59 130 246);
  --chart-2: rgb(78 151 166);
  --chart-3: rgb(184 132 67);
  --chart-4: rgb(132 112 190);
  --chart-5: rgb(190 91 90);
  --sidebar: rgb(244 245 247);
  --sidebar-foreground: rgb(42 49 60);
  --sidebar-primary: rgb(59 130 246);
  --sidebar-primary-foreground: rgb(255 255 255);
  --sidebar-accent: rgb(230 234 241);
  --sidebar-accent-foreground: rgb(31 79 154);
  --sidebar-border: rgb(207 213 223);
  --sidebar-ring: rgb(59 130 246);
  --dbx-chrome: rgb(242 243 245);
  --dbx-chrome-muted: rgb(234 237 242);
  --dbx-content: rgb(255 255 255);
  --dbx-editor-toolbar: rgb(247 248 250);
  --dbx-gutter: rgb(228 232 239);
  --dbx-sidebar-header: rgb(238 240 244);
}

html.theme-cursor.dark {
  --background: rgb(15 17 26);
  --foreground: rgb(213 215 222);
  --dbx-foreground-rgb: 213, 215, 222;
  --card: rgb(21 24 33);
  --card-foreground: rgb(214 216 223);
  --popover: rgb(27 30 39);
  --popover-foreground: rgb(223 225 232);
  --primary: rgb(107 164 255);
  --dbx-primary-rgb: 107, 164, 255;
  --primary-foreground: rgb(8 12 20);
  --secondary: rgb(27 30 39);
  --secondary-foreground: rgb(214 216 223);
  --muted: rgb(27 30 39);
  --muted-foreground: rgb(142 149 164);
  --accent: rgb(31 51 82);
  --accent-foreground: rgb(222 236 255);
  --destructive: rgb(228 104 96);
  --border: rgb(82 91 111 / 0.42);
  --input: rgb(93 104 128 / 0.44);
  --ring: rgb(107 164 255);
  --chart-1: rgb(107 164 255);
  --chart-2: rgb(91 187 199);
  --chart-3: rgb(204 154 91);
  --chart-4: rgb(162 143 207);
  --chart-5: rgb(213 116 111);
  --sidebar: rgb(21 24 33);
  --sidebar-foreground: rgb(205 209 219);
  --sidebar-primary: rgb(107 164 255);
  --sidebar-primary-foreground: rgb(8 12 20);
  --sidebar-accent: rgb(28 34 46);
  --sidebar-accent-foreground: rgb(219 233 255);
  --sidebar-border: rgb(82 91 111 / 0.38);
  --sidebar-ring: rgb(107 164 255);
  --dbx-chrome: rgb(27 30 39);
  --dbx-chrome-muted: rgb(24 27 36);
  --dbx-content: rgb(15 17 26);
  --dbx-editor-toolbar: rgb(20 23 32);
  --dbx-gutter: rgb(11 13 20);
  --dbx-sidebar-header: rgb(25 28 38);
}

html.theme-claude {
  --background: rgb(251 247 239);
  --foreground: rgb(51 43 35);
  --dbx-foreground-rgb: 51, 43, 35;
  --card: rgb(255 253 248);
  --card-foreground: rgb(48 40 32);
  --popover: rgb(255 253 248);
  --popover-foreground: rgb(48 40 32);
  --primary: rgb(184 107 60);
  --dbx-primary-rgb: 184, 107, 60;
  --primary-foreground: rgb(255 250 243);
  --secondary: rgb(242 231 219);
  --secondary-foreground: rgb(65 53 43);
  --muted: rgb(242 231 219);
  --muted-foreground: rgb(117 98 81);
  --accent: rgb(234 216 198);
  --accent-foreground: rgb(99 54 31);
  --destructive: rgb(195 73 61);
  --border: rgb(221 205 187);
  --input: rgb(209 190 169);
  --ring: rgb(184 107 60);
  --chart-1: rgb(184 107 60);
  --chart-2: rgb(84 139 119);
  --chart-3: rgb(75 124 160);
  --chart-4: rgb(135 112 178);
  --chart-5: rgb(188 92 87);
  --sidebar: rgb(239 231 220);
  --sidebar-foreground: rgb(58 48 39);
  --sidebar-primary: rgb(184 107 60);
  --sidebar-primary-foreground: rgb(255 250 243);
  --sidebar-accent: rgb(231 216 200);
  --sidebar-accent-foreground: rgb(99 54 31);
  --sidebar-border: rgb(215 199 181);
  --sidebar-ring: rgb(184 107 60);
  --dbx-chrome: rgb(241 231 219);
  --dbx-chrome-muted: rgb(234 222 209);
  --dbx-content: rgb(255 253 248);
  --dbx-editor-toolbar: rgb(248 241 233);
  --dbx-gutter: rgb(230 216 199);
  --dbx-sidebar-header: rgb(236 226 214);
}

html.theme-claude.dark {
  --background: rgb(33 31 28);
  --foreground: rgb(216 208 196);
  --dbx-foreground-rgb: 216, 208, 196;
  --card: rgb(42 39 35);
  --card-foreground: rgb(219 211 199);
  --popover: rgb(49 45 40);
  --popover-foreground: rgb(226 218 206);
  --primary: rgb(210 138 95);
  --dbx-primary-rgb: 210, 138, 95;
  --primary-foreground: rgb(35 27 21);
  --secondary: rgb(55 49 43);
  --secondary-foreground: rgb(219 211 199);
  --muted: rgb(55 49 43);
  --muted-foreground: rgb(163 150 134);
  --accent: rgb(68 56 47);
  --accent-foreground: rgb(232 222 210);
  --destructive: rgb(226 103 95);
  --border: rgb(127 108 91 / 0.38);
  --input: rgb(138 117 98 / 0.4);
  --ring: rgb(210 138 95);
  --chart-1: rgb(210 138 95);
  --chart-2: rgb(116 177 149);
  --chart-3: rgb(101 161 198);
  --chart-4: rgb(160 143 205);
  --chart-5: rgb(211 115 109);
  --sidebar: rgb(42 39 35);
  --sidebar-foreground: rgb(210 201 188);
  --sidebar-primary: rgb(210 138 95);
  --sidebar-primary-foreground: rgb(35 27 21);
  --sidebar-accent: rgb(56 50 44);
  --sidebar-accent-foreground: rgb(229 219 207);
  --sidebar-border: rgb(127 108 91 / 0.35);
  --sidebar-ring: rgb(210 138 95);
  --dbx-chrome: rgb(49 45 40);
  --dbx-chrome-muted: rgb(55 49 43);
  --dbx-content: rgb(33 31 28);
  --dbx-editor-toolbar: rgb(39 36 32);
  --dbx-gutter: rgb(27 25 23);
  --dbx-sidebar-header: rgb(45 41 37);
}

@supports (color: oklch(1 0 0)) {
  :root {
    --background: oklch(1 0 0);
    --foreground: oklch(0.145 0 0);
    --card: oklch(1 0 0);
    --card-foreground: oklch(0.145 0 0);
    --popover: oklch(1 0 0);
    --popover-foreground: oklch(0.145 0 0);
    --primary: oklch(0.205 0 0);
    --primary-foreground: oklch(0.985 0 0);
    --secondary: oklch(0.97 0 0);
    --secondary-foreground: oklch(0.205 0 0);
    --muted: oklch(0.97 0 0);
    --muted-foreground: oklch(0.556 0 0);
    --accent: oklch(0.97 0 0);
    --accent-foreground: oklch(0.205 0 0);
    --destructive: oklch(0.577 0.245 27.325);
    --border: oklch(0.922 0 0);
    --input: oklch(0.922 0 0);
    --ring: oklch(0.708 0 0);
    --chart-1: oklch(0.87 0 0);
    --chart-2: oklch(0.556 0 0);
    --chart-3: oklch(0.439 0 0);
    --chart-4: oklch(0.371 0 0);
    --chart-5: oklch(0.269 0 0);
    --sidebar: oklch(0.985 0 0);
    --sidebar-foreground: oklch(0.145 0 0);
    --sidebar-primary: oklch(0.205 0 0);
    --sidebar-primary-foreground: oklch(0.985 0 0);
    --sidebar-accent: oklch(0.97 0 0);
    --sidebar-accent-foreground: oklch(0.205 0 0);
    --sidebar-border: oklch(0.922 0 0);
    --sidebar-ring: oklch(0.708 0 0);
    --success: oklch(0.62 0.17 150);
    --success-foreground: oklch(0.97 0.02 150);
    --success-bg: color-mix(in oklch, var(--success) 12%, transparent);
    --warning: oklch(0.7 0.15 70);
    --warning-foreground: oklch(0.98 0.02 85);
    --warning-bg: color-mix(in oklch, var(--warning) 14%, transparent);
    --info: oklch(0.55 0.18 250);
    --info-foreground: oklch(0.97 0.02 250);
    --info-bg: color-mix(in oklch, var(--info) 12%, transparent);
    --dbx-chrome: oklch(0.97 0 0);
    --dbx-chrome-muted: oklch(0.95 0 0);
    --dbx-content: oklch(1 0 0);
    --dbx-editor-toolbar: oklch(0.985 0 0);
    --dbx-gutter: oklch(0.965 0 0);
    --dbx-sidebar-header: oklch(0.985 0 0);
  }

  .dark {
    --background: oklch(0.19 0.004 285);
    --foreground: oklch(0.88 0.006 285);
    --card: oklch(0.225 0.005 285);
    --card-foreground: oklch(0.88 0.006 285);
    --popover: oklch(0.235 0.005 285);
    --popover-foreground: oklch(0.89 0.006 285);
    --primary: oklch(0.86 0.008 285);
    --primary-foreground: oklch(0.19 0.004 285);
    --secondary: oklch(0.285 0.006 285);
    --secondary-foreground: oklch(0.88 0.006 285);
    --muted: oklch(0.285 0.006 285);
    --muted-foreground: oklch(0.68 0.008 285);
    --accent: oklch(0.305 0.008 285);
    --accent-foreground: oklch(0.9 0.006 285);
    --destructive: oklch(0.68 0.18 24);
    --border: oklch(0.54 0.006 285 / 28%);
    --input: oklch(0.54 0.006 285 / 34%);
    --ring: oklch(0.62 0.008 285);
    --chart-1: oklch(0.87 0 0);
    --chart-2: oklch(0.556 0 0);
    --chart-3: oklch(0.439 0 0);
    --chart-4: oklch(0.371 0 0);
    --chart-5: oklch(0.269 0 0);
    --sidebar: oklch(0.215 0.005 285);
    --sidebar-foreground: oklch(0.86 0.006 285);
    --sidebar-primary: oklch(0.86 0.008 285);
    --sidebar-primary-foreground: oklch(0.19 0.004 285);
    --sidebar-accent: oklch(0.295 0.006 285);
    --sidebar-accent-foreground: oklch(0.9 0.006 285);
    --sidebar-border: oklch(0.54 0.006 285 / 28%);
    --sidebar-ring: oklch(0.62 0.008 285);
    --success: oklch(0.78 0.16 150);
    --success-foreground: oklch(0.22 0.03 150);
    --success-bg: color-mix(in oklch, var(--success) 16%, transparent);
    --warning: oklch(0.82 0.15 85);
    --warning-foreground: oklch(0.28 0.05 85);
    --warning-bg: color-mix(in oklch, var(--warning) 16%, transparent);
    --info: oklch(0.75 0.12 250);
    --info-foreground: oklch(0.25 0.04 250);
    --info-bg: color-mix(in oklch, var(--info) 16%, transparent);
    --dbx-chrome: oklch(0.225 0.005 285);
    --dbx-chrome-muted: oklch(0.25 0.006 285);
    --dbx-content: oklch(0.19 0.004 285);
    --dbx-editor-toolbar: oklch(0.215 0.005 285);
    --dbx-gutter: oklch(0.205 0.004 285);
    --dbx-sidebar-header: oklch(0.215 0.005 285);
  }

  html.theme-soft {
    --background: oklch(0.985 0.003 255);
    --foreground: oklch(0.315 0.018 255);
    --card: oklch(1 0 0);
    --card-foreground: oklch(0.295 0.018 255);
    --popover: oklch(1 0 0);
    --popover-foreground: oklch(0.295 0.018 255);
    --primary: oklch(0.48 0.115 255);
    --primary-foreground: oklch(0.985 0.006 255);
    --secondary: oklch(0.955 0.008 255);
    --secondary-foreground: oklch(0.36 0.02 255);
    --muted: oklch(0.955 0.008 255);
    --muted-foreground: oklch(0.53 0.024 255);
    --accent: oklch(0.925 0.014 255);
    --accent-foreground: oklch(0.32 0.03 255);
    --destructive: oklch(0.55 0.16 28);
    --border: oklch(0.875 0.012 255);
    --input: oklch(0.835 0.018 255);
    --ring: oklch(0.61 0.045 255);
    --chart-1: oklch(0.57 0.12 255);
    --chart-2: oklch(0.62 0.09 180);
    --chart-3: oklch(0.65 0.12 70);
    --chart-4: oklch(0.62 0.1 300);
    --chart-5: oklch(0.63 0.13 28);
    --sidebar: oklch(0.955 0.007 255);
    --sidebar-foreground: oklch(0.35 0.022 255);
    --sidebar-primary: oklch(0.48 0.115 255);
    --sidebar-primary-foreground: oklch(0.985 0.006 255);
    --sidebar-accent: oklch(0.92 0.014 255);
    --sidebar-accent-foreground: oklch(0.31 0.03 255);
    --sidebar-border: oklch(0.855 0.014 255);
    --sidebar-ring: oklch(0.61 0.045 255);
    --dbx-chrome: oklch(0.948 0.008 255);
    --dbx-chrome-muted: oklch(0.93 0.012 255);
    --dbx-content: oklch(1 0 0);
    --dbx-editor-toolbar: oklch(0.973 0.005 255);
    --dbx-gutter: oklch(0.925 0.011 255);
    --dbx-sidebar-header: oklch(0.94 0.009 255);
  }

  html.theme-soft.dark {
    --background: oklch(0.245 0.009 260);
    --foreground: oklch(0.835 0.014 260);
    --card: oklch(0.285 0.011 260);
    --card-foreground: oklch(0.835 0.014 260);
    --popover: oklch(0.305 0.012 260);
    --popover-foreground: oklch(0.855 0.014 260);
    --primary: oklch(0.76 0.045 260);
    --primary-foreground: oklch(0.22 0.01 260);
    --secondary: oklch(0.345 0.013 260);
    --secondary-foreground: oklch(0.83 0.014 260);
    --muted: oklch(0.345 0.013 260);
    --muted-foreground: oklch(0.68 0.018 260);
    --accent: oklch(0.385 0.018 260);
    --accent-foreground: oklch(0.86 0.014 260);
    --destructive: oklch(0.68 0.16 26);
    --border: oklch(0.62 0.018 260 / 34%);
    --input: oklch(0.66 0.02 260 / 36%);
    --ring: oklch(0.68 0.025 260);
    --chart-1: oklch(0.69 0.08 255);
    --chart-2: oklch(0.7 0.09 180);
    --chart-3: oklch(0.72 0.11 70);
    --chart-4: oklch(0.7 0.08 300);
    --chart-5: oklch(0.7 0.12 28);
    --sidebar: oklch(0.265 0.011 260);
    --sidebar-foreground: oklch(0.805 0.015 260);
    --sidebar-primary: oklch(0.76 0.045 260);
    --sidebar-primary-foreground: oklch(0.22 0.01 260);
    --sidebar-accent: oklch(0.335 0.016 260);
    --sidebar-accent-foreground: oklch(0.85 0.014 260);
    --sidebar-border: oklch(0.62 0.018 260 / 32%);
    --sidebar-ring: oklch(0.68 0.025 260);
    --dbx-chrome: oklch(0.295 0.012 260);
    --dbx-chrome-muted: oklch(0.32 0.013 260);
    --dbx-content: oklch(0.255 0.01 260);
    --dbx-editor-toolbar: oklch(0.275 0.01 260);
    --dbx-gutter: oklch(0.215 0.01 260);
    --dbx-sidebar-header: oklch(0.285 0.012 260);
  }
}

html.disable-transitions,
html.disable-transitions *,
html.disable-transitions *::before,
html.disable-transitions *::after {
  transition-duration: 0s !important;
  animation-duration: 0s !important;
}

body.dbx-table-reference-dragging,
body.dbx-table-reference-dragging * {
  user-select: none !important;
  -webkit-user-select: none !important;
}

html.dbx-data-grid-native-selection-blocked body,
html.dbx-data-grid-native-selection-blocked body * {
  user-select: none !important;
  -webkit-user-select: none !important;
}

html.dbx-data-grid-native-selection-blocked input,
html.dbx-data-grid-native-selection-blocked textarea,
html.dbx-data-grid-native-selection-blocked [contenteditable="true"],
html.dbx-data-grid-native-selection-blocked [contenteditable="true"] *,
html.dbx-data-grid-native-selection-blocked [role="textbox"],
html.dbx-data-grid-native-selection-blocked [role="textbox"] * {
  user-select: text !important;
  -webkit-user-select: text !important;
}

@layer base {
  * {
    @apply border-border outline-ring/50;
  }
  html,
  body,
  #root {
    width: 100%;
    height: 100%;
    overflow: hidden;
    overscroll-behavior: none;
  }
  body {
    @apply font-sans bg-background text-foreground;
    text-rendering: geometricPrecision;
    font-synthesis: none;
  }
  /* Opt-in (#13359): macOS-style smoothing renders some fonts thin and blurry
   * depending on the display and personal taste, so it stays off by default. */
  html.dbx-font-smoothing body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
  button,
  [role="button"],
  [role="menuitem"],
  [role="option"],
  [role="checkbox"],
  [role="radio"],
  [role="switch"],
  select,
  summary,
  label,
  a[href] {
    cursor: pointer;
    user-select: none;
  }
  select {
    color-scheme: light;
  }
  .dark select,
  html.dark select {
    color-scheme: dark;
  }
  select option {
    background-color: var(--popover);
    color: var(--popover-foreground);
  }
  [role="tab"] {
    user-select: none;
  }
}

.dbx-desktop-window-frame {
  position: relative;
}

.dbx-desktop-window-frame::before {
  content: "";
  position: absolute;
  z-index: 80;
  top: 0;
  right: 0;
  left: 0;
  height: 1px;
  pointer-events: none;
  background: var(--dbx-window-top-border);
}

/* Linux floating frame: the transparent margin, rounded corners and shadow are drawn on
 * #root from index.html so they exist before the bundle loads. Here: the app root fills
 * that frame instead of the viewport. */
html.dbx-linux-floating .dbx-app-root {
  width: 100%;
  height: 100%;
}

html.dbx-linux-floating [data-app-shell] {
  width: 100%;
  height: 100%;
}

/* Full-viewport dialog layers are portaled to <body>; keep them inside the shell so they
 * do not paint over the transparent margin and square off the rounded corners. */
html.dbx-linux-floating [data-slot="dialog-overlay"],
html.dbx-linux-floating [data-slot="dialog-positioner"] {
  inset: 20px;
  border-radius: 12px;
}

html.dbx-linux-floating .dbx-desktop-window-frame::before {
  display: none;
}

.dbx-editor-font-family {
  font-family: var(--dbx-editor-font-family, var(--font-mono, monospace));
}

:root {
  --dbx-data-grid-font-family: "Geist Variable Tabular", "Geist Variable", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

.dbx-data-grid-font-family {
  font-family: var(--dbx-data-grid-font-family);
  font-size: 12.5px;
}

.dbx-data-grid-value-font {
  font-family: var(--dbx-data-grid-font-family);
}

/* Tailwind CSS v4 targets Safari 16.4+. The startup capability check marks
 * older WebViews with .dbx-legacy-webview before the app mounts. */
/* Like the dialog fallback block below, these breakpoint fallbacks carry no
 * @media wrapper: production CSS minification rewrites min-width media queries
 * into range syntax that legacy WebViews cannot parse, and the desktop window
 * (minWidth 900, see tauri.conf.json) is always wider than these breakpoints
 * anyway. The html.dbx-legacy-webview class is the only gate. */
html.dbx-legacy-webview .sm\:block {
  display: block !important;
}

html.dbx-legacy-webview .sm\:hidden {
  display: none !important;
}

html.dbx-legacy-webview .sm\:inline {
  display: inline !important;
}

html.dbx-legacy-webview .sm\:flex-row {
  flex-direction: row !important;
}

html.dbx-legacy-webview .sm\:flex-wrap {
  flex-wrap: wrap !important;
}

html.dbx-legacy-webview .sm\:items-start {
  align-items: flex-start !important;
}

html.dbx-legacy-webview .sm\:items-center {
  align-items: center !important;
}

html.dbx-legacy-webview .sm\:justify-between {
  justify-content: space-between !important;
}

html.dbx-legacy-webview .sm\:justify-end {
  justify-content: flex-end !important;
}

html.dbx-legacy-webview .sm\:gap-2 {
  gap: 0.5rem !important;
}

html.dbx-legacy-webview .sm\:grid-cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

html.dbx-legacy-webview .sm\:grid-cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

html.dbx-legacy-webview .sm\:grid-cols-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

html.dbx-legacy-webview .sm\:grid-cols-\[minmax\(0\,1fr\)_auto\] {
  grid-template-columns: minmax(0, 1fr) auto !important;
}

html.dbx-legacy-webview .sm\:grid-cols-\[minmax\(0\,200px\)_minmax\(0\,1fr\)\] {
  grid-template-columns: minmax(0, 200px) minmax(0, 1fr) !important;
}

html.dbx-legacy-webview .sm\:grid-cols-\[minmax\(0\,1fr\)_minmax\(220px\,0\.8fr\)\] {
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.8fr) !important;
}

html.dbx-legacy-webview .sm\:col-span-3 {
  grid-column: span 3 / span 3 !important;
}

html.dbx-legacy-webview .sm\:w-full {
  width: 100% !important;
}

html.dbx-legacy-webview .sm\:w-40 {
  width: 10rem !important;
}

html.dbx-legacy-webview .sm\:w-64 {
  width: 16rem !important;
}

html.dbx-legacy-webview .sm\:w-auto {
  width: auto !important;
}

html.dbx-legacy-webview .sm\:flex-none {
  flex: none !important;
}

html.dbx-legacy-webview .sm\:ml-auto {
  margin-left: auto !important;
}

html.dbx-legacy-webview .md\:w-full {
  width: 100% !important;
}

html.dbx-legacy-webview .md\:grid-cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

html.dbx-legacy-webview .md\:grid-cols-\[1fr_auto\] {
  grid-template-columns: 1fr auto !important;
}

html.dbx-legacy-webview .md\:grid-cols-\[minmax\(0\,1fr\)_180px_auto\] {
  grid-template-columns: minmax(0, 1fr) 180px auto !important;
}

html.dbx-legacy-webview .lg\:block {
  display: block !important;
}

html.dbx-legacy-webview .lg\:hidden {
  display: none !important;
}

html.dbx-legacy-webview .lg\:grid {
  display: grid !important;
}

html.dbx-legacy-webview .lg\:flex-row {
  flex-direction: row !important;
}

html.dbx-legacy-webview .lg\:flex-col {
  flex-direction: column !important;
}

html.dbx-legacy-webview .lg\:items-center {
  align-items: center !important;
}

html.dbx-legacy-webview .lg\:justify-between {
  justify-content: space-between !important;
}

html.dbx-legacy-webview .lg\:justify-end {
  justify-content: flex-end !important;
}

html.dbx-legacy-webview .lg\:w-40 {
  width: 10rem !important;
}

html.dbx-legacy-webview .lg\:overflow-x-hidden {
  overflow-x: hidden !important;
}

html.dbx-legacy-webview .lg\:overflow-y-auto {
  overflow-y: auto !important;
}

html.dbx-legacy-webview .lg\:border-b-0 {
  border-bottom-width: 0 !important;
}

html.dbx-legacy-webview .lg\:border-r {
  border-right-width: 1px !important;
}

html.dbx-legacy-webview .lg\:pb-0 {
  padding-bottom: 0 !important;
}

html.dbx-legacy-webview .lg\:pr-3 {
  padding-right: 0.75rem !important;
}

html.dbx-legacy-webview .lg\:text-right {
  text-align: right !important;
}

html.dbx-legacy-webview .lg\:grid-cols-6 {
  grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
}

html.dbx-legacy-webview .lg\:grid-cols-\[1\.2fr_0\.8fr\] {
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr) !important;
}

html.dbx-legacy-webview .lg\:grid-cols-\[minmax\(0\,1\.6fr\)_72px_56px_76px_58px_76px_72px\] {
  grid-template-columns: minmax(0, 1.6fr) 72px 56px 76px 58px 76px 72px !important;
}

html.dbx-legacy-webview [data-slot="dialog-positioner"] {
  position: fixed !important;
  inset: 0 !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  z-index: var(--dbx-dialog-top-z-index, 50);
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100vw !important;
  height: var(--dbx-viewport-height) !important;
  padding: 1rem !important;
  box-sizing: border-box !important;
  pointer-events: none !important;
}

html.dbx-legacy-webview [data-slot="dialog-content"] {
  width: calc(100vw - 2rem);
  max-width: 24rem;
  max-height: calc(var(--dbx-viewport-height) - 2rem);
  border: 1px solid rgb(229, 229, 229);
  border-color: rgb(229, 229, 229) !important;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.16);
}

html.dbx-legacy-webview.dark [data-slot="dialog-content"] {
  border-color: rgba(110, 110, 114, 0.28) !important;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
}

html.dbx-legacy-webview [data-slot="dialog-content"][class~="max-w-sm"] {
  max-width: 24rem !important;
}

/* The schema diagram's fullscreen mode drops the sm:max-w-* width classes and
 * relies on inline width:100%/max-width:100%, which the 24rem !important cap
 * above outranks in legacy WebViews — the dialog then renders 24rem wide and
 * the canvas collapses. Stretch it explicitly; matches the positioner padding. */
html.dbx-legacy-webview [data-slot="dialog-content"].dbx-diagram-fullscreen {
  width: calc(100vw - 2rem) !important;
  max-width: none !important;
  height: calc(var(--dbx-viewport-height) - 2rem) !important;
  max-height: none !important;
  border-radius: 0 !important;
}
html.dbx-legacy-webview [data-slot="dialog-content"][class~="max-w-md"] {
  max-width: 28rem !important;
}

html.dbx-legacy-webview [data-slot="dialog-content"][class~="max-w-lg"] {
  max-width: 32rem !important;
}

html.dbx-legacy-webview [data-slot="dialog-content"][class~="max-w-xl"] {
  max-width: 36rem !important;
}

html.dbx-legacy-webview [data-slot="dialog-content"][class~="max-w-2xl"] {
  max-width: 42rem !important;
}

html.dbx-legacy-webview [data-slot="dialog-content"][class~="max-w-3xl"] {
  max-width: 48rem !important;
}

html.dbx-legacy-webview [data-slot="dialog-content"][class~="max-w-4xl"] {
  max-width: 56rem !important;
}

html.dbx-legacy-webview [data-slot="dialog-content"][class~="max-w-5xl"] {
  max-width: 64rem !important;
}

html.dbx-legacy-webview [data-slot="dialog-content"][class~="max-w-190"] {
  max-width: 47.5rem !important;
}

html.dbx-legacy-webview [data-slot="dialog-content"][class*="max-w-[92vw]"] {
  max-width: 92vw !important;
}

html.dbx-legacy-webview [data-slot="dialog-content"][class*="max-w-[94vw]"] {
  max-width: 94vw !important;
}

html.dbx-legacy-webview [data-slot="dialog-content"][class*="max-w-[1100px]"] {
  max-width: 1100px !important;
}

html.dbx-legacy-webview [data-slot="dialog-content"][class*="max-w-[min(720px"] {
  max-width: 720px !important;
}

/* Arbitrary (non-breakpoint-prefixed) max-w-* utilities live in @layer
 * utilities, so they lose to the un-layered 24rem generic cap above in every
 * engine. Each DialogContent-level width of this shape needs its own
 * !important entry — like max-w-[min(720px above. */
html.dbx-legacy-webview [data-slot="dialog-content"][class*="max-w-[min(1080px"] {
  max-width: min(1080px, calc(100vw - 2rem)) !important;
}

html.dbx-legacy-webview [data-slot="dialog-content"][class*="max-w-[1800px]"] {
  max-width: 1800px !important;
}

/* The schema diff dialog sizes itself through inline width/height styles, which
 * the max-w-sm !important cap above outranks in legacy WebViews — the dialog then
 * renders at its min-w floor and the maximize toggle collapses to 24rem wide.
 * Pin both states explicitly; these rules must stay after the max-w-* caps
 * because they share specificity and win by source order. */
html.dbx-legacy-webview [data-slot="dialog-content"].dbx-schema-diff-dialog {
  max-width: calc(100vw - 2rem) !important;
  max-height: calc(var(--dbx-viewport-height) - 2rem) !important;
}

html.dbx-legacy-webview [data-slot="dialog-content"].dbx-schema-diff-dialog.dbx-dialog-maximized {
  width: calc(100vw - 2rem) !important;
  height: calc(var(--dbx-viewport-height) - 2rem) !important;
  max-width: none !important;
  max-height: none !important;
  border-radius: 0 !important;
}

html.dbx-legacy-webview [data-slot="dialog-content"].dbx-form-dialog {
  display: flex !important;
  flex-direction: column !important;
  width: calc(100vw - 2rem) !important;
  height: auto !important;
  max-height: calc(var(--dbx-viewport-height) - 2rem) !important;
  overflow-y: auto !important;
  gap: 1rem !important;
}

html.dbx-legacy-webview [data-slot="dialog-content"].dbx-form-dialog--md {
  max-width: 40rem !important;
}

html.dbx-legacy-webview [data-slot="dialog-content"].dbx-form-dialog--lg {
  max-width: 45rem !important;
}

html.dbx-legacy-webview [data-slot="dialog-content"].dbx-backup-dialog > * {
  box-sizing: border-box;
  min-width: 0;
  max-width: 100%;
}

html.dbx-legacy-webview [data-slot="dialog-content"].dbx-form-dialog [data-slot="select-trigger"] {
  height: 2rem !important;
  min-height: 2rem !important;
  box-sizing: border-box !important;
}

html.dbx-legacy-webview [data-slot="dialog-content"][class*="max-w-[min(94vw,920px)]"] {
  max-width: 920px !important;
}

html.dbx-legacy-webview [data-slot="dialog-content"][class*="max-w-[min(94vw,1050px)]"] {
  max-width: 1050px !important;
}

html.dbx-legacy-webview [data-slot="dialog-content"][class*="max-w-[min(96vw,1180px)]"] {
  max-width: 1180px !important;
}

html.dbx-legacy-webview [data-slot="dialog-content"][class*="max-h-[min(760px"] {
  max-height: calc(var(--dbx-viewport-height) - 2rem) !important;
}

html.dbx-legacy-webview [data-slot="dialog-content"][class*="h-[min(760px"]:not(.dbx-form-dialog) {
  height: calc(var(--dbx-viewport-height) - 2rem) !important;
}

html.dbx-legacy-webview [data-slot="dialog-content"][class*="h-[min(82vh,760px)]"] {
  height: 82vh !important;
}

html.dbx-legacy-webview [data-slot="dialog-content"][class*="h-[min(86vh,820px)]"] {
  height: 86vh !important;
}

html.dbx-legacy-webview [data-slot="dialog-content"][class*="max-h-[min(90vh,860px)]"] {
  max-height: 90vh !important;
}

html.dbx-legacy-webview .space-y-0\.5 > * + * {
  margin-top: 0.125rem !important;
}

html.dbx-legacy-webview .space-y-1 > * + * {
  margin-top: 0.25rem !important;
}

html.dbx-legacy-webview .space-y-1\.5 > * + * {
  margin-top: 0.375rem !important;
}

html.dbx-legacy-webview .space-y-2 > * + * {
  margin-top: 0.5rem !important;
}

html.dbx-legacy-webview .space-y-2\.5 > * + * {
  margin-top: 0.625rem !important;
}

html.dbx-legacy-webview .space-y-3 > * + * {
  margin-top: 0.75rem !important;
}

html.dbx-legacy-webview .space-y-4 > * + * {
  margin-top: 1rem !important;
}

html.dbx-legacy-webview .space-y-5 > * + * {
  margin-top: 1.25rem !important;
}

html.dbx-legacy-webview .space-y-6 > * + * {
  margin-top: 1.5rem !important;
}

html.dbx-legacy-webview .bg-primary\/5 {
  background-color: rgba(var(--dbx-primary-rgb), 0.05) !important;
}

html.dbx-legacy-webview .bg-primary\/8 {
  background-color: rgba(var(--dbx-primary-rgb), 0.08) !important;
}

html.dbx-legacy-webview .bg-primary\/10 {
  background-color: rgba(var(--dbx-primary-rgb), 0.1) !important;
}

html.dbx-legacy-webview .bg-primary\/12 {
  background-color: rgba(var(--dbx-primary-rgb), 0.12) !important;
}

html.dbx-legacy-webview .bg-primary\/15 {
  background-color: rgba(var(--dbx-primary-rgb), 0.15) !important;
}

html.dbx-legacy-webview .bg-primary\/20 {
  background-color: rgba(var(--dbx-primary-rgb), 0.2) !important;
}

html.dbx-legacy-webview .bg-primary\/30 {
  background-color: rgba(var(--dbx-primary-rgb), 0.3) !important;
}

html.dbx-legacy-webview .bg-primary\/60 {
  background-color: rgba(var(--dbx-primary-rgb), 0.6) !important;
}

html.dbx-legacy-webview .bg-primary\/80 {
  background-color: rgba(var(--dbx-primary-rgb), 0.8) !important;
}

html.dbx-legacy-webview .bg-primary\/90 {
  background-color: rgba(var(--dbx-primary-rgb), 0.9) !important;
}

html.dbx-legacy-webview .border-primary\/10 {
  border-color: rgba(var(--dbx-primary-rgb), 0.1) !important;
}

html.dbx-legacy-webview .border-primary\/20 {
  border-color: rgba(var(--dbx-primary-rgb), 0.2) !important;
}

html.dbx-legacy-webview .border-primary\/30 {
  border-color: rgba(var(--dbx-primary-rgb), 0.3) !important;
}

html.dbx-legacy-webview .border-primary\/35 {
  border-color: rgba(var(--dbx-primary-rgb), 0.35) !important;
}

html.dbx-legacy-webview .border-primary\/40 {
  border-color: rgba(var(--dbx-primary-rgb), 0.4) !important;
}

html.dbx-legacy-webview .border-primary\/50 {
  border-color: rgba(var(--dbx-primary-rgb), 0.5) !important;
}

html.dbx-legacy-webview .border-primary\/60 {
  border-color: rgba(var(--dbx-primary-rgb), 0.6) !important;
}

html.dbx-legacy-webview .border-primary\/70 {
  border-color: rgba(var(--dbx-primary-rgb), 0.7) !important;
}

html.dbx-legacy-webview .text-primary\/80 {
  color: rgba(var(--dbx-primary-rgb), 0.8) !important;
}

html.dbx-legacy-webview .hover\:bg-primary\/10:hover {
  background-color: rgba(var(--dbx-primary-rgb), 0.1) !important;
}

html.dbx-legacy-webview .hover\:bg-primary\/15:hover {
  background-color: rgba(var(--dbx-primary-rgb), 0.15) !important;
}

html.dbx-legacy-webview .hover\:bg-primary\/20:hover {
  background-color: rgba(var(--dbx-primary-rgb), 0.2) !important;
}

html.dbx-legacy-webview .hover\:bg-primary\/30:hover {
  background-color: rgba(var(--dbx-primary-rgb), 0.3) !important;
}

html.dbx-legacy-webview .hover\:bg-primary\/60:hover {
  background-color: rgba(var(--dbx-primary-rgb), 0.6) !important;
}

html.dbx-legacy-webview .hover\:bg-primary\/80:hover {
  background-color: rgba(var(--dbx-primary-rgb), 0.8) !important;
}

html.dbx-legacy-webview .hover\:bg-primary\/90:hover {
  background-color: rgba(var(--dbx-primary-rgb), 0.9) !important;
}

/*
 * Foreground alpha tints: Tailwind v4 emits `bg-foreground/10` as a full-color
 * declaration with the real tint inside `@supports (color: color-mix(...))`,
 * and WebKit without color-mix() (macOS 12 Safari < 16.2) keeps the full-color
 * one. The update dialog tab badge then renders as a solid near-black pill
 * instead of a 10% tint. Mirror the bg-primary fallbacks above with the
 * --dbx-foreground-rgb token defined beside every --foreground theme color.
 * Dark rules must stay after the hover rules: at equal specificity the later
 * dark-mode tint has to win, matching Tailwind's own variant order.
 */
html.dbx-legacy-webview .bg-foreground\/6 {
  background-color: rgba(var(--dbx-foreground-rgb), 0.06) !important;
}

html.dbx-legacy-webview .bg-foreground\/10 {
  background-color: rgba(var(--dbx-foreground-rgb), 0.1) !important;
}

html.dbx-legacy-webview .hover\:bg-foreground\/10:hover {
  background-color: rgba(var(--dbx-foreground-rgb), 0.1) !important;
}

html.dbx-legacy-webview .hover\:bg-foreground\/15:hover {
  background-color: rgba(var(--dbx-foreground-rgb), 0.15) !important;
}

html.dbx-legacy-webview.dark .dark\:bg-foreground\/20 {
  background-color: rgba(var(--dbx-foreground-rgb), 0.2) !important;
}

html.dbx-legacy-webview.dark .dark\:hover\:bg-foreground\/25:hover {
  background-color: rgba(var(--dbx-foreground-rgb), 0.25) !important;
}

html.dbx-legacy-webview .border-foreground\/20 {
  border-color: rgba(var(--dbx-foreground-rgb), 0.2) !important;
}

html.dbx-legacy-webview .border-foreground\/80 {
  border-color: rgba(var(--dbx-foreground-rgb), 0.8) !important;
}

/*
 * Status alpha tints (warning/destructive): same full-color fallback problem
 * as the foreground utilities above — the base declaration is a theme var, so
 * WebKit without color-mix() (macOS 12 Safari < 16.2) paints it at full
 * opacity and alert surfaces turn into solid blocks with same-color unreadable
 * text. Palette shades need no entry here: the bundler precomputes their known
 * oklch mixes into hex-alpha literals that old WebKit parses fine. Solid
 * text and ring alpha variants stay out: solid text on the restored tint is
 * readable, and rings never worked on these WebKits anyway.
 */

html.dbx-legacy-webview .active\:bg-destructive\/30:active {
  background-color: rgba(var(--destructive-rgb), 0.3) !important;
}

html.dbx-legacy-webview .bg-destructive\/10 {
  background-color: rgba(var(--destructive-rgb), 0.1) !important;
}

html.dbx-legacy-webview .bg-destructive\/15 {
  background-color: rgba(var(--destructive-rgb), 0.15) !important;
}

html.dbx-legacy-webview .bg-destructive\/5 {
  background-color: rgba(var(--destructive-rgb), 0.05) !important;
}

html.dbx-legacy-webview .bg-error\/10 {
  background-color: rgba(var(--destructive-rgb), 0.1) !important;
}

html.dbx-legacy-webview .bg-warning\/10 {
  background-color: rgba(var(--dbx-warning-rgb), 0.1) !important;
}

html.dbx-legacy-webview .bg-warning\/5 {
  background-color: rgba(var(--dbx-warning-rgb), 0.05) !important;
}

html.dbx-legacy-webview .data-\[variant\=destructive\]\:focus\:bg-destructive\/10[data-variant="destructive"]:focus {
  background-color: rgba(var(--destructive-rgb), 0.1) !important;
}

html.dbx-legacy-webview .focus-visible\:bg-destructive\/10:focus-visible {
  background-color: rgba(var(--destructive-rgb), 0.1) !important;
}

html.dbx-legacy-webview .focus\:bg-destructive\/10:focus {
  background-color: rgba(var(--destructive-rgb), 0.1) !important;
}

html.dbx-legacy-webview .aria-invalid\:border-destructive\/55[aria-invalid="true"] {
  border-color: rgba(var(--destructive-rgb), 0.55) !important;
}

html.dbx-legacy-webview .aria-invalid\:border-destructive\/70[aria-invalid="true"] {
  border-color: rgba(var(--destructive-rgb), 0.7) !important;
}

html.dbx-legacy-webview .border-destructive\/15 {
  border-color: rgba(var(--destructive-rgb), 0.15) !important;
}

html.dbx-legacy-webview .border-destructive\/20 {
  border-color: rgba(var(--destructive-rgb), 0.2) !important;
}

html.dbx-legacy-webview .border-destructive\/25 {
  border-color: rgba(var(--destructive-rgb), 0.25) !important;
}

html.dbx-legacy-webview .border-destructive\/30 {
  border-color: rgba(var(--destructive-rgb), 0.3) !important;
}

html.dbx-legacy-webview .border-destructive\/40 {
  border-color: rgba(var(--destructive-rgb), 0.4) !important;
}

html.dbx-legacy-webview .border-destructive\/50 {
  border-color: rgba(var(--destructive-rgb), 0.5) !important;
}

html.dbx-legacy-webview .border-destructive\/70 {
  border-color: rgba(var(--destructive-rgb), 0.7) !important;
}

html.dbx-legacy-webview .border-error\/30 {
  border-color: rgba(var(--destructive-rgb), 0.3) !important;
}

html.dbx-legacy-webview .border-warning\/15 {
  border-color: rgba(var(--dbx-warning-rgb), 0.15) !important;
}

html.dbx-legacy-webview .border-warning\/30 {
  border-color: rgba(var(--dbx-warning-rgb), 0.3) !important;
}

html.dbx-legacy-webview .focus-visible\:border-destructive\/40:focus-visible {
  border-color: rgba(var(--destructive-rgb), 0.4) !important;
}

html.dbx-legacy-webview [data-slot="tabs"][data-orientation="horizontal"] {
  flex-direction: column !important;
}

html.dbx-legacy-webview [data-slot="tabs"][data-orientation="vertical"] {
  flex-direction: row !important;
}

html.dbx-legacy-webview [data-slot="tabs-list"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  border-radius: var(--dbx-radius-fixed-6);
  color: var(--muted-foreground);
}

html.dbx-legacy-webview [data-slot="tabs-list"][data-variant="default"] {
  min-height: 2rem;
  padding: 3px;
  background: var(--muted);
}

html.dbx-legacy-webview [data-slot="tabs-list"][data-variant="line"] {
  gap: 0.25rem;
  padding: 3px;
  background: transparent;
  border-radius: 0;
}

html.dbx-legacy-webview [data-slot="tabs"][data-orientation="vertical"] > [data-slot="tabs-list"] {
  flex-direction: column !important;
  height: fit-content;
}

html.dbx-legacy-webview [data-slot="tabs-trigger"] {
  position: relative;
  display: inline-flex;
  flex: 1 1 0%;
  align-items: center;
  justify-content: center;
  min-width: 0;
  height: calc(100% - 1px);
  padding: 0.125rem 0.375rem;
  gap: 0.375rem;
  border: 1px solid transparent;
  border-radius: var(--dbx-radius-fixed-6);
  color: rgba(10, 10, 10, 0.6);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.25rem;
  white-space: nowrap;
  transition:
    color 150ms ease,
    background-color 150ms ease,
    border-color 150ms ease,
    box-shadow 150ms ease;
}

html.dbx-legacy-webview [data-slot="tabs"][data-orientation="vertical"] [data-slot="tabs-trigger"] {
  width: 100%;
  justify-content: flex-start;
}

html.dbx-legacy-webview [data-slot="tabs-trigger"]:hover {
  color: var(--foreground);
}

html.dbx-legacy-webview [data-slot="tabs-trigger"]:focus-visible {
  border-color: var(--ring);
  outline: 1px solid var(--ring);
  box-shadow: 0 0 0 3px rgba(161, 161, 161, 0.5);
}

html.dbx-legacy-webview [data-slot="tabs-list"][data-variant="default"] > [data-slot="tabs-trigger"][aria-selected="true"],
html.dbx-legacy-webview [data-slot="tabs-list"][data-variant="default"] > [data-slot="tabs-trigger"][data-state="active"],
html.dbx-legacy-webview [data-slot="tabs-list"][data-variant="default"] > [data-slot="tabs-trigger"][data-active] {
  color: var(--foreground);
  background: var(--background);
  border-color: transparent;
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.08),
    0 1px 1px rgba(0, 0, 0, 0.04);
}

html.dbx-legacy-webview [data-slot="tabs-list"][data-variant="line"] > [data-slot="tabs-trigger"] {
  background: transparent;
  box-shadow: none;
}

html.dbx-legacy-webview [data-slot="tabs-list"][data-variant="line"] > [data-slot="tabs-trigger"][aria-selected="true"],
html.dbx-legacy-webview [data-slot="tabs-list"][data-variant="line"] > [data-slot="tabs-trigger"][data-state="active"],
html.dbx-legacy-webview [data-slot="tabs-list"][data-variant="line"] > [data-slot="tabs-trigger"][data-active] {
  color: var(--foreground);
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}

html.dbx-legacy-webview [data-slot="tabs-list"][data-variant="line"] > [data-slot="tabs-trigger"]::after {
  content: "";
  position: absolute;
  background: var(--foreground);
  opacity: 0;
  transition: opacity 150ms ease;
}

html.dbx-legacy-webview [data-slot="tabs"][data-orientation="horizontal"] [data-slot="tabs-list"][data-variant="line"] > [data-slot="tabs-trigger"]::after {
  left: 0;
  right: 0;
  bottom: -5px;
  height: 2px;
}

html.dbx-legacy-webview [data-slot="tabs"][data-orientation="vertical"] [data-slot="tabs-list"][data-variant="line"] > [data-slot="tabs-trigger"]::after {
  top: 0;
  right: -4px;
  bottom: 0;
  width: 2px;
}

html.dbx-legacy-webview [data-slot="tabs-list"][data-variant="line"] > [data-slot="tabs-trigger"][aria-selected="true"]::after,
html.dbx-legacy-webview [data-slot="tabs-list"][data-variant="line"] > [data-slot="tabs-trigger"][data-state="active"]::after,
html.dbx-legacy-webview [data-slot="tabs-list"][data-variant="line"] > [data-slot="tabs-trigger"][data-active]::after {
  opacity: 1;
}

html.dbx-legacy-webview.dark [data-slot="tabs-trigger"] {
  color: var(--muted-foreground);
}

html.dbx-legacy-webview.dark [data-slot="tabs-trigger"]:hover {
  color: var(--foreground);
}

html.dbx-legacy-webview.dark [data-slot="tabs-list"][data-variant="default"] > [data-slot="tabs-trigger"][aria-selected="true"],
html.dbx-legacy-webview.dark [data-slot="tabs-list"][data-variant="default"] > [data-slot="tabs-trigger"][data-state="active"],
html.dbx-legacy-webview.dark [data-slot="tabs-list"][data-variant="default"] > [data-slot="tabs-trigger"][data-active] {
  color: var(--foreground);
  background: rgba(110, 110, 114, 0.3);
  border-color: var(--input);
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.22),
    0 1px 1px rgba(0, 0, 0, 0.16);
}

html.dbx-legacy-webview [data-slot="tabs-content"] {
  min-width: 0;
}

html.dbx-legacy-webview.dark [data-grid-root] .data-grid-header-shell,
html.dbx-legacy-webview.dark [data-grid-root] .data-grid-header-cell,
html.dbx-legacy-webview.dark [data-grid-root] .data-grid-transpose-header,
html.dbx-legacy-webview.dark [data-grid-root] [data-grid-column-index] {
  background-color: rgb(24, 25, 27) !important;
}

html.dbx-legacy-webview.dark [data-grid-root] .data-grid-header-row,
html.dbx-legacy-webview.dark [data-grid-root] .data-grid-transpose-header {
  color: rgb(215, 215, 219) !important;
}

html.dbx-legacy-webview.dark [data-grid-root] .data-grid-header-cell:hover,
html.dbx-legacy-webview.dark [data-grid-root] [data-grid-column-index]:hover {
  background-color: rgb(38, 39, 42) !important;
}

/* Dialog width and footer fallbacks for legacy WebViews. These rules used to sit
 * inside @media (min-width: 640px), but production CSS minification rewrites
 * min-width media queries into range syntax that legacy WebViews cannot parse,
 * which silently disabled the whole block in packaged builds. The desktop window
 * never opens below 900px (see tauri.conf.json minWidth), so the breakpoint was
 * always true and is dropped here. New dialogs only need standard sm:max-w-*
 * classes; no per-component legacy CSS is needed for width or footer layout. */
html.dbx-legacy-webview [data-slot="dialog-footer"] {
  flex-direction: row !important;
  justify-content: flex-end !important;
}

html.dbx-legacy-webview [data-slot="dialog-content"][class~="sm:max-w-sm"] {
  max-width: 24rem !important;
}

html.dbx-legacy-webview [data-slot="dialog-content"][class~="sm:max-w-md"] {
  max-width: 28rem !important;
}

html.dbx-legacy-webview [data-slot="dialog-content"][class~="sm:max-w-lg"] {
  max-width: 32rem !important;
}

html.dbx-legacy-webview [data-slot="dialog-content"][class~="sm:max-w-xl"] {
  max-width: 36rem !important;
}

html.dbx-legacy-webview [data-slot="dialog-content"][class~="sm:max-w-2xl"] {
  max-width: 42rem !important;
}

html.dbx-legacy-webview [data-slot="dialog-content"][class~="sm:max-w-3xl"] {
  max-width: 48rem !important;
}

html.dbx-legacy-webview [data-slot="dialog-content"][class~="sm:max-w-4xl"] {
  max-width: 56rem !important;
}

html.dbx-legacy-webview [data-slot="dialog-content"][class~="sm:max-w-5xl"] {
  max-width: 64rem !important;
}

html.dbx-legacy-webview [data-slot="dialog-content"][class~="sm:max-w-190"] {
  max-width: 47.5rem !important;
}

html.dbx-legacy-webview [data-slot="dialog-content"].dbx-ddl-view-dialog {
  max-width: calc(100vw - 32px) !important;
}

html.dbx-legacy-webview [data-slot="dialog-content"][class*="sm:max-w-[360px]"] {
  max-width: 360px !important;
}

html.dbx-legacy-webview [data-slot="dialog-content"][class*="sm:max-w-[380px]"] {
  max-width: 380px !important;
}

html.dbx-legacy-webview [data-slot="dialog-content"][class*="sm:max-w-[400px]"] {
  max-width: 400px !important;
}

html.dbx-legacy-webview [data-slot="dialog-content"][class*="sm:max-w-[420px]"] {
  max-width: 420px !important;
}

html.dbx-legacy-webview [data-slot="dialog-content"][class*="sm:max-w-[440px]"] {
  max-width: 440px !important;
}

html.dbx-legacy-webview [data-slot="dialog-content"][class*="sm:max-w-[460px]"] {
  max-width: 460px !important;
}

html.dbx-legacy-webview [data-slot="dialog-content"][class*="sm:max-w-[480px]"] {
  max-width: 480px !important;
}

html.dbx-legacy-webview [data-slot="dialog-content"][class*="sm:max-w-[500px]"] {
  max-width: 500px !important;
}

html.dbx-legacy-webview [data-slot="dialog-content"][class*="sm:max-w-[520px]"] {
  max-width: 520px !important;
}

html.dbx-legacy-webview [data-slot="dialog-content"][class*="sm:max-w-[560px]"] {
  max-width: 560px !important;
}

html.dbx-legacy-webview [data-slot="dialog-content"][class*="sm:max-w-[660px]"] {
  max-width: 660px !important;
}

html.dbx-legacy-webview [data-slot="dialog-content"][class*="sm:max-w-[720px]"] {
  max-width: 720px !important;
}

html.dbx-legacy-webview [data-slot="dialog-content"][class*="sm:max-w-[760px]"] {
  max-width: 760px !important;
}

html.dbx-legacy-webview [data-slot="dialog-content"][class*="sm:max-w-[780px]"] {
  max-width: 780px !important;
}

html.dbx-legacy-webview [data-slot="dialog-content"][class*="sm:max-w-[840px]"] {
  max-width: 840px !important;
}

html.dbx-legacy-webview [data-slot="dialog-content"][class*="sm:max-w-[860px]"] {
  max-width: 860px !important;
}

html.dbx-legacy-webview [data-slot="dialog-content"][class*="sm:max-w-[900px]"] {
  max-width: 900px !important;
}

html.dbx-legacy-webview [data-slot="dialog-content"][class*="sm:max-w-[960px]"] {
  max-width: 960px !important;
}

html.dbx-legacy-webview [data-slot="dialog-content"][class*="sm:max-w-[980px]"] {
  max-width: 980px !important;
}

html.dbx-legacy-webview [data-slot="dialog-content"][class*="sm:max-w-[calc(100vw-2rem)]"] {
  max-width: calc(100vw - 2rem) !important;
}

html.dbx-legacy-webview [data-slot="dialog-content"][class*="sm:!max-w-[92vw]"] {
  max-width: 92vw !important;
}

html.dbx-legacy-webview [data-slot="dialog-content"][class*="sm:!max-w-[min(920px,calc(100vw-48px))]"] {
  max-width: min(920px, calc(100vw - 48px)) !important;
}

html.dbx-legacy-webview [data-slot="dialog-content"][class~="sm:max-w-80"] {
  max-width: 20rem !important;
}

html.dbx-legacy-webview [data-slot="dialog-content"][class*="sm:max-w-[22rem]"] {
  max-width: 22rem !important;
}

html.dbx-legacy-webview [data-slot="dialog-content"][class*="sm:max-w-[600px]"] {
  max-width: 600px !important;
}

html.dbx-legacy-webview [data-slot="dialog-content"][class*="sm:max-w-[620px]"] {
  max-width: 620px !important;
}

html.dbx-legacy-webview [data-slot="dialog-content"][class*="sm:max-w-[640px]"] {
  max-width: 640px !important;
}

html.dbx-legacy-webview [data-slot="dialog-content"][class*="sm:max-w-[680px]"] {
  max-width: 680px !important;
}

html.dbx-legacy-webview [data-slot="dialog-content"][class*="sm:max-w-[700px]"] {
  max-width: 700px !important;
}

html.dbx-legacy-webview [data-slot="dialog-content"][class*="sm:max-w-[880px]"] {
  max-width: 880px !important;
}

html.dbx-legacy-webview [data-slot="dialog-content"][class*="sm:max-w-[1120px]"] {
  max-width: 1120px !important;
}

html.dbx-legacy-webview [data-slot="dialog-content"][class*="sm:max-w-[94vw]"] {
  max-width: 94vw !important;
}

html.dbx-legacy-webview [data-slot="dialog-content"][class*="sm:max-w-[min(1180px,calc(100vw-32px))]"] {
  max-width: min(1180px, calc(100vw - 32px)) !important;
}

/* Splitpanes */
/* Splitpanes dragging optimization:
   While dragging any panel boundary (sidebar, sql-files, or workspace splitters),
   isolate expensive subtrees (CodeMirror editor and DataGrid results) from triggering
   continuous forced layout reflows and pointer recalculations on every frame. */
body.dbx-is-resizing,
.splitpanes--dragging {
  cursor: col-resize !important;
  user-select: none !important;
}

body.dbx-is-resizing *,
.splitpanes--dragging * {
  user-select: none !important;
}

body.dbx-is-resizing .cm-editor,
body.dbx-is-resizing [data-shared-result-surface],
.splitpanes--dragging .cm-editor,
.splitpanes--dragging [data-shared-result-surface] {
  pointer-events: none !important;
}

/* 核心优化:在拖拽期间,锁定 CodeMirror 的视口测量与内部 reflow,
   同时让内容区域以固定 layout 运行,拖拽结束再恢复真实排版 */
body.dbx-is-resizing .cm-editor,
.splitpanes--dragging .cm-editor {
  contain: strict !important;
  overflow: hidden !important;
}

body.dbx-is-resizing .cm-scroller,
.splitpanes--dragging .cm-scroller {
  overflow: hidden !important;
}

.splitpanes--horizontal.splitpanes--dragging {
  cursor: row-resize !important;
}

.splitpanes--horizontal .splitpanes__pane {
  transition: none !important;
}
/* Stock splitpanes keeps `will-change: width/height` on ready panes forever.
   Layout properties are never composited, so the hint cannot pay off; it only
   keeps every pane (and the editor/grid subtree inside it) in a pessimized
   style/layout state, which amplifies per-frame work while dragging a
   splitter. Killing it app-wide keeps the stock pane transition intact. */
.splitpanes--ready .splitpanes__pane {
  will-change: auto !important;
}
.splitpanes--vertical > .splitpanes__splitter {
  width: 3px !important;
  border-left: 1px solid var(--border);
  background: transparent;
  cursor: col-resize;
}
.splitpanes--horizontal > .splitpanes__splitter {
  height: 3px !important;
  border-top: 1px solid var(--border);
  background: transparent;
  cursor: row-resize;
}
.splitpanes__splitter:hover {
  background: var(--ring) !important;
}

/* Panel resize handles */
.app-panel-gutter {
  background: var(--dbx-gutter);
}
.dark .app-panel-gutter {
  background: var(--dbx-gutter);
}
.app-toolbar,
.app-tab-bar {
  border-color: var(--border);
  background: var(--dbx-chrome);
}
.app-sidebar-panel {
  color: var(--sidebar-foreground);
  background: var(--sidebar);
}
.app-sidebar-toolbar,
.connection-tree-search,
.sticky-database-header {
  border-color: var(--sidebar-border);
  background: var(--dbx-sidebar-header);
}
.app-editor-toolbar {
  border-color: var(--border);
  background: var(--dbx-editor-toolbar);
}
.app-layout-classic > .min-w-0,
.app-layout-classic > .flex-1 {
  background: var(--dbx-content);
}
html.theme-vscode .app-tab-scroll.wrap-mode .app-tab-pill[data-active-tab="false"] {
  border-color: var(--dbx-tab-outline);
}
.app-layout-classic .panel-resize-handle {
  width: 3px;
}
.app-layout-classic .panel-resize-handle--right {
  right: 0;
  border-right: 1px solid var(--border);
}
.app-layout-classic .panel-resize-handle--left {
  left: 0;
  border-left: 1px solid var(--border);
}
.app-layout-classic .panel-resize-handle:hover,
.app-layout-classic .panel-resize-handle:active {
  background: var(--ring);
}

.panel-resize-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 7px;
  cursor: col-resize;
  touch-action: none;
  z-index: 20;
  background: transparent;
}
.panel-resize-handle--right {
  right: -4px;
}
.panel-resize-handle--left {
  left: -4px;
}
.app-panel-gutter .panel-resize-handle--right::before {
  transform: translate(calc(-50% + 2.5px), -50%);
}
.app-panel-gutter .panel-resize-handle--left::before {
  transform: translate(calc(-50% - 2.5px), -50%);
}
/* The vertical editor tab bar is its own overflow-hidden clipping context, so
   its handles keep the grip dots just inside the bar edge instead of the
   gutter center, where they would be clipped away entirely. */
.app-panel-gutter .app-tab-bar > .panel-resize-handle--right::before {
  transform: translate(calc(-50% - 2.5px), -50%);
}
.app-panel-gutter .app-tab-bar > .panel-resize-handle--left::before {
  transform: translate(calc(-50% + 2.5px), -50%);
}
.panel-resize-handle::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 3px;
  height: 3px;
  border-radius: 999px;
  background: currentColor;
  box-shadow:
    0 5px 0 currentColor,
    0 10px 0 currentColor;
  color: color-mix(in srgb, var(--muted-foreground) 45%, transparent);
  content: "";
  opacity: 0.75;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition:
    color 140ms ease,
    opacity 140ms ease;
}
.panel-resize-handle:hover::before,
.panel-resize-handle:focus-visible::before,
.panel-resize-handle:active::before {
  color: var(--ring);
  opacity: 1;
}
body.dbx-is-resizing .panel-resize-handle::before {
  color: var(--primary);
  opacity: 1;
}
@media (prefers-reduced-motion: reduce) {
  .panel-resize-handle::before {
    transition: none;
  }
}

/* Shared menu surfaces */
.cn-menu-translucent {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  background-color: rgb(255 255 255) !important;
  background-color: oklch(1 0 0) !important;
  box-shadow: none !important;
  border: 0.5px solid rgb(0 0 0 / 0.12) !important;
  border: 0.5px solid oklch(0 0 0 / 0.12) !important;
  --tw-ring-shadow: none !important;
}
.dark .cn-menu-translucent {
  background-color: rgb(23 23 23) !important;
  background-color: oklch(0.205 0 0) !important;
  border-color: rgb(255 255 255 / 0.1) !important;
  border-color: oklch(1 0 0 / 0.1) !important;
}

[data-slot="context-menu-content"],
[data-slot="context-menu-sub-content"],
[data-slot="dropdown-menu-content"],
[data-slot="dropdown-menu-sub-content"],
[data-slot="select-content"],
.cn-menu-translucent {
  background-color: rgb(255, 255, 255) !important;
  border: 1px solid rgba(0, 0, 0, 0.1) !important;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12) !important;
  --tw-ring-color: transparent !important;
  --tw-ring-shadow: 0 0 transparent !important;
  --tw-shadow: 0 0 transparent !important;
}

.dark [data-slot="context-menu-content"],
.dark [data-slot="context-menu-sub-content"],
.dark [data-slot="dropdown-menu-content"],
.dark [data-slot="dropdown-menu-sub-content"],
.dark [data-slot="select-content"],
.dark .cn-menu-translucent {
  background-color: rgb(23, 23, 23) !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45) !important;
}

/* A few compound pickers render their own separate surface cards. */
[data-slot="select-content"][data-naked-surface],
.dark [data-slot="select-content"][data-naked-surface] {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

[data-slot="context-menu-item"]:hover,
[data-slot="context-menu-item"]:focus,
[data-slot="context-menu-item"][data-highlighted],
[data-slot="context-menu-checkbox-item"]:hover,
[data-slot="context-menu-checkbox-item"]:focus,
[data-slot="context-menu-checkbox-item"][data-highlighted],
[data-slot="context-menu-radio-item"]:hover,
[data-slot="context-menu-radio-item"]:focus,
[data-slot="context-menu-radio-item"][data-highlighted],
[data-slot="context-menu-sub-trigger"]:hover,
[data-slot="context-menu-sub-trigger"]:focus,
[data-slot="context-menu-sub-trigger"][data-highlighted],
[data-slot="context-menu-sub-trigger"][data-state="open"],
[data-slot="context-menu-sub-trigger"][data-open],
[data-slot="dropdown-menu-item"]:hover,
[data-slot="dropdown-menu-item"]:focus,
[data-slot="dropdown-menu-item"][data-highlighted],
[data-slot="dropdown-menu-checkbox-item"]:hover,
[data-slot="dropdown-menu-checkbox-item"]:focus,
[data-slot="dropdown-menu-checkbox-item"][data-highlighted],
[data-slot="dropdown-menu-radio-item"]:hover,
[data-slot="dropdown-menu-radio-item"]:focus,
[data-slot="dropdown-menu-radio-item"][data-highlighted],
[data-slot="dropdown-menu-sub-trigger"]:hover,
[data-slot="dropdown-menu-sub-trigger"]:focus,
[data-slot="dropdown-menu-sub-trigger"][data-highlighted],
[data-slot="dropdown-menu-sub-trigger"][data-state="open"],
[data-slot="dropdown-menu-sub-trigger"][data-open],
[data-slot="select-item"]:hover,
[data-slot="select-item"]:focus,
[data-slot="select-item"][data-highlighted],
[role="menuitem"]:hover,
[role="menuitem"]:focus {
  background-color: rgba(23, 23, 23, 0.08) !important;
  color: rgb(23, 23, 23) !important;
}

[data-slot="context-menu-item"]:hover svg,
[data-slot="context-menu-item"]:focus svg,
[data-slot="context-menu-item"][data-highlighted] svg,
[data-slot="context-menu-checkbox-item"]:hover svg,
[data-slot="context-menu-checkbox-item"]:focus svg,
[data-slot="context-menu-checkbox-item"][data-highlighted] svg,
[data-slot="context-menu-radio-item"]:hover svg,
[data-slot="context-menu-radio-item"]:focus svg,
[data-slot="context-menu-radio-item"][data-highlighted] svg,
[data-slot="context-menu-sub-trigger"]:hover svg,
[data-slot="context-menu-sub-trigger"]:focus svg,
[data-slot="context-menu-sub-trigger"][data-highlighted] svg,
[data-slot="context-menu-sub-trigger"][data-state="open"] svg,
[data-slot="context-menu-sub-trigger"][data-open] svg,
[data-slot="dropdown-menu-item"]:hover svg,
[data-slot="dropdown-menu-item"]:focus svg,
[data-slot="dropdown-menu-item"][data-highlighted] svg,
[data-slot="dropdown-menu-checkbox-item"]:hover svg,
[data-slot="dropdown-menu-checkbox-item"]:focus svg,
[data-slot="dropdown-menu-checkbox-item"][data-highlighted] svg,
[data-slot="dropdown-menu-radio-item"]:hover svg,
[data-slot="dropdown-menu-radio-item"]:focus svg,
[data-slot="dropdown-menu-radio-item"][data-highlighted] svg,
[data-slot="dropdown-menu-sub-trigger"]:hover svg,
[data-slot="dropdown-menu-sub-trigger"]:focus svg,
[data-slot="dropdown-menu-sub-trigger"][data-highlighted] svg,
[data-slot="dropdown-menu-sub-trigger"][data-state="open"] svg,
[data-slot="dropdown-menu-sub-trigger"][data-open] svg,
[data-slot="select-item"]:hover svg,
[data-slot="select-item"]:focus svg,
[data-slot="select-item"][data-highlighted] svg,
[role="menuitem"]:hover svg,
[role="menuitem"]:focus svg {
  color: currentColor !important;
}

[data-slot="context-menu-item"][data-variant="destructive"]:hover,
[data-slot="context-menu-item"][data-variant="destructive"]:focus,
[data-slot="context-menu-item"][data-variant="destructive"][data-highlighted],
[data-slot="dropdown-menu-item"][data-variant="destructive"]:hover,
[data-slot="dropdown-menu-item"][data-variant="destructive"]:focus,
[data-slot="dropdown-menu-item"][data-variant="destructive"][data-highlighted] {
  background-color: rgba(var(--destructive-rgb), 0.1) !important;
  color: rgb(var(--destructive-rgb)) !important;
}

.dark [data-slot="context-menu-item"]:hover,
.dark [data-slot="context-menu-item"]:focus,
.dark [data-slot="context-menu-item"][data-highlighted],
.dark [data-slot="context-menu-checkbox-item"]:hover,
.dark [data-slot="context-menu-checkbox-item"]:focus,
.dark [data-slot="context-menu-checkbox-item"][data-highlighted],
.dark [data-slot="context-menu-radio-item"]:hover,
.dark [data-slot="context-menu-radio-item"]:focus,
.dark [data-slot="context-menu-radio-item"][data-highlighted],
.dark [data-slot="context-menu-sub-trigger"]:hover,
.dark [data-slot="context-menu-sub-trigger"]:focus,
.dark [data-slot="context-menu-sub-trigger"][data-highlighted],
.dark [data-slot="context-menu-sub-trigger"][data-state="open"],
.dark [data-slot="context-menu-sub-trigger"][data-open],
.dark [data-slot="dropdown-menu-item"]:hover,
.dark [data-slot="dropdown-menu-item"]:focus,
.dark [data-slot="dropdown-menu-item"][data-highlighted],
.dark [data-slot="dropdown-menu-checkbox-item"]:hover,
.dark [data-slot="dropdown-menu-checkbox-item"]:focus,
.dark [data-slot="dropdown-menu-checkbox-item"][data-highlighted],
.dark [data-slot="dropdown-menu-radio-item"]:hover,
.dark [data-slot="dropdown-menu-radio-item"]:focus,
.dark [data-slot="dropdown-menu-radio-item"][data-highlighted],
.dark [data-slot="dropdown-menu-sub-trigger"]:hover,
.dark [data-slot="dropdown-menu-sub-trigger"]:focus,
.dark [data-slot="dropdown-menu-sub-trigger"][data-highlighted],
.dark [data-slot="dropdown-menu-sub-trigger"][data-state="open"],
.dark [data-slot="dropdown-menu-sub-trigger"][data-open],
.dark [data-slot="select-item"]:hover,
.dark [data-slot="select-item"]:focus,
.dark [data-slot="select-item"][data-highlighted],
.dark [role="menuitem"]:hover,
.dark [role="menuitem"]:focus {
  background-color: rgba(255, 255, 255, 0.12) !important;
  color: rgb(245, 245, 245) !important;
}

/* Tailwind 4 falls back from bg-destructive/<alpha> to solid --destructive
   when color-mix() is unavailable in older WebKit. Keep dangerous-action
   surfaces translucent so red text/icons remain legible on macOS 12 WebView. */
.bg-destructive\/5 {
  background-color: rgba(var(--destructive-rgb), 0.05);
}
.bg-destructive\/10,
.hover\:bg-destructive\/10:hover,
.focus\:bg-destructive\/10:focus,
.focus-visible\:bg-destructive\/10:focus-visible,
.data-\[variant\=destructive\]\:focus\:bg-destructive\/10[data-variant="destructive"]:focus {
  background-color: rgba(var(--destructive-rgb), 0.1);
}
.bg-destructive\/15,
.hover\:bg-destructive\/15:hover {
  background-color: rgba(var(--destructive-rgb), 0.15);
}
.bg-destructive\/20,
.\[a\]\:hover\:bg-destructive\/20:is(a):hover,
.hover\:bg-destructive\/20:hover,
.dark\:bg-destructive\/20:is(.dark *),
.dark\:focus\:bg-destructive\/20:is(.dark *):focus,
.dark\:hover\:bg-destructive\/20:is(.dark *):hover,
.dark\:data-\[variant\=destructive\]\:focus\:bg-destructive\/20:is(.dark *)[data-variant="destructive"]:focus {
  background-color: rgba(var(--destructive-rgb), 0.2);
}
.bg-destructive\/30,
.dark\:hover\:bg-destructive\/30:is(.dark *):hover {
  background-color: rgba(var(--destructive-rgb), 0.3);
}

@supports (background-color: color-mix(in oklab, red 10%, transparent)) {
  .bg-destructive\/5 {
    background-color: color-mix(in oklab, var(--destructive) 5%, transparent);
  }
  .bg-destructive\/10,
  .hover\:bg-destructive\/10:hover,
  .focus\:bg-destructive\/10:focus,
  .focus-visible\:bg-destructive\/10:focus-visible,
  .data-\[variant\=destructive\]\:focus\:bg-destructive\/10[data-variant="destructive"]:focus {
    background-color: color-mix(in oklab, var(--destructive) 10%, transparent);
  }
  .bg-destructive\/15,
  .hover\:bg-destructive\/15:hover {
    background-color: color-mix(in oklab, var(--destructive) 15%, transparent);
  }
  .bg-destructive\/20,
  .\[a\]\:hover\:bg-destructive\/20:is(a):hover,
  .hover\:bg-destructive\/20:hover,
  .dark\:bg-destructive\/20:is(.dark *),
  .dark\:focus\:bg-destructive\/20:is(.dark *):focus,
  .dark\:hover\:bg-destructive\/20:is(.dark *):hover,
  .dark\:data-\[variant\=destructive\]\:focus\:bg-destructive\/20:is(.dark *)[data-variant="destructive"]:focus {
    background-color: color-mix(in oklab, var(--destructive) 20%, transparent);
  }
  .bg-destructive\/30,
  .dark\:hover\:bg-destructive\/30:is(.dark *):hover {
    background-color: color-mix(in oklab, var(--destructive) 30%, transparent);
  }
}

/* Wallpaper mode (html.dbx-bg-active is toggled by useBackgroundImage):
   CodeMirror themes paint opaque editor backgrounds via EditorView.theme, so
   clear them app-wide to let the background image show through. Active line,
   selection, and search-highlight layers keep their own translucent colors
   and stay readable on top.
   Also clear outer body/root/shell wrappers and scrollers so translucent
   surfaces don't compound opacity over the wallpaper layer. */
html.dbx-bg-active,
html.dbx-bg-active body,
html.dbx-bg-active #root,
html.dbx-bg-active [data-app-shell],
html.dbx-bg-active [data-welcome-screen],
html.dbx-bg-active .cm-editor,
html.dbx-bg-active .cm-gutters,
html.dbx-bg-active .cm-scroller {
  background-color: transparent !important;
}

/* Inner workbench panels. One radius step above the old rounded-md (still driven by the
 * Corner style setting) and an opaque border in dark themes: a translucent 1px border on a
 * small arc nearly vanishes against the same-coloured shell, and the anti-aliased corner
 * then reads as stray pixels (most visible on Linux). */
.dbx-panel {
  border: 1px solid var(--border);
  border-radius: var(--dbx-radius-lg);
}

html.dark .dbx-panel {
  border-color: color-mix(in srgb, rgb(104 112 126) 40%, var(--background));
}