/* Onlaude.online Exact Fonts (IBM Plex Sans Arabic + GeistSans fallback) */
@font-face {
  font-family: "IBM Plex Sans Arabic";
  src: url("/assets/fonts/IBMPlexSansArabic-Regular.ttf") format("truetype");
  font-display: swap;
  font-weight: 100 500;
  font-style: normal;
}

@font-face {
  font-family: "IBM Plex Sans Arabic";
  src: url("/assets/fonts/IBMPlexSansArabic-Bold.ttf") format("truetype");
  font-display: swap;
  font-weight: 600 900;
  font-style: normal;
}

@font-face {
  font-family: "GeistSans";
  src: url("/assets/fonts/Geist_Variable.woff2") format("woff2");
  font-display: swap;
  font-weight: 100 900;
  font-style: normal;
}

/* Vetox.io Obsidian & Electric Sky-Blue Design System */
:root {
  --font-vetox-sans: "IBM Plex Sans Arabic", "GeistSans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-vetox-mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, "IBM Plex Sans Arabic", monospace;
  --vetox-canvas: #0d0d0e;
  --vetox-surface: #111113;
  --vetox-raised: #151517;
  --vetox-control: #28282a;
  --vetox-control-hover: #313133;
  --vetox-hover: rgba(255, 255, 255, 0.04);
  --vetox-selected: rgba(255, 255, 255, 0.06);
  --vetox-line-subtle: rgba(255, 255, 255, 0.04);
  --vetox-line: rgba(255, 255, 255, 0.075);
  --vetox-line-strong: rgba(255, 255, 255, 0.14);
  --vetox-brand-50: #174a91;
  --vetox-brand-strong: #1168e4;
  --vetox-brand: #2386f8;
  --vetox-brand-light: #2f9fff;
  --vetox-brand-500: #56beff;
  --vetox-brand-600: #8cd6ff;
  --vetox-fg-strong: #f1f2f4;
  --vetox-fg: #dcdde5;
  --vetox-fg-secondary: #9a9ba0;
  --vetox-fg-tertiary: #848589;
  --vetox-fg-muted: #6e6f73;
  --vetox-success: #4cc38a;
  --vetox-danger: #ea4741;
  --vetox-warning: #fb923c;
  --vx-shadow-control-brand:
    0 0 0 0.5px rgba(13, 13, 14, 0.14),
    0 0.5px 2px rgba(0, 0, 0, 0.24),
    inset 0 1.5px 0 rgba(255, 255, 255, 0.25);
  --vx-shadow-control-brand-hover:
    0 0 0 0.5px rgba(13, 13, 14, 0.14),
    0 1px 3px rgba(0, 0, 0, 0.28),
    inset 0 1.5px 0 rgba(255, 255, 255, 0.34);
  --vx-shadow-control:
    0 0 0 0.5px rgba(13, 13, 14, 0.14),
    0 0.5px 2px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 1px 4px rgba(255, 255, 255, 0.04);
  --vx-shadow-control-hover:
    0 0 0 0.5px rgba(13, 13, 14, 0.14),
    0 1px 3px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.13),
    inset 0 1px 4px rgba(255, 255, 255, 0.05);
  --vx-shadow-control-active:
    0 0 0 0.5px rgba(13, 13, 14, 0.24),
    inset 0 1px 2px rgba(0, 0, 0, 0.28);
}

html {
  color-scheme: dark;
}

html.light {
  color-scheme: light;
}

html, body {
  background-color: var(--vetox-canvas);
  color: var(--vetox-fg);
  font-family: var(--font-vetox-sans);
}

/* Sleek Custom Dark & Light Scrollbars */
*::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

*::-webkit-scrollbar-button {
  display: none;
  width: 0;
  height: 0;
}

*::-webkit-scrollbar-track {
  background: transparent;
}

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

*::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.14);
  border-radius: 999px;
}

*::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.28);
}

html.light *::-webkit-scrollbar-thumb {
  background: rgba(15, 23, 42, 0.18);
}

html.light *::-webkit-scrollbar-thumb:hover {
  background: rgba(15, 23, 42, 0.34);
}

@supports not selector(::-webkit-scrollbar) {
  * {
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.18) transparent;
  }

  html.light * {
    scrollbar-color: rgba(15, 23, 42, 0.22) transparent;
  }
}

/* Top Navigation Bar Active Link (NavigationBar.tsx) */
.ptero-nav-link {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 1.25rem;
  color: var(--vetox-fg-secondary);
  transition: all 150ms ease;
  cursor: pointer;
}

.ptero-nav-link:hover,
.ptero-nav-link.active {
  color: var(--vetox-fg-strong);
  background-color: var(--vetox-raised);
  box-shadow: inset 0 -2px var(--vetox-brand);
}

.vx-panel-header-spacer {
  height: 72px;
  width: 100%;
  flex-shrink: 0;
}

/* SubNavigation Bar (SubNavigation.tsx) */
.ptero-subnav {
  width: 100%;
  background-color: var(--vetox-surface);
  border-bottom: 1px solid var(--vetox-line);
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.35);
  overflow-x: auto;
}

.ptero-subnav-item {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1rem;
  color: var(--vetox-fg-secondary);
  font-size: 0.875rem;
  white-space: nowrap;
  transition: all 150ms ease;
  cursor: pointer;
  border-bottom: 2px solid transparent;
}

.ptero-subnav-item:hover {
  color: var(--vetox-fg-strong);
}

.ptero-subnav-item.active {
  color: var(--vetox-fg-strong);
  box-shadow: inset 0 -2px var(--vetox-brand);
}

/* GreyRowBox & ServerRow (Vetox Tactile Button Surface) */
.ptero-server-row {
  background: linear-gradient(180deg, #252529 0%, #151517 100%);
  border-radius: 10px;
  padding: 1rem 1.35rem;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 0 0 0.5px rgba(13, 13, 14, 0.24),
    0 2px 6px rgba(0, 0, 0, 0.28),
    inset 0 1.5px 0 rgba(255, 255, 255, 0.14),
    inset 0 2px 8px rgba(255, 255, 255, 0.04);
  transition: transform 140ms ease, border-color 140ms ease, box-shadow 140ms ease, background 140ms ease;
}

.ptero-server-row:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow:
    0 0 0 0.5px rgba(13, 13, 14, 0.24),
    0 5px 14px rgba(0, 0, 0, 0.34),
    inset 0 1.5px 0 rgba(255, 255, 255, 0.22),
    inset 0 2px 10px rgba(255, 255, 255, 0.06);
}

.ptero-status-bar {
  width: 0.4rem;
  position: absolute;
  inset-inline-end: 0;
  top: 0;
  z-index: 20;
  border-radius: 9999px;
  margin: 0.35rem;
  height: calc(100% - 0.7rem);
  opacity: 0.78;
  transition: all 150ms ease;
}

.ptero-server-row:hover .ptero-status-bar {
  opacity: 0.95;
}

/* File Manager Rows (files/style.module.css) */
.ptero-file-row {
  display: flex;
  align-items: center;
  cursor: pointer;
  background-color: var(--vetox-raised);
  border-bottom: 1px solid var(--vetox-line-subtle);
  border-radius: 0.125rem;
  margin-bottom: 1px;
  font-size: 0.875rem;
  transition: background-color 100ms ease, color 100ms ease;
}

.ptero-file-row:hover {
  color: var(--vetox-fg-strong);
  background-color: #1e1e21;
}

/* Pterodactyl Custom Checkbox */
.ptero-checkbox {
  appearance: none;
  width: 1rem;
  height: 1rem;
  background-color: var(--vetox-canvas);
  border: 1px solid var(--vetox-fg-muted);
  border-radius: 0.2rem;
  cursor: pointer;
  display: inline-grid;
  place-content: center;
}

.ptero-checkbox:checked {
  background-color: var(--vetox-brand);
  border-color: var(--vetox-brand-light);
}

.ptero-checkbox:checked::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
  background-color: white;
}

/* Terminal / Console Styling (console/style.module.css) */
.ptero-terminal-output {
  background-color: #0b0b0c;
  font-family: var(--font-vetox-mono);
  font-size: 12.5px;
  line-height: 1.55;
  overflow-y: auto;
  height: 410px;
  padding: 0.75rem 1rem;
  border-top-left-radius: 0.375rem;
  border-top-right-radius: 0.375rem;
  border: 1px solid var(--vetox-line);
  border-bottom: none;
  color: var(--vetox-fg);
}

.ptero-terminal-output::-webkit-scrollbar {
  width: 8px;
}

.ptero-terminal-output::-webkit-scrollbar-track {
  background: #0b0b0c;
}

.ptero-terminal-output::-webkit-scrollbar-thumb {
  background: var(--vetox-control);
  border-radius: 4px;
}

/* Obfuscated / Blurred Daemon Internal Logs (Permanently Redacted) */
.ptero-blurred-log {
  filter: blur(5.5px) !important;
  opacity: 0.35 !important;
  user-select: none !important;
  pointer-events: none !important;
  cursor: default !important;
  color: var(--vetox-fg-muted) !important;
  letter-spacing: 1px !important;
  line-height: 1.4 !important;
  transform: translateZ(0);
}

.ptero-command-input {
  background-color: var(--vetox-surface);
  color: var(--vetox-fg-strong);
  font-family: var(--font-vetox-mono);
  font-size: 0.875rem;
  border-bottom: 2px solid transparent;
  transition: border-color 150ms ease;
}

.ptero-command-input:focus {
  outline: none;
  border-bottom-color: var(--vetox-brand-light);
}

/* Code Editor Styling */
.ptero-code-editor-wrap {
  position: relative;
  display: flex;
  background-color: #0d0d0e;
  border: 1px solid var(--vetox-line);
  border-radius: 0.375rem;
  height: 520px;
  overflow: hidden;
}

.ptero-line-numbers {
  background-color: var(--vetox-surface);
  color: var(--vetox-fg-muted);
  font-family: var(--font-vetox-mono);
  font-size: 13px;
  line-height: 1.6;
  padding: 0.75rem 0.75rem;
  text-align: right;
  user-select: none;
  border-right: 1px solid var(--vetox-line);
  min-width: 3.25rem;
  overflow: hidden;
}

.ptero-code-textarea {
  flex: 1;
  background-color: #0d0d0e;
  color: var(--vetox-fg-strong);
  font-family: var(--font-vetox-mono);
  font-size: 13px;
  line-height: 1.6;
  padding: 0.75rem 1rem;
  resize: none;
  outline: none;
  border: none;
  white-space: pre;
  overflow: auto;
  tab-size: 2;
}

/* TitledGreyBox */
.ptero-titled-box {
  background-color: var(--vetox-raised);
  border: 1px solid var(--vetox-line);
  border-radius: 0.5rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.ptero-titled-box-header {
  background-color: var(--vetox-surface);
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--vetox-line);
  font-family: var(--font-vetox-sans);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  color: var(--vetox-fg-strong);
  font-weight: 500;
}

/* Inputs */
.ptero-input {
  width: 100%;
  background-color: var(--vetox-canvas);
  border: 1.5px solid var(--vetox-control);
  border-radius: 0.375rem;
  padding: 0.55rem 0.75rem;
  font-size: 0.875rem;
  color: var(--vetox-fg-strong);
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.ptero-input:focus {
  outline: none;
  border-color: var(--vetox-brand-light);
  box-shadow: 0 0 0 2px rgba(47, 159, 255, 0.16);
}

.ptero-input-light {
  width: 100%;
  background-color: #f8fafc;
  border: 2px solid #cbd5e1;
  border-radius: 0.25rem;
  padding: 0.65rem 0.75rem;
  font-size: 0.875rem;
  color: #1e293b;
  transition: border-color 150ms ease;
}

.ptero-input-light:focus {
  outline: none;
  border-color: var(--vetox-brand);
}

/* ==================== ACTIVE NAV HIGHLIGHTS ==================== */
.ptero-nav-link.active {
  box-shadow: inset 0 -2px var(--vetox-brand) !important;
}

.ptero-subnav-item.active {
  box-shadow: inset 0 -2px var(--vetox-brand) !important;
}

/* ==================== COMPREHENSIVE LIGHT THEME (html.light) ==================== */
html.light body {
  background-color: #f1f5f9 !important;
  color: #1e293b !important;
}

html.light .bg-neutral-900,
html.light .bg-neutral-800,
html.light .bg-black {
  background-color: #ffffff !important;
}

html.light .bg-neutral-950 {
  background-color: #f8fafc !important;
}

html.light .border-neutral-800,
html.light .border-neutral-700,
html.light .border-neutral-600 {
  border-color: #e2e8f0 !important;
}

html.light .text-gray-50,
html.light .text-neutral-100,
html.light .text-neutral-200 {
  color: #0f172a !important;
}

html.light .text-neutral-300,
html.light .text-neutral-400 {
  color: #475569 !important;
}

html.light .text-neutral-500 {
  color: #64748b !important;
}

html.light .ptero-nav-link {
  color: #475569 !important;
}

html.light .ptero-nav-link:hover,
html.light .ptero-nav-link.active {
  color: #0f172a !important;
  background-color: #f8fafc !important;
}

html.light .ptero-subnav {
  background-color: #ffffff !important;
  border-bottom: 1px solid #e2e8f0 !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important;
}

html.light .ptero-subnav-item {
  color: #64748b !important;
}

html.light .ptero-subnav-item:hover,
html.light .ptero-subnav-item.active {
  color: #0f172a !important;
}

html.light .ptero-titled-box {
  background-color: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
}

html.light .ptero-titled-box-header {
  background-color: #f8fafc !important;
  color: #0f172a !important;
  border-bottom: 1px solid #e2e8f0 !important;
  font-weight: 600 !important;
}

html.light .ptero-input {
  background-color: #ffffff !important;
  border: 1.5px solid #cbd5e1 !important;
  color: #0f172a !important;
}

html.light .ptero-input:focus {
  border-color: #2563eb !important;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.15) !important;
}

html.light .ptero-server-row {
  background-color: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04) !important;
}

html.light .ptero-server-row:hover {
  background-color: #f8fafc !important;
  border-color: #cbd5e1 !important;
}

html.light .ptero-file-row {
  background-color: #ffffff !important;
  border-bottom: 1px solid #f1f5f9 !important;
  color: #1e293b !important;
}

html.light .ptero-file-row:hover {
  background-color: #f1f5f9 !important;
  color: #0f172a !important;
}

html.light .ptero-modal-card {
  background-color: #ffffff !important;
  color: #0f172a !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1) !important;
}

html.light .bg-gray-600,
html.light .bg-gray-700 {
  background-color: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  color: #0f172a !important;
}

html.light .text-gray-200 {
  color: #64748b !important;
}

html.light footer {
  border-color: #e2e8f0 !important;
  color: #64748b !important;
}

/* ==================== PTERODACTYL CODEMIRROR FILE EDITOR ==================== */
.ptero-editor-wrapper {
  position: relative;
  width: 100%;
  min-height: 16rem;
  height: calc(100vh - 20rem);
  background-color: #191f2b;
  border: 1px solid hsl(209, 18%, 30%);
  border-radius: 0.375rem;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.25);
}

.CodeMirror {
  font-family: var(--font-vetox-mono) !important;
  font-size: 13px !important;
  line-height: 1.5 !important;
  height: 100% !important;
  background-color: #191f2b !important;
  color: #cbccc6 !important;
  border-radius: 0.375rem !important;
}

.cm-s-ayu-mirage.CodeMirror {
  background: #191f2b !important;
}

.cm-s-ayu-mirage .CodeMirror-gutters {
  background: #131822 !important;
  border-right: 1px solid rgba(255, 255, 255, 0.08) !important;
  padding-right: 4px;
}

.cm-s-ayu-mirage .CodeMirror-linenumber {
  color: #5c6773 !important;
  padding: 0 12px 0 12px !important;
}

.cm-s-ayu-mirage .CodeMirror-cursor {
  border-left: 2px solid #ffcc66 !important;
}

.cm-s-ayu-mirage .CodeMirror-selected {
  background: rgba(52, 69, 99, 0.6) !important;
}

.cm-s-ayu-mirage .CodeMirror-line::selection,
.cm-s-ayu-mirage .CodeMirror-line > span::selection,
.cm-s-ayu-mirage .CodeMirror-line > span > span::selection {
  background: rgba(52, 69, 99, 0.7) !important;
}

/* Fallback plain textarea if JS disabled */
.ptero-fallback-textarea {
  width: 100%;
  height: 100%;
  padding: 16px;
  background-color: #191f2b;
  color: #cbccc6;
  font-family: var(--font-vetox-mono);
  font-size: 13px;
  line-height: 1.5;
  border: none;
  outline: none;
  resize: none;
  white-space: pre;
}

/* ==================== VETOX-THEMED GITHUB HUB PAGE ==================== */
.rw-gh-canvas {
  position: relative;
  width: 100%;
  min-height: calc(100vh - 3.5rem);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  background-color: #0d0d0e;
  overflow: hidden;
  direction: ltr;
}

.rw-gh-card {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 446px;
  background: #151517;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 11px;
  padding: 10px;
  box-shadow: none;
  color: #dcdde5;
  font-family: var(--font-vetox-sans);
  direction: ltr;
  text-align: left;
}

.rw-gh-search-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 44px;
  padding: 0 12px;
  background: #0d0d0e;
  border: 1px solid #2386f8;
  border-radius: 8px;
  transition: border-color 140ms ease;
}

.rw-gh-search-wrap:focus-within {
  border-color: #2f9fff;
  box-shadow: none;
}

.rw-gh-back-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border: none;
  background: transparent;
  color: #848589;
  font-size: 13px;
  cursor: pointer;
  border-radius: 4px;
  padding: 0;
  flex-shrink: 0;
  transition: color 120ms ease, background-color 120ms ease;
}

.rw-gh-back-btn:hover {
  color: #f1f2f4;
  background: rgba(255, 255, 255, 0.06);
}

.rw-gh-search-input {
  flex: 1;
  min-width: 0;
  background: transparent !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  color: #f1f2f4 !important;
  font-size: 13.5px;
  line-height: 1.4;
  font-family: inherit;
}

.rw-gh-search-input::placeholder {
  color: #6e6f73;
}

.rw-gh-subbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 10px 8px;
  gap: 8px;
}

.rw-gh-subbar-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  background: transparent;
  color: #848589;
  font-size: 13px;
  font-weight: 400;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 6px;
  transition: color 130ms ease, background-color 130ms ease;
}

.rw-gh-subbar-btn:hover {
  color: #f1f2f4;
  background: rgba(255, 255, 255, 0.05);
}

.rw-gh-subbar-btn.rw-gh-refresh {
  color: #9a9ba0;
  gap: 6px;
  font-size: 12.5px;
}

.rw-gh-subbar-btn.rw-gh-refresh:hover {
  color: #f1f2f4;
}

.rw-gh-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  max-height: 418px;
  overflow-y: auto;
  padding: 2px 0 4px;
}

.rw-gh-list::-webkit-scrollbar {
  width: 6px;
}

.rw-gh-list::-webkit-scrollbar-track {
  background: transparent;
}

.rw-gh-list::-webkit-scrollbar-thumb {
  background: #28282a;
  border-radius: 9999px;
}

.rw-gh-list::-webkit-scrollbar-thumb:hover {
  background: #424245;
}

.rw-gh-item {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 12px;
  border: none;
  border-radius: 6px;
  background: transparent;
  color: #9a9ba0;
  font-size: 13.5px;
  cursor: pointer;
  text-align: left;
  transition: background-color 110ms ease, color 110ms ease;
}

.rw-gh-item-left {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  flex: 1;
}

.rw-gh-item-icon {
  font-size: 16px;
  color: #848589;
  flex-shrink: 0;
  transition: color 110ms ease;
}

.rw-gh-item-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 450;
  letter-spacing: 0.005em;
}

.rw-gh-item-arrow {
  font-size: 10px;
  color: #6e6f73;
  flex-shrink: 0;
  transition: color 110ms ease, transform 110ms ease;
}

.rw-gh-item:hover,
.rw-gh-item.active {
  background: #0d0d0e;
  color: #f1f2f4;
}

.rw-gh-item:hover .rw-gh-item-icon,
.rw-gh-item.active .rw-gh-item-icon {
  color: #f1f2f4;
}

.rw-gh-item:hover .rw-gh-item-arrow,
.rw-gh-item.active .rw-gh-item-arrow {
  color: #2f9fff;
}

.rw-gh-empty {
  padding: 28px 14px;
  text-align: center;
  color: #848589;
  font-size: 13px;
}

.rw-gh-panel-body {
  padding: 12px 10px 8px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.rw-gh-field-label {
  display: block;
  font-size: 11.5px;
  color: #9a9ba0;
  margin-bottom: 5px;
  font-weight: 500;
}

.rw-gh-field-input {
  width: 100%;
  height: 36px;
  padding: 0 10px;
  background: #0d0d0e !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 6px;
  color: #f1f2f4 !important;
  font-size: 13px;
  outline: none;
  transition: border-color 130ms ease;
}

.rw-gh-field-input:focus {
  border-color: #2f9fff !important;
}

.rw-gh-primary-btn {
  width: 100%;
  height: 38px;
  border: none;
  border-radius: 7px;
  background: #2386f8;
  color: #ffffff;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background-color 130ms ease, opacity 130ms ease;
}

.rw-gh-primary-btn:hover:not(:disabled) {
  background: #2f9fff;
}

.rw-gh-primary-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.rw-gh-secondary-btn {
  height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  background: #28282a;
  color: #dcdde5;
  font-size: 12.5px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  transition: background-color 120ms ease, color 120ms ease, border-color 120ms ease;
}

.rw-gh-secondary-btn:hover {
  background: #313133;
  color: #f1f2f4;
  border-color: rgba(255, 255, 255, 0.18);
}

.rw-gh-danger-btn {
  height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(234, 71, 65, 0.35);
  border-radius: 6px;
  background: rgba(234, 71, 65, 0.14);
  color: #fca5a5;
  font-size: 12.5px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  transition: background-color 120ms ease, color 120ms ease;
}

.rw-gh-canvas.rw-gh-canvas-subnav {
  min-height: calc(100vh - 6.75rem);
  padding: 1.75rem 1rem 2.25rem;
}

.rw-gh-card.rw-gh-card-wide {
  max-width: 500px;
}

.rw-gh-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 8px;
  border-radius: 9999px;
  font-size: 11px;
  font-family: var(--font-vetox-mono);
  background: #151517;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #9a9ba0;
}

.rw-gh-pill.ok {
  background: rgba(76, 195, 138, 0.12);
  border-color: rgba(76, 195, 138, 0.3);
  color: #4cc38a;
}

.rw-gh-pill.err {
  background: rgba(234, 71, 65, 0.14);
  border-color: rgba(234, 71, 65, 0.35);
  color: #fca5a5;
}

.rw-gh-inset-box {
  background: #0d0d0e;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  padding: 10px 12px;
}

.rw-gh-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 6px 2px;
  font-size: 12px;
  color: #9a9ba0;
  cursor: pointer;
}

.rw-gh-toggle-row:hover {
  color: #f1f2f4;
}

.rw-gh-history-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 7px 9px;
  border-radius: 6px;
  background: #0d0d0e;
  border: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 11.5px;
}

.rw-gh-item.deploying {
  opacity: 0.58;
  cursor: wait;
}

.rw-gh-toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 60;
  min-width: 268px;
  max-width: 340px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 15px;
  background: #151517;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 9px;
  box-shadow: none;
  color: #f1f2f4;
  font-family: var(--font-vetox-sans);
  direction: ltr;
  text-align: left;
  animation: rwToastIn 160ms ease-out;
}

@keyframes rwToastIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.rw-gh-toast-icon {
  font-size: 14px;
  margin-top: 2px;
  flex-shrink: 0;
  color: #9a9ba0;
}

.rw-gh-toast-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.rw-gh-toast-title {
  font-size: 13px;
  font-weight: 500;
  color: #dcdde5;
  line-height: 1.35;
}

.rw-gh-toast-sub {
  font-size: 13px;
  font-weight: 600;
  color: #f1f2f4;
  line-height: 1.35;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rw-gh-toast-close {
  border: none;
  background: transparent;
  color: #848589;
  font-size: 12px;
  cursor: pointer;
  padding: 2px;
  line-height: 1;
  flex-shrink: 0;
  transition: color 120ms ease;
}

.rw-gh-toast-close:hover {
  color: #f1f2f4;
}

/* ==================== VETOX-STYLE SINGLE-SECTION HOME PAGE ==================== */
.vx-home-shell {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  background-color: #0d0d0e;
  color: #ffffff;
  overflow: hidden;
}

.vx-home-sky {
  position: absolute;
  inset: 0 0 auto 0;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, #000 62%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 62%, transparent 100%);
}

.vx-home-sky img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  user-select: none;
}

.vx-home-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 30;
  width: 100%;
  pointer-events: none;
}

.vx-home-header-inner {
  pointer-events: auto;
  position: relative;
  z-index: 0;
  margin: 0 auto;
  max-width: 1152px;
  height: 72px;
  padding: 0 1.75rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: all 300ms ease-out;
}

.vx-home-header-pill {
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 9999px;
  background: rgba(21, 21, 23, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  opacity: 0;
  transition: opacity 300ms ease;
  pointer-events: none;
}

.vx-home-header.scrolled .vx-home-header-inner {
  margin-top: 12px;
  max-width: 920px;
  height: 58px;
  padding: 0 1.25rem;
}

.vx-home-header.scrolled .vx-home-header-pill {
  opacity: 1;
}

.vx-home-header.vx-panel-header {
  background: rgba(13, 13, 14, 0.8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  pointer-events: auto;
  transition: background-color 280ms ease, border-color 280ms ease, backdrop-filter 280ms ease;
}

.vx-home-header.vx-panel-header.scrolled {
  background: transparent;
  border-bottom-color: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  pointer-events: none;
}

.vx-home-header.vx-panel-header .vx-home-header-inner {
  max-width: 1200px;
}

.vx-home-header.vx-panel-header.scrolled .vx-home-header-inner {
  max-width: 980px;
}

.vx-home-header-start {
  flex: 1;
  display: flex;
  align-items: center;
}

.vx-home-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: #ffffff;
  font-family: var(--font-vetox-sans);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.025em;
  border-radius: 8px;
}

.vx-home-nav-center {
  display: flex;
  align-items: center;
  gap: 4px;
}

.vx-nav-item {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.vx-home-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  height: 36px;
  padding: 0 15px;
  border-radius: 9999px;
  font-size: 0.92rem;
  font-weight: 500;
  color: #f1f2f4;
  text-decoration: none;
  white-space: nowrap;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: background-color 150ms ease, color 150ms ease;
}

.vx-home-nav-link:hover,
.vx-home-nav-link.active,
.vx-home-nav-link.open {
  background: rgba(255, 255, 255, 0.09);
  color: #ffffff;
}

.vx-nav-chevron {
  width: 14px;
  height: 14px;
  color: rgba(241, 242, 244, 0.72);
  transition: transform 180ms ease, color 150ms ease;
}

.vx-home-nav-link.open .vx-nav-chevron {
  transform: rotate(180deg);
  color: #ffffff;
}

.vx-nav-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  width: 340px;
  padding: 8px;
  border-radius: 16px;
  background: color-mix(in oklab, color-mix(in oklab, #151517, white 5%) 45%, transparent);
  border: 1.5px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(24px) saturate(150%);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
  box-shadow: none !important;
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 45;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 160ms ease, transform 180ms cubic-bezier(0.22, 1, 0.36, 1), visibility 160ms ease;
}

/* Hover bridge between trigger pill and glass dropdown */
.vx-nav-dropdown::before {
  content: "";
  position: absolute;
  top: -16px;
  left: 0;
  right: 0;
  height: 16px;
}

.vx-home-header.scrolled .vx-nav-dropdown,
.vx-page-shell .vx-nav-dropdown {
  background: color-mix(in oklab, color-mix(in oklab, #151517, white 5%) 52%, transparent);
  backdrop-filter: blur(24px) saturate(150%);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
  box-shadow: none !important;
}

.vx-nav-dropdown.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

@media (hover: hover) {
  .vx-nav-item:hover > .vx-home-nav-link {
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
  }

  .vx-nav-item:hover > .vx-home-nav-link .vx-nav-chevron {
    transform: rotate(180deg);
    color: #ffffff;
  }

  .vx-nav-item:hover > .vx-nav-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
  }
}

.vx-nav-dropdown-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px;
  border-radius: 12px;
  text-decoration: none;
  color: #f1f2f4;
  box-shadow: none !important;
  transition: background-color 140ms ease;
}

.vx-nav-dropdown-item:hover {
  background: rgba(255, 255, 255, 0.04);
}

.vx-nav-dropdown-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  color: #f5f5f5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
  box-shadow: none !important;
}

.vx-nav-dropdown-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.vx-nav-dropdown-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
}

.vx-nav-dropdown-sub {
  font-size: 0.8rem;
  font-weight: 400;
  color: #9a9ba0;
  line-height: 1.35;
}

.vx-home-nav-actions {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
}

@media (max-width: 767px) {
  .vx-home-nav-center {
    display: none;
  }
}

.vx-home-hero {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 7rem 1.5rem 5rem;
}

.vx-home-empty-section {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  width: 100%;
  background: #0d0d0e;
}

.vx-home-hero-inner {
  width: 100%;
  max-width: 820px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.vx-home-title {
  font-family: var(--font-vetox-sans);
  font-size: clamp(2.5rem, 6vw, 4.6rem);
  font-weight: 900;
  line-height: 1.16;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin: 0 0 2.15rem;
}

.vx-home-desc {
  max-width: 580px;
  font-family: var(--font-vetox-sans);
  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
  font-weight: 400;
  line-height: 1.85;
  color: #9a9ba0;
  margin: 0 0 2.25rem;
}

.vx-home-cta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.vx-home-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 44px;
  padding: 0 24px;
  border-radius: 9999px;
  background: #d6e9ff;
  color: #0d0d0e;
  font-family: var(--font-vetox-sans);
  font-size: 0.96rem;
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background-color 150ms ease, color 150ms ease;
}

.vx-home-btn-primary:hover {
  background: #eaf4ff;
  color: #0d0d0e;
}

.vx-home-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 44px;
  padding-inline-start: 24px;
  padding-inline-end: 20px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  color: #f1f2f4;
  font-family: var(--font-vetox-sans);
  font-size: 0.96rem;
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background-color 150ms ease, color 150ms ease;
}

.vx-home-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.24);
  color: #ffffff;
}

.vx-home-btn-chevron {
  flex-shrink: 0;
  margin-inline-end: -4px;
  transition: transform 200ms ease;
}

[dir="rtl"] .vx-home-btn-chevron {
  transform: rotate(180deg);
}

.vx-home-btn-secondary:hover .vx-home-btn-chevron {
  transform: translateX(3px);
}

[dir="rtl"] .vx-home-btn-secondary:hover .vx-home-btn-chevron {
  transform: rotate(180deg) translateX(3px);
}

.vx-home-nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.48rem 1.05rem;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 130ms ease, color 130ms ease;
}

.vx-home-nav-btn.ghost {
  background: transparent;
  color: #9a9ba0;
  border: 1px solid transparent;
}

.vx-home-nav-btn.ghost:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}

.vx-home-nav-btn.primary {
  background: #2386f8;
  color: #ffffff;
  border: none;
}

.vx-home-nav-btn.primary:hover {
  background: #2f9fff;
}

.vx-home-avatar-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.vx-home-avatar-pill {
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: 9999px;
  border: none;
  background: transparent;
  box-shadow: none;
  color: #f1f2f4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  cursor: pointer;
  transition: opacity 150ms ease, transform 120ms ease;
}

.vx-home-avatar-pill:hover,
.vx-home-avatar-pill.open {
  background: transparent;
  border: none;
  opacity: 0.9;
}

.vx-home-avatar-circle {
  width: 36px;
  height: 36px;
  border-radius: 9999px;
  overflow: hidden;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #2386f8;
  box-sizing: border-box;
}

.vx-home-avatar-inner {
  width: 100%;
  height: 100%;
  border-radius: 9999px;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #2386f8;
  box-sizing: border-box;
}

.vx-home-avatar-circle.is-subscribed {
  padding: 2.5px;
  background: #2386f8;
  box-shadow: none;
}

.vx-home-avatar-circle.is-subscribed .vx-home-avatar-inner {
  border: 1.5px solid var(--vetox-surface, #151517);
}

.vx-home-avatar-label {
  display: none;
}

.vx-home-avatar-chevron {
  display: none;
}

.vx-home-avatar-pill.open .vx-home-avatar-chevron {
  transform: rotate(180deg);
  color: #ffffff;
}

.vx-home-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.vx-home-avatar-fallback {
  width: 100%;
  height: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #2386f8;
  color: #ffffff;
  font-family: var(--font-vetox-sans);
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  user-select: none;
}

.vx-home-avatar-menu {
  position: absolute;
  top: calc(100% + 10px);
  inset-inline-end: 0;
  min-width: 220px;
  padding: 6px;
  border-radius: 14px;
  background: #151517;
  border: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 40;
  display: none;
  flex-direction: column;
  gap: 2px;
}

.vx-home-avatar-menu.open {
  display: flex;
}

.vx-home-avatar-menu-head {
  padding: 8px 10px 9px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.vx-home-avatar-menu-name {
  font-size: 0.86rem;
  font-weight: 700;
  color: #f1f2f4;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vx-home-avatar-menu-email {
  font-size: 0.76rem;
  color: #9a9ba0;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vx-home-avatar-menu-sep {
  height: 1px;
  margin: 4px 2px;
  background: rgba(255, 255, 255, 0.08);
}

.vx-home-avatar-menu-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 8px 10px;
  border-radius: 9px;
  border: none;
  background: transparent;
  color: #dcdde5;
  font-size: 0.84rem;
  font-weight: 500;
  text-decoration: none;
  text-align: start;
  cursor: pointer;
  transition: background-color 120ms ease, color 120ms ease;
}

.vx-home-avatar-menu-item:hover {
  background: rgba(255, 255, 255, 0.07);
  color: #ffffff;
}

.vx-home-avatar-menu-item.danger {
  color: #f87171;
}

.vx-home-avatar-menu-item.danger:hover {
  background: rgba(234, 71, 65, 0.14);
  color: #fca5a5;
}

.vx-avatar-lang-item {
  position: relative;
}

.vx-avatar-lang-trigger {
  justify-content: space-between;
}

.vx-avatar-lang-trigger.open {
  background: rgba(255, 255, 255, 0.07);
  color: #ffffff;
}

.vx-avatar-lang-left {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.vx-avatar-lang-right {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.vx-avatar-lang-arrow {
  width: 14px;
  height: 14px;
  color: #848589;
  transition: transform 150ms ease, color 150ms ease;
}

[dir="rtl"] .vx-avatar-lang-arrow {
  transform: rotate(180deg);
}

.vx-avatar-lang-submenu {
  position: absolute;
  top: -6px;
  inset-inline-end: calc(100% + 8px);
  min-width: 235px;
  padding: 6px;
  border-radius: 14px;
  background: #151517;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: none;
  flex-direction: column;
  gap: 2px;
  z-index: 50;
}

.vx-avatar-lang-submenu::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  inset-inline-end: -12px;
  width: 12px;
}

.vx-avatar-lang-item:hover .vx-avatar-lang-submenu,
.vx-avatar-lang-submenu.open {
  display: flex;
}

.vx-avatar-lang-opt {
  width: 100%;
  height: 38px;
  padding: 0 10px;
  border-radius: 9px;
  border: none;
  background: transparent;
  color: #dcdde5;
  font-family: var(--font-vetox-sans);
  font-size: 0.88rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: background-color 120ms ease, color 120ms ease;
}

.vx-avatar-lang-opt:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
}

.vx-avatar-lang-opt.selected {
  color: #ffffff;
  font-weight: 600;
}

.vx-avatar-lang-opt-name {
  flex: 1;
  text-align: start;
  white-space: nowrap;
}

.vx-avatar-lang-opt-native {
  font-size: 0.82rem;
  color: #848589;
  white-space: nowrap;
}

.vx-avatar-lang-check {
  width: 15px;
  height: 15px;
  color: #2f9fff;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 560px) {
  .vx-avatar-lang-submenu {
    position: static;
    min-width: 0;
    margin-top: 4px;
    background: #111113;
  }
}

.rw-gh-danger-btn:hover {
  background: rgba(234, 71, 65, 0.28);
  color: #ffffff;
}

/* ==================== PUBLIC VETOX STATUS & PRICING PAGES ==================== */
.vx-page-shell {
  position: relative;
  min-height: 100vh;
  width: 100%;
  background: #0d0d0e;
  color: #f1f2f4;
  font-family: var(--font-vetox-sans);
}

.vx-page-main {
  position: relative;
  z-index: 2;
  max-width: 1040px;
  margin: 0 auto;
  padding: 7.5rem 1.5rem 5.5rem;
}

.vx-page-eyebrow {
  display: inline-block;
  font-size: 0.84rem;
  font-weight: 600;
  color: #2f9fff;
  margin-bottom: 0.65rem;
}

.vx-page-title {
  font-size: clamp(2rem, 4.4vw, 3.1rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.025em;
  color: #ffffff;
  margin: 0 0 0.85rem;
}

.vx-page-sub {
  font-size: 0.98rem;
  line-height: 1.7;
  color: #9a9ba0;
  max-width: 620px;
  margin: 0;
}

/* Status Page */
.vx-status-banner {
  margin-top: 2rem;
  padding: 1.25rem 1.5rem;
  border-radius: 16px;
  background: #151517;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.vx-status-banner.operational {
  border-color: rgba(76, 195, 138, 0.25);
}

.vx-status-banner.degraded {
  border-color: rgba(251, 146, 60, 0.3);
}

.vx-status-banner-left {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.vx-status-dot {
  width: 11px;
  height: 11px;
  border-radius: 9999px;
  background: #4cc38a;
  flex-shrink: 0;
}

.vx-status-dot.degraded {
  background: #fb923c;
}

.vx-status-banner-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
}

.vx-status-banner-meta {
  font-size: 0.82rem;
  color: #9a9ba0;
  margin-top: 2px;
}

.vx-status-refresh-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  height: 36px;
  padding: 0 14px;
  border-radius: 9999px;
  background: #28282a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #f1f2f4;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 140ms ease;
}

.vx-status-refresh-btn:hover {
  background: #313133;
}

.vx-section-heading {
  margin: 2.75rem 0 1rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.vx-section-heading span {
  font-size: 0.88rem;
  font-weight: 400;
  color: #9a9ba0;
}

.vx-status-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.vx-status-card {
  padding: 1.25rem 1.4rem;
  border-radius: 16px;
  background: #151517;
  border: 1px solid rgba(255, 255, 255, 0.075);
}

.vx-status-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.9rem;
}

.vx-status-card-name {
  font-size: 0.98rem;
  font-weight: 700;
  color: #f1f2f4;
}

.vx-status-card-desc {
  font-size: 0.82rem;
  color: #9a9ba0;
  margin-top: 2px;
}

.vx-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
}

.vx-status-badge.operational {
  background: rgba(76, 195, 138, 0.12);
  color: #4cc38a;
}

.vx-status-badge.degraded {
  background: rgba(251, 146, 60, 0.14);
  color: #fb923c;
}

.vx-status-bars {
  display: grid;
  grid-template-columns: repeat(45, minmax(0, 1fr));
  gap: 3px;
  height: 28px;
}

.vx-status-bar {
  border-radius: 3px;
  background: #4cc38a;
  opacity: 0.88;
  transition: opacity 120ms ease;
}

.vx-status-bar:hover {
  opacity: 1;
}

.vx-status-bar.degraded {
  background: #fb923c;
}

.vx-status-bars-foot {
  margin-top: 0.65rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.76rem;
  color: #848589;
}

.vx-status-cluster-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 0.85rem;
}

.vx-status-cluster-card {
  padding: 1.15rem 1.25rem;
  border-radius: 16px;
  background: #151517;
  border: 1px solid rgba(255, 255, 255, 0.075);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* ==================== VETOX.IO PRICING PAGE (EXACT EDITORIAL ARCHITECTURE) ==================== */
.vx-pricing-shell {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  background-color: #0d0d0e;
  color: #dcdde5;
  overflow-x: clip;
}

.vx-pricing-hero-wrap {
  position: relative;
  isolation: isolate;
  width: 100%;
  overflow-x: clip;
}

.vx-pricing-sky {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.vx-pricing-sky img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  user-select: none;
}

.vx-pricing-sky::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 180px;
  background: linear-gradient(to bottom, transparent, #0d0d0e);
}

.vx-pricing-hero {
  width: 100%;
  max-width: 1152px;
  margin: 0 auto;
  padding: 8.5rem 1.25rem 3.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.vx-pricing-h1 {
  margin: 0;
  font-family: var(--font-vetox-sans);
  font-size: clamp(2.4rem, 5vw, 3.85rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: #ffffff;
}

.vx-pricing-lead {
  margin: 1rem auto 0;
  max-width: 600px;
  font-size: 1.02rem;
  line-height: 1.65;
  color: rgba(226, 232, 245, 0.84);
}

.vx-pricing-toggle-area {
  margin-top: 2.25rem;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.vx-pricing-toggle-outer {
  padding: 3px;
  border-radius: 10px;
  background: rgba(13, 13, 14, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.vx-pricing-toggle-group {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 2px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.vx-pricing-toggle-btn {
  height: 34px;
  padding: 0 16px;
  border-radius: 7px;
  border: none;
  background: transparent;
  color: #9a9ba0;
  font-family: var(--font-vetox-sans);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 140ms ease, color 140ms ease;
}

.vx-pricing-toggle-btn:hover {
  color: #f5f5f5;
}

.vx-pricing-toggle-btn.active {
  background: #1168e4;
  color: #ffffff;
  box-shadow: var(--vx-shadow-control-brand);
}

.vx-pricing-save-callout {
  position: absolute;
  top: -8px;
  inset-inline-start: calc(100% + 10px);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  color: #f5f5f5;
  pointer-events: none;
}

.vx-pricing-save-arrow {
  width: 30px;
  height: 22px;
  color: rgba(245, 245, 245, 0.82);
  flex-shrink: 0;
}

[dir="rtl"] .vx-pricing-save-arrow {
  transform: scaleX(-1);
}

.vx-pricing-save-text {
  font-size: 0.86rem;
  font-weight: 700;
  color: #ffffff;
  transform: rotate(-5deg);
  display: inline-block;
}

@media (max-width: 640px) {
  .vx-pricing-save-callout {
    position: static;
    margin-top: 0.65rem;
  }
  .vx-pricing-toggle-area {
    flex-direction: column;
  }
  .vx-pricing-save-arrow {
    display: none;
  }
  .vx-pricing-save-text {
    transform: none;
    font-size: 0.8rem;
    color: #8cd6ff;
  }
}

/* Separated 4-Column Vetox Tactile Button-Style Cards */
.vx-pricing-panel-wrap {
  width: 100%;
  max-width: 1184px;
  margin: 0 auto;
  padding: 0 1.25rem 3rem;
}

@media (min-width: 768px) {
  .vx-pricing-panel-wrap {
    padding: 0 2rem 3.5rem;
  }
}

.vx-pricing-panel {
  background: transparent;
  border: none;
  overflow: visible;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

@media (max-width: 1060px) {
  .vx-pricing-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .vx-pricing-panel {
    grid-template-columns: 1fr;
  }
}

.vx-tier-col {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border-radius: 10px;
  background: linear-gradient(180deg, #28282b 0%, #151517 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 0 0 0.5px rgba(13, 13, 14, 0.24),
    0 2px 6px rgba(0, 0, 0, 0.32),
    inset 0 1.5px 0 rgba(255, 255, 255, 0.16),
    inset 0 2px 10px rgba(255, 255, 255, 0.05);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.vx-tier-col:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow:
    0 0 0 0.5px rgba(13, 13, 14, 0.24),
    0 6px 18px rgba(0, 0, 0, 0.36),
    inset 0 1.5px 0 rgba(255, 255, 255, 0.24),
    inset 0 2px 12px rgba(255, 255, 255, 0.07);
}

.vx-tier-col.featured {
  background: linear-gradient(180deg, #1b3159 0%, #131823 100%);
  border-color: rgba(47, 159, 255, 0.34);
  box-shadow:
    0 0 0 0.5px rgba(13, 13, 14, 0.24),
    0 2px 8px rgba(0, 0, 0, 0.34),
    inset 0 1.5px 0 rgba(140, 214, 255, 0.32),
    inset 0 2px 12px rgba(47, 159, 255, 0.08);
}

.vx-tier-col.featured:hover {
  border-color: rgba(86, 190, 255, 0.5);
  box-shadow:
    0 0 0 0.5px rgba(13, 13, 14, 0.24),
    0 6px 20px rgba(0, 0, 0, 0.38),
    inset 0 1.5px 0 rgba(140, 214, 255, 0.42),
    inset 0 2px 14px rgba(47, 159, 255, 0.12);
}

.vx-tier-col.flagship {
  background: linear-gradient(180deg, #2c2d33 0%, #16171b 100%);
}

.vx-tier-head {
  padding: 2.25rem 1.5rem 0.75rem;
}

.vx-tier-title-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.vx-tier-icon {
  width: 24px;
  height: 24px;
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  flex-shrink: 0;
}

.vx-tier-icon.starter {
  background: rgba(148, 163, 184, 0.14);
  color: #cbd5e1;
}

.vx-tier-icon.lite {
  background: rgba(76, 195, 138, 0.14);
  color: #4cc38a;
}

.vx-tier-icon.pro {
  background: rgba(251, 146, 60, 0.15);
  color: #fb923c;
}

.vx-tier-icon.ultra {
  background: rgba(35, 134, 248, 0.18);
  color: #56beff;
}

.vx-tier-name {
  margin: 0;
  font-size: 1.38rem;
  font-weight: 700;
  color: #f5f5f5;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.vx-tier-badge {
  padding: 2px 7px;
  border-radius: 5px;
  font-size: 0.71rem;
  font-weight: 700;
  line-height: 1.35;
}

.vx-tier-badge.economy {
  background: rgba(76, 195, 138, 0.14);
  color: #4cc38a;
}

.vx-tier-badge.popular {
  background: rgba(251, 146, 60, 0.14);
  color: #fb923c;
}

.vx-tier-badge.flagship {
  background: rgba(35, 134, 248, 0.16);
  color: #2f9fff;
}

.vx-tier-desc {
  margin: 0.65rem 0 0;
  font-size: 0.84rem;
  line-height: 1.55;
  color: #9a9ba0;
  min-height: 2.65rem;
}

.vx-tier-price-block {
  padding: 0.65rem 1.5rem 1.75rem;
}

.vx-tier-price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  direction: ltr;
  justify-content: flex-start;
}

[dir="rtl"] .vx-tier-price-row {
  justify-content: flex-end;
}

.vx-tier-price-num {
  font-size: 2.75rem;
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: #f5f5f5;
  font-variant-numeric: tabular-nums;
}

.vx-tier-price-old {
  font-size: 1.05rem;
  font-weight: 400;
  color: #6e6f73;
  text-decoration: line-through;
  font-variant-numeric: tabular-nums;
}

.vx-tier-period {
  margin-top: 0.45rem;
  font-size: 0.78rem;
  color: #848589;
}

.vx-tier-features {
  list-style: none;
  margin: 0;
  padding: 1.5rem 1.5rem 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  display: flex;
  flex-direction: column;
  gap: 0.68rem;
  flex: 1;
}

.vx-tier-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.86rem;
  line-height: 1.45;
  color: #e6e7ec;
}

.vx-tier-check {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  margin-top: 2px;
  color: #4cc38a;
}

.vx-tier-col.flagship .vx-tier-check {
  color: #f5f5f5;
}

.vx-tier-foot {
  margin-top: auto;
  padding: 1rem 1rem 1.15rem;
}

.vx-pricing-cta {
  width: 100%;
  height: 40px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-vetox-sans);
  font-size: 0.86rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background-color 140ms ease, color 140ms ease;
}

.vx-pricing-cta.primary {
  background: #1168e4;
  color: #ffffff;
}

.vx-pricing-cta.primary:hover {
  background: #2386f8;
}

.vx-pricing-cta.secondary {
  background: #28282a;
  color: #f5f5f5;
}

.vx-pricing-cta.secondary:hover {
  background: #313133;
  color: #ffffff;
}

/* Vetox Hatched Editorial Rails */
.vx-hatch-band {
  width: 100%;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: #0d0d0e;
}

@media (min-width: 768px) {
  .vx-hatch-band {
    padding: 0 2rem;
    background-image: repeating-linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.032) 0 1px,
      transparent 1px 10px
    );
  }
}

.vx-hatch-inner {
  width: 100%;
  max-width: 1152px;
  margin: 0 auto;
  background: #0d0d0e;
}

@media (min-width: 768px) {
  .vx-hatch-inner {
    border-inline: 1px solid rgba(255, 255, 255, 0.06);
  }
}

/* Vetox Comparison Table */
.vx-compare-section {
  padding: 2rem 1.25rem 3rem;
  overflow-x: auto;
}

@media (min-width: 768px) {
  .vx-compare-section {
    padding: 2rem 2rem 3.5rem;
  }
}

.vx-compare-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  table-layout: fixed;
}

.vx-compare-table thead th {
  padding: 1.15rem 0.75rem 1.25rem;
  text-align: center;
  vertical-align: bottom;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: #0d0d0e;
}

.vx-compare-table thead th:first-child {
  width: 30%;
  text-align: start;
}

.vx-compare-th-name {
  display: block;
  font-size: 0.96rem;
  font-weight: 700;
  color: #f5f5f5;
  margin-bottom: 0.65rem;
}

.vx-compare-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  padding: 0 16px;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background-color 140ms ease;
}

.vx-compare-pill.primary {
  background: #1168e4;
  color: #ffffff;
  box-shadow: var(--vx-shadow-control-brand);
}

.vx-compare-pill.primary:hover {
  background: #2386f8;
}

.vx-compare-pill.secondary {
  background: #28282a;
  color: #dcdde5;
  box-shadow: var(--vx-shadow-control);
}

.vx-compare-pill.secondary:hover {
  background: #313133;
  color: #ffffff;
}

.vx-compare-cat td {
  padding: 2rem 0.75rem 0.65rem;
  font-size: 0.84rem;
  font-weight: 700;
  color: #f5f5f5;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.vx-compare-cat-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.vx-compare-cat-label i {
  color: #2f9fff;
  font-size: 0.82rem;
}

.vx-compare-row td {
  padding: 0.85rem 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.055);
  font-size: 0.87rem;
  color: #dcdde5;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.vx-compare-row td:first-child {
  text-align: start;
  color: #b4b5bc;
}

.vx-compare-val-strong {
  font-weight: 600;
  color: #f5f5f5;
}

.vx-compare-check {
  color: #4cc38a;
  font-size: 0.9rem;
}

.vx-compare-dash {
  color: #4a4b50;
}

/* Minimal Centered FAQ Section */
.vx-faq-simple {
  width: 100%;
  background: #0d0d0e;
  padding: 4.5rem 1.25rem 5.5rem;
}

.vx-faq-simple-inner {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
}

.vx-faq-simple-title {
  margin: 0 0 2rem;
  text-align: center;
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #f5f5f5;
}

.vx-faq-simple-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.vx-faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.vx-faq-q {
  width: 100%;
  padding: 1.2rem 0.25rem;
  background: transparent;
  border: none;
  color: #f5f5f5;
  font-family: var(--font-vetox-sans);
  font-size: 0.95rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: start;
  cursor: pointer;
}

.vx-faq-q:hover {
  color: #ffffff;
}

.vx-faq-chevron {
  width: 16px;
  height: 16px;
  color: #848589;
  flex-shrink: 0;
  transition: transform 180ms ease, color 140ms ease;
}

.vx-faq-item.open .vx-faq-chevron {
  transform: rotate(180deg);
  color: #f5f5f5;
}

.vx-faq-a {
  padding: 0 0.25rem 1.25rem;
  font-size: 0.88rem;
  line-height: 1.75;
  color: #9a9ba0;
}

/* ==================== VETOX PUBLIC FOOTER & LANGUAGE PICKER ==================== */
.vx-public-footer {
  position: relative;
  z-index: 3;
  width: 100%;
  background: #0d0d0e;
  border-top: 1px solid rgba(255, 255, 255, 0.075);
}

.vx-public-footer-inner {
  max-width: 1152px;
  margin: 0 auto;
  padding: 1.5rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.vx-public-footer-copy {
  font-size: 0.86rem;
  color: #9a9ba0;
  margin: 0;
}

.vx-lang-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.vx-lang-trigger {
  height: 36px;
  min-width: 156px;
  padding-inline-start: 10px;
  padding-inline-end: 8px;
  border-radius: 9px;
  background: #28282a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #dcdde5;
  font-family: var(--font-vetox-sans);
  font-size: 0.9rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease;
}

.vx-lang-trigger:hover,
.vx-lang-trigger.open {
  background: #313133;
  border-color: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

.vx-lang-flag {
  width: 22px;
  height: 16px;
  border-radius: 3px;
  object-fit: cover;
  flex-shrink: 0;
  display: block;
}

.vx-lang-flag.sm {
  width: 20px;
  height: 14px;
}

.vx-lang-label {
  flex: 1;
  text-align: start;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vx-lang-chevron {
  width: 16px;
  height: 16px;
  color: #9a9ba0;
  flex-shrink: 0;
  transition: transform 160ms ease, color 160ms ease;
}

.vx-lang-trigger.open .vx-lang-chevron {
  transform: rotate(180deg);
  color: #ffffff;
}

.vx-lang-menu {
  position: absolute;
  inset-inline-end: 0;
  top: calc(100% + 6px);
  width: 244px;
  padding: 5px;
  border-radius: 10px;
  background: #151517;
  border: 1px solid rgba(255, 255, 255, 0.09);
  display: none;
  flex-direction: column;
  gap: 3px;
  z-index: 60;
}

.vx-lang-menu.up {
  top: auto;
  bottom: calc(100% + 6px);
}

.vx-lang-menu.open {
  display: flex;
}

.vx-lang-option {
  width: 100%;
  height: 36px;
  padding: 0 9px;
  border-radius: 7px;
  border: none;
  background: transparent;
  color: #9a9ba0;
  font-family: var(--font-vetox-sans);
  font-size: 0.86rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
  transition: background-color 120ms ease, color 120ms ease;
}

.vx-lang-option:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #f1f2f4;
}

.vx-lang-option.selected {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-weight: 600;
}

.vx-lang-option-name {
  flex: 1;
  text-align: start;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vx-lang-option-native {
  font-size: 0.78rem;
  color: #848589;
  flex-shrink: 0;
}

.vx-page-shell {
  display: flex;
  flex-direction: column;
}

.vx-page-main {
  flex: 1;
  width: 100%;
}

/* ==================== VETOX TACTILE INNER-BEVEL BUTTON SYSTEM (SITE-WIDE) ==================== */
/* 1. Brand / Colored Primary Buttons (.shadow-control-brand) */
.vx-btn-brand,
.vx-home-nav-btn.primary,
.rw-gh-primary-btn,
.vx-pricing-cta.primary,
button[class*="bg-blue-"]:not([class*="/10"]):not([class*="/15"]):not([class*="/20"]):not([class*="/30"]),
a[class*="bg-blue-"]:not([class*="/10"]):not([class*="/15"]):not([class*="/20"]):not([class*="/30"]),
button[class*="bg-emerald-"]:not([class*="/10"]):not([class*="/15"]):not([class*="/20"]):not([class*="/30"]),
a[class*="bg-emerald-"]:not([class*="/10"]):not([class*="/15"]):not([class*="/20"]):not([class*="/30"]),
button[class*="bg-red-"]:not([class*="/10"]):not([class*="/15"]):not([class*="/20"]):not([class*="/30"]),
a[class*="bg-red-"]:not([class*="/10"]):not([class*="/15"]):not([class*="/20"]):not([class*="/30"]),
button[class*="bg-cyan-"]:not([class*="/10"]):not([class*="/15"]):not([class*="/20"]):not([class*="/30"]),
a[class*="bg-cyan-"]:not([class*="/10"]):not([class*="/15"]):not([class*="/20"]):not([class*="/30"]),
button[class*="bg-amber-"]:not([class*="/10"]):not([class*="/15"]):not([class*="/20"]):not([class*="/30"]),
a[class*="bg-amber-"]:not([class*="/10"]):not([class*="/15"]):not([class*="/20"]):not([class*="/30"]) {
  border-color: transparent !important;
  box-shadow: var(--vx-shadow-control-brand) !important;
  transition: background-color 140ms ease, box-shadow 140ms ease, transform 90ms ease, opacity 140ms ease;
}

.vx-btn-brand:hover:not(:disabled),
.vx-home-nav-btn.primary:hover,
.rw-gh-primary-btn:hover:not(:disabled),
.vx-pricing-cta.primary:hover,
button[class*="bg-blue-"]:not([class*="/10"]):not([class*="/15"]):not([class*="/20"]):not([class*="/30"]):hover:not(:disabled),
a[class*="bg-blue-"]:not([class*="/10"]):not([class*="/15"]):not([class*="/20"]):not([class*="/30"]):hover,
button[class*="bg-emerald-"]:not([class*="/10"]):not([class*="/15"]):not([class*="/20"]):not([class*="/30"]):hover:not(:disabled),
a[class*="bg-emerald-"]:not([class*="/10"]):not([class*="/15"]):not([class*="/20"]):not([class*="/30"]):hover,
button[class*="bg-red-"]:not([class*="/10"]):not([class*="/15"]):not([class*="/20"]):not([class*="/30"]):hover:not(:disabled),
a[class*="bg-red-"]:not([class*="/10"]):not([class*="/15"]):not([class*="/20"]):not([class*="/30"]):hover,
button[class*="bg-cyan-"]:not([class*="/10"]):not([class*="/15"]):not([class*="/20"]):not([class*="/30"]):hover:not(:disabled),
a[class*="bg-cyan-"]:not([class*="/10"]):not([class*="/15"]):not([class*="/20"]):not([class*="/30"]):hover,
button[class*="bg-amber-"]:not([class*="/10"]):not([class*="/15"]):not([class*="/20"]):not([class*="/30"]):hover:not(:disabled),
a[class*="bg-amber-"]:not([class*="/10"]):not([class*="/15"]):not([class*="/20"]):not([class*="/30"]):hover {
  box-shadow: var(--vx-shadow-control-brand-hover) !important;
}

.vx-btn-brand:active:not(:disabled),
.vx-home-nav-btn.primary:active,
.rw-gh-primary-btn:active:not(:disabled),
.vx-pricing-cta.primary:active,
button[class*="bg-blue-"]:not([class*="/10"]):not([class*="/15"]):not([class*="/20"]):not([class*="/30"]):active:not(:disabled),
a[class*="bg-blue-"]:not([class*="/10"]):not([class*="/15"]):not([class*="/20"]):not([class*="/30"]):active,
button[class*="bg-emerald-"]:not([class*="/10"]):not([class*="/15"]):not([class*="/20"]):not([class*="/30"]):active:not(:disabled),
a[class*="bg-emerald-"]:not([class*="/10"]):not([class*="/15"]):not([class*="/20"]):not([class*="/30"]):active,
button[class*="bg-red-"]:not([class*="/10"]):not([class*="/15"]):not([class*="/20"]):not([class*="/30"]):active:not(:disabled),
a[class*="bg-red-"]:not([class*="/10"]):not([class*="/15"]):not([class*="/20"]):not([class*="/30"]):active,
button[class*="bg-cyan-"]:not([class*="/10"]):not([class*="/15"]):not([class*="/20"]):not([class*="/30"]):active:not(:disabled),
a[class*="bg-cyan-"]:not([class*="/10"]):not([class*="/15"]):not([class*="/20"]):not([class*="/30"]):active,
button[class*="bg-amber-"]:not([class*="/10"]):not([class*="/15"]):not([class*="/20"]):not([class*="/30"]):active:not(:disabled),
a[class*="bg-amber-"]:not([class*="/10"]):not([class*="/15"]):not([class*="/20"]):not([class*="/30"]):active {
  transform: translateY(0.5px);
  box-shadow: var(--vx-shadow-control-active) !important;
}

/* 2. Dark Control / Secondary Buttons (.shadow-control) */
.vx-btn-control,
.vx-lang-trigger,
.rw-gh-secondary-btn,
.rw-gh-back-btn,
.rw-gh-danger-btn,
.vx-status-refresh-btn,
.vx-pricing-cta.secondary,
.vx-pricing-seg-btn.active,
button[class*="bg-neutral-700"],
a[class*="bg-neutral-700"],
button[class*="bg-neutral-800"]:not(.ptero-nav-link),
a[class*="bg-neutral-800"]:not(.ptero-nav-link),
button[class*="bg-gray-700"],
a[class*="bg-gray-700"],
button[class*="bg-gray-800"],
a[class*="bg-gray-800"] {
  border-color: transparent !important;
  box-shadow: var(--vx-shadow-control) !important;
  transition: background-color 140ms ease, box-shadow 140ms ease, color 140ms ease, transform 90ms ease;
}

.vx-btn-control:hover:not(:disabled),
.vx-lang-trigger:hover,
.vx-lang-trigger.open,
.rw-gh-secondary-btn:hover,
.rw-gh-back-btn:hover,
.rw-gh-danger-btn:hover,
.vx-status-refresh-btn:hover,
.vx-pricing-cta.secondary:hover,
button[class*="bg-neutral-700"]:hover:not(:disabled),
a[class*="bg-neutral-700"]:hover,
button[class*="bg-neutral-800"]:not(.ptero-nav-link):hover:not(:disabled),
a[class*="bg-neutral-800"]:not(.ptero-nav-link):hover,
button[class*="bg-gray-700"]:hover:not(:disabled),
a[class*="bg-gray-700"]:hover,
button[class*="bg-gray-800"]:hover:not(:disabled),
a[class*="bg-gray-800"]:hover {
  box-shadow: var(--vx-shadow-control-hover) !important;
}

.vx-btn-control:active:not(:disabled),
.vx-lang-trigger:active,
.rw-gh-secondary-btn:active,
.rw-gh-back-btn:active,
.rw-gh-danger-btn:active,
.vx-status-refresh-btn:active,
.vx-pricing-cta.secondary:active,
button[class*="bg-neutral-700"]:active:not(:disabled),
a[class*="bg-neutral-700"]:active,
button[class*="bg-neutral-800"]:not(.ptero-nav-link):active:not(:disabled),
a[class*="bg-neutral-800"]:not(.ptero-nav-link):active,
button[class*="bg-gray-700"]:active:not(:disabled),
a[class*="bg-gray-700"]:active,
button[class*="bg-gray-800"]:active:not(:disabled),
a[class*="bg-gray-800"]:active {
  transform: translateY(0.5px);
  box-shadow: var(--vx-shadow-control-active) !important;
}

/* 3. Home Hero Pill CTAs with Vetox Tactile Bevel */
.vx-home-btn-primary {
  box-shadow:
    0 0 0 0.5px rgba(13, 13, 14, 0.14),
    0 1px 2px rgba(0, 0, 0, 0.2),
    inset 0 1.5px 0 rgba(255, 255, 255, 0.75);
}

.vx-home-btn-primary:active {
  transform: translateY(0.5px);
}

.vx-home-btn-secondary {
  box-shadow:
    0 0 0 0.5px rgba(255, 255, 255, 0.12),
    0 1px 2px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.vx-home-btn-secondary:active {
  transform: translateY(0.5px);
}

/* Vetox Blue Primary Exact Shade (#1168e4 -> #2386f8 on hover) */
.vx-home-nav-btn.primary,
.rw-gh-primary-btn,
button.bg-blue-600,
a.bg-blue-600 {
  background-color: #1168e4 !important;
}

.vx-home-nav-btn.primary:hover,
.rw-gh-primary-btn:hover:not(:disabled),
button.bg-blue-600:hover:not(:disabled),
a.bg-blue-600:hover {
  background-color: #2386f8 !important;
}

/* ==================== VETOX GLASSMORPHIC AUTH POPUP (EXACT GLASS-CLEAR, ZERO SHADOW) ==================== */
@keyframes vxAuthFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes vxAuthPopIn {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.975);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.vx-auth-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(5, 6, 10, 0.88);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none !important;
  overflow-y: auto;
}

.vx-auth-backdrop,
.vx-auth-backdrop * {
  box-shadow: none !important;
  text-shadow: none !important;
}

.vx-auth-stack {
  width: 100%;
  max-width: 430px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.vx-auth-modal {
  position: relative;
  width: 100%;
  padding: 42px 28px 28px;
  border-radius: 16px;
  background: #0d0e11;
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none !important;
  color: #f5f5f5;
}

.vx-page-shell .vx-auth-modal {
  background: #0d0e11;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none !important;
}

.vx-auth-close {
  position: absolute;
  top: 14px;
  inset-inline-end: 14px;
  width: 28px;
  height: 28px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: none;
  box-shadow: none !important;
  color: rgba(245, 245, 245, 0.65);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: color 140ms ease;
}

.vx-auth-close:hover {
  color: #ffffff;
  background: transparent;
}

.vx-auth-headline {
  margin: 0 0 6px;
  text-align: center;
  text-wrap: balance;
  font-family: var(--font-vetox-sans);
  font-size: 1.42rem;
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.vx-auth-subtitle {
  margin: 0 0 32px;
  text-align: center;
  font-family: var(--font-vetox-sans);
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.45;
  color: rgba(241, 242, 244, 0.72);
}

.vx-auth-social-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.vx-auth-discord-btn {
  width: 100%;
  height: 46px;
  padding: 0 20px;
  border-radius: 12px;
  background: #5865F2;
  border: none;
  box-shadow: none !important;
  color: #ffffff;
  font-family: var(--font-vetox-sans);
  font-size: 0.94rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: background-color 140ms ease, opacity 140ms ease, transform 120ms ease;
}

.vx-auth-discord-btn:hover:not(:disabled) {
  background: #4752C4;
  box-shadow: none !important;
}

.vx-auth-discord-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.vx-auth-github-btn {
  width: 100%;
  height: 46px;
  padding: 0 20px;
  border-radius: 12px;
  background: #16171c;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: none !important;
  color: #ffffff;
  font-family: var(--font-vetox-sans);
  font-size: 0.94rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: background-color 140ms ease, border-color 140ms ease, opacity 140ms ease;
}

.vx-auth-github-btn:hover:not(:disabled) {
  background: #1e2027;
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: none !important;
}

.vx-auth-github-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.vx-auth-below-row {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.vx-auth-below-link {
  background: transparent;
  border: none;
  padding: 4px 6px;
  box-shadow: none !important;
  color: rgba(241, 242, 244, 0.8);
  font-family: var(--font-vetox-sans);
  font-size: 0.86rem;
  font-weight: 500;
  cursor: pointer;
  transition: color 140ms ease;
}

.vx-auth-below-link:hover {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.vx-auth-flash {
  margin: 0 0 14px;
  padding: 10px 13px;
  border-radius: 12px;
  font-size: 0.8rem;
  line-height: 1.45;
  text-align: center;
  box-shadow: none !important;
}

.vx-auth-flash.error {
  background: rgba(234, 71, 65, 0.16);
  border: 1px solid rgba(234, 71, 65, 0.32);
  color: #fecaca;
}

.vx-auth-flash.success {
  background: rgba(76, 195, 138, 0.16);
  border: 1px solid rgba(76, 195, 138, 0.32);
  color: #bbf7d0;
}

.vx-auth-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.vx-auth-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.vx-auth-label {
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(241, 242, 244, 0.78);
}

.vx-auth-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.vx-auth-input {
  width: 100%;
  height: 43px;
  padding: 0 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: none !important;
  color: #ffffff;
  font-size: 0.88rem;
  font-family: var(--font-vetox-sans);
  outline: none;
  transition: background-color 140ms ease, border-color 140ms ease;
}

.vx-auth-input.has-toggle {
  padding-right: 42px;
}

.vx-auth-input::placeholder {
  color: rgba(241, 242, 244, 0.4);
}

.vx-auth-input:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.16);
}

.vx-auth-input:focus {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: none !important;
}

.vx-auth-eye-btn {
  position: absolute;
  right: 8px;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: transparent;
  border: none;
  box-shadow: none !important;
  color: rgba(241, 242, 244, 0.6);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: color 140ms ease;
}

.vx-auth-eye-btn:hover {
  color: #ffffff;
}

.vx-auth-submit {
  margin-top: 4px;
  width: 100%;
  height: 44px;
  border-radius: 12px;
  background: #1168e4;
  border: none;
  box-shadow: none !important;
  color: #ffffff;
  font-family: var(--font-vetox-sans);
  font-size: 0.9rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: background-color 140ms ease;
}

.vx-auth-submit:hover:not(:disabled) {
  background: #2386f8;
  box-shadow: none !important;
}

.vx-auth-submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.vx-auth-otp-input {
  text-align: center;
  font-family: var(--font-vetox-mono);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.45em;
  padding-inline-start: 0.9em;
  height: 50px;
}

.vx-auth-otp-actions {
  margin-top: 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.vx-auth-inline-btn {
  background: transparent;
  border: none;
  padding: 2px 4px;
  box-shadow: none !important;
  color: rgba(241, 242, 244, 0.72);
  font-family: var(--font-vetox-sans);
  font-size: 0.78rem;
  font-weight: 500;
  cursor: pointer;
  transition: color 140ms ease;
}

.vx-auth-inline-btn:hover:not(:disabled) {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.vx-auth-inline-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Member Code (#001) & Subscription Badges + Discord Plan Modal Box */
.vx-user-meta-badges {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.vx-member-code-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.10);
  color: #f5f5f5;
  font-family: var(--font-vetox-mono);
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 140ms ease;
}

.vx-member-code-pill:hover {
  background: rgba(255, 255, 255, 0.14);
}

.vx-sub-plan-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(35, 134, 248, 0.16);
  border: 1px solid rgba(47, 159, 255, 0.32);
  color: #56beff;
  font-size: 0.71rem;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease;
}

.vx-sub-plan-pill:hover {
  background: rgba(35, 134, 248, 0.24);
  border-color: rgba(86, 190, 255, 0.55);
  color: #ffffff;
}

.vx-plan-id-box {
  margin-bottom: 18px;
  padding: 13px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  text-align: center;
}

.vx-plan-id-label {
  font-size: 0.78rem;
  line-height: 1.5;
  color: rgba(241, 242, 244, 0.76);
}

.vx-plan-id-row {
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.vx-plan-id-code {
  font-family: var(--font-vetox-mono);
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.05em;
}

.vx-plan-id-copy {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 30px;
  padding: 0 11px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #f5f5f5;
  font-size: 0.76rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 140ms ease;
}

.vx-plan-id-copy:hover {
  background: rgba(255, 255, 255, 0.16);
}

/* ==================== VETOX DASHBOARD (OBSIDIAN TACTILE CARDS) ==================== */
.vx-dash-wrap {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.vx-dash-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.vx-dash-search-wrap {
  position: relative;
  flex: 1;
  min-width: 220px;
  max-width: 340px;
}

.vx-dash-search-icon {
  position: absolute;
  top: 50%;
  inset-inline-start: 13px;
  transform: translateY(-50%);
  color: #6e6f73;
  font-size: 0.8rem;
  pointer-events: none;
}

.vx-dash-search {
  width: 100%;
  height: 40px;
  padding-inline-start: 36px;
  padding-inline-end: 14px;
  border-radius: 10px;
  background: #151517;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #f5f5f5;
  font-family: var(--font-vetox-sans);
  font-size: 0.86rem;
  outline: none;
  transition: border-color 140ms ease, background-color 140ms ease;
}

.vx-dash-search::placeholder {
  color: #6e6f73;
}

.vx-dash-search:hover {
  border-color: rgba(255, 255, 255, 0.14);
}

.vx-dash-search:focus {
  background: #19191c;
  border-color: rgba(47, 159, 255, 0.5);
}

.vx-dash-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.vx-dash-count-pill {
  height: 40px;
  padding: 0 13px;
  border-radius: 10px;
  background: #151517;
  border: 1px solid rgba(255, 255, 255, 0.075);
  color: #9a9ba0;
  font-size: 0.8rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-variant-numeric: tabular-nums;
}

.vx-dash-count-dot {
  width: 7px;
  height: 7px;
  border-radius: 9999px;
  background: #4cc38a;
}

.vx-dash-cta {
  height: 40px;
  padding: 0 18px;
  border-radius: 10px;
  background: #1168e4;
  color: #ffffff;
  font-family: var(--font-vetox-sans);
  font-size: 0.86rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  box-shadow: var(--vx-shadow-control-brand);
  transition: background-color 140ms ease, box-shadow 140ms ease, transform 120ms ease;
}

.vx-dash-cta:hover {
  background: #2386f8;
  color: #ffffff;
  box-shadow: var(--vx-shadow-control-brand-hover);
}

.vx-dash-cta:active {
  transform: translateY(0.5px);
}

.vx-dash-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

@media (max-width: 1024px) {
  .vx-dash-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .vx-dash-grid {
    grid-template-columns: 1fr;
  }
}

.vx-srv-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.2rem;
  border-radius: 10px;
  background: linear-gradient(180deg, #222225 0%, #151517 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 0 0 0.5px rgba(13, 13, 14, 0.24),
    0 2px 6px rgba(0, 0, 0, 0.28),
    inset 0 1.5px 0 rgba(255, 255, 255, 0.13),
    inset 0 2px 8px rgba(255, 255, 255, 0.04);
  text-decoration: none;
  color: #f5f5f5;
  transition: transform 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
}

.vx-srv-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow:
    0 0 0 0.5px rgba(13, 13, 14, 0.24),
    0 6px 16px rgba(0, 0, 0, 0.34),
    inset 0 1.5px 0 rgba(255, 255, 255, 0.20),
    inset 0 2px 10px rgba(255, 255, 255, 0.06);
}

.vx-srv-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.vx-srv-title-wrap {
  min-width: 0;
  flex: 1;
}

.vx-srv-name-row {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
}

.vx-srv-name {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: #f5f5f5;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vx-srv-owner-tag {
  padding: 1px 6px;
  border-radius: 5px;
  background: rgba(35, 134, 248, 0.14);
  border: 1px solid rgba(47, 159, 255, 0.22);
  color: #8cd6ff;
  font-family: var(--font-vetox-mono);
  font-size: 0.68rem;
  flex-shrink: 0;
}

.vx-srv-sub {
  margin: 0.35rem 0 0;
  font-size: 0.78rem;
  color: #848589;
  font-family: var(--font-vetox-mono);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vx-srv-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 600;
  flex-shrink: 0;
}

.vx-srv-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 9999px;
}

.vx-srv-status.running {
  background: rgba(76, 195, 138, 0.14);
  color: #4cc38a;
}
.vx-srv-status.running .vx-srv-status-dot {
  background: #4cc38a;
}

.vx-srv-status.starting {
  background: rgba(251, 146, 60, 0.14);
  color: #fb923c;
}
.vx-srv-status.starting .vx-srv-status-dot {
  background: #fb923c;
}

.vx-srv-status.offline {
  background: rgba(255, 255, 255, 0.06);
  color: #9a9ba0;
}
.vx-srv-status.offline .vx-srv-status-dot {
  background: #6e6f73;
}

.vx-srv-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.vx-srv-metric {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.vx-srv-metric-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #6e6f73;
  font-weight: 600;
}

.vx-srv-metric-val {
  font-family: var(--font-vetox-mono);
  font-size: 0.8rem;
  font-weight: 600;
  color: #e4e5ec;
  font-variant-numeric: tabular-nums;
}

.vx-srv-metric-cap {
  font-size: 0.68rem;
  color: #6e6f73;
  font-variant-numeric: tabular-nums;
}

.vx-dash-empty {
  padding: 3.25rem 1.5rem;
  border-radius: 10px;
  background: linear-gradient(180deg, #222225 0%, #151517 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1.5px 0 rgba(255, 255, 255, 0.12);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.vx-dash-empty-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: #f5f5f5;
}

.vx-dash-empty-sub {
  margin: 0;
  max-width: 440px;
  font-size: 0.86rem;
  line-height: 1.6;
  color: #9a9ba0;
}

.vx-dash-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 0.5rem;
}

.vx-dash-page-btn {
  min-width: 34px;
  height: 34px;
  padding: 0 10px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #151517;
  color: #9a9ba0;
  font-family: var(--font-vetox-mono);
  font-size: 0.8rem;
  cursor: pointer;
  transition: background-color 140ms ease, color 140ms ease;
}

.vx-dash-page-btn:hover {
  background: #28282a;
  color: #ffffff;
}

.vx-dash-page-btn.active {
  background: #1168e4;
  border-color: #1168e4;
  color: #ffffff;
}

/* ============================================================================
   VETOX + RUNWAY COLLAPSIBLE SIDEBAR & 3-PANE RAILWAY APPLICATIONS WORKSPACE
   ============================================================================ */
:root {
  --vx-sidebar-w: 268px;
  --vx-sidebar-collapsed-w: 48px;
  --vx-rail-w: 290px;
  --vx-topbar-h: 52px;
}

.vx-app-shell {
  display: flex;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  background: #141416;
  background: color-mix(in oklab, #0d0d0e, white 5%);
  color: var(--vetox-fg);
  position: relative;
}

body:has(#vx-app-shell) {
  min-height: 100dvh !important;
  height: 100dvh;
  overflow: hidden;
  overscroll-behavior: none;
}

/* ---------- PANE 1: COLLAPSIBLE PRIMARY SIDEBAR (OUTER INSET FRAME) ---------- */
.vx-sidebar {
  width: var(--vx-sidebar-w);
  flex: 0 0 var(--vx-sidebar-w);
  height: 100%;
  display: flex;
  flex-direction: column;
  background: transparent;
  border-inline-end: none;
  transition: width 180ms cubic-bezier(0.22, 1, 0.36, 1), flex-basis 180ms cubic-bezier(0.22, 1, 0.36, 1);
  overflow: visible;
  z-index: 45;
  user-select: none;
}

.vx-sidebar-head {
  height: calc(var(--vx-topbar-h) + 8px);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 12px 0 14px;
  border-bottom: none;
}

.vx-sidebar-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  text-decoration: none;
  color: var(--vetox-fg-strong);
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: -0.02em;
}

.vx-sidebar-brand-logo {
  height: 24px;
  max-width: 108px;
  object-fit: contain;
  flex-shrink: 0;
}

.vx-sidebar-brand-mark {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: linear-gradient(135deg, #2386f8 0%, #1168e4 100%);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  flex-shrink: 0;
}

.vx-sidebar-brand-name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vx-sidebar-toggle {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--vetox-fg-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background-color 140ms ease, color 140ms ease, border-color 140ms ease;
}

.vx-sidebar-toggle:hover {
  background: var(--vetox-hover);
  border-color: var(--vetox-line);
  color: var(--vetox-fg-strong);
}

.vx-sidebar-cta-wrap {
  padding: 12px 10px 8px;
  flex-shrink: 0;
}

.vx-sidebar-cta {
  width: 100%;
  height: 36px;
  padding: 0 10px;
  border-radius: 9px;
  background: rgba(35, 134, 248, 0.14);
  border: 1px solid rgba(35, 134, 248, 0.34);
  color: #e6f2ff;
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 9px;
  transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease;
  white-space: nowrap;
  overflow: hidden;
}

.vx-sidebar-cta:hover,
.vx-sidebar-cta.is-active {
  background: #1168e4;
  border-color: #2386f8;
  color: #ffffff;
}

.vx-sidebar-cta-icon {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: #2386f8;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  flex-shrink: 0;
}

.vx-sidebar-search {
  padding: 4px 10px 8px;
  flex-shrink: 0;
}

.vx-search-trigger.is-sidebar {
  max-width: 100%;
  height: 34px;
  padding-inline-start: 10px;
  padding-inline-end: 7px;
  border-radius: 8px;
  font-size: 0.85rem;
}

.vx-search-trigger.is-sidebar .vx-search-trigger-label {
  font-size: 0.84rem;
}

.vx-app-shell.is-collapsed .vx-sidebar-search {
  padding: 4px 6px 6px;
  display: flex;
  justify-content: center;
}

.vx-app-shell.is-collapsed .vx-search-trigger.is-sidebar {
  width: 34px;
  height: 34px;
  padding: 0;
  justify-content: center;
  gap: 0;
  border-radius: 7px;
}

.vx-app-shell.is-collapsed .vx-search-trigger.is-sidebar .vx-search-trigger-label,
.vx-app-shell.is-collapsed .vx-search-trigger.is-sidebar .vx-search-kbd {
  display: none;
}

.vx-sidebar-nav {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  padding: 12px 4px 16px 8px;
  padding-inline-start: 8px;
  padding-inline-end: 4px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.12) transparent;
}

.vx-sidebar-nav::-webkit-scrollbar {
  width: 5px;
}

.vx-sidebar-nav::-webkit-scrollbar-track {
  background: transparent;
}

.vx-sidebar-nav::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
}

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

.vx-sidebar-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.vx-sidebar-section-label {
  padding: 0 10px;
  font-size: 0.875rem;
  line-height: 1.1875rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: #8b8c90;
  color: color-mix(in oklab, #848589, white 5%);
  white-space: nowrap;
  overflow: hidden;
}

.vx-sidebar-sep {
  height: 1px;
  background: var(--vetox-line);
  margin: 8px 6px;
  flex-shrink: 0;
}

.vx-sidebar-link {
  width: 100%;
  height: 40px;
  min-height: 40px;
  padding: 0 10px;
  border-radius: 8px;
  border: none;
  box-shadow: none;
  background: transparent;
  color: #a0a1a6;
  color: color-mix(in oklab, #9a9ba0, white 5%);
  text-decoration: none;
  font-size: 0.9375rem;
  line-height: 1.25rem;
  font-weight: 400;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  transition: background-color 140ms ease, color 140ms ease;
}

.vx-sidebar-link:hover {
  background: rgba(255, 255, 255, 0.04);
  color: color-mix(in oklab, #dcdde5, white 5%);
}

.vx-sidebar-link:hover .vx-sidebar-icon {
  color: inherit;
}

.vx-sidebar-link.active {
  background: rgba(255, 255, 255, 0.05);
  border: none;
  box-shadow: none;
  color: #f6f6f7;
  color: color-mix(in oklab, #f5f5f5, white 5%);
  font-weight: 400;
}

.vx-sidebar-link.active:hover {
  background: rgba(255, 255, 255, 0.07);
  box-shadow: none;
}

.vx-sidebar-link:active {
  box-shadow: none;
}

.vx-sidebar-link.active .vx-sidebar-icon {
  color: inherit;
}

.vx-sidebar-link.danger:hover {
  background: rgba(234, 71, 65, 0.12);
  color: #fca5a5;
}

.vx-sidebar-icon {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: inherit;
  transition: color 140ms ease;
}

.vx-duotone-svg {
  width: 22px;
  height: 22px;
  display: block;
  flex-shrink: 0;
}

.vx-sidebar-label {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: start;
}

.vx-sidebar-badge {
  padding: 1px 7px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--vetox-fg-secondary);
  font-family: var(--font-vetox-mono);
  font-size: 0.69rem;
  font-weight: 600;
  flex-shrink: 0;
}

.vx-sidebar-link.active .vx-sidebar-badge {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.12);
  color: #f1f2f4;
}

.vx-sidebar-foot {
  flex-shrink: 0;
  padding: 8px 10px 10px;
  border-top: 1px solid var(--vetox-line);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.vx-sidebar-foot-btn {
  text-align: start;
}

.vx-sidebar-user-row {
  width: 100%;
}

.vx-sidebar-avatar-wrap {
  width: 100%;
  display: block;
}

.vx-sidebar-user-btn {
  width: 100%;
  min-height: 44px;
  padding: 6px 8px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, #1d1d20 0%, #151517 100%);
  box-shadow: var(--vx-shadow-control);
  color: var(--vetox-fg-strong);
  display: flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
  text-align: start;
  transition: background 140ms ease, border-color 140ms ease, box-shadow 140ms ease;
}

.vx-sidebar-user-btn:hover {
  background: linear-gradient(180deg, #26262a 0%, #1c1c1f 100%);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: var(--vx-shadow-control-hover);
}

.vx-sidebar-user-btn .vx-home-avatar-circle {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.vx-sidebar-user-meta {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.vx-sidebar-user-name {
  font-size: 0.82rem;
  font-weight: 600;
  color: #f1f2f4;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vx-sidebar-user-code {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  width: fit-content;
  padding: 1px 6px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--vetox-fg-secondary);
  font-family: var(--font-vetox-mono);
  font-size: 0.68rem;
  line-height: 1.3;
  transition: background-color 140ms ease, color 140ms ease;
}

.vx-sidebar-user-code:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.vx-sidebar-user-chevron {
  width: 14px;
  height: 14px;
  color: var(--vetox-fg-muted);
  flex-shrink: 0;
}

.vx-home-avatar-menu.vx-sidebar-avatar-menu {
  top: auto;
  bottom: calc(100% + 8px);
  inset-inline-start: 0;
  inset-inline-end: auto;
  min-width: 224px;
  z-index: 80;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.55);
}

.vx-avatar-lang-submenu.vx-sidebar-lang-submenu {
  inset-inline-start: calc(100% + 6px);
  inset-inline-end: auto;
  top: auto;
  bottom: 0;
}

.vx-app-shell.is-collapsed .vx-sidebar-user-meta,
.vx-app-shell.is-collapsed .vx-sidebar-user-chevron {
  display: none;
}

.vx-app-shell.is-collapsed .vx-sidebar-user-btn {
  width: 38px;
  height: 38px;
  min-height: 38px;
  padding: 0;
  justify-content: center;
  border-radius: 10px;
}

html.light .vx-sidebar-user-btn {
  background: #ffffff;
  border-color: #cbd5e1;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
  color: #0f172a;
}

html.light .vx-sidebar-user-btn:hover {
  background: #f8fafc;
  border-color: #94a3b8;
}

html.light .vx-sidebar-user-name {
  color: #0f172a;
}

html.light .vx-sidebar-user-code {
  background: #f1f5f9;
  color: #475569;
}

/* ---------- COLLAPSED (ICON-ONLY) SIDEBAR MODE ---------- */
.vx-app-shell.is-collapsed .vx-sidebar {
  width: var(--vx-sidebar-collapsed-w);
  flex: 0 0 var(--vx-sidebar-collapsed-w);
}

.vx-app-shell.is-collapsed .vx-sidebar-head {
  justify-content: center;
  padding: 0;
}

.vx-app-shell.is-collapsed .vx-sidebar-brand,
.vx-app-shell.is-collapsed .vx-sidebar-label,
.vx-app-shell.is-collapsed .vx-sidebar-badge,
.vx-app-shell.is-collapsed .vx-sidebar-section-label {
  display: none;
}

.vx-app-shell.is-collapsed .vx-sidebar-cta-wrap {
  padding: 12px 11px 8px;
  display: flex;
  justify-content: center;
}

.vx-app-shell.is-collapsed .vx-sidebar-cta {
  width: 36px;
  height: 36px;
  padding: 0;
  justify-content: center;
  background: #2386f8;
  border-color: #2f9fff;
}

.vx-app-shell.is-collapsed .vx-sidebar-cta-icon {
  background: transparent;
  width: 100%;
  height: 100%;
  font-size: 0.85rem;
}

.vx-app-shell.is-collapsed .vx-sidebar-nav,
.vx-app-shell.is-collapsed .vx-sidebar-foot {
  padding-inline: 6px;
  align-items: center;
  gap: 8px;
}

.vx-app-shell.is-collapsed .vx-sidebar-group {
  align-items: center;
  width: 100%;
  padding-top: 6px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.vx-app-shell.is-collapsed .vx-sidebar-group:first-child {
  padding-top: 0;
  border-top: none;
}

.vx-app-shell.is-collapsed .vx-sidebar-list {
  align-items: center;
  width: 100%;
  gap: 3px;
}

.vx-app-shell.is-collapsed .vx-sidebar-link {
  width: 34px;
  height: 34px;
  min-height: 34px;
  padding: 0;
  border-radius: 7px;
  justify-content: center;
}

.vx-app-shell.is-collapsed .vx-sidebar-icon,
.vx-app-shell.is-collapsed .vx-duotone-svg {
  width: 18px;
  height: 18px;
}

.vx-app-shell.is-collapsed .vx-sidebar-sep {
  width: 24px;
  margin: 8px auto;
}

/* ---------- PANE 2: APPLICATIONS / SERVERS RAIL (SAME WIDTH AS EXPANDED SIDEBAR) ---------- */
.vx-apps-rail {
  width: var(--vx-rail-w);
  flex: 0 0 var(--vx-rail-w);
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #0f0f11;
  border-inline-end: 1px solid var(--vetox-line);
  overflow: hidden;
  z-index: 35;
}

.vx-apps-rail-topbar {
  height: var(--vx-topbar-h);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding: 6px 10px 0;
  background: transparent;
  border-bottom: none;
}

.vx-apps-rail-topbar .vx-topbar-breadcrumb {
  flex: 1;
  min-width: 0;
  gap: 4px;
}

.vx-apps-rail-topbar .vx-crumb-pill {
  max-width: 132px;
}

html.light .vx-apps-rail-topbar {
  background: transparent;
  border-bottom: none;
}

.vx-apps-rail-head {
  height: 52px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 12px;
  border-bottom: 1px solid var(--vetox-line);
}

.vx-apps-rail-title-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.vx-apps-rail-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--vetox-fg-strong);
  white-space: nowrap;
}

.vx-apps-rail-count {
  padding: 1px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--vetox-line);
  color: var(--vetox-fg-secondary);
  font-family: var(--font-vetox-mono);
  font-size: 0.7rem;
}

.vx-apps-rail-head-actions {
  display: flex;
  align-items: center;
  gap: 4px;
}

.vx-rail-add-btn {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  border: 1px solid var(--vetox-line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--vetox-fg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease;
}

.vx-rail-add-btn:hover {
  background: #1168e4;
  border-color: #2386f8;
  color: #ffffff;
}

.vx-apps-rail-search-wrap {
  position: relative;
  padding: 10px 10px 8px;
  flex-shrink: 0;
}

.vx-apps-rail-search-icon {
  position: absolute;
  top: 50%;
  inset-inline-start: 20px;
  transform: translateY(-42%);
  font-size: 0.72rem;
  color: var(--vetox-fg-muted);
  pointer-events: none;
}

.vx-apps-rail-search {
  width: 100%;
  height: 34px;
  padding-inline-start: 30px;
  padding-inline-end: 10px;
  border-radius: 8px;
  border: 1px solid var(--vetox-line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--vetox-fg-strong);
  font-size: 0.8rem;
  outline: none;
  transition: border-color 140ms ease, background-color 140ms ease;
}

.vx-apps-rail-search::placeholder {
  color: var(--vetox-fg-muted);
}

.vx-apps-rail-search:focus {
  border-color: rgba(35, 134, 248, 0.55);
  background: rgba(255, 255, 255, 0.05);
}

.vx-apps-rail-list {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 4px 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ptero-server-row.vx-rail-server-card {
  padding: 0.72rem 0.85rem;
  padding-inline-end: 1.15rem;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.ptero-server-row.vx-rail-server-card.active {
  border-color: rgba(35, 134, 248, 0.55);
  box-shadow:
    0 0 0 1px rgba(35, 134, 248, 0.3),
    0 4px 12px rgba(0, 0, 0, 0.32),
    inset 0 1.5px 0 rgba(86, 190, 255, 0.25);
}

.vx-rail-srv-top {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-width: 0;
}

.vx-rail-srv-icon {
  width: 30px;
  height: 30px;
  border-radius: 9999px;
  background: rgba(15, 15, 18, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #e5e7eb;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  flex-shrink: 0;
}

.vx-rail-srv-name {
  margin: 0;
  font-size: 0.84rem;
  font-weight: 600;
  color: #f3f4f6;
  line-height: 1.25;
}

.vx-rail-srv-sub {
  margin: 2px 0 0;
  font-size: 0.68rem;
  color: #9ca3af;
  line-height: 1.2;
}

.vx-rail-srv-metrics {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  padding-top: 0.45rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-family: var(--font-vetox-mono);
  font-size: 0.63rem;
  color: #d1d5db;
  overflow: hidden;
}

.vx-rail-srv-metric {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  white-space: nowrap;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vx-rail-srv-metric i {
  font-size: 0.58rem;
  color: #71717a;
  flex-shrink: 0;
}

html.light .ptero-server-row.vx-rail-server-card {
  background: #ffffff;
  border-color: #e2e8f0;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}

html.light .ptero-server-row.vx-rail-server-card.active {
  border-color: #3b82f6;
  box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.35);
}

html.light .vx-rail-srv-icon {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: #334155;
}

html.light .vx-rail-srv-name {
  color: #0f172a;
}

html.light .vx-rail-srv-sub,
html.light .vx-rail-srv-metrics {
  color: #475569;
  border-color: #e2e8f0;
}

.vx-rail-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 9px 10px;
  border-radius: 9px;
  border: 1px solid transparent;
  background: transparent;
  text-decoration: none;
  color: var(--vetox-fg);
  transition: background-color 140ms ease, border-color 140ms ease;
}

.vx-rail-item:hover {
  background: var(--vetox-hover);
  border-color: var(--vetox-line);
}

.vx-rail-item.active {
  background: rgba(35, 134, 248, 0.12);
  border-color: rgba(35, 134, 248, 0.36);
}

.vx-rail-item-top {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.vx-rail-item-name {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--vetox-fg-strong);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vx-rail-item.active .vx-rail-item-name {
  color: #ffffff;
}

.vx-rail-item-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding-inline-start: 16px;
  font-family: var(--font-vetox-mono);
  font-size: 0.71rem;
  color: var(--vetox-fg-muted);
}

.vx-rail-owner {
  color: var(--vetox-brand-500);
  flex-shrink: 0;
}

.vx-apps-rail-foot {
  flex-shrink: 0;
  padding: 10px;
  border-top: 1px solid var(--vetox-line);
}

.vx-rail-foot-cta {
  width: 100%;
  height: 34px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--vetox-line);
  color: var(--vetox-fg);
  font-size: 0.79rem;
  font-weight: 600;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease;
}

.vx-rail-foot-cta:hover {
  background: #1168e4;
  border-color: #2386f8;
  color: #ffffff;
}

.vx-rail-empty {
  padding: 28px 12px;
  text-align: center;
  color: var(--vetox-fg-muted);
}

.vx-rail-empty-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  margin: 0 auto 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--vetox-line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}

.vx-rail-empty-title {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--vetox-fg-secondary);
}

.vx-rail-empty-sub {
  font-size: 0.73rem;
  margin-top: 4px;
}

/* Status Dots */
.vx-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  flex-shrink: 0;
  display: inline-block;
}

.vx-status-dot.is-running {
  background: #4cc38a;
  box-shadow: 0 0 8px rgba(76, 195, 138, 0.55);
}

.vx-status-dot.is-transition {
  background: #fb923c;
  box-shadow: 0 0 8px rgba(251, 146, 60, 0.5);
}

.vx-status-dot.is-offline {
  background: #ea4741;
  opacity: 0.82;
}

/* ---------- PANE 3: MAIN SHELL COLUMN & TOP HEADER ---------- */
.vx-shell-main {
  flex: 1;
  min-width: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--vetox-canvas);
  overflow: hidden;
  position: relative;
}

.vx-app-topbar {
  height: 60px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 16px;
  background: transparent;
  border-bottom: none;
  z-index: 35;
}

.vx-app-topbar .vx-home-avatar-pill {
  width: 36px;
  height: 36px;
  padding: 0;
  background: transparent;
  border: none;
}

.vx-app-topbar .vx-home-avatar-circle {
  width: 36px;
  height: 36px;
}

.vx-app-topbar .vx-home-avatar-circle.is-subscribed {
  width: 36px;
  height: 36px;
  padding: 2.5px;
}

.vx-app-topbar .vx-home-avatar-menu {
  z-index: 60;
}

.vx-topbar-start {
  flex: 1 1 0;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  overflow: hidden;
}

.vx-topbar-end {
  flex: 1 1 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  min-width: 0;
}

.vx-topbar-icon-btn {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid var(--vetox-line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--vetox-fg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.vx-topbar-rail-btn {
  height: 34px;
  padding: 0 11px;
  border-radius: 8px;
  border: 1px solid var(--vetox-line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--vetox-fg);
  font-size: 0.78rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.vx-topbar-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  font-size: 0.85rem;
}

.vx-crumb-root {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 8px;
  border-radius: 8px;
  color: var(--vetox-fg-secondary);
  font-weight: 500;
  white-space: nowrap;
  text-decoration: none;
  transition: background-color 140ms ease, color 140ms ease;
}

.vx-crumb-root:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--vetox-fg-strong);
}

.vx-crumb-root.is-pill {
  background: rgba(255, 255, 255, 0.07);
  border: none;
  color: #ffffff;
  font-weight: 600;
  padding: 5px 11px;
}

.vx-crumb-icon {
  font-size: 0.8rem;
  opacity: 0.78;
}

.vx-crumb-sep {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--vetox-fg-muted);
  flex-shrink: 0;
}

.vx-crumb-pill {
  display: inline-flex;
  align-items: center;
  max-width: 260px;
  padding: 4px 11px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  border: none;
  color: #ffffff;
  font-size: 0.84rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vx-crumb-more {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--vetox-fg-muted);
  font-size: 0.8rem;
  opacity: 0.65;
  cursor: not-allowed;
  user-select: none;
}

html.light .vx-crumb-root.is-pill,
html.light .vx-crumb-pill {
  background: rgba(15, 23, 42, 0.06);
  border: none;
  color: #0f172a;
}

html.light .vx-crumb-root:hover {
  background: #f1f5f9;
  color: #0f172a;
}

.vx-topbar-code-pill {
  height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid var(--vetox-line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--vetox-fg-secondary);
  font-family: var(--font-vetox-mono);
  font-size: 0.74rem;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: border-color 140ms ease, color 140ms ease;
}

.vx-topbar-code-pill:hover {
  border-color: var(--vetox-line-strong);
  color: var(--vetox-fg-strong);
}

/* ---------- UNIFIED INSET WORKSPACE BOX (TOPBAR + APPS RAIL + CONTENT) ---------- */
.vx-shell-inset {
  flex: 1;
  min-width: 0;
  height: calc(100% - 16px);
  margin: 8px;
  margin-inline-start: 0;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.085);
  background: var(--vetox-canvas);
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
}

.vx-inset-body {
  flex: 1;
  min-height: 0;
  display: flex;
  overflow: hidden;
  background: var(--vetox-canvas);
}

.vx-shell-flash {
  flex-shrink: 0;
}

.vx-shell-scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.vx-shell-content {
  flex: 1;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 24px 24px 32px;
}

.vx-shell-footer {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 16px 24px;
  border-top: 1px solid var(--vetox-line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.75rem;
  color: var(--vetox-fg-muted);
}

.vx-shell-canvas {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.vx-shell-canvas .rw-gh-canvas {
  min-height: 100%;
}

/* ---------- RAILWAY-STYLE BLACK CANVAS & FLOATING SIDE SERVER DRAWER ---------- */
/* ---------- VETOX OVERVIEW BENTO DASHBOARD (/dashboard) ---------- */
.vx-ov-wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.vx-ov-hero {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding-top: 4px;
}

.vx-ov-welcome-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.vx-ov-welcome-title,
.vx-ov-welcome-name {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: #f5f5f7;
}

.vx-ov-welcome-avatar {
  width: 34px;
  height: 34px;
  border-radius: 9999px;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #232328;
  border: 1px solid rgba(255, 255, 255, 0.12);
  flex-shrink: 0;
}

.vx-ov-welcome-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vx-ov-welcome-avatar-fb {
  width: 100%;
  height: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(135deg, #2563eb, #3a55fb);
}

.vx-ov-welcome-sub {
  margin: 0;
  font-size: 0.86rem;
  color: #8b8c90;
}

.vx-ov-bento {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 16px;
  align-items: start;
}

@media (max-width: 1024px) {
  .vx-ov-bento {
    grid-template-columns: 1fr;
  }
}

.vx-ov-main-col,
.vx-ov-side-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.vx-ov-card {
  background: #141417;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  padding: 18px 20px;
  text-decoration: none;
  color: inherit;
  transition: border-color 140ms ease, background-color 140ms ease;
}

.vx-ov-kpi-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

@media (max-width: 720px) {
  .vx-ov-kpi-grid {
    grid-template-columns: 1fr;
  }
}

.vx-ov-kpi-card {
  display: flex;
  flex-direction: column;
  min-height: 158px;
}

.vx-ov-kpi-card:hover {
  border-color: rgba(255, 255, 255, 0.14);
  background: #17171b;
}

.vx-ov-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.vx-ov-card-label {
  font-size: 0.82rem;
  font-weight: 500;
  color: #8b8c90;
}

.vx-ov-chevron {
  color: #6f707a;
  display: inline-flex;
  align-items: center;
}

.vx-ov-kpi-val {
  margin-top: 10px;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.15;
  color: #f5f5f7;
  letter-spacing: -0.02em;
  text-align: start;
}

.vx-ov-kpi-val-md {
  font-size: 1.65rem;
}

.vx-ov-progress-track {
  width: 100%;
  height: 6px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  margin-top: 14px;
}

.vx-ov-progress-fill {
  height: 100%;
  border-radius: 9999px;
  background: linear-gradient(90deg, #3b82f6 0%, #38bdf8 100%);
  transition: width 260ms ease;
}

.vx-ov-kpi-foot {
  margin-top: auto;
  padding-top: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.76rem;
  color: #a6a7b2;
}

.vx-ov-kpi-sub {
  margin-top: auto;
  padding-top: 14px;
  font-size: 0.78rem;
  color: #8b8c90;
  text-align: start;
}

.vx-ov-kpi-muted {
  color: #777885;
  font-size: 0.75rem;
}

.vx-ov-chart-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.vx-ov-chart-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.vx-ov-chart-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.vx-ov-big-num {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.15;
  color: #f5f5f7;
  letter-spacing: -0.02em;
  text-align: start;
}

.vx-ov-big-unit {
  font-size: 1.05rem;
  font-weight: 600;
  color: #8b8c90;
  margin-inline-start: 3px;
}

.vx-ov-seg-tabs {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: 10px;
  background: #1b1b1f;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.vx-ov-seg-btn {
  height: 30px;
  padding: 0 12px;
  border-radius: 7px;
  border: none;
  background: transparent;
  color: #9a9ba5;
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 140ms ease, color 140ms ease;
}

.vx-ov-seg-btn:hover {
  color: #e4e5ec;
}

.vx-ov-seg-btn.active {
  background: #2b2b31;
  color: #ffffff;
}

.vx-ov-chart-inner {
  background: #0e0e11;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 16px 18px;
  min-height: 265px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.vx-ov-bars-list {
  display: flex;
  flex-direction: column;
  gap: 13px;
  width: 100%;
}

.vx-ov-bar-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-decoration: none;
  color: inherit;
  padding: 4px 6px;
  border-radius: 8px;
  transition: background-color 120ms ease;
}

.vx-ov-bar-row:hover {
  background: rgba(255, 255, 255, 0.035);
}

.vx-ov-bar-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.82rem;
}

.vx-ov-bar-name {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #e4e5ec;
  font-weight: 500;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vx-ov-bar-val {
  font-family: var(--font-vetox-mono);
  font-size: 0.78rem;
  color: #a6a7b2;
  flex-shrink: 0;
}

.vx-ov-bar-track {
  width: 100%;
  height: 7px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.vx-ov-bar-fill {
  height: 100%;
  border-radius: 9999px;
  background: linear-gradient(90deg, #2563eb 0%, #38bdf8 100%);
  transition: width 260ms ease;
}

.vx-ov-bar-fill.is-muted {
  background: rgba(148, 163, 184, 0.35);
}

.vx-ov-mini-dot {
  width: 7px;
  height: 7px;
  border-radius: 9999px;
  flex-shrink: 0;
}

.vx-ov-mini-dot.is-online { background: #34d399; }
.vx-ov-mini-dot.is-offline { background: #f87171; }

.vx-ov-card-title {
  font-size: 0.96rem;
  font-weight: 600;
  color: #f5f5f7;
  margin-bottom: 14px;
}

.vx-ov-promo-card {
  display: flex;
  flex-direction: column;
}

.vx-ov-blue-banner {
  border-radius: 12px;
  padding: 18px 16px;
  background: linear-gradient(135deg, #2563eb 0%, #3a55fb 52%, #1d4ed8 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.vx-ov-banner-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.vx-ov-banner-sub {
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.84);
}

.vx-ov-banner-val {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.2;
  color: #ffffff;
  text-align: start;
}

.vx-ov-banner-icon {
  color: rgba(255, 255, 255, 0.9);
  flex-shrink: 0;
}

.vx-ov-streak-head {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  font-weight: 500;
  color: #d4d5dd;
}

.vx-ov-streak-sub {
  font-size: 0.76rem;
  color: #8b8c90;
}

.vx-ov-health-circles {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.vx-ov-circle-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  flex: 1;
  min-width: 0;
}

.vx-ov-circle-badge {
  width: 32px;
  height: 32px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  background: #1c1c21;
  color: #8b8c90;
  transition: transform 140ms ease, border-color 140ms ease;
}

.vx-ov-circle-item.is-on .vx-ov-circle-badge {
  border-color: #2f9fff;
  background: rgba(37, 99, 235, 0.18);
  color: #ffffff;
}

.vx-ov-circle-item:hover .vx-ov-circle-badge {
  transform: translateY(-2px);
}

.vx-ov-circle-lbl {
  font-size: 0.64rem;
  color: #777885;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vx-ov-blue-cta {
  margin-top: 16px;
  width: 100%;
  height: 40px;
  border-radius: 10px;
  background: #1d7bf2;
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background-color 140ms ease;
}

.vx-ov-blue-cta:hover {
  background: #2f8bff;
  color: #ffffff;
}

.vx-ov-recent-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.vx-ov-recent-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.vx-ov-viewall-btn {
  height: 28px;
  padding: 0 11px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: #d4d5dd;
  font-size: 0.76rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: background-color 140ms ease, color 140ms ease;
}

.vx-ov-viewall-btn:hover {
  background: rgba(255, 255, 255, 0.11);
  color: #ffffff;
}

.vx-ov-recent-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.vx-ov-recent-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.04);
  text-decoration: none;
  color: inherit;
  transition: background-color 130ms ease, border-color 130ms ease;
}

.vx-ov-recent-row:hover {
  background: rgba(255, 255, 255, 0.055);
  border-color: rgba(255, 255, 255, 0.1);
}

.vx-ov-recent-start {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.vx-ov-recent-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.vx-ov-recent-name {
  font-size: 0.84rem;
  font-weight: 600;
  color: #ececf2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vx-ov-recent-sub {
  font-family: var(--font-vetox-mono);
  font-size: 0.72rem;
  color: #8b8c90;
  text-align: start;
}

.vx-ov-recent-mem {
  font-family: var(--font-vetox-mono);
  font-size: 0.74rem;
  color: #9fa0ab;
  flex-shrink: 0;
}

.vx-ov-empty-chart,
.vx-ov-empty-recent {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 36px 12px;
  color: #8b8c90;
  font-size: 0.84rem;
}

.vx-ov-empty-orb {
  width: 56px;
  height: 56px;
  border-radius: 9999px;
  border: 1px dashed rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.03);
  color: #8b8c90;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

html.light .vx-ov-welcome-title,
html.light .vx-ov-welcome-name,
html.light .vx-ov-kpi-val,
html.light .vx-ov-big-num,
html.light .vx-ov-card-title,
html.light .vx-ov-recent-name,
html.light .vx-ov-bar-name {
  color: #0f172a;
}

html.light .vx-ov-card {
  background: #ffffff;
  border-color: #e2e8f0;
}

html.light .vx-ov-chart-inner {
  background: #f8fafc;
  border-color: #e2e8f0;
}

html.light .vx-ov-seg-tabs {
  background: #f1f5f9;
  border-color: #e2e8f0;
}

html.light .vx-ov-seg-btn.active {
  background: #ffffff;
  color: #0f172a;
}

html.light .vx-ov-recent-row {
  background: #f8fafc;
  border-color: #e2e8f0;
}

/* ---------- VETOX GLASSMORPHIC GLOBAL SEARCH BAR & COMMAND PALETTE ---------- */
.vx-topbar-center {
  flex: 0 1 340px;
  min-width: 0;
  display: flex;
  justify-content: center;
  padding: 0 8px;
}

.vx-stage-topbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  z-index: 35;
  pointer-events: none;
}

.vx-stage-top-start,
.vx-stage-top-center,
.vx-stage-top-actions {
  pointer-events: auto;
}

.vx-stage-top-center {
  flex: 0 1 340px;
  min-width: 0;
  display: flex;
  justify-content: center;
}

.vx-search-trigger {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  max-width: 340px;
  height: 36px;
  padding-inline-start: 9px;
  padding-inline-end: 6px;
  border-radius: 8px;
  border: none;
  background: #202023;
  background: color-mix(in oklab, color-mix(in oklab, #28282a, white 5%) 65%, color-mix(in oklab, #111113, white 5%));
  box-shadow: inset 0 0 0 2px transparent;
  color: #8b8c90;
  cursor: pointer;
  overflow: hidden;
  transition: box-shadow 150ms ease-out, background-color 150ms ease;
}

.vx-search-trigger:hover {
  box-shadow: inset 0 0 0 1.5px rgba(130, 132, 140, 0.55);
}

.vx-search-trigger-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #9fa0a5;
  color: color-mix(in oklab, #9a9ba0, white 5%);
  flex-shrink: 0;
}

.vx-search-trigger-label {
  flex: 1;
  min-width: 0;
  text-align: start;
  font-size: 0.9375rem;
  line-height: 1.25rem;
  font-weight: 400;
  color: #8b8c90;
  color: color-mix(in oklab, #848589, white 5%);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vx-search-kbd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  padding: 0 6px;
  border-radius: 6px;
  background: #2d2d30;
  background: color-mix(in oklab, #28282a, white 5%);
  color: #9fa0a5;
  color: color-mix(in oklab, #9a9ba0, white 5%);
  font-family: inherit;
  font-size: 0.75rem;
  line-height: 1rem;
  font-weight: 500;
  flex-shrink: 0;
}

.vx-gsearch-layer {
  position: fixed;
  inset: 0;
  z-index: 9990;
  pointer-events: none;
}

.vx-gsearch-backdrop {
  position: fixed;
  inset: 0;
  background: transparent;
  pointer-events: auto;
}

.vx-gsearch-input-pill {
  position: fixed;
  height: 36px;
  padding-inline-start: 9px;
  padding-inline-end: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 8px;
  background: rgba(24, 24, 27, 0.78);
  background: color-mix(in oklab, color-mix(in oklab, #151517, white 5%) 76%, transparent);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.08);
  pointer-events: auto;
  overflow: hidden;
  animation: vxSearchIn 130ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.vx-gsearch-input-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #e0e1e9;
  flex-shrink: 0;
}

.vx-gsearch-input-pill input {
  flex: 1;
  min-width: 0;
  height: 100%;
  border: none;
  outline: none;
  background: transparent;
  color: #f6f6f8;
  font-size: 0.9375rem;
  line-height: 1.25rem;
}

.vx-gsearch-input-pill input::placeholder {
  color: #8b8c90;
}

.vx-gsearch-popover {
  position: fixed;
  max-height: 416px;
  border-radius: 12px;
  background: rgba(24, 24, 27, 0.78);
  background: color-mix(in oklab, color-mix(in oklab, #151517, white 5%) 76%, transparent);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  box-shadow:
    inset 0 0 0 1.5px rgba(255, 255, 255, 0.07),
    0 12px 28px rgba(0, 0, 0, 0.36);
  overflow: hidden;
  pointer-events: auto;
  animation: vxSearchPop 140ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes vxSearchIn {
  from { opacity: 0; transform: scale(0.985); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes vxSearchPop {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

.vx-gsearch-list {
  max-height: 416px;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.14) transparent;
}

.vx-gsearch-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.vx-gsearch-group-label {
  margin: 0;
  padding: 6px 10px 4px;
  font-size: 0.75rem;
  line-height: 1rem;
  font-weight: 500;
  color: #8b8c90;
}

.vx-gsearch-option {
  position: relative;
  width: 100%;
  padding: 6px 10px;
  border: none;
  border-radius: 6px;
  background: transparent;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: start;
  cursor: pointer;
  color: inherit;
  transition: background-color 100ms ease;
}

.vx-gsearch-option.is-selected {
  background: rgba(255, 255, 255, 0.065);
}

.vx-gsearch-opt-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  color: #9fa0a5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.vx-gsearch-option.is-selected .vx-gsearch-opt-icon {
  color: #f5f5f7;
}

.vx-gsearch-opt-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.vx-gsearch-opt-title {
  font-size: 0.875rem;
  line-height: 1.1875rem;
  font-weight: 500;
  color: #e0e1e9;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vx-gsearch-opt-sub {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  line-height: 1rem;
  font-weight: 400;
  color: #8b8c90;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vx-gsearch-mini-dot {
  width: 6px;
  height: 6px;
  border-radius: 9999px;
  flex-shrink: 0;
}

.vx-gsearch-mini-dot.is-online { background: #34d399; }
.vx-gsearch-mini-dot.is-starting { background: #fbbf24; }
.vx-gsearch-mini-dot.is-offline { background: #f87171; }

.vx-gsearch-empty {
  padding: 28px 16px;
  text-align: center;
  font-size: 0.85rem;
  color: #8b8c90;
}

html.light .vx-search-trigger {
  background: #f1f5f9;
  color: #64748b;
}

html.light .vx-search-kbd {
  background: #e2e8f0;
  color: #475569;
}

html.light .vx-gsearch-input-pill,
html.light .vx-gsearch-popover {
  background: rgba(255, 255, 255, 0.88);
  box-shadow: inset 0 0 0 1px #cbd5e1, 0 12px 28px rgba(15, 23, 42, 0.14);
}

html.light .vx-gsearch-input-pill input,
html.light .vx-gsearch-opt-title {
  color: #0f172a;
}

html.light .vx-gsearch-option.is-selected {
  background: #f1f5f9;
}

html.light .vx-gsearch-opt-icon {
  background: #e2e8f0;
  color: #334155;
}

.vx-railway-stage {
  flex: 1;
  min-width: 0;
  min-height: 0;
  background: #0a0a0c;
  display: flex;
  justify-content: flex-end;
  align-items: stretch;
  padding-top: 64px;
  padding-bottom: 0;
  padding-inline-end: 0;
  padding-inline-start: 28px;
  overflow: hidden;
  position: relative;
}

.vx-railway-stage.vx-railway-dotted {
  background: #0a0a0c;
  background-image: none;
}

.vx-railway-stage.is-apps-canvas {
  justify-content: flex-start;
  padding-inline-start: 0;
  padding-inline-end: 0;
}

.vx-apps-canvas-scroll {
  flex: 1;
  min-width: 0;
  min-height: 0;
  overflow-y: auto;
  padding: 18px 28px 36px;
}

/* ---------- PROJECTS HEADER & TOOLBAR (APPS PAGE) ---------- */
.vx-projects-header {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 22px;
}

.vx-projects-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.vx-projects-title {
  margin: 0;
  font-size: 1.75rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: #f5f5f7;
}

.vx-projects-new-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 36px;
  padding: 0 14px;
  border-radius: 8px;
  background: #ffffff;
  color: #0d0d0e;
  font-size: 0.86rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background-color 140ms ease, transform 120ms ease;
}

.vx-projects-new-btn:hover {
  background: #e9eaee;
  color: #0d0d0e;
}

.vx-projects-new-btn:active {
  transform: scale(0.98);
}

.vx-projects-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.vx-projects-filters {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.vx-projects-filter-pill {
  height: 32px;
  padding: 0 14px;
  border-radius: 9999px;
  border: none;
  background: transparent;
  color: #8f909e;
  font-size: 0.84rem;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 140ms ease, color 140ms ease;
}

.vx-projects-filter-pill:hover {
  color: #e4e5ec;
  background: rgba(255, 255, 255, 0.04);
}

.vx-projects-filter-pill.active {
  background: rgba(255, 255, 255, 0.09);
  color: #ffffff;
}

.vx-projects-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.vx-projects-icon-btn {
  width: 32px;
  height: 32px;
  border-radius: 7px;
  border: 1px solid transparent;
  background: transparent;
  color: #9a9ba8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 140ms ease, color 140ms ease, border-color 140ms ease;
}

.vx-projects-icon-btn:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
}

.vx-projects-search-box {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 34px;
  padding: 0 10px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #121216;
  color: #9a9ba8;
}

.vx-projects-search-box input {
  width: 170px;
  background: transparent;
  border: none;
  outline: none;
  color: #f5f5f7;
  font-size: 0.83rem;
}

.vx-projects-search-box input::placeholder {
  color: #70717e;
}

.vx-projects-search-clear {
  background: transparent;
  border: none;
  color: #8f909e;
  cursor: pointer;
  padding: 0 2px;
  font-size: 0.75rem;
}

.vx-projects-search-clear:hover {
  color: #ffffff;
}

.vx-projects-sort-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.vx-projects-sort-select {
  appearance: none;
  -webkit-appearance: none;
  height: 34px;
  padding-inline-start: 12px;
  padding-inline-end: 30px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #0f0f13;
  color: #c6c7d2;
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  outline: none;
  transition: border-color 140ms ease, color 140ms ease, background-color 140ms ease;
}

.vx-projects-sort-select:hover,
.vx-projects-sort-select:focus {
  border-color: rgba(255, 255, 255, 0.24);
  color: #ffffff;
}

.vx-projects-sort-select option {
  background: #141418;
  color: #f1f2f4;
}

.vx-projects-sort-chevron {
  position: absolute;
  inset-inline-end: 10px;
  pointer-events: none;
  color: #8f909e;
}

.vx-projects-view-toggle {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.vx-projects-view-btn {
  width: 32px;
  height: 32px;
  border-radius: 7px;
  border: 1px solid transparent;
  background: transparent;
  color: #7e808e;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 140ms ease, color 140ms ease, border-color 140ms ease;
}

.vx-projects-view-btn:hover {
  color: #e4e5ec;
  background: rgba(255, 255, 255, 0.04);
}

.vx-projects-view-btn.active {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
}

.vx-app-cards-grid.is-list-view {
  grid-template-columns: 1fr;
  gap: 10px;
}

.vx-app-cards-grid.is-list-view .vx-svc-card {
  flex-direction: row;
  align-items: center;
  min-height: 68px;
  padding: 14px 20px;
  padding-inline-end: 28px;
  gap: 16px;
}

html.light .vx-projects-title {
  color: #0f172a;
}

html.light .vx-projects-new-btn {
  background: #0f172a;
  color: #ffffff;
}

html.light .vx-projects-new-btn:hover {
  background: #1e293b;
  color: #ffffff;
}

html.light .vx-projects-filter-pill {
  color: #64748b;
}

html.light .vx-projects-filter-pill.active {
  background: #e2e8f0;
  color: #0f172a;
}

html.light .vx-projects-sort-select,
html.light .vx-projects-search-box {
  background: #ffffff;
  border-color: #cbd5e1;
  color: #0f172a;
}

html.light .vx-projects-view-btn.active {
  background: #ffffff;
  border-color: #cbd5e1;
  color: #0f172a;
}

/* ---------- RAILWAY-STYLE SERVICE CARDS + VERTICAL STATUS BAR ---------- */
.vx-app-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(265px, 1fr));
  gap: 16px;
  width: 100%;
}

.vx-svc-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  min-height: 128px;
  padding: 18px 20px;
  padding-inline-end: 26px;
  border-radius: 12px;
  background: #141418;
  border: 1px solid rgba(255, 255, 255, 0.09);
  text-decoration: none;
  color: inherit;
  transition: background-color 150ms ease, border-color 150ms ease, transform 150ms ease;
}

.vx-svc-card:hover {
  background: #18181f;
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-1px);
}

.vx-svc-card .ptero-status-bar {
  width: 5px;
  inset-inline-end: 0;
  top: 0;
  margin: 0.48rem;
  height: calc(100% - 0.96rem);
  border-radius: 9999px;
  opacity: 0.88;
}

.vx-svc-card:hover .ptero-status-bar {
  opacity: 1;
}

.vx-svc-card-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
}

.vx-svc-card-icon {
  width: 24px;
  height: 24px;
  margin-top: 1px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #f4f4f8;
}

.vx-svc-card-meta {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.vx-svc-card-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.vx-svc-card-title {
  font-size: 0.96rem;
  font-weight: 600;
  line-height: 1.3;
  color: #f5f5f7;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vx-svc-card-sub {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.35;
  color: #8f909e;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: start;
}

.vx-svc-card-foot {
  display: flex;
  align-items: center;
  gap: 10px;
}

.vx-svc-status-dot {
  width: 18px;
  height: 18px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
}

.vx-svc-status-dot::after {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 9999px;
  display: block;
}

.vx-svc-status-dot.is-online {
  background: rgba(52, 211, 153, 0.16);
}

.vx-svc-status-dot.is-online::after {
  background: #34d399;
}

.vx-svc-status-dot.is-starting {
  background: rgba(251, 191, 36, 0.16);
}

.vx-svc-status-dot.is-starting::after {
  background: #fbbf24;
}

.vx-svc-status-dot.is-offline {
  background: rgba(248, 113, 113, 0.15);
}

.vx-svc-status-dot.is-offline::after {
  background: #f87171;
}

.vx-svc-status-text {
  font-size: 0.84rem;
  font-weight: 500;
  line-height: 1.2;
}

.vx-svc-status-text.is-online {
  color: #34d399;
}

.vx-svc-status-text.is-starting {
  color: #fbbf24;
}

.vx-svc-status-text.is-offline {
  color: #f87171;
}

.vx-svc-uptime-sep {
  color: rgba(255, 255, 255, 0.25);
  font-size: 0.85rem;
  line-height: 1;
}

.vx-svc-uptime {
  font-family: var(--font-vetox-mono);
  font-size: 0.78rem;
  font-weight: 500;
  color: #8f909e;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

html.light .vx-svc-uptime-sep {
  color: #cbd5e1;
}

html.light .vx-svc-uptime {
  color: #64748b;
}

html.light .vx-railway-stage.vx-railway-dotted {
  background: #f1f5f9;
  background-image: none;
}

html.light .vx-svc-card {
  background: #ffffff;
  border-color: #e2e8f0;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
}

html.light .vx-svc-card:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
}

html.light .vx-svc-card-icon,
html.light .vx-svc-card-title {
  color: #0f172a;
}

html.light .vx-svc-card-sub {
  color: #64748b;
}

.vx-stage-top-start {
  flex: 1 1 0;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  overflow: hidden;
}

.vx-stage-top-actions {
  flex: 1 1 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  min-width: 0;
}

.vx-upgrade-btn {
  height: 34px;
  padding: 0 16px;
  border-radius: 9999px;
  background: #3a55fb;
  color: #ffffff;
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  border: none;
  cursor: pointer;
  transition: background-color 140ms ease, transform 120ms ease;
}

.vx-upgrade-btn:hover {
  background: #4b65ff;
  color: #ffffff;
}

.vx-upgrade-btn.is-subscribed {
  height: 32px;
  min-width: 52px;
  padding: 0 13px;
  border-radius: 8px;
  background: #ffffff;
  border: none;
  color: #0d0d0e;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.vx-upgrade-btn.is-subscribed:hover {
  background: #e9eaee;
  color: #0d0d0e;
}

.vx-upgrade-btn:active {
  transform: translateY(0.5px);
}

.vx-stage-avatar-pill {
  width: 36px;
  height: 36px;
  padding: 0;
  background: transparent;
  border: none;
}

.vx-stage-avatar-pill .vx-home-avatar-circle {
  width: 36px;
  height: 36px;
}

.vx-stage-avatar-pill .vx-home-avatar-circle.is-subscribed {
  width: 36px;
  height: 36px;
  padding: 2.5px;
}

.vx-stage-top-actions .vx-home-avatar-menu {
  z-index: 80;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.55);
}

.vx-railway-drawer .ptero-terminal-output {
  height: 345px;
}

.vx-railway-drawer {
  width: min(1100px, 92%);
  max-width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--vetox-surface);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: none;
  border-inline-end: none;
  border-radius: 0;
  border-start-start-radius: 14px;
  box-shadow: none;
  will-change: transform, opacity;
  transition: transform 185ms cubic-bezier(0.4, 0, 1, 1), opacity 185ms ease;
}

.vx-railway-drawer.is-sliding-in {
  animation: vxDrawerSlideInLtr 280ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.vx-app-shell[dir="rtl"] .vx-railway-drawer.is-sliding-in {
  animation: vxDrawerSlideInRtl 280ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.vx-railway-drawer.is-closing {
  transform: translateX(72px);
  opacity: 0;
  pointer-events: none;
}

.vx-app-shell[dir="rtl"] .vx-railway-drawer.is-closing {
  transform: translateX(-72px);
  opacity: 0;
  pointer-events: none;
}

@keyframes vxDrawerSlideInLtr {
  from {
    opacity: 0;
    transform: translateX(72px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes vxDrawerSlideInRtl {
  from {
    opacity: 0;
    transform: translateX(-72px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.vx-railway-pane {
  flex: 1;
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--vetox-canvas);
}

.vx-railway-head {
  flex-shrink: 0;
  background: var(--vetox-surface);
  border-bottom: 1px solid var(--vetox-line);
  display: flex;
  flex-direction: column;
}

.vx-drawer-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 26px 24px 18px;
}

.vx-drawer-title {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}

.vx-drawer-gh-icon {
  color: #ffffff;
  flex-shrink: 0;
}

.vx-drawer-project-name {
  margin: 0;
  font-size: 1.24rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.015em;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vx-drawer-close-btn {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: none;
  background: transparent;
  color: var(--vetox-fg-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.88rem;
  cursor: pointer;
  flex-shrink: 0;
  transition: background-color 140ms ease, color 140ms ease;
}

.vx-drawer-close-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: #ffffff;
}

html.light .vx-drawer-gh-icon,
html.light .vx-drawer-project-name {
  color: #0f172a;
}

html.light .vx-drawer-close-btn {
  background: transparent;
  border: none;
  color: #475569;
}

html.light .vx-drawer-close-btn:hover {
  background: rgba(15, 23, 42, 0.07);
  color: #0f172a;
}

html.light .vx-railway-stage {
  background: #f1f5f9;
}

html.light .vx-railway-drawer {
  background: #ffffff;
  border-color: #cbd5e1;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.1);
}

html.light .vx-drawer-close-btn:hover {
  background: #f1f5f9;
  color: #0f172a;
}

html.light .vx-app-shell {
  background: #e2e8f0;
}

html.light .vx-sidebar {
  background: transparent;
}

html.light .vx-shell-inset {
  background: #f8fafc;
  border-color: #cbd5e1;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.06);
}

html.light .vx-inset-body,
html.light .vx-railway-pane {
  background: #f8fafc;
}

.vx-railway-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 22px 10px;
}

.vx-railway-title-group {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1;
}

.vx-railway-app-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(35, 134, 248, 0.12);
  border: 1px solid rgba(35, 134, 248, 0.28);
  color: var(--vetox-brand-500);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.vx-railway-app-name {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--vetox-fg-strong);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vx-railway-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  border: 1px solid transparent;
}

.vx-railway-status-pill.is-running {
  background: rgba(76, 195, 138, 0.12);
  border-color: rgba(76, 195, 138, 0.28);
  color: #6ee7b7;
}

.vx-railway-status-pill.is-transition {
  background: rgba(251, 146, 60, 0.12);
  border-color: rgba(251, 146, 60, 0.28);
  color: #fdba74;
}

.vx-railway-status-pill.is-offline {
  background: rgba(234, 71, 65, 0.12);
  border-color: rgba(234, 71, 65, 0.28);
  color: #fca5a5;
}

.vx-railway-app-sub {
  margin-top: 3px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-vetox-mono);
  font-size: 0.74rem;
  color: var(--vetox-fg-muted);
  min-width: 0;
}

.vx-railway-sep {
  opacity: 0.5;
}

.vx-railway-endpoint {
  background: transparent;
  border: none;
  padding: 0;
  color: var(--vetox-brand-500);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
}

.vx-railway-endpoint:hover {
  text-decoration: underline;
}

.vx-railway-power-group {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
}

.vx-power-btn {
  height: 33px;
  padding: 0 13px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 140ms ease, opacity 140ms ease;
}

.vx-power-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.vx-power-btn.is-start {
  background: #1168e4;
  color: #ffffff;
}

.vx-power-btn.is-start:hover:not(:disabled) {
  background: #2386f8;
}

.vx-power-btn.is-restart {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--vetox-line);
  color: var(--vetox-fg-strong);
}

.vx-power-btn.is-restart:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.14);
}

.vx-power-btn.is-stop {
  background: rgba(234, 71, 65, 0.85);
  color: #ffffff;
}

.vx-power-btn.is-stop:hover:not(:disabled) {
  background: #ea4741;
}

.vx-railway-tabs {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 0 22px;
  overflow-x: auto;
  scrollbar-width: none;
}

.vx-railway-tabs::-webkit-scrollbar {
  display: none;
}

.vx-railway-tab {
  display: inline-flex;
  align-items: center;
  padding: 8px 0 11px;
  margin-bottom: -1px;
  border: none;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--vetox-fg-secondary);
  text-decoration: none;
  white-space: nowrap;
  transition: color 140ms ease, border-color 140ms ease;
}

.vx-railway-tab:hover {
  background: transparent;
  color: var(--vetox-fg-strong);
}

.vx-railway-tab.active {
  background: transparent;
  border-color: transparent;
  border-bottom-color: #ffffff;
  box-shadow: none;
  color: #ffffff;
  font-weight: 500;
}

html.light .vx-railway-tab {
  color: #64748b;
}

html.light .vx-railway-tab:hover {
  background: transparent;
  color: #0f172a;
}

html.light .vx-railway-tab.active {
  background: transparent;
  border-color: transparent;
  border-bottom-color: #0f172a;
  box-shadow: none;
  color: #0f172a;
}

html.light .vx-sidebar-link.active {
  background: #eff6ff;
  border-color: #bfdbfe;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
  color: #1d4ed8;
}

html.light .vx-sidebar-link.active .vx-sidebar-icon {
  color: #1d4ed8;
}

.vx-railway-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
}

.vx-railway-body.is-canvas .rw-gh-canvas {
  min-height: 100%;
  background: transparent;
}

.vx-tab-inline-loader {
  width: 100%;
  height: 100%;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vx-tab-fade-in {
  animation: vxTabFadeIn 140ms ease-out both;
}

@keyframes vxTabFadeIn {
  from {
    opacity: 0.45;
  }
  to {
    opacity: 1;
  }
}

.vx-railway-inner {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 20px 22px 28px;
}

.vx-railway-empty-stage {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 20px;
}

.vx-railway-empty-card {
  max-width: 460px;
  width: 100%;
  padding: 34px 28px;
  border-radius: 16px;
  background: var(--vetox-surface);
  border: 1px solid var(--vetox-line);
  text-align: center;
}

.vx-railway-empty-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  margin: 0 auto 16px;
  background: rgba(35, 134, 248, 0.12);
  border: 1px solid rgba(35, 134, 248, 0.28);
  color: var(--vetox-brand-500);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.vx-railway-empty-title {
  margin: 0 0 8px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--vetox-fg-strong);
}

.vx-railway-empty-desc {
  margin: 0 0 22px;
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--vetox-fg-secondary);
}

/* ---------- VETOX OVERVIEW HEADER & KPI STRIP ---------- */
.vx-overview-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 20px;
}

.vx-overview-title {
  margin: 0;
  font-size: 1.38rem;
  font-weight: 700;
  color: var(--vetox-fg-strong);
  letter-spacing: -0.02em;
}

.vx-overview-sub {
  margin: 4px 0 0;
  font-size: 0.84rem;
  color: var(--vetox-fg-secondary);
}

.vx-overview-secondary-btn {
  height: 38px;
  padding: 0 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--vetox-line);
  color: var(--vetox-fg-strong);
  font-size: 0.83rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background-color 140ms ease, border-color 140ms ease;
}

.vx-overview-secondary-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--vetox-line-strong);
}

.vx-overview-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}

.vx-overview-stat-card {
  padding: 16px 18px;
  border-radius: 12px;
  background: var(--vetox-surface);
  border: 1px solid var(--vetox-line);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: border-color 140ms ease, background-color 140ms ease;
}

a.vx-overview-stat-card:hover {
  border-color: rgba(35, 134, 248, 0.4);
  background: var(--vetox-raised);
}

.vx-overview-stat-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.vx-overview-stat-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--vetox-fg-secondary);
}

.vx-overview-stat-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
}

.vx-overview-stat-icon.is-blue {
  background: rgba(35, 134, 248, 0.14);
  color: #56beff;
}

.vx-overview-stat-icon.is-emerald {
  background: rgba(76, 195, 138, 0.14);
  color: #4cc38a;
}

.vx-overview-stat-icon.is-amber {
  background: rgba(251, 146, 60, 0.14);
  color: #fb923c;
}

.vx-overview-stat-val {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--vetox-fg-strong);
  font-family: var(--font-vetox-mono);
  line-height: 1.2;
}

.vx-overview-stat-val.vx-overview-stat-plan {
  font-family: var(--font-vetox-sans);
  font-size: 1.18rem;
}

.vx-overview-stat-dim {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--vetox-fg-muted);
}

.vx-overview-stat-foot {
  font-size: 0.74rem;
  color: var(--vetox-fg-muted);
}

/* ---------- MOBILE DRAWERS & RESPONSIVE BREAKPOINTS ---------- */
.vx-mobile-only {
  display: none !important;
}

.vx-shell-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(2px);
  z-index: 70;
}

@media (max-width: 1024px) {
  .vx-mobile-only {
    display: inline-flex !important;
  }

  header.vx-app-topbar.vx-mobile-only {
    display: flex !important;
    width: 100%;
  }

  .vx-sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    inset-inline-start: 0;
    width: var(--vx-sidebar-w) !important;
    flex: none !important;
    background: #141416 !important;
    background: color-mix(in oklab, #0d0d0e, white 5%) !important;
    border-inline-end: 1px solid var(--vetox-line);
    transform: translateX(-100%);
    transition: transform 200ms cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 80;
  }

  .vx-app-shell {
    position: fixed;
    inset: 0;
    width: 100%;
    height: auto;
  }

  .vx-shell-inset {
    margin: 6px;
    height: calc(100% - 12px);
  }

  .vx-app-shell[dir="rtl"] .vx-sidebar {
    transform: translateX(100%);
  }

  .vx-app-shell.mobile-sidebar-open .vx-sidebar {
    transform: translateX(0);
  }

  .vx-app-shell.is-collapsed .vx-sidebar-brand,
  .vx-app-shell.is-collapsed .vx-sidebar-label,
  .vx-app-shell.is-collapsed .vx-sidebar-badge,
  .vx-app-shell.is-collapsed .vx-sidebar-section-label {
    display: inline-flex;
  }

  .vx-app-shell.is-collapsed .vx-sidebar-section-label {
    display: block;
  }

  .vx-app-shell.is-collapsed .vx-sidebar-head {
    justify-content: space-between;
    padding: 0 12px 0 14px;
  }

  .vx-app-shell.is-collapsed .vx-sidebar-link {
    width: 100%;
    height: auto;
    padding: 0 10px;
    justify-content: flex-start;
  }

  .vx-app-shell.is-collapsed .vx-sidebar-user-meta {
    display: flex;
  }

  .vx-app-shell.is-collapsed .vx-sidebar-user-chevron {
    display: inline-block;
  }

  .vx-app-shell.is-collapsed .vx-sidebar-user-btn {
    width: 100%;
    height: auto;
    min-height: 44px;
    padding: 6px 8px;
    justify-content: flex-start;
  }

  .vx-app-shell.is-collapsed .vx-sidebar-cta {
    width: 100%;
    padding: 0 10px;
    justify-content: flex-start;
  }

  .vx-sidebar-toggle {
    display: none;
  }

  .vx-apps-rail {
    position: fixed;
    top: 0;
    bottom: 0;
    inset-inline-start: 0;
    width: min(290px, 85vw) !important;
    transform: translateX(-100%);
    transition: transform 200ms cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 50;
  }

  .vx-app-shell[dir="rtl"] .vx-apps-rail {
    transform: translateX(100%);
  }

  .vx-app-shell.mobile-rail-open .vx-apps-rail {
    transform: translateX(0);
  }

  .vx-app-shell.mobile-sidebar-open .vx-shell-backdrop,
  .vx-app-shell.mobile-rail-open .vx-shell-backdrop {
    display: block;
  }

  .vx-overview-stats {
    grid-template-columns: 1fr;
  }

  .vx-shell-content,
  .vx-railway-inner {
    padding: 16px;
  }

  .vx-railway-stage {
    padding: 58px 0 0 0;
  }

  .vx-railway-drawer {
    width: 100%;
    border-start-start-radius: 14px;
    border-start-end-radius: 14px;
  }

  .vx-railway-bar {
    padding: 12px 16px 8px;
  }
}

/* ---------- RESPONSIVE MOBILE & TABLET DASHBOARD HEADER (EXACT VETOX LAYOUT) ---------- */
@media (max-width: 900px) {
  .vx-app-topbar {
    height: 56px;
    padding: 10px;
    gap: 8px;
  }

  .vx-stage-topbar {
    height: 56px;
    padding: 10px;
    gap: 8px;
  }

  .vx-railway-stage {
    padding: 56px 0 0 0;
  }

  .vx-topbar-icon-btn {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: none;
    background: #2b2b2e;
    background: color-mix(in oklab, #28282a, white 5%);
    color: #e2e3ea;
    flex-shrink: 0;
  }

  .vx-topbar-start,
  .vx-stage-top-start {
    flex: 1 1 0;
    min-width: 0;
    gap: 8px;
  }

  .vx-topbar-center,
  .vx-stage-top-center {
    flex: 1 1 auto;
    min-width: 0;
    max-width: 448px;
    padding: 0;
  }

  .vx-search-trigger {
    width: 100%;
    max-width: 448px;
    height: 36px;
    padding-inline-start: 9px;
    padding-inline-end: 6px;
    gap: 8px;
    border-radius: 8px;
  }

  .vx-topbar-end,
  .vx-stage-top-actions {
    flex: 0 0 auto;
    gap: 8px;
  }

  .vx-crumb-more {
    display: none;
  }

  .vx-crumb-pill {
    max-width: 140px;
  }

  .vx-apps-canvas-scroll {
    padding: 12px 14px 28px;
  }
}

@media (max-width: 640px) {
  .vx-topbar-start,
  .vx-stage-top-start {
    flex: 0 0 auto;
  }

  .vx-topbar-start .vx-topbar-breadcrumb,
  .vx-stage-top-start .vx-topbar-breadcrumb {
    display: none;
  }

  .vx-topbar-center,
  .vx-stage-top-center {
    flex: 1 1 0%;
    min-width: 0;
  }

  .vx-search-kbd {
    display: none !important;
  }

  .vx-topbar-end,
  .vx-stage-top-actions {
    flex: 0 0 auto;
    gap: 8px;
  }

  .vx-upgrade-btn {
    height: 36px;
    padding: 0 13px;
    border-radius: 8px;
    font-size: 0.82rem;
  }

  .vx-upgrade-btn.is-subscribed {
    height: 36px;
    min-width: 48px;
    padding: 0 12px;
    border-radius: 8px;
  }

  .vx-app-topbar .vx-home-avatar-pill,
  .vx-stage-avatar-pill {
    width: 36px;
    height: 36px;
    padding: 0;
    background: transparent;
    border: none;
    justify-content: center;
    gap: 0;
  }

  .vx-app-topbar .vx-home-avatar-circle,
  .vx-stage-avatar-pill .vx-home-avatar-circle {
    width: 36px;
    height: 36px;
  }

  .vx-app-topbar .vx-home-avatar-label,
  .vx-app-topbar .vx-home-avatar-chevron,
  .vx-stage-avatar-pill .vx-home-avatar-label,
  .vx-stage-avatar-pill .vx-home-avatar-chevron {
    display: none;
  }

  .vx-home-avatar-menu {
    max-width: calc(100vw - 20px);
  }
}

/* ---------- LIGHT MODE OVERRIDES FOR APP SHELL ---------- */
html.light .vx-app-shell {
  background: #e2e8f0;
  color: #0f172a;
}

html.light .vx-shell-main,
html.light .vx-railway-pane {
  background: #f8fafc;
  color: #0f172a;
}

html.light .vx-sidebar {
  background: transparent;
}

html.light .vx-app-topbar {
  background: transparent;
  border-bottom: none;
}

html.light .vx-railway-head,
html.light .vx-overview-stat-card,
html.light .vx-railway-empty-card {
  background: #ffffff;
  border-color: #e2e8f0;
}

html.light .vx-apps-rail {
  background: #f1f5f9;
  border-color: #e2e8f0;
}

html.light .vx-sidebar-head,
html.light .vx-apps-rail-head,
html.light .vx-sidebar-foot,
html.light .vx-apps-rail-foot,
html.light .vx-shell-footer,
html.light .vx-sidebar-sep {
  border-color: #e2e8f0;
}

html.light .vx-sidebar-brand,
html.light .vx-apps-rail-title,
html.light .vx-crumb-current,
html.light .vx-railway-app-name,
html.light .vx-overview-title,
html.light .vx-overview-stat-val,
html.light .vx-rail-item-name,
html.light .vx-railway-empty-title {
  color: #0f172a;
}

html.light .vx-sidebar-link,
html.light .vx-crumb-root,
html.light .vx-railway-tab,
html.light .vx-overview-sub,
html.light .vx-overview-stat-label {
  color: #475569;
}

html.light .vx-sidebar-link:hover,
html.light .vx-rail-item:hover {
  background: #f1f5f9;
  color: #0f172a;
}

html.light .vx-sidebar-link.active {
  background: #eff6ff;
  border-color: #bfdbfe;
  color: #1d4ed8;
}

html.light .vx-rail-item.active {
  background: #ffffff;
  border-color: #93c5fd;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
}

html.light .vx-railway-tab.active {
  color: #1d4ed8;
}

html.light .vx-apps-rail-search {
  background: #ffffff;
  border-color: #cbd5e1;
  color: #0f172a;
}

html.light .vx-power-btn.is-restart,
html.light .vx-overview-secondary-btn,
html.light .vx-rail-foot-cta,
html.light .vx-rail-add-btn,
html.light .vx-topbar-code-pill {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: #0f172a;
}

html.light .vx-sidebar-cta {
  background: #eff6ff;
  border-color: #93c5fd;
  color: #1d4ed8;
}

html.light .vx-sidebar-cta:hover {
  background: #1d4ed8;
  color: #ffffff;
}
