/* account.css — the account pages (/login, /signup, /oauth/callback, /signed-out, /tos) and the
   Answers workspace (/wield/{tier}/knowledge|pricing), ported from the React customer SPA. Same
   palette and type as that app's Tailwind theme: black ground, #E0E0E0 text, the #00FF41 brand
   green, Space Grotesk for words and JetBrains Mono for figures. Every rule is scoped under a vx-
   class so it can sit beside nav.css (which styles only the injected top bar). */

.vx-body {
  margin: 0; min-height: 100vh; background: #000; color: #E0E0E0;
  font-family: 'Space Grotesk', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'tnum' on, 'lnum' on;
}
.vx-body *, .vx-body *::before, .vx-body *::after { box-sizing: border-box; }
.vx-body ::selection { background: rgba(0, 255, 65, 0.3); color: #fff; }
.vx-body [hidden] { display: none !important; }
.vx-body h1, .vx-body h2, .vx-body h3, .vx-body p { margin: 0; }
.vx-body button { font-family: inherit; cursor: pointer; }
.vx-body button:disabled { cursor: not-allowed; }
.vx-mono, .vx-sub-mono { font-family: 'JetBrains Mono', 'Courier New', monospace; }

.vx-gradient {
  background: linear-gradient(90deg, #00FF41, #00CC33);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.vx-strong-green { color: #00FF41; font-weight: 600; }
.vx-a { color: #00FF41; text-decoration: none; transition: color .3s; }
.vx-a:hover { color: #33ff7a; }
.vx-underline { text-decoration: underline; }

/* buttons + inputs (the SPA's btn-primary / btn-secondary / input-field) */
.vx-btn-primary {
  padding: 10px 20px; background: #00FF41; color: #000; font-weight: 700; border: 0;
  border-radius: 4px; font-size: 14px; line-height: 20px; transition: background-color .2s;
  text-decoration: none; text-align: center;
}
.vx-btn-primary:hover { background: #00CC33; }
.vx-btn-secondary {
  padding: 8px 20px; border: 2px solid #00FF41; color: #00FF41; background: transparent;
  font-weight: 700; border-radius: 4px; font-size: 14px; line-height: 20px; transition: all .3s;
}
.vx-btn-secondary:hover:not(:disabled) { background: #00FF41; color: #000; }
.vx-btn-primary:disabled, .vx-btn-secondary:disabled { opacity: .5; }
.vx-full { width: 100%; display: block; }
.vx-inline-block { display: inline-block; }
.vx-input {
  width: 100%; padding: 12px 16px; background: #0A0A0A; border: 1px solid #1A1A1A; border-radius: 4px;
  color: #fff; font-size: 14px; line-height: 20px; font-family: 'JetBrains Mono', 'Courier New', monospace;
  transition: border-color .2s;
}
.vx-input::placeholder { color: #6B7280; }
.vx-input:focus { outline: none; border-color: #4b5563; }
.vx-otp { text-align: center; font-size: 24px; line-height: 32px; letter-spacing: .5em; }
.vx-otp-sm { text-align: center; letter-spacing: .3em; }
.vx-link-btn { background: none; border: 0; padding: 0; color: #00FF41; font-size: inherit; transition: color .3s; }
.vx-link-btn:hover { color: #33ff7a; }
.vx-link-btn:disabled { opacity: .5; }

/* ── login / signup ── */
.vx-auth {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  padding: 48px 16px; font-family: 'JetBrains Mono', 'Courier New', monospace;
}
.vx-auth-grid { width: 100%; max-width: 1024px; display: grid; gap: 64px; align-items: center; }
.vx-brand { display: none; }
.vx-auth-col { width: 100%; max-width: 384px; margin: 0 auto; }
@media (min-width: 1024px) {
  .vx-auth-grid { grid-template-columns: 1fr 1fr; }
  .vx-brand { display: block; }
  .vx-auth-col { margin: 0; }
  .vx-inline-free { display: none; }
}
.vx-brand-h1 { font-size: 36px; line-height: 40px; font-weight: 700; letter-spacing: -0.025em; }
.vx-brand-lead { font-size: 18px; color: #d1d5db; margin-top: 16px !important; line-height: 32px; }
.vx-brand-sub { font-size: 14px; color: #6B7280; margin-top: 8px !important; line-height: 20px; }
.vx-auth-head { text-align: center; margin-bottom: 32px; }
.vx-h1 { font-size: 30px; line-height: 36px; font-weight: 700; letter-spacing: -0.025em; }
.vx-sub { font-size: 14px; color: #9CA3AF; margin-top: 8px !important; line-height: 20px; }
.vx-sub-mono { font-size: 14px; color: #6B7280; margin-top: 8px !important; }
.vx-trial { margin-bottom: 20px; font-size: 14px; color: #d1d5db; }
.vx-trial h2 { font-size: 18px; font-weight: 600; }
.vx-trial p { margin-top: 8px; }
.vx-error {
  background: rgba(239, 68, 68, .1); border: 1px solid rgba(239, 68, 68, .2); border-radius: 4px;
  padding: 10px 16px; margin-bottom: 20px;
}
.vx-error p { color: #f87171; font-size: 14px; }
.vx-unverified {
  background: rgba(0, 255, 65, .1); border: 1px solid rgba(0, 255, 65, .2); border-radius: 4px;
  padding: 12px 16px; margin-bottom: 20px; display: flex; flex-direction: column; gap: 12px;
}
.vx-unverified-lead { color: #d1d5db; font-size: 14px; }
.vx-unverified-email { color: #f3f4f6; }
.vx-unverified .vx-link-btn { font-size: 12px; align-self: flex-start; }
.vx-notice { color: #00FF41; font-size: 12px; }
.vx-providers { display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }
.vx-provider {
  width: 100%; display: flex; align-items: center; justify-content: center; gap: 12px;
  background: #0A0A0A; padding: 10px 0; border-radius: 4px; font-size: 14px; font-weight: 500;
  border: 1px solid #1A1A1A; transition: all .3s;
}
.vx-provider:hover { background: #1A1A1A; border-color: rgba(0, 255, 65, .3); }
.vx-github { color: #E0E0E0; }
.vx-google { color: #9CA3AF; }
.vx-ico5 { width: 20px; height: 20px; }
.vx-ico4 { width: 16px; height: 16px; }
.vx-or { position: relative; margin-bottom: 24px; text-align: center; }
.vx-or-line { position: absolute; inset: 0; display: flex; align-items: center; }
.vx-or-line::before { content: ''; width: 100%; border-top: 1px solid #1A1A1A; }
.vx-or span { position: relative; background: #000; padding: 0 12px; font-size: 12px; color: #4b5563; }
.vx-stack { display: flex; flex-direction: column; gap: 12px; }
.vx-stack-sm { display: flex; flex-direction: column; gap: 8px; }
.vx-tos { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; padding: 4px 0; }
.vx-tos input { margin-top: 2px; accent-color: #00FF41; }
.vx-tos span { font-size: 12px; color: #6B7280; }
.vx-fine { color: #6B7280; font-size: 12px; text-align: center; }
.vx-mt6 { margin-top: 24px !important; }
.vx-mt3 { margin-top: 12px !important; }
.vx-center { text-align: center; }
.vx-verify { width: 100%; max-width: 384px; padding: 32px; }

/* free tier (the SPA's FreeTierBlock) */
.vx-free-panel {
  margin-top: 40px; border-radius: 16px; border: 1px solid rgba(0, 255, 65, .3);
  background: rgba(0, 255, 65, .04); padding: 16px 20px; text-align: left;
}
.vx-free-kicker { font-family: 'JetBrains Mono', monospace; font-size: 11px; text-transform: uppercase; letter-spacing: .24em; color: #00FF41; }
.vx-free-panel h3 { margin: 8px 0 0; font-size: 18px; font-weight: 600; color: #fff; }
.vx-free-body { margin-top: 8px !important; font-size: 14px; line-height: 24px; color: #9CA3AF; }
.vx-free-panel ul { margin: 16px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.vx-free-panel li { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; line-height: 24px; color: #d1d5db; }
.vx-free-panel .vx-plus { margin-top: 4px; font-family: 'JetBrains Mono', monospace; font-size: 12px; color: #00FF41; }
.vx-free-foot { margin-top: 16px !important; font-size: 12px; line-height: 20px; color: #6B7280; }
.vx-inline-free { margin-top: 24px; }
.vx-free-inline { text-align: left; }
.vx-free-inline-h { font-size: 12px; font-weight: 600; color: #00FF41; }
.vx-free-inline ul { margin: 8px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 4px; }
.vx-free-inline li { display: flex; align-items: flex-start; gap: 8px; font-size: 11px; line-height: 20px; color: #9CA3AF; }
.vx-free-inline .vx-plus { margin-top: 1px; font-family: 'JetBrains Mono', monospace; font-size: 10px; color: #00FF41; }
.vx-free-inline-p { margin-top: 8px !important; font-size: 11px; line-height: 20px; color: #6B7280; }
.vx-free-inline-f { margin-top: 4px !important; font-size: 11px; line-height: 20px; color: #6B7280; }

/* oauth callback, signed out, 404 */
.vx-authenticating { color: #fff; text-align: center; margin-top: 40px; font-family: 'JetBrains Mono', monospace; }
.vx-center-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; }
.vx-check {
  width: 48px; height: 48px; border-radius: 9999px; background: rgba(0, 255, 65, .1);
  border: 1px solid rgba(0, 255, 65, .2); display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px; color: #00FF41;
}
.vx-check svg { width: 24px; height: 24px; }
.vx-signed-out-h { font-size: 20px; font-weight: 600; color: #fff; letter-spacing: -0.025em; margin-bottom: 8px !important; }
.vx-signed-out-p { font-size: 14px; color: #6B7280; margin-bottom: 24px !important; }

/* ── the SPA's Layout: centred column + footer ── */
.vx-layout { min-height: 100vh; display: flex; flex-direction: column; }
.vx-main { max-width: 1024px; margin: 0 auto; padding: 32px 16px; width: 100%; flex: 1; }
@media (min-width: 640px) { .vx-main { padding: 32px 24px; } }
.vx-footer { border-top: 1px solid #1A1A1A; margin-top: auto; }
.vx-footer-in {
  max-width: 1024px; margin: 0 auto; padding: 16px; display: flex; flex-direction: column; gap: 12px;
  font-size: 12px; color: #6B7280;
}
@media (min-width: 640px) { .vx-footer-in { flex-direction: row; align-items: center; justify-content: space-between; padding: 16px 24px; } }
.vx-lamps { display: none; align-items: center; gap: 20px; font-size: 10px; font-family: 'JetBrains Mono', monospace; }
@media (min-width: 640px) { .vx-lamps { display: flex; } }
.vx-lamp { display: flex; align-items: center; gap: 8px; color: #9CA3AF; }
.vx-dim { color: #4b5563; }
.vx-dot { position: relative; display: flex; width: 6px; height: 6px; flex-shrink: 0; }
.vx-ping { position: absolute; display: inline-flex; width: 100%; height: 100%; border-radius: 9999px; background: #4ade80; opacity: .6; animation: vx-ping 1s cubic-bezier(0, 0, .2, 1) infinite; }
.vx-core { position: relative; display: inline-flex; width: 6px; height: 6px; border-radius: 9999px; background: #22c55e; }
@keyframes vx-ping { 75%, 100% { transform: scale(2); opacity: 0; } }
.vx-footer-links { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
@media (min-width: 640px) { .vx-footer-links { justify-content: flex-end; } }
.vx-footer-links a { color: inherit; text-decoration: none; transition: color .2s; }
.vx-footer-links a:hover { color: #d1d5db; }
.vx-plan-badge {
  border-radius: 4px; border: 1px solid #374151; background: rgba(26, 26, 26, .5); padding: 2px 8px;
  font-family: 'JetBrains Mono', monospace; font-size: 10px; text-transform: uppercase; letter-spacing: .05em; color: #9CA3AF;
}

/* /tos */
.vx-tos-page { max-width: 672px; margin: 0 auto; display: flex; flex-direction: column; gap: 24px; }
.vx-tos-page h1 { font-size: 20px; font-weight: 700; color: #fff; }
.vx-tos-date { font-size: 12px; color: #9CA3AF; }
.vx-prose { color: #d1d5db; font-size: 14px; line-height: 1.7; display: flex; flex-direction: column; gap: 16px; }
.vx-prose h2 { font-size: 18px; font-weight: 500; color: #fff; }
.vx-prose code { color: #fff; font-family: 'JetBrains Mono', monospace; font-size: .875em; font-weight: 600; }
.vx-prose code::before, .vx-prose code::after { content: '`'; }

/* ── Answers workspace ── */
.vx-wield { max-width: 1152px; margin: 0 auto; }
.vx-wield-loading { padding: 80px 0; text-align: center; font-size: 14px; color: #6B7280; }
.vx-wield-head { margin-bottom: 24px; display: flex; align-items: center; justify-content: space-between; }
.vx-wield-title { display: flex; align-items: center; gap: 12px; }
.vx-wield-icon {
  width: 32px; height: 32px; border-radius: 8px; background: rgba(0, 255, 65, .1); border: 1px solid rgba(0, 255, 65, .2);
  display: flex; align-items: center; justify-content: center; color: #00FF41;
}
.vx-wield-title h1 { font-size: 20px; font-weight: 700; color: #fff; }
.vx-mono-sub { font-size: 12px; color: #6B7280; font-family: 'JetBrains Mono', monospace; }
.vx-rail { display: none; align-items: center; gap: 4px; font-size: 10px; font-family: 'JetBrains Mono', monospace; }
@media (min-width: 640px) { .vx-rail { display: flex; } }
.vx-rail span { padding: 2px 8px; border-radius: 4px; color: #4b5563; }
.vx-rail span.on { background: rgba(0, 255, 65, .2); color: #00FF41; font-weight: 600; }
.vx-rail .vx-arrow { padding: 0; color: #374151; }
.vx-tiers { margin-bottom: 16px; }
.vx-kicker { font-size: 10px; font-family: 'JetBrains Mono', monospace; color: #6B7280; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 8px !important; }
.vx-tier-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 640px) { .vx-tier-grid { grid-template-columns: 1fr 1fr; } }
.vx-tier {
  display: block; text-align: left; border-radius: 12px; border: 1px solid #1A1A1A; background: rgba(10, 10, 10, .3);
  padding: 12px 16px; transition: all .15s; color: inherit; text-decoration: none; font-size: inherit;
}
.vx-tier:hover { border-color: #374151; }
.vx-tier.on { border-color: rgba(0, 255, 65, .6); background: rgba(0, 255, 65, .06); box-shadow: 0 0 0 1px rgba(0, 255, 65, .3); }
.vx-tier-row { display: flex; align-items: center; justify-content: space-between; }
.vx-tier-name { font-size: 14px; font-weight: 700; color: #fff; }
.vx-tier-state { font-size: 10px; font-family: 'JetBrains Mono', monospace; color: #4b5563; }
.vx-tier.on .vx-tier-state { color: #00FF41; }
.vx-tier p { margin-top: 4px !important; font-size: 11px; color: #9CA3AF; line-height: 1.6; }
.vx-badge {
  margin-left: 4px; vertical-align: middle; font-size: 9px; font-family: 'JetBrains Mono', monospace; text-transform: uppercase;
  letter-spacing: .05em; color: #00FF41; border: 1px solid rgba(0, 255, 65, .3); border-radius: 4px; padding: 2px 6px; font-weight: 400;
}
.vx-tier-note { margin-top: 8px !important; font-size: 11px; color: #6B7280; }
.vx-tier-note a { color: #00FF41; text-decoration: none; }
.vx-tier-note a:hover { text-decoration: underline; }
.vx-tier-warn { margin-top: 8px !important; font-size: 11px; color: rgba(251, 191, 36, .9); }
.vx-subnav { margin-bottom: 24px; display: flex; align-items: center; gap: 4px; border-bottom: 1px solid rgba(26, 26, 26, .6); }
.vx-subnav a {
  padding: 8px 12px; font-size: 14px; border-bottom: 2px solid transparent; margin-bottom: -1px; color: #9CA3AF;
  text-decoration: none; transition: color .15s;
}
.vx-subnav a:hover { color: #e5e7eb; }
.vx-subnav a.on { border-color: #00FF41; color: #00FF41; font-weight: 500; }
.vx-banner {
  margin-bottom: 24px; padding: 12px 16px; border-radius: 8px; border: 1px solid; font-size: 14px;
  font-family: 'JetBrains Mono', monospace; display: flex; align-items: flex-start; justify-content: space-between; gap: 12px;
}
.vx-banner button { background: none; border: 0; color: inherit; opacity: .6; flex-shrink: 0; }
.vx-banner button:hover { opacity: 1; }
.vx-banner-error { background: rgba(239, 68, 68, .05); border-color: rgba(239, 68, 68, .2); color: #f87171; }
.vx-banner-notice { background: rgba(0, 255, 65, .05); border-color: rgba(0, 255, 65, .2); color: #00FF41; }
.vx-card { border-radius: 12px; border: 1px solid rgba(26, 26, 26, .6); background: rgba(10, 10, 10, .3); }

.vx-knowledge { display: flex; flex-direction: column; gap: 24px; }
#vx-corpus-work { display: flex; flex-direction: column; gap: 24px; }
#vx-corpus-work[hidden] { display: none; }
.vx-ask-over { padding: 12px 16px; display: flex; flex-direction: column; gap: 12px; }
@media (min-width: 640px) { .vx-ask-over { flex-direction: row; align-items: center; } }
.vx-ask-over label { font-size: 12px; font-family: 'JetBrains Mono', monospace; color: #6B7280; text-transform: uppercase; letter-spacing: .05em; white-space: nowrap; }
.vx-ask-over select {
  flex: 1; padding: 8px 12px; background: #000; border: 1px solid #1A1A1A; border-radius: 4px; color: #fff;
  font-size: 14px; font-family: 'JetBrains Mono', monospace;
}
.vx-ask-over select:focus { border-color: rgba(0, 255, 65, .5); outline: none; }
.vx-none { font-size: 14px; color: #6B7280; }
.vx-none a, .vx-pfoot a { color: #00FF41; text-decoration: none; cursor: pointer; }
.vx-none a:hover, .vx-pfoot a:hover { text-decoration: underline; }
.vx-pfoot a { color: rgba(0, 255, 65, .8); }
.vx-pick { font-size: 14px; color: #6B7280; padding: 0 4px; }
.vx-ask { overflow: hidden; }
.vx-ask-head { padding: 12px 16px; border-bottom: 1px solid rgba(26, 26, 26, .4); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.vx-ask-head .vx-kicker { font-size: 12px; margin: 0 !important; }
.vx-ask-tools { display: flex; align-items: center; gap: 8px; }
.vx-hybrid { font-size: 9px; font-family: 'JetBrains Mono', monospace; padding: 2px 6px; border-radius: 4px; border: 1px solid rgba(0, 255, 65, .3); color: rgba(0, 255, 65, .9); }
.vx-modes { display: flex; align-items: center; gap: 4px; border-radius: 6px; background: #000; border: 1px solid #1A1A1A; padding: 2px; }
.vx-mode { padding: 4px 10px; border-radius: 4px; font-size: 11px; font-family: 'JetBrains Mono', monospace; background: none; border: 0; color: #9CA3AF; transition: color .15s; }
.vx-mode:hover { color: #fff; }
.vx-mode.on { background: #00FF41; color: #000; font-weight: 700; }
.vx-ask-body { padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.vx-ask-row { display: flex; gap: 8px; }
.vx-ask-input {
  flex: 1; padding: 8px 12px; background: #000; border: 1px solid #1A1A1A; border-radius: 4px; color: #fff; font-size: 14px; font-family: inherit;
}
.vx-ask-input::placeholder { color: #4b5563; }
.vx-ask-input:focus { border-color: rgba(0, 255, 65, .5); outline: none; }
.vx-ask-btn { padding: 8px 16px; background: #00FF41; color: #000; font-weight: 700; border: 0; border-radius: 4px; font-size: 14px; transition: background-color .15s; }
.vx-ask-btn:hover { background: #00CC33; }
.vx-ask-btn:disabled { opacity: .4; }
.vx-hint { font-size: 11px; color: #6B7280; }
.vx-busy { font-size: 14px; color: #6B7280; }
.vx-history { padding: 12px 16px; background: rgba(10, 10, 10, .2); }
.vx-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.vx-chip {
  padding: 4px 10px; border-radius: 9999px; border: 1px solid #1A1A1A; background: #000; font-size: 12px; color: #d1d5db;
  max-width: 320px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: color .15s, border-color .15s;
}
.vx-chip:hover { color: #00FF41; border-color: rgba(0, 255, 65, .4); }

/* query results */
.vx-results { display: flex; flex-direction: column; gap: 12px; padding-top: 4px; }
.vx-answer { border-radius: 8px; background: rgba(0, 0, 0, .6); border: 1px solid rgba(26, 26, 26, .6); padding: 12px 16px; }
.vx-answer p { font-size: 14px; color: #fff; white-space: pre-wrap; line-height: 1.6; }
.vx-weak { border-radius: 8px; background: rgba(245, 158, 11, .1); border: 1px solid rgba(245, 158, 11, .3); padding: 8px 12px; }
.vx-weak p { font-size: 12px; color: rgba(252, 211, 77, .9); line-height: 1.6; }
.vx-noresults { font-size: 12px; color: #6B7280; }
.vx-matches-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.vx-matches-head .vx-kicker { margin: 0 !important; }
.vx-filter { position: relative; width: 192px; }
.vx-filter-ico { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); color: #4b5563; font-size: 12px; pointer-events: none; }
.vx-filter input {
  width: 100%; padding: 6px 64px 6px 32px; background: #000; border: 1px solid #1A1A1A; border-radius: 4px; color: #fff; font-size: 14px; font-family: inherit;
}
.vx-filter input:focus { border-color: rgba(0, 255, 65, .5); outline: none; }
.vx-filter-right { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); display: flex; align-items: center; gap: 8px; }
.vx-filter-count { font-size: 10px; font-family: 'JetBrains Mono', monospace; color: #6B7280; }
.vx-filter-right button { background: none; border: 0; color: #4b5563; }
.vx-filter-right button:hover { color: #d1d5db; }
.vx-sources { display: flex; flex-direction: column; gap: 8px; }
.vx-source { border-radius: 8px; border: 1px solid rgba(26, 26, 26, .6); background: rgba(0, 0, 0, .4); padding: 8px 12px; }
.vx-source-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
.vx-source-id { display: flex; align-items: center; gap: 8px; }
.vx-rank { display: inline-flex; align-items: center; justify-content: center; width: 16px; height: 16px; border-radius: 4px; background: rgba(0, 255, 65, .1); color: #00FF41; font-size: 9px; font-family: 'JetBrains Mono', monospace; }
.vx-source-doc { font-size: 10px; font-family: 'JetBrains Mono', monospace; color: #6B7280; }
.vx-source-pct { font-size: 10px; font-family: 'JetBrains Mono', monospace; color: #00FF41; }
.vx-source-text { font-size: 12px; color: #d1d5db; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.vx-nomatch { font-size: 12px; color: #4b5563; padding: 8px 0; }
.vx-body mark.vx-mark { background: rgba(0, 255, 65, .25); color: #fff; border-radius: 2px; }
.vx-body mark.vx-mark.on { background: #00FF41; color: #000; }

/* top-up (the 402 moment) */
.vx-topup { border-radius: 8px; border: 1px solid rgba(0, 255, 65, .3); background: rgba(0, 255, 65, .04); padding: 16px; }
.vx-topup-reason { font-size: 14px; color: #d1d5db; line-height: 1.6; margin-bottom: 12px !important; }
.vx-topup-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.vx-topup-btn { flex-shrink: 0; padding: 8px 16px; border-radius: 6px; background: #00FF41; color: #000; font-size: 14px; font-weight: 700; border: 0; transition: background-color .15s; }
.vx-topup-btn:hover { background: #33ff7a; }
.vx-topup-btn:disabled { opacity: .6; }
.vx-topup-detail { font-size: 12px; color: #9CA3AF; }
.vx-topup-error { margin-top: 8px !important; font-size: 12px; color: #f87171; }

/* pricing section */
.vx-pricing { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 1024px) { .vx-pricing { grid-template-columns: 1fr 1fr; } }
.vx-pcard { padding: 16px 20px; }
.vx-pcard-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.vx-pcard h2 { font-size: 14px; font-weight: 700; color: #fff; }
.vx-pcard h2 .vx-badge { margin-left: 8px; }
.vx-mb3 { margin-bottom: 12px !important; }
.vx-mono-faint { font-size: 10px; font-family: 'JetBrains Mono', monospace; color: #6B7280; }
.vx-pinner { border-radius: 8px; background: rgba(0, 0, 0, .6); border: 1px solid rgba(26, 26, 26, .6); padding: 12px 16px; }
.vx-prow { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 8px 0; border-bottom: 1px solid rgba(26, 26, 26, .4); }
.vx-prow:last-child { border-bottom: 0; }
.vx-prow-l { font-size: 12px; color: #6B7280; }
.vx-prow-v { font-size: 14px; color: #e5e7eb; text-align: right; }
.vx-prow-h { display: block; font-size: 10px; color: #4b5563; font-weight: 400; }
.vx-pfoot { margin-top: 12px !important; font-size: 11px; color: #6B7280; line-height: 1.6; }

/* document viewer + palette */
.vx-modal {
  position: fixed; inset: 0; z-index: 50; display: flex; align-items: center; justify-content: center; padding: 16px;
  background: rgba(0, 0, 0, .7); backdrop-filter: blur(4px);
}
.vx-viewer { width: 100%; max-width: 768px; max-height: 85vh; display: flex; flex-direction: column; border-radius: 12px; border: 1px solid #1A1A1A; background: #000; box-shadow: 0 25px 50px -12px rgba(0, 0, 0, .25); }
.vx-viewer-head { display: flex; align-items: flex-start; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid rgba(26, 26, 26, .6); }
.vx-minw0 { min-width: 0; }
.vx-viewer-label { font-size: 14px; color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vx-viewer-label.vx-mono { font-family: 'JetBrains Mono', monospace; }
.vx-viewer-meta { display: flex; align-items: center; gap: 12px; margin-top: 4px; font-size: 10px; font-family: 'JetBrains Mono', monospace; color: #6B7280; }
.vx-viewer-meta .vx-recon { color: rgba(251, 191, 36, .8); }
.vx-viewer-tools { display: flex; align-items: center; gap: 8px; flex-shrink: 0; margin-left: 12px; }
.vx-copy { font-size: 11px; font-family: 'JetBrains Mono', monospace; padding: 4px 8px; border-radius: 4px; border: 1px solid #1A1A1A; background: none; color: #9CA3AF; transition: all .15s; }
.vx-copy:hover { color: #00FF41; border-color: rgba(0, 255, 65, .4); }
.vx-close { background: none; border: 0; color: #6B7280; font-size: 18px; line-height: 1; }
.vx-close:hover { color: #fff; }
.vx-viewer-body { padding: 16px 20px; flex: 1; min-height: 0; display: flex; flex-direction: column; }
.vx-viewer-msg { font-size: 14px; color: #6B7280; text-align: center; padding: 48px 0; }
.vx-viewer-msg.err { color: #f87171; }
.vx-find { display: flex; flex-direction: column; min-height: 0; height: 100%; }
.vx-find-bar { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; flex-shrink: 0; }
.vx-find-input { flex: 1; padding: 6px 12px; background: #000; border: 1px solid #1A1A1A; border-radius: 4px; color: #fff; font-size: 14px; font-family: inherit; }
.vx-find-input:focus { border-color: rgba(0, 255, 65, .5); outline: none; }
.vx-find-count { font-size: 11px; font-family: 'JetBrains Mono', monospace; color: #6B7280; white-space: nowrap; }
.vx-find-prev, .vx-find-next { padding: 4px 8px; background: none; border: 0; color: #9CA3AF; }
.vx-find-prev:hover, .vx-find-next:hover { color: #00FF41; }
.vx-find-prev:disabled, .vx-find-next:disabled { opacity: .3; }
.vx-find-scroll { overflow-y: auto; flex: 1; }
.vx-find-text { white-space: pre-wrap; word-break: break-word; font-family: 'Space Grotesk', system-ui, sans-serif; font-size: 14px; color: #e5e7eb; line-height: 1.6; margin: 0; }
.vx-viewer-foot { padding: 12px 20px; border-top: 1px solid rgba(26, 26, 26, .6); }
.vx-viewer-foot p { font-size: 11px; color: #6B7280; }
.vx-palette-wrap {
  position: fixed; inset: 0; z-index: 60; display: flex; align-items: flex-start; justify-content: center; padding: 12vh 16px 0;
  background: rgba(0, 0, 0, .6); backdrop-filter: blur(4px);
}
.vx-palette { width: 100%; max-width: 512px; border-radius: 12px; border: 1px solid #1A1A1A; background: #000; overflow: hidden; box-shadow: 0 25px 50px -12px rgba(0, 0, 0, .25); }
.vx-palette-input { width: 100%; padding: 12px 16px; background: transparent; font-size: 14px; color: #fff; border: 0; border-bottom: 1px solid #1A1A1A; font-family: inherit; }
.vx-palette-input::placeholder { color: #4b5563; }
.vx-palette-input:focus { outline: none; }
.vx-palette-list { max-height: 320px; overflow-y: auto; padding: 4px 0; }
.vx-palette-item { width: 100%; text-align: left; padding: 8px 16px; background: none; border: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.vx-palette-item:hover { background: rgba(26, 26, 26, .4); }
.vx-palette-item .l { font-size: 14px; color: #e5e7eb; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vx-palette-item .s { font-size: 10px; font-family: 'JetBrains Mono', monospace; color: #4b5563; flex-shrink: 0; }
.vx-palette-empty { padding: 24px 16px; text-align: center; font-size: 14px; color: #4b5563; }
.vx-palette-foot { padding: 8px 16px; border-top: 1px solid rgba(26, 26, 26, .6); font-size: 10px; font-family: 'JetBrains Mono', monospace; color: #4b5563; }
