@import url('./assets/fonts/fonts.css?v=44db74e6131d');

:root {
  --bvg-page: #f4f7fb;
  --bvg-surface: #ffffff;
  --bvg-elevated: #f7f9fc;
  --bvg-ink: #0d1726;
  --bvg-muted: #6b788c;
  --bvg-line: #e6ebf2;
  --bvg-soft: #edf3ff;
  --bvg-primary: #2f5fe0;
  --bvg-primary-hover: #1b3fb6;
  --bvg-accent: #e39a2c;
  --bvg-danger: #c23d34;
  --bvg-font: "Manrope", "Noto Sans SC", -apple-system, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  --bvg-shadow: 0 1px 2px rgb(13 23 38 / 3%), 0 16px 34px -30px rgb(13 23 38 / 40%);
}

.bvg-account-setup {
  margin-bottom: 24px;
  padding: 24px;
  border: 1px solid var(--bvg-line);
  border-radius: 16px;
  background: var(--bvg-surface);
  box-shadow: var(--bvg-shadow);
}

.bvg-account-setup h2 { margin: 0 0 8px; color: var(--bvg-ink); font-size: 20px; }
.bvg-account-setup > p { color: var(--bvg-muted); line-height: 1.7; }
.bvg-account-setup form { display: grid; gap: 10px; max-width: 480px; margin-top: 20px; }
.bvg-account-setup label { color: var(--bvg-ink); font-weight: 600; }
.bvg-account-setup input {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--bvg-line);
  border-radius: 8px;
  color: var(--bvg-ink);
  background: var(--bvg-surface);
  font: inherit;
}
.bvg-account-setup input:focus-visible { outline: 2px solid var(--bvg-primary); outline-offset: 2px; }
.bvg-account-code-row { display: flex; gap: 10px; }
.bvg-account-code-row button { flex-shrink: 0; }
.bvg-account-setup button[type="submit"] { justify-self: start; margin-top: 8px; }
.bvg-account-setup button:disabled { opacity: .6; cursor: wait; }
.bvg-account-setup-status { min-height: 20px; margin: 0; color: var(--bvg-muted); line-height: 1.6; }

.bvg-password-reset-unavailable > :not(.bvg-auth-brand):not(.bvg-auth-title):not(.bvg-password-reset-status) {
  display: none !important;
}
.bvg-password-reset-status { margin: 16px 0; color: var(--bvg-muted); line-height: 1.8; }
.bvg-password-reset-status strong { color: var(--bvg-ink); }

/* Shared identity for the native login, registration and password-reset forms. */
html:has(body.bvg-auth),
body.bvg-auth {
  min-height: 100%;
  height: auto;
  background: var(--bvg-page);
  color: var(--bvg-ink);
  font-family: var(--bvg-font);
}

body.bvg-auth :is(button, input, select) {
  font-family: inherit;
}

body.bvg-auth #app,
body.bvg-auth #app > .n-config-provider {
  height: auto;
  min-height: 100dvh;
}

body.bvg-auth #app .bvg-auth-page {
  box-sizing: border-box;
  min-height: 100dvh;
  height: auto;
  padding: 48px 20px;
  background: radial-gradient(900px 520px at 8% -8%, rgb(47 95 224 / 10%), transparent 68%),
    radial-gradient(760px 460px at 100% 4%, rgb(16 160 106 / 7%), transparent 70%), #f4f7fb !important;
}

body.bvg-auth #app .bvg-auth-card {
  --n-color: #fff !important;
  --n-text-color: var(--bvg-ink) !important;
  width: min(440px, 100%);
  max-width: 440px;
  overflow: hidden;
  border: 1px solid var(--bvg-line);
  border-radius: 16px;
  box-shadow: 0 30px 70px -40px rgb(13 23 38 / 30%), 0 2px 6px rgb(13 23 38 / 4%);
}

body.bvg-auth #app .bvg-auth-main {
  padding: 36px;
}

body.bvg-auth #app .bvg-auth-brand {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  margin-bottom: 30px;
}

body.bvg-auth #app .bvg-auth-brand img {
  display: block;
  width: 48px;
  height: 48px;
  margin: 0;
  object-fit: contain;
}

body.bvg-auth #app .bvg-auth-wordmark {
  color: var(--bvg-ink);
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -.02em;
}

body.bvg-auth #app .bvg-auth-title {
  margin: 0 0 24px;
  color: var(--bvg-ink);
  text-align: left;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
}

body.bvg-auth #app .bvg-auth-main > .mt-5 {
  margin-top: 18px;
}

body.bvg-auth #app .bvg-auth-card .n-input {
  --n-height: 44px !important;
  --n-border-radius: 8px !important;
  --n-border: 1px solid #dce3ee !important;
  --n-border-hover: 1px solid #7d9bea !important;
  --n-border-focus: 1px solid var(--bvg-primary) !important;
  --n-box-shadow-focus: 0 0 0 3px rgb(47 95 224 / 12%) !important;
  --n-caret-color: var(--bvg-primary) !important;
  --n-text-color: var(--bvg-ink) !important;
  --n-placeholder-color: #8a96a8 !important;
}

body.bvg-auth #app .bvg-auth-card .n-button--primary-type {
  --n-color: var(--bvg-primary) !important;
  --n-color-hover: var(--bvg-primary-hover) !important;
  --n-color-pressed: var(--bvg-primary-hover) !important;
  --n-color-focus: var(--bvg-primary-hover) !important;
  --n-border: 1px solid var(--bvg-primary) !important;
  --n-border-hover: 1px solid var(--bvg-primary-hover) !important;
  --n-border-pressed: 1px solid var(--bvg-primary-hover) !important;
  --n-border-focus: 1px solid var(--bvg-primary-hover) !important;
  --n-height: 44px !important;
  --n-border-radius: 8px !important;
  height: 44px;
  border-radius: 8px;
  background-image: linear-gradient(180deg, #3a6aef, #2f5fe0);
  font-weight: 600 !important;
}

body.bvg-auth #app .bvg-auth-card .n-button--primary-type:hover {
  background-image: linear-gradient(180deg, #3563e8, #2953cc);
}

body.bvg-auth #app .bvg-auth-links {
  align-items: center;
  gap: 16px;
  padding: 20px 36px;
  border-top: 1px solid var(--bvg-line);
  background: #f8faff;
  font-size: 13px;
}

body.bvg-auth #app .bvg-auth-links a {
  color: var(--bvg-primary);
  text-decoration: none;
}

body.bvg-auth #app .bvg-auth-links a:hover {
  text-decoration: underline;
}

body.bvg-auth #app .bvg-auth-links .n-button {
  font-size: 12px;
  color: var(--bvg-muted);
}

@media (max-width: 480px) {
  body.bvg-auth #app .bvg-auth-page { padding: 24px 16px; }
  body.bvg-auth #app .bvg-auth-main { padding: 28px 24px; }
  body.bvg-auth #app .bvg-auth-links { padding: 18px 24px; gap: 10px; }
}

#bvg-launch,
#bvg-dialog,
#bvg-dialog * {
  box-sizing: border-box;
  letter-spacing: 0;
}

#bvg-launch {
  align-items: center;
  background: var(--bvg-primary);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  bottom: 24px;
  box-shadow: 0 12px 32px rgba(16, 24, 40, 0.22);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font: 600 14px/1 var(--bvg-font);
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  position: fixed;
  right: 24px;
  z-index: 1900;
}

#bvg-launch:hover {
  background: var(--bvg-primary-hover);
}

#bvg-launch:focus-visible,
#bvg-dialog button:focus-visible,
#bvg-dialog a:focus-visible {
  outline: 3px solid rgb(47 95 224 / 35%);
  outline-offset: 2px;
}

#bvg-dialog {
  background: #fff;
  border: 0;
  border-radius: 12px;
  box-shadow: 0 24px 80px rgba(16, 24, 40, 0.28);
  color: var(--bvg-ink);
  font-family: var(--bvg-font);
  margin: auto;
  max-height: min(900px, calc(100dvh - 48px));
  max-width: 920px;
  overflow: hidden;
  padding: 0;
  width: calc(100% - 48px);
}

#bvg-dialog::backdrop {
  background: rgb(13 23 38 / 40%);
  backdrop-filter: blur(2px);
}

.bvg-shell {
  display: flex;
  flex-direction: column;
  max-height: min(900px, calc(100dvh - 48px));
}

.bvg-header {
  align-items: center;
  border-bottom: 1px solid var(--bvg-line);
  display: flex;
  justify-content: space-between;
  min-height: 76px;
  padding: 14px 20px;
}

.bvg-title-wrap {
  align-items: center;
  display: flex;
  gap: 12px;
  min-width: 0;
}

.bvg-brand-mark,
.bvg-app-icon {
  align-items: center;
  background: var(--bvg-soft);
  border-radius: 12px;
  color: var(--bvg-primary);
  display: inline-flex;
  flex: 0 0 auto;
  height: 40px;
  justify-content: center;
  width: 40px;
}

.bvg-title-wrap h2,
.bvg-section h3 {
  color: var(--bvg-ink);
  font-weight: 700;
  letter-spacing: 0;
  margin: 0;
}

.bvg-title-wrap h2 {
  font-size: 18px;
  line-height: 1.4;
}

.bvg-title-wrap p,
.bvg-section-heading p,
.bvg-qr-panel p {
  color: var(--bvg-muted);
  font-size: 13px;
  line-height: 1.5;
  margin: 2px 0 0;
}

.bvg-icon-button {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 9px;
  color: #6b788c;
  cursor: pointer;
  display: inline-flex;
  flex: 0 0 auto;
  height: 40px;
  justify-content: center;
  padding: 0;
  width: 40px;
}

.bvg-icon-button:hover {
  background: var(--bvg-soft);
  color: var(--bvg-ink);
}

.bvg-body {
  overflow-y: auto;
  padding: 18px 20px 22px;
}

.bvg-platforms {
  background: var(--bvg-soft);
  border: 1px solid var(--bvg-line);
  border-radius: 12px;
  display: grid;
  gap: 4px;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  padding: 4px;
}

.bvg-platform {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 9px;
  color: #6b788c;
  cursor: pointer;
  display: inline-flex;
  font: 600 13px/1.2 var(--bvg-font);
  gap: 7px;
  justify-content: center;
  min-height: 40px;
  padding: 0 8px;
  white-space: nowrap;
}

.bvg-platform:hover {
  color: var(--bvg-ink);
}

.bvg-platform.is-active {
  background: #fff;
  box-shadow: 0 1px 3px rgba(16, 24, 40, 0.12);
  color: var(--bvg-primary);
}

.bvg-section {
  margin-top: 22px;
}

.bvg-section-heading {
  align-items: flex-end;
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.bvg-section h3 {
  font-size: 15px;
  line-height: 1.5;
}

.bvg-guide-link,
.bvg-download,
.bvg-primary,
.bvg-secondary {
  align-items: center;
  border-radius: 9px;
  cursor: pointer;
  display: inline-flex;
  font: 600 13px/1 var(--bvg-font);
  gap: 7px;
  justify-content: center;
  min-height: 38px;
  padding: 0 12px;
  text-decoration: none;
  white-space: nowrap;
}

.bvg-guide-link {
  color: var(--bvg-primary);
}

.bvg-guide-link:hover {
  color: var(--bvg-primary-hover);
}

.bvg-app-list {
  border-bottom: 1px solid var(--bvg-line);
  border-top: 1px solid var(--bvg-line);
}

.bvg-app-row {
  align-items: center;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  min-height: 72px;
  padding: 10px 0;
}

.bvg-app-row + .bvg-app-row {
  border-top: 1px solid var(--bvg-line);
}

.bvg-app-meta,
.bvg-app-actions,
.bvg-tool-row {
  align-items: center;
  display: flex;
}

.bvg-app-meta {
  gap: 12px;
  min-width: 0;
}

.bvg-app-icon {
  background: var(--bvg-soft);
  color: #3d4a5c;
  height: 38px;
  width: 38px;
}

.bvg-app-meta strong,
.bvg-app-meta span {
  display: block;
}

.bvg-app-meta strong {
  color: var(--bvg-ink);
  font-size: 14px;
  line-height: 1.45;
}

.bvg-app-meta span {
  color: var(--bvg-muted);
  font-size: 12px;
  line-height: 1.5;
  margin-top: 1px;
}

.bvg-app-actions {
  flex: 0 0 auto;
  gap: 8px;
}

.bvg-download,
.bvg-secondary {
  background: #fff;
  border: 1px solid var(--bvg-line);
  color: #3d4a5c;
}

.bvg-download:hover,
.bvg-secondary:hover {
  background: var(--bvg-soft);
  color: var(--bvg-ink);
}

.bvg-primary {
  background: var(--bvg-primary);
  border: 1px solid var(--bvg-primary);
  color: #fff;
}

.bvg-primary:hover {
  background: var(--bvg-primary-hover);
  border-color: var(--bvg-primary-hover);
}

.bvg-tool-row {
  flex-wrap: wrap;
  gap: 8px;
}

.bvg-qr-panel {
  align-items: center;
  border-top: 1px solid var(--bvg-line);
  display: flex;
  flex-direction: column;
  margin-top: 16px;
  padding-top: 16px;
}

.bvg-qr-panel[hidden] {
  display: none;
}

.bvg-qr {
  background: #fff;
  border: 1px solid var(--bvg-line);
  border-radius: 12px;
  min-height: 226px;
  min-width: 226px;
  padding: 8px;
}

.bvg-qr img,
.bvg-qr canvas {
  display: block;
  height: 208px !important;
  width: 208px !important;
}

.bvg-status {
  background: #fff;
  border: 1px solid transparent;
  border-radius: 9px;
  bottom: 14px;
  box-shadow: 0 8px 24px rgba(16, 24, 40, 0.14);
  color: var(--bvg-ink);
  font-size: 13px;
  left: 50%;
  max-width: calc(100% - 40px);
  opacity: 0;
  padding: 9px 12px;
  pointer-events: none;
  position: fixed;
  transform: translate(-50%, 10px);
  transition: opacity 160ms ease, transform 160ms ease;
  visibility: hidden;
  z-index: 2;
}

.bvg-status.is-loading,
.bvg-status.is-success,
.bvg-status.is-error {
  opacity: 1;
  transform: translate(-50%, 0);
  visibility: visible;
}

.bvg-status.is-success {
  border-color: #a6f4c5;
}

.bvg-status.is-loading {
  border-color: #fedf89;
}

.bvg-status.is-error {
  border-color: #fecdca;
  color: var(--bvg-danger);
}

@media (max-width: 720px) {
  #bvg-launch {
    bottom: 16px;
    right: 16px;
  }

  #bvg-dialog {
    border-radius: 18px 18px 0 0;
    height: min(92dvh, 760px);
    margin: auto 0 0;
    max-height: 92dvh;
    width: 100%;
  }

  .bvg-shell {
    height: 100%;
    max-height: 92dvh;
  }

  .bvg-header {
    min-height: 68px;
    padding: 11px 14px;
  }

  .bvg-body {
    padding: 14px 14px 24px;
  }

  .bvg-platforms {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .bvg-platform {
    min-height: 38px;
  }

  .bvg-app-row {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
    padding: 12px 0;
  }

  .bvg-app-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }

  .bvg-download,
  .bvg-primary {
    width: 100%;
  }

  .bvg-tool-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .bvg-secondary {
    width: 100%;
  }
}

@media (max-width: 390px) {
  #bvg-launch span {
    display: none;
  }

  #bvg-launch {
    justify-content: center;
    padding: 0;
    width: 44px;
  }

  .bvg-platform {
    font-size: 12px;
    gap: 5px;
    padding: 0 4px;
  }

}

@media (max-width: 720px) {
  body.bvg-customer.bvg-checkout #bvg-launch {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bvg-status {
    transition: none;
  }
}

/* Native XBoard pages retain their components and use one light palette. */
html:has(body.bvg-customer) {
  color-scheme: light;
}

body.bvg-customer {
  --primary-color: var(--bvg-primary) !important;
  background: var(--bvg-page);
  color: var(--bvg-ink);
  font-family: var(--bvg-font);
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.bvg-customer :is(button, input, textarea, select, .n-base-selection, .n-dropdown, .n-popover) {
  font-family: var(--bvg-font);
}

body.bvg-customer #app,
body.bvg-customer #app article,
body.bvg-customer #app article > section {
  min-width: 0;
  background: var(--bvg-page) !important;
  color: var(--bvg-ink);
}

body.bvg-customer #app .n-layout,
body.bvg-customer #app .n-layout-sider,
body.bvg-customer #app article > header {
  --n-color: #ffffff !important;
  --n-text-color: var(--bvg-ink) !important;
  --n-border-color: var(--bvg-line) !important;
  background: var(--bvg-surface) !important;
  color: var(--bvg-ink);
}

body.bvg-customer #app .n-layout-sider {
  border-right: 1px solid var(--bvg-line);
}

body.bvg-customer #app .n-layout-sider__border {
  border-color: var(--bvg-line) !important;
}

body.bvg-customer #app article > header {
  border-bottom: 1px solid var(--bvg-line);
  min-height: 62px;
  padding-inline: 24px;
}

body.bvg-customer #app article > header > div[ml-auto] > i.n-icon:first-child {
  display: none;
}

body.bvg-customer #app section.cus-scroll-y.wh-full.flex-col {
  background: var(--bvg-page) !important;
  color: var(--bvg-ink);
  padding: 24px clamp(20px, 2.4vw, 36px) 88px;
  scrollbar-color: #dbe3ee transparent;
}

body.bvg-customer #app .max-w-1200 {
  max-width: 1200px;
  min-width: 0;
  width: 100%;
}

body.bvg-customer .n-menu {
  --n-item-text-color: #3d4a5c !important;
  --n-item-text-color-hover: var(--bvg-ink) !important;
  --n-item-text-color-active: var(--bvg-primary) !important;
  --n-item-text-color-active-hover: var(--bvg-primary) !important;
  --n-item-icon-color: #8b98ab !important;
  --n-item-icon-color-hover: var(--bvg-primary) !important;
  --n-item-icon-color-active: var(--bvg-primary) !important;
  --n-item-icon-color-active-hover: var(--bvg-primary) !important;
  --n-item-color-hover: #f5f8fd !important;
  --n-item-color-active: var(--bvg-soft) !important;
  --n-item-color-active-hover: #e6eeff !important;
  --n-group-text-color: #8190a5 !important;
  --n-item-height: 42px !important;
  --n-border-radius: 9px !important;
}

body.bvg-customer #app .n-menu-item-content {
  border-radius: 9px;
  margin-inline: 10px;
}

body.bvg-customer #app .n-menu-item-content::before {
  left: 0;
  right: 0;
  border-radius: 9px;
}

body.bvg-customer #app .n-menu-item-content--selected::before {
  background: var(--bvg-soft) !important;
}

body.bvg-customer #app .n-menu-item-content--selected::before,
body.bvg-customer #app .n-menu-item-content:hover::before {
  border-left-color: var(--bvg-primary) !important;
}

body.bvg-customer #app .n-menu-item-content--selected :is(.n-menu-item-content-header, .n-menu-item-content-header a, .n-menu-item-content__icon) {
  color: var(--bvg-primary) !important;
  font-weight: 700;
}

body.bvg-customer #app .n-menu-item-group-title {
  color: #8190a5 !important;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

body.bvg-customer #app .title-text {
  color: var(--bvg-ink) !important;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.bvg-brand-logo {
  align-items: center;
  background: transparent;
  border-radius: 22%;
  box-shadow: 0 6px 14px -8px rgb(47 95 224 / 85%);
  color: #fff;
  display: inline-flex;
  flex: 0 0 auto;
  height: 32px;
  justify-content: center;
  width: 32px;
}

body.bvg-customer #app .n-layout-sider .n-scrollbar-content > div.h-15.f-c-c.relative .bvg-brand-logo {
  margin-right: 10px;
}

.bvg-brand-logo :is(svg, img) {
  display: block;
  height: 20px;
  width: 20px;
}

body.bvg-customer .n-breadcrumb {
  --n-item-text-color: #6b788c !important;
  --n-item-text-color-hover: var(--bvg-primary) !important;
  --n-item-text-color-active: var(--bvg-ink) !important;
  --n-separator-color: #b5c0cf !important;
}

body.bvg-customer .n-card {
  --n-color: var(--bvg-surface) !important;
  --n-color-modal: var(--bvg-surface) !important;
  --n-color-popover: var(--bvg-surface) !important;
  --n-color-target: var(--bvg-primary) !important;
  --n-border-color: var(--bvg-line) !important;
  --n-text-color: var(--bvg-ink) !important;
  --n-title-text-color: var(--bvg-ink) !important;
  --n-action-color: #fafcff !important;
  --n-border-radius: 14px !important;
  --n-close-icon-color: #6b788c !important;
  --n-close-icon-color-hover: var(--bvg-primary) !important;
  --n-close-color-hover: var(--bvg-soft) !important;
  border-radius: 14px !important;
  box-shadow: var(--bvg-shadow);
  max-width: 100%;
}

body.bvg-customer .n-card-header__main {
  font-weight: 700;
  letter-spacing: -0.02em;
}

body.bvg-customer .n-card__content {
  min-width: 0;
}

body.bvg-customer .n-card__action {
  border-top: 1px solid var(--bvg-line);
}

body.bvg-customer .n-button {
  --n-border-radius: 9px !important;
  --n-color: #ffffff !important;
  --n-color-hover: #f4f8ff !important;
  --n-color-pressed: #edf3ff !important;
  --n-text-color: #3d4a5c !important;
  --n-text-color-hover: var(--bvg-primary) !important;
  --n-text-color-pressed: var(--bvg-primary-hover) !important;
  --n-text-color-focus: var(--bvg-primary) !important;
  --n-border: 1px solid #dbe3ee !important;
  --n-border-hover: 1px solid #a8bfee !important;
  --n-border-pressed: 1px solid var(--bvg-primary) !important;
  --n-border-focus: 1px solid var(--bvg-primary) !important;
  --n-ripple-color: var(--bvg-primary) !important;
  --n-color-disabled: #f4f7fb !important;
  --n-text-color-disabled: #9aa7b8 !important;
  --n-border-disabled: 1px solid var(--bvg-line) !important;
  font-weight: 600;
}

body.bvg-customer .n-button--primary-type {
  --n-color: var(--bvg-primary) !important;
  --n-color-hover: #3d6ceb !important;
  --n-color-pressed: var(--bvg-primary-hover) !important;
  --n-color-focus: var(--bvg-primary) !important;
  --n-border: 1px solid var(--bvg-primary) !important;
  --n-border-hover: 1px solid #3d6ceb !important;
  --n-border-pressed: 1px solid var(--bvg-primary-hover) !important;
  --n-border-focus: 1px solid var(--bvg-primary) !important;
  --n-text-color: #ffffff !important;
  --n-text-color-hover: #ffffff !important;
  --n-text-color-pressed: #ffffff !important;
  --n-text-color-focus: #ffffff !important;
}

body.bvg-customer .n-button--primary-type:is(.n-button--secondary, .n-button--tertiary) {
  --n-color: var(--bvg-soft) !important;
  --n-color-hover: #e2ebff !important;
  --n-color-pressed: #d7e3ff !important;
  --n-text-color: var(--bvg-primary) !important;
  --n-text-color-hover: var(--bvg-primary-hover) !important;
  --n-text-color-pressed: var(--bvg-primary-hover) !important;
  --n-text-color-focus: var(--bvg-primary) !important;
  --n-border: 1px solid #d6e2fb !important;
}

body.bvg-customer .n-button--primary-type.n-button--ghost {
  --n-color: transparent !important;
  --n-text-color: var(--bvg-primary) !important;
  --n-text-color-hover: var(--bvg-primary-hover) !important;
  --n-text-color-pressed: var(--bvg-primary-hover) !important;
  --n-text-color-focus: var(--bvg-primary) !important;
}

body.bvg-customer .n-button:is(.n-button--text-type, .n-button--quaternary) {
  --n-color: transparent !important;
  --n-color-hover: var(--bvg-soft) !important;
  --n-border: none !important;
  --n-border-hover: none !important;
  --n-border-pressed: none !important;
  --n-border-focus: none !important;
}

body.bvg-customer .n-button--error-type {
  --n-text-color: #b03a30 !important;
  --n-text-color-hover: #b03a30 !important;
  --n-text-color-pressed: #b03a30 !important;
  --n-color: #fdeeed !important;
  --n-color-hover: #fbe2df !important;
  --n-color-pressed: #f8d5d0 !important;
  --n-border: 1px solid #f6d5d2 !important;
  --n-border-hover: 1px solid #e7a29a !important;
}

body.bvg-customer :is(.n-input, .n-input-number, .n-base-selection) {
  --n-color: #ffffff !important;
  --n-color-focus: #ffffff !important;
  --n-color-active: #ffffff !important;
  --n-color-disabled: #f4f7fb !important;
  --n-text-color: var(--bvg-ink) !important;
  --n-text-color-disabled: #9aa7b8 !important;
  --n-placeholder-color: #9aa7b8 !important;
  --n-placeholder-color-disabled: #b5c0cf !important;
  --n-border: 1px solid #dbe3ee !important;
  --n-border-hover: 1px solid #a8bfee !important;
  --n-border-focus: 1px solid var(--bvg-primary) !important;
  --n-border-active: 1px solid var(--bvg-primary) !important;
  --n-border-disabled: 1px solid var(--bvg-line) !important;
  --n-border-radius: 9px !important;
  --n-box-shadow-focus: 0 0 0 3px rgb(47 95 224 / 10%) !important;
  --n-box-shadow-active: 0 0 0 3px rgb(47 95 224 / 10%) !important;
  --n-caret-color: var(--bvg-primary) !important;
  --n-icon-color: #8b98ab !important;
  --n-arrow-color: #8b98ab !important;
  --n-loading-color: var(--bvg-primary) !important;
  --n-clear-color: #8b98ab !important;
  --n-clear-color-hover: var(--bvg-primary) !important;
  max-width: 100%;
}

body.bvg-customer .n-form-item {
  --n-label-text-color: #3d4a5c !important;
  --n-feedback-text-color: #6b788c !important;
  --n-feedback-text-color-error: #c23d34 !important;
}

body.bvg-customer :is(.n-checkbox, .n-radio, .n-switch) {
  --n-color: #ffffff !important;
  --n-color-checked: var(--bvg-primary) !important;
  --n-text-color: #3d4a5c !important;
  --n-label-text-color: #3d4a5c !important;
  --n-border: 1px solid #ccd7e6 !important;
  --n-border-checked: 1px solid var(--bvg-primary) !important;
  --n-border-focus: 1px solid var(--bvg-primary) !important;
  --n-dot-color-active: var(--bvg-primary) !important;
  --n-check-mark-color: #ffffff !important;
  --n-box-shadow-focus: 0 0 0 3px rgb(47 95 224 / 10%) !important;
  --n-rail-color: #d8e1ed !important;
  --n-rail-color-active: var(--bvg-primary) !important;
}

body.bvg-customer .n-radio-group {
  --n-button-color: #ffffff !important;
  --n-button-color-active: var(--bvg-soft) !important;
  --n-button-text-color: #3d4a5c !important;
  --n-button-text-color-active: var(--bvg-primary) !important;
  --n-button-border-color: #dbe3ee !important;
  --n-button-border-color-active: var(--bvg-primary) !important;
  --n-button-border-color-hover: #a8bfee !important;
  --n-button-border-radius: 9px !important;
}

body.bvg-customer .n-tabs {
  --n-tab-text-color: #6b788c !important;
  --n-tab-text-color-active: var(--bvg-primary) !important;
  --n-tab-text-color-hover: var(--bvg-primary) !important;
  --n-bar-color: var(--bvg-primary) !important;
  --n-tab-color: #ffffff !important;
  --n-color-segment: #edf2fa !important;
  --n-tab-color-segment: #ffffff !important;
  --n-tab-border-color: var(--bvg-line) !important;
  --n-pane-text-color: var(--bvg-ink) !important;
  --n-tab-font-weight-active: 700 !important;
}

body.bvg-customer :is(.n-data-table, .n-table) {
  --n-td-color: #ffffff !important;
  --n-td-color-hover: #f7faff !important;
  --n-td-color-striped: #fbfcfe !important;
  --n-td-text-color: #3d4a5c !important;
  --n-th-color: #f7f9fc !important;
  --n-th-color-hover: #edf3ff !important;
  --n-th-text-color: #6b788c !important;
  --n-border-color: var(--bvg-line) !important;
  --n-border-radius: 12px !important;
  --n-loading-color: var(--bvg-primary) !important;
  --n-th-font-weight: 600 !important;
  --n-pagination-margin: 20px 0 0 0 !important;
  --n-empty-padding: 42px 16px !important;
  color: #3d4a5c;
  max-width: 100%;
  min-width: 0;
}

body.bvg-customer :is(.n-data-table-wrapper, .n-data-table-base-table) {
  max-width: 100%;
  min-width: 0;
}

body.bvg-customer .n-data-table-base-table {
  overflow-x: auto;
}

body.bvg-customer .n-data-table-th {
  font-size: 12px;
}

body.bvg-customer .n-data-table-td {
  font-size: 13px;
}

body.bvg-customer :is(.n-data-table-th, .n-data-table-td) {
  border-color: var(--bvg-line) !important;
}

body.bvg-customer .n-pagination {
  --n-item-color: #ffffff !important;
  --n-item-color-hover: var(--bvg-soft) !important;
  --n-item-color-active: var(--bvg-soft) !important;
  --n-item-text-color: #6b788c !important;
  --n-item-text-color-hover: var(--bvg-primary) !important;
  --n-item-text-color-active: var(--bvg-primary) !important;
  --n-item-border: 1px solid var(--bvg-line) !important;
  --n-item-border-active: 1px solid #c6d7fa !important;
  --n-item-border-radius: 7px !important;
}

body.bvg-customer .n-tag {
  --n-color: #edf3ff !important;
  --n-text-color: #2f5fe0 !important;
  --n-border: 1px solid #d6e2fb !important;
  --n-border-radius: 6px !important;
  font-weight: 600;
}

body.bvg-customer .n-tag--success {
  --n-color: #e9f8f2 !important;
  --n-text-color: #0b7c52 !important;
  --n-border: 1px solid #cdeee0 !important;
}

body.bvg-customer .n-tag--warning {
  --n-color: #fdf4e4 !important;
  --n-text-color: #a36512 !important;
  --n-border: 1px solid #f4e2c2 !important;
}

body.bvg-customer .n-tag--error {
  --n-color: #fdeeed !important;
  --n-text-color: #b03a30 !important;
  --n-border: 1px solid #f6d5d2 !important;
}

body.bvg-customer .n-descriptions {
  --n-th-color: #f7f9fc !important;
  --n-th-text-color: #6b788c !important;
  --n-td-text-color: #3d4a5c !important;
  --n-border-color: var(--bvg-line) !important;
  --n-title-text-color: var(--bvg-ink) !important;
  --n-border-radius: 10px !important;
}

body.bvg-customer .n-statistic {
  --n-label-text-color: #6b788c !important;
  --n-value-text-color: var(--bvg-ink) !important;
}

body.bvg-customer .n-statistic-value {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  letter-spacing: -0.03em;
}

body.bvg-customer .n-progress {
  --n-fill-color: var(--bvg-primary) !important;
  --n-rail-color: #eaf0fb !important;
  --n-text-color: #3d4a5c !important;
}

body.bvg-customer .n-progress--default .n-progress-graph-line-fill {
  background-color: var(--bvg-primary) !important;
}

body.bvg-customer .bvg-unlimited .n-progress {
  display: none;
}

body.bvg-customer .n-alert {
  --n-color: #edf3ff !important;
  --n-border: 1px solid #d6e2fb !important;
  --n-border-radius: 10px !important;
  --n-title-text-color: var(--bvg-ink) !important;
  --n-content-text-color: #3d4a5c !important;
  --n-icon-color: var(--bvg-primary) !important;
}

body.bvg-customer .n-alert--success {
  --n-color: #e9f8f2 !important;
  --n-border: 1px solid #cdeee0 !important;
  --n-icon-color: #10a06a !important;
}

body.bvg-customer .n-alert--warning {
  --n-color: #fdf4e4 !important;
  --n-border: 1px solid #f4e2c2 !important;
  --n-icon-color: #b77a18 !important;
}

body.bvg-customer .n-alert--error {
  --n-color: #fdeeed !important;
  --n-border: 1px solid #f6d5d2 !important;
  --n-icon-color: #d84a3f !important;
}

body.bvg-customer .n-empty {
  --n-icon-color: #bdcbe0 !important;
  --n-text-color: #8190a5 !important;
  --n-extra-text-color: #6b788c !important;
}

body.bvg-customer .n-divider {
  --n-color: var(--bvg-line) !important;
  --n-text-color: #6b788c !important;
}

body.bvg-customer .n-collapse {
  --n-title-text-color: #3d4a5c !important;
  --n-text-color: #6b788c !important;
  --n-divider-color: var(--bvg-line) !important;
  --n-arrow-color: #8190a5 !important;
}

body.bvg-customer :is(.n-text, .n-p, .n-li) {
  --n-text-color: #3d4a5c !important;
}

body.bvg-customer .n-a {
  --n-text-color: var(--bvg-primary) !important;
  --n-text-color-hover: var(--bvg-primary-hover) !important;
  --n-text-color-pressed: var(--bvg-primary-hover) !important;
}

body.bvg-customer .n-h {
  --n-text-color: var(--bvg-ink) !important;
}

body.bvg-customer :is(.n-spin, .n-loading-bar) {
  --n-color: var(--bvg-primary) !important;
}

body.bvg-customer .n-loading-bar {
  --n-color-loading: var(--bvg-primary) !important;
  --n-color-error: var(--bvg-danger) !important;
}

body.bvg-customer .n-skeleton {
  --n-color-start: #e9eef6 !important;
  --n-color-end: #f4f7fb !important;
}

/* Native popup components are teleported outside #app. */
body.bvg-customer :is(.n-base-select-menu, .n-dropdown-menu, .n-popover, .n-date-panel, .n-time-picker-panel, .n-popconfirm) {
  --n-color: #ffffff !important;
  --n-text-color: #3d4a5c !important;
  --n-option-text-color: #3d4a5c !important;
  --n-option-text-color-active: var(--bvg-primary) !important;
  --n-option-color-hover: #f4f8ff !important;
  --n-option-color-active: var(--bvg-soft) !important;
  --n-option-color-pending: #f4f8ff !important;
  --n-option-check-color: var(--bvg-primary) !important;
  --n-option-icon-color: #8190a5 !important;
  --n-option-icon-color-active: var(--bvg-primary) !important;
  --n-option-text-color-hover: var(--bvg-primary) !important;
  --n-divider-color: var(--bvg-line) !important;
  --n-arrow-color: #ffffff !important;
  --n-border-radius: 10px !important;
  --n-box-shadow: 0 8px 28px rgb(13 23 38 / 12%) !important;
  background: #ffffff;
  color: #3d4a5c;
  font-family: var(--bvg-font);
}

body.bvg-customer :is(.n-modal, .n-dialog, .n-drawer, .n-message, .n-notification) {
  --n-color: #ffffff !important;
  --n-color-modal: #ffffff !important;
  --n-color-info: #ffffff !important;
  --n-color-success: #ffffff !important;
  --n-color-warning: #ffffff !important;
  --n-color-error: #ffffff !important;
  --n-color-loading: #ffffff !important;
  --n-text-color: #3d4a5c !important;
  --n-text-color-info: #3d4a5c !important;
  --n-text-color-success: #3d4a5c !important;
  --n-text-color-warning: #3d4a5c !important;
  --n-text-color-error: #3d4a5c !important;
  --n-text-color-loading: #3d4a5c !important;
  --n-title-text-color: var(--bvg-ink) !important;
  --n-description-text-color: #6b788c !important;
  --n-content-text-color: #3d4a5c !important;
  --n-border-color: var(--bvg-line) !important;
  --n-border-radius: 14px !important;
  --n-close-icon-color: #6b788c !important;
  --n-close-icon-color-hover: var(--bvg-primary) !important;
  --n-close-color-hover: var(--bvg-soft) !important;
  font-family: var(--bvg-font);
  max-width: calc(100vw - 32px);
}

body.bvg-customer :is(.n-modal-mask, .n-drawer-mask) {
  background: rgb(13 23 38 / 38%) !important;
  backdrop-filter: blur(3px);
}

body.bvg-customer :is(.n-dialog__title, .n-drawer-header__main) {
  font-weight: 700;
}

body.bvg-customer .n-dialog .n-dialog__content,
body.bvg-customer .n-modal .n-card__content {
  overflow-wrap: anywhere;
}

body.bvg-customer .n-qr-code {
  background: #ffffff !important;
  border: 1px solid var(--bvg-line);
  border-radius: 12px;
}

/* Native checkout contains utility-styled panels alongside Naive UI cards. */
body.bvg-customer #app .bg-gray-800.p-5 {
  background: #ffffff !important;
  border: 1px solid var(--bvg-line);
  border-radius: 14px !important;
  box-shadow: var(--bvg-shadow);
  color: var(--bvg-ink) !important;
}

body.bvg-customer #app .bg-gray-800.p-5 :is(.text-gray-300, .text-gray-400, [class*="color-#f8f9fa41"]) {
  color: var(--bvg-muted) !important;
}

body.bvg-customer #app .bg-gray-800.p-5 [class~="color-#f8f9fa"] {
  color: #3d4a5c !important;
}

body.bvg-customer #app .bg-gray-800.p-5 :is(.border-gray-600, [class*="border-[#646669]"]) {
  border-color: var(--bvg-line) !important;
}

body.bvg-customer #app .bg-gray-800.p-5 :is(.text-3xl, .text-4xl) {
  color: var(--bvg-primary);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
}

body.bvg-customer #app .bg-gray-800.p-5 .text-green-400 {
  color: #0b7c52 !important;
}

body.bvg-customer #app .bg-gray-800.p-5 input {
  color: var(--bvg-ink) !important;
  min-width: 0;
}

body.bvg-customer #app .bg-gray-800.p-5 input::placeholder {
  color: #8190a5;
}

body.bvg-customer #app .border-primary {
  border-color: var(--bvg-primary) !important;
}

body.bvg-customer #app .text-primary-600 {
  color: var(--bvg-primary) !important;
}

/* Purchase plans preserve the existing native checkout controls. */
body.bvg-customer[data-bvg-route="plan"] .card-container {
  align-items: stretch;
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  margin-top: 20px !important;
  max-width: 100%;
  scroll-margin-top: 24px;
}

body.bvg-customer[data-bvg-route="plan"] .card-item {
  min-width: 0 !important;
}

body.bvg-customer[data-bvg-route="plan"] .card-item .n-card {
  border-color: var(--bvg-line);
  height: 100%;
  max-width: 100% !important;
  overflow: hidden;
  transition: border-color 160ms ease, box-shadow 160ms ease;
  width: 100% !important;
}

body.bvg-customer[data-bvg-route="plan"] .card-item:hover .n-card {
  border-color: #a8bfee;
  box-shadow: 0 8px 26px -14px rgb(47 95 224 / 25%);
}

body.bvg-customer[data-bvg-route="plan"] .card-item .n-card-header {
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 18px;
  padding: 26px 26px 18px;
}

body.bvg-customer[data-bvg-route="plan"] .card-item .n-card-header__main {
  color: var(--bvg-ink);
  flex-basis: 100%;
  font-size: 18px;
  font-weight: 700;
}

body.bvg-customer[data-bvg-route="plan"] .card-item .n-card-header__extra {
  margin: 0;
}

body.bvg-customer[data-bvg-route="plan"] .card-item .n-card-header__extra .text-3xl {
  color: var(--bvg-primary);
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.15;
}

body.bvg-customer[data-bvg-route="plan"] .card-item :is(.n-card__content, .n-card__action) {
  padding-left: 26px;
  padding-right: 26px;
}

body.bvg-customer[data-bvg-route="plan"] .card-item .n-card__content {
  color: #6b788c;
  font-size: 13px;
  line-height: 1.9;
  padding-bottom: 22px;
}

body.bvg-customer[data-bvg-route="plan"] .card-item .n-card__action {
  padding-bottom: 22px;
  padding-top: 18px;
}

body.bvg-customer[data-bvg-route="plan"] .card-item .n-card__action .n-button {
  font-size: 14px;
  min-height: 42px;
  width: 100%;
}

body.bvg-customer[data-bvg-route="plan"] .max-w-1200 > h2 {
  color: var(--bvg-ink);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 28px 0 16px;
}

/* Customer summary and shortcuts use the desktop design's palette. */
#bvg-portal {
  flex: 0 0 auto;
  margin: 0 auto 22px;
  max-width: 1200px;
  width: 100%;
}

#bvg-portal *,
#bvg-portal *::before,
#bvg-portal *::after {
  box-sizing: border-box;
}

.bvg-page-heading {
  align-items: flex-end;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  margin: 0 auto 20px;
  max-width: 1200px;
  width: 100%;
}

.bvg-page-heading :is(h1, h2) {
  color: var(--bvg-ink);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.35;
  margin: 0;
}

.bvg-page-heading p {
  color: var(--bvg-muted);
  font-size: 13px;
  line-height: 1.7;
  margin: 5px 0 0;
}

.bvg-hero {
  background: linear-gradient(115deg, #ffffff 38%, #f0f5ff 100%);
  border: 1px solid var(--bvg-line);
  border-radius: 16px;
  box-shadow: var(--bvg-shadow);
  color: var(--bvg-ink);
  overflow: hidden;
  position: relative;
}

.bvg-hero-content {
  padding: 28px 30px;
  position: relative;
}

.bvg-eyebrow {
  color: var(--bvg-primary);
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 10px;
}

.bvg-hero h1 {
  color: var(--bvg-ink);
  font-size: clamp(30px, 2.5vw, 36px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.25;
  margin: 0 0 12px;
}

.bvg-hero-content > p {
  color: #6b788c;
  font-size: 14px;
  line-height: 1.8;
  margin: 0;
  max-width: 640px;
}

.bvg-hero-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.bvg-hero-actions .bvg-primary {
  border-radius: 9px;
  box-shadow: 0 7px 18px -12px rgb(47 95 224 / 70%);
  font-size: 14px;
  gap: 10px;
  min-height: 42px;
  padding: 0 17px;
}

.bvg-hero-link {
  align-items: center;
  background: transparent;
  border: 0;
  color: #53657d;
  cursor: pointer;
  display: inline-flex;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  gap: 7px;
  line-height: 1.5;
  min-height: 38px;
  padding: 5px 8px;
  text-decoration: none;
}

.bvg-hero-link:hover {
  color: var(--bvg-primary);
}

.bvg-account {
  align-items: center;
  background: #fafcff;
  border-top: 1px solid var(--bvg-line);
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(140px, 1.4fr) 1fr 1fr auto;
  min-height: 86px;
  padding: 18px 30px;
}

.bvg-account > * {
  min-width: 0;
}

.bvg-account-label {
  color: #8190a5;
  display: block;
  font-size: 11px;
  line-height: 1.5;
  margin-bottom: 5px;
}

.bvg-account strong {
  color: var(--bvg-ink);
  display: block;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.bvg-account-link {
  align-items: center;
  color: var(--bvg-primary);
  display: inline-flex;
  font-size: 12px;
  font-weight: 600;
  gap: 5px;
  text-decoration: none;
  white-space: nowrap;
}

.bvg-account-error {
  color: var(--bvg-danger);
  font-size: 13px;
  grid-column: 1 / -2;
}

.bvg-quick-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 16px;
}

.bvg-quick-card {
  align-items: flex-start;
  background: #ffffff;
  border: 1px solid var(--bvg-line);
  border-radius: 12px;
  box-shadow: var(--bvg-shadow);
  color: #3d4a5c;
  cursor: pointer;
  display: flex;
  font-family: var(--bvg-font);
  gap: 12px;
  min-width: 0;
  padding: 17px;
  text-align: left;
  text-decoration: none;
  transition: border-color 160ms ease, background 160ms ease;
}

.bvg-quick-card:hover {
  background: #fafcff;
  border-color: #b9ccf4;
}

.bvg-quick-icon {
  align-items: center;
  background: var(--bvg-soft);
  border-radius: 9px;
  color: var(--bvg-primary);
  display: inline-flex;
  flex: 0 0 auto;
  height: 36px;
  justify-content: center;
  width: 36px;
}

.bvg-quick-card strong {
  color: var(--bvg-ink);
  display: block;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
}

.bvg-quick-card :is(p, small) {
  color: #8190a5;
  display: block;
  font-size: 11px;
  line-height: 1.6;
  margin: 3px 0 0;
}

.bvg-quick-card > span {
  min-width: 0;
}

/* Import tools and authorized exit list. */
#bvg-dialog {
  border: 1px solid var(--bvg-line);
  border-radius: 18px;
}

#bvg-dialog .bvg-header {
  padding: 18px 24px;
}

#bvg-dialog .bvg-body {
  padding: 20px 24px 26px;
}

#bvg-dialog .bvg-title-wrap h2 {
  font-size: 19px;
}

#bvg-dialog .bvg-app-meta .bvg-app-icon {
  align-items: center;
  color: var(--bvg-primary);
  display: inline-flex;
  justify-content: center;
}

#bvg-dialog .bvg-node-list {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.bvg-node {
  align-items: center;
  background: #f7f9fc;
  border: 1px solid var(--bvg-line);
  border-radius: 11px;
  display: flex;
  gap: 8px;
  justify-content: space-between;
  min-width: 0;
  padding: 12px;
}

.bvg-node-meta {
  align-items: center;
  display: flex;
  gap: 11px;
  min-width: 0;
}

.bvg-node-symbol {
  align-items: center;
  background: #ffffff;
  border: 1px solid #d6e2fb;
  border-radius: 9px;
  color: var(--bvg-primary);
  display: inline-flex;
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 800;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.bvg-node-meta strong {
  color: var(--bvg-ink);
  display: block;
  font-size: 13px;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.bvg-node-status {
  color: #8190a5;
  display: inline-block;
  font-size: 11px;
  margin-top: 4px;
}

.bvg-node-status::before {
  background: #9aa7b8;
  border-radius: 50%;
  content: "";
  display: inline-block;
  height: 5px;
  margin-right: 5px;
  vertical-align: middle;
  width: 5px;
}

.bvg-node-status.is-online {
  color: #0b7c52;
}

.bvg-node-status.is-online::before {
  background: #10a06a;
}

.bvg-switch-hint,
.bvg-empty,
.bvg-node-caption {
  color: var(--bvg-muted);
  font-size: 12px;
  line-height: 1.7;
  margin: 12px 0 0;
}

.bvg-empty,
.bvg-node-caption {
  grid-column: 1 / -1;
}

.bvg-node-caption {
  margin: 0 0 2px;
}

.bvg-node-ip {
  color: #6b788c;
  display: inline-block;
  font-family: 'Manrope', 'Cascadia Code', monospace;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  margin-left: 10px;
  overflow-wrap: anywhere;
}

#leshare-pair-dialog {
  background: #ffffff;
  border: 1px solid var(--bvg-line);
  border-radius: 18px;
  box-shadow: 0 24px 80px rgb(13 23 38 / 20%);
  box-sizing: border-box;
  color: var(--bvg-ink);
  font-family: var(--bvg-font);
  margin: auto;
  max-height: calc(100dvh - 40px);
  max-width: 480px;
  overflow-y: auto;
  padding: 26px;
  width: calc(100% - 32px);
}

#leshare-pair-dialog::backdrop {
  background: rgb(13 23 38 / 38%);
  backdrop-filter: blur(3px);
}

#leshare-pair-dialog h2 {
  color: var(--bvg-ink);
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 12px;
}

#leshare-pair-dialog p {
  color: var(--bvg-muted);
  font-size: 13px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

#leshare-pair-dialog .leshare-pair-status {
  background: #f4f8ff;
  border: 1px solid #d6e2fb;
  border-radius: 9px;
  color: #53657d;
  margin: 18px 0;
  padding: 11px 13px;
}

#leshare-pair-dialog .leshare-pair-status:empty {
  display: none;
}

.bvg-pair-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 22px;
}

.bvg-primary:disabled,
.bvg-secondary:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

#leshare-pair-dialog input {
  background: #ffffff;
  border: 1px solid #dbe3ee;
  border-radius: 9px;
  box-sizing: border-box;
  color: var(--bvg-ink);
  font: 600 14px/1.5 var(--bvg-font);
  min-height: 42px;
  padding: 9px 12px;
  width: 100%;
}

#bvg-portal :is(button, a):focus-visible,
#leshare-pair-dialog :is(button, input):focus-visible {
  outline: 3px solid rgb(47 95 224 / 35%);
  outline-offset: 3px;
}

@media (max-width: 1100px) {
  .bvg-quick-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bvg-account {
    gap: 16px;
    grid-template-columns: minmax(120px, 1.3fr) 1fr 1fr;
  }

  .bvg-account-link {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  body.bvg-customer #app article > header {
    min-height: 56px;
    padding-inline: 14px;
  }

  body.bvg-customer #app section.cus-scroll-y.wh-full.flex-col {
    padding: 18px 14px 84px;
  }

  body.bvg-customer #app :is(.max-w-1200, .n-card, .n-form) {
    min-width: 0;
    max-width: 100%;
  }

  body.bvg-customer .n-card {
    --n-padding-left: 16px !important;
    --n-padding-right: 16px !important;
  }

  body.bvg-customer .n-data-table .n-data-table__pagination {
    flex-wrap: wrap;
  }

  body.bvg-customer .n-pagination {
    flex-wrap: wrap;
    gap: 5px;
  }

  body.bvg-customer :is(.n-modal, .n-dialog) {
    max-width: calc(100vw - 24px);
  }

  .bvg-page-heading {
    margin-bottom: 16px;
  }

  .bvg-page-heading :is(h1, h2) {
    font-size: 22px;
  }

  .bvg-hero {
    border-radius: 14px;
  }

  .bvg-hero-content {
    padding: 23px 20px;
  }

  .bvg-hero h1 {
    font-size: 30px;
  }

  .bvg-hero-content > p {
    font-size: 13px;
  }

  .bvg-hero-actions {
    gap: 8px;
    margin-top: 18px;
  }

  .bvg-hero-actions .bvg-primary {
    width: auto;
  }

  .bvg-account {
    gap: 16px 12px;
    grid-template-columns: 1fr 1fr;
    padding: 17px 20px;
  }

  .bvg-account-plan,
  .bvg-account-link,
  .bvg-account-error {
    grid-column: 1 / -1;
  }

  .bvg-quick-grid {
    gap: 10px;
    margin-top: 12px;
  }

  .bvg-quick-card {
    flex-direction: column;
    gap: 10px;
    padding: 15px;
  }

  #bvg-dialog {
    border-radius: 18px 18px 0 0;
    height: 92dvh;
    max-height: 92dvh;
  }

  #bvg-dialog .bvg-shell {
    height: 100%;
    max-height: 92dvh;
  }

  #bvg-dialog .bvg-header {
    min-height: 72px;
    padding: 14px 16px;
  }

  #bvg-dialog .bvg-body {
    padding: 16px 16px 26px;
  }

  #bvg-dialog .bvg-node-list {
    grid-template-columns: 1fr;
  }

  .bvg-section-heading {
    align-items: flex-start;
    gap: 8px;
  }

  .bvg-title-wrap p {
    font-size: 12px;
  }

  body.bvg-customer[data-bvg-route="plan"] .card-item .n-card-header {
    padding: 22px 22px 16px;
  }

  body.bvg-customer[data-bvg-route="plan"] .card-item :is(.n-card__content, .n-card__action) {
    padding-left: 22px;
    padding-right: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.bvg-customer[data-bvg-route="plan"] .card-item .n-card,
  .bvg-quick-card {
    transition: none;
  }
}

.lx-pay-action { max-width: 19rem; padding: 1.25rem .75rem .5rem; text-align: center; }
.lx-pay-action p { margin: .75rem 0; font-size: .875rem; }
.lx-scan-hint { max-width: 19rem; margin: .65rem auto; padding: 0 .5rem; text-align: center; font-size: .875rem; }
.lx-channel-hint { margin: .75rem 1.25rem; font-size: .875rem; line-height: 1.6; }
.lx-pay-link { display: inline-block; padding: .75rem 1.5rem; border-radius: .65rem; background: #2459c5; color: #fff; font-weight: 600; text-decoration: none; }
.lx-pay-link:focus-visible { outline: 2px solid #2459c5; outline-offset: 3px; }
