/* NOVA theme. Authentication and user-center rules use separate root scopes. */

/* Authentication: presentation only; XBoard keeps every original field, event and request. */
.nova-auth-page {
  margin: 0;
  min-height: 100dvh;
  overflow: hidden;
  color: #12213b;
  background: #fff;
  font-family: "Segoe UI Variable", "Microsoft YaHei UI", "PingFang SC", system-ui, sans-serif;
  font-variant-numeric: tabular-nums;
}
.nova-auth-page *, .nova-auth-page *::before, .nova-auth-page *::after { box-sizing: border-box; }
.nova-theme-toggle {
  position: fixed;
  z-index: 20;
  right: 22px;
  bottom: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 76px;
  height: 36px;
  padding: 0 12px;
  color: #52657f;
  background: rgba(255,255,255,.9);
  border: 1px solid #d8e3f0;
  border-radius: 9px;
  box-shadow: 0 8px 22px rgba(30,61,103,.1);
  backdrop-filter: blur(12px);
  cursor: pointer;
  font: 650 12px/1 "Segoe UI Variable", "Microsoft YaHei UI", sans-serif;
  transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.nova-theme-toggle span { font-size: 15px; line-height: 1; }
.nova-theme-toggle b { font: inherit; }
.nova-theme-toggle:hover { color: #287cff; background: #f3f8ff; border-color: #afcaed; box-shadow: 0 10px 25px rgba(40,124,255,.13); transform: translateY(-1px); }
.nova-theme-toggle:active { transform: translateY(0) scale(.98); }
.nova-theme-toggle:focus-visible { outline: 0; box-shadow: 0 0 0 3px rgba(40,124,255,.2), 0 10px 25px rgba(40,124,255,.13); }
.nova-auth-page .nova-theme-toggle { top: 24px; right: 24px; bottom: auto; }
.nova-auth-page #app { position: relative; z-index: 2; min-height: 100dvh; width: 36%; margin-left: auto; background: #fff; }
.nova-auth-page #app > .n-config-provider,
.nova-auth-page #app .wh-full { min-height: 100dvh; }
.nova-auth-page #app .wh-full { align-items: center !important; justify-content: center !important; padding: 7rem 3.5rem 3rem; }
.nova-auth-page .nova-auth-card {
  width: min(100%, 500px) !important;
  max-width: 500px !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}
.nova-auth-page .nova-auth-card > .n-card__content > .p-6 { padding: 0 !important; }
.nova-auth-page .nova-auth-card > .n-card__content > .p-6 > h1,
.nova-auth-page .nova-auth-card > .n-card__content > .p-6 > h5 { display: none !important; }
.nova-auth-form-heading { margin: 0 0 2.55rem; }
.nova-auth-form-heading small { display: block; margin-bottom: .75rem; color: #287cff; font: 750 10px/1 ui-monospace, "SFMono-Regular", Consolas, monospace; letter-spacing: .2em; }
.nova-auth-form-heading h1 { margin: 0; color: #13223b; font-size: 32px; font-weight: 780; line-height: 1.12; letter-spacing: -.045em; }
.nova-auth-form-heading p { margin: 1rem 0 0; color: #7b899f; font-size: 12px; line-height: 1.5; }
.nova-auth-form-heading a { color: #287cff; text-decoration: none; }
.nova-auth-page .nova-auth-card .mt-5 { position: relative; margin-top: 2rem !important; }
.nova-auth-page .nova-auth-card .mt-5[data-nova-label]::before { content: attr(data-nova-label); display: block; margin: 0 0 .55rem; color: #17243a; font-size: 11px; font-weight: 650; }
.nova-auth-page .nova-auth-card .n-input { --n-height: 52px !important; --n-border-radius: 7px !important; --n-color: #eef4fd !important; --n-color-focus: #eef4fd !important; --n-border: 1px solid #d9e3f0 !important; --n-border-hover: 1px solid #9abfff !important; --n-border-focus: 1px solid #287cff !important; --n-box-shadow-focus: 0 0 0 3px rgba(40,124,255,.12) !important; --n-font-size: 13px !important; }
.nova-auth-page .nova-auth-card .n-input__input-el { color: #14213a !important; }
.nova-auth-page .nova-auth-card .n-button.w-full { --n-height: 54px !important; --n-border-radius: 7px !important; --n-color: #287cff !important; --n-color-hover: #1f70ed !important; --n-color-pressed: #1764d9 !important; --n-border: 0 !important; --n-border-hover: 0 !important; --n-border-pressed: 0 !important; margin-top: .25rem; box-shadow: 0 14px 28px rgba(40,124,255,.2); font-size: 14px !important; font-weight: 700 !important; }
.nova-auth-page .nova-auth-card .n-button.w-full .n-button__icon { display: none !important; }
.nova-auth-page .nova-auth-card [data-nova-submit] { margin-top: 1.2rem !important; }
.nova-auth-page .nova-auth-card [data-nova-submit] .n-button.w-full { font-size: 0 !important; }
.nova-auth-page .nova-remember-login { display: inline-flex; align-items: center; gap: 8px; margin-top: 1.7rem; color: #66778f; cursor: pointer; font-size: 11px; line-height: 1.4; user-select: none; }
.nova-auth-page .nova-remember-login input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.nova-auth-page .nova-remember-login span { position: relative; width: 14px; height: 14px; flex: 0 0 14px; background: #fff; border: 1px solid #aebdd1; border-radius: 3px; transition: background .18s ease, border-color .18s ease, box-shadow .18s ease; }
.nova-auth-page .nova-remember-login span::after { content: ""; position: absolute; left: 3px; top: 1px; width: 5px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0; opacity: 0; transform: rotate(45deg) scale(.7); transition: opacity .18s ease, transform .18s ease; }
.nova-auth-page .nova-remember-login input:checked + span { background: #287cff; border-color: #287cff; }
.nova-auth-page .nova-remember-login input:checked + span::after { opacity: 1; transform: rotate(45deg) scale(1); }
.nova-auth-page .nova-remember-login input:focus-visible + span { box-shadow: 0 0 0 3px rgba(40,124,255,.18); }
.nova-auth-page .nova-remember-login b { font: inherit; }
.nova-auth-page .nova-auth-card .n-input-group { display: flex; align-items: stretch; width: 100%; }
.nova-auth-page .nova-auth-card .n-input-group > .n-input { min-width: 0; flex: 1 1 auto; }
.nova-auth-page .nova-auth-card .n-input-group > .n-select { width: 124px; min-width: 124px; flex: 0 0 124px !important; }
.nova-auth-page .nova-auth-card .n-input-group > .n-select .n-base-selection {
  --n-height: 52px !important;
  --n-color: #e5edf8 !important;
  --n-color-active: #e5edf8 !important;
  --n-border: 1px solid #d0dceb !important;
  --n-border-hover: 1px solid #9abfff !important;
  --n-border-focus: 1px solid #287cff !important;
  --n-border-active: 1px solid #287cff !important;
  --n-border-radius: 0 7px 7px 0 !important;
  --n-text-color: #14213a !important;
  --n-arrow-color: #6d7f97 !important;
  display: block;
  width: 100%;
  height: 52px;
  background: #e5edf8 !important;
  border-radius: 0 7px 7px 0 !important;
}
.nova-auth-page .nova-auth-card .n-input-group > .n-select .n-base-selection-label { display: flex; align-items: center; width: 100%; height: 52px; border-radius: 0 7px 7px 0 !important; }
.nova-auth-page .nova-auth-card .n-input-group > .n-select .n-base-selection-input { display: flex; align-items: center; height: 52px; }
.nova-auth-page .nova-auth-card .n-input-group > .n-select .n-base-selection-input__content { color: #14213a !important; }
.nova-auth-page .nova-auth-card .n-input-group > .n-select .n-base-suffix { top: 50%; transform: translateY(-50%); }
.nova-auth-page .nova-auth-card .n-input-group > .n-select .n-base-suffix__arrow { display: flex; align-items: center; }
.nova-auth-page .nova-auth-card .n-input-group > .n-button { --n-height: 52px !important; --n-border-radius: 0 7px 7px 0 !important; min-width: 76px; margin-left: -1px; padding: 0 18px !important; }
.nova-auth-page .nova-auth-card [data-nova-submit] .n-button__content::before { content: "进入订阅中心"; font-size: 14px; }
.nova-auth-page .nova-auth-card [data-nova-submit] .n-button__content::after { content: "→"; position: absolute; right: 18px; font-size: 18px; font-weight: 400; }
.nova-auth-page .nova-auth-card > .n-card__content > .flex.justify-between { margin-top: 1.25rem; padding: 0 !important; justify-content: center !important; background: transparent !important; color: #8592a5 !important; font-size: 11px; }
.nova-auth-page .nova-auth-card > .n-card__content > .flex.justify-between > div:first-child { display: flex; gap: 1rem; }
.nova-auth-page .nova-auth-card > .n-card__content > .flex.justify-between > div:last-child,
.nova-auth-page .nova-auth-card .n-divider { display: none !important; }
.nova-auth-page .nova-auth-card > .n-card__content > .flex.justify-between a { color: #7a889d !important; text-decoration: none; }

/* Naive UI teleports the suffix menu to body; restore a light popup only in light auth mode. */
html:not(.dark) body.nova-auth-page .n-base-select-menu {
  --n-color: #fff !important;
  --n-option-text-color: #324158 !important;
  --n-option-text-color-active: #176fe5 !important;
  --n-option-text-color-pressed: #125fc7 !important;
  --n-option-color-pending: #edf4ff !important;
  --n-option-color-active: #e8f1ff !important;
  --n-option-color-active-pending: #deebff !important;
  --n-option-check-color: #287cff !important;
  --n-menu-box-shadow: 0 14px 34px rgba(30,61,103,.16) !important;
  color: #324158 !important;
  background: #fff !important;
  border: 1px solid #d9e3f0;
  border-radius: 8px !important;
}
html:not(.dark) body.nova-auth-page .n-base-select-menu .n-base-select-option { color: #324158 !important; }
html:not(.dark) body.nova-auth-page .n-base-select-menu .n-base-select-option--pending { background: #edf4ff !important; }
html:not(.dark) body.nova-auth-page .n-base-select-menu .n-base-select-option--selected { color: #176fe5 !important; background: #e8f1ff !important; }
html:not(.dark) body.nova-auth-page .n-base-select-menu .n-scrollbar { --n-scrollbar-color: rgba(84,105,134,.22) !important; --n-scrollbar-color-hover: rgba(84,105,134,.36) !important; }

.nova-auth-scene { position: fixed; z-index: 1; inset: 0; width: 64%; overflow: hidden; pointer-events: none; background-color: #f3f7fd; background-image: linear-gradient(rgba(33,75,134,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(33,75,134,.045) 1px, transparent 1px), radial-gradient(circle at 48% 55%, rgba(73,137,255,.11), transparent 38%); background-size: 48px 48px, 48px 48px, auto; border-right: 1px solid #e1e9f4; }
.nova-auth-brand { position: absolute; top: 28px; left: 4.8%; display: flex; align-items: center; gap: 14px; }
.nova-auth-brand i { width: 21px; height: 21px; border: 2px solid #4a91ff; transform: rotate(45deg); }
.nova-auth-brand strong { display: block; font-size: 15px; line-height: 1; letter-spacing: .28em; }
.nova-auth-brand small { display: block; margin-top: 5px; color: #8a98ad; font: 650 7px/1 ui-monospace, monospace; letter-spacing: .42em; }
.nova-auth-access { position: fixed; z-index: 3; top: 31px; right: 2.6%; color: #687998; font: 700 8px/1 ui-monospace, monospace; letter-spacing: .18em; }
.nova-auth-hero { position: absolute; top: max(130px, calc(55% - 250px)); left: 50%; width: min(56vw, 920px); transform: translateX(-50%); }
.nova-auth-hero > small { color: #287cff; font: 750 10px/1 ui-monospace, monospace; letter-spacing: .21em; }
.nova-auth-hero > h1 { margin: 1.65rem 0 .8rem; color: #11213a; font-size: clamp(48px, 4.05vw, 82px); font-weight: 800; line-height: 1; letter-spacing: -.065em; white-space: nowrap; }
.nova-auth-hero > p { margin: 0; color: #7b8aa1; font-size: 13px; }
.nova-auth-clock { position: relative; display: flex; align-items: center; width: min(70vw, 920px); height: clamp(120px, 13vw, 245px); margin-top: 3.35rem; gap: clamp(6px, .55vw, 12px); transform: scale(.9); transform-origin: left center; }
.nova-auth-clock em { align-self: center; margin: 0 .18em; color: #162643; font: 300 clamp(54px, 6vw, 120px)/1 ui-monospace, monospace; font-style: normal; transform: translateY(-.08em); }
.nova-clock-digit { position: relative; display: block; width: clamp(54px, 5.65vw, 116px); height: clamp(100px, 10.8vw, 220px); }
.nova-clock-digit b { position: absolute; display: block; border-radius: 999px; background: #152540; opacity: 1; }
.nova-clock-digit b:nth-child(1), .nova-clock-digit b:nth-child(4), .nova-clock-digit b:nth-child(7) { left: 14%; width: 72%; height: 3.5%; }
.nova-clock-digit b:nth-child(1) { top: 2%; } .nova-clock-digit b:nth-child(4) { top: 48.2%; } .nova-clock-digit b:nth-child(7) { bottom: 2%; }
.nova-clock-digit b:nth-child(2), .nova-clock-digit b:nth-child(3), .nova-clock-digit b:nth-child(5), .nova-clock-digit b:nth-child(6) { width: 4.8%; height: 40%; }
.nova-clock-digit b:nth-child(2) { top: 7%; left: 4%; } .nova-clock-digit b:nth-child(3) { top: 7%; right: 4%; } .nova-clock-digit b:nth-child(5) { bottom: 7%; left: 4%; } .nova-clock-digit b:nth-child(6) { right: 4%; bottom: 7%; }
.nova-clock-digit[data-digit="0"] b:nth-child(4), .nova-clock-digit[data-digit="1"] b:not(:nth-child(3)):not(:nth-child(6)), .nova-clock-digit[data-digit="2"] b:nth-child(2), .nova-clock-digit[data-digit="2"] b:nth-child(6), .nova-clock-digit[data-digit="3"] b:nth-child(2), .nova-clock-digit[data-digit="3"] b:nth-child(5), .nova-clock-digit[data-digit="4"] b:nth-child(1), .nova-clock-digit[data-digit="4"] b:nth-child(5), .nova-clock-digit[data-digit="4"] b:nth-child(7), .nova-clock-digit[data-digit="5"] b:nth-child(3), .nova-clock-digit[data-digit="5"] b:nth-child(5), .nova-clock-digit[data-digit="6"] b:nth-child(3), .nova-clock-digit[data-digit="7"] b:not(:nth-child(1)):not(:nth-child(3)):not(:nth-child(6)), .nova-clock-digit[data-digit="9"] b:nth-child(5) { background: #cfd9e8; opacity: .72; }
.nova-auth-hero footer { display: flex; align-items: center; justify-content: space-between; width: min(65vw, 900px); margin-top: 1.2rem; color: #74849d; font-size: 9px; }
.nova-auth-hero footer span::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: #24d3aa; box-shadow: 0 0 10px rgba(36,211,170,.75); }
.nova-auth-hero footer b { color: #253650; font: 700 9px/1 ui-monospace, monospace; }

@media (max-width: 1100px) {
  .nova-auth-page #app { width: 42%; }
  .nova-auth-scene { width: 58%; }
  .nova-auth-hero > h1 { font-size: 42px; }
  .nova-auth-clock { transform: scale(.78); transform-origin: left center; width: 72vw; }
}
@media (max-width: 760px) {
  .nova-auth-page { overflow: auto; background: #f6f9fe; }
  .nova-auth-page #app { width: 100%; min-height: 100dvh; background: rgba(255,255,255,.94); }
  .nova-auth-page #app .wh-full { padding: 6.5rem 1.5rem 2rem; }
  .nova-auth-scene { width: 100%; height: 88px; border: 0; background-size: 36px 36px; }
  .nova-auth-brand { top: 25px; left: 25px; }
  .nova-auth-access { top: 33px; right: 20px; }
  .nova-auth-hero { display: none; }
}
.nova-client-page {
  --nova-ink: #14213a;
  --nova-ink-soft: #263653;
  --nova-muted: #75839a;
  --nova-faint: #9aa7ba;
  --nova-blue: #287cff;
  --nova-blue-hover: #1e6fe8;
  --nova-blue-soft: #eaf2ff;
  --nova-tech-border: #287cff;
  --nova-tech-glow: rgba(40, 124, 255, .14);
  --nova-line: #dce5f1;
  --nova-line-soft: #e8eef6;
  --nova-paper: #f3f7fd;
  --nova-surface: #fff;
  --nova-success: #21a77a;
  --nova-success-soft: #e9f8f1;
  --nova-danger: #e54867;
  --nova-radius-card: 12px;
  --nova-radius-control: 8px;
  --nova-shadow: 0 16px 38px rgba(38, 65, 103, .07);
  --nova-focus: 0 0 0 3px rgba(40, 124, 255, .16);
  --nova-ease: 220ms cubic-bezier(.2, .7, .2, 1);
  min-height: 100dvh;
  margin: 0;
  color: var(--nova-ink);
  background: var(--nova-paper) !important;
  font-family: "Segoe UI Variable", "Microsoft YaHei UI", "PingFang SC", system-ui, sans-serif;
  font-variant-numeric: tabular-nums;
}

.nova-client-page *, .nova-client-page *::before, .nova-client-page *::after { box-sizing: border-box; }
.nova-client-page::before {
  content: "";
  position: fixed;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 82% 4%, rgba(40, 124, 255, .055), transparent 28rem);
}
.nova-client-page :where(button, a, input, textarea, [tabindex]):focus-visible { outline: 0 !important; box-shadow: var(--nova-focus) !important; }
.nova-client-page :where(a, button, .n-button, .n-menu-item-content, .n-base-selection, .n-switch) {
  transition: color var(--nova-ease), background-color var(--nova-ease), border-color var(--nova-ease), box-shadow var(--nova-ease), transform var(--nova-ease) !important;
}
.nova-client-page :where(button, .n-button):active { transform: translateY(1px) scale(.985); }

/* Shell */
.nova-client-page .n-layout, .nova-client-page .n-layout-scroll-container, .nova-client-page .n-layout-content { background: transparent !important; }
.nova-client-page .n-layout-sider {
  width: 228px !important;
  min-width: 228px !important;
  max-width: 228px !important;
  background: rgba(255, 255, 255, .98) !important;
  border-right: 1px solid var(--nova-line) !important;
  box-shadow: none !important;
}
.nova-client-page .n-layout-sider .h-15 {
  height: 110px !important;
  padding: 0 28px !important;
  justify-content: flex-start !important;
  border-bottom: 1px solid var(--nova-line-soft);
}
.nova-client-page .n-layout-sider :where(.n-scrollbar, .n-scrollbar-container, .n-scrollbar-content) { width: 228px !important; min-width: 228px !important; }
.nova-client-page .n-layout-sider .title-text { margin: 0 !important; }
.nova-client-page .nova-side-wordmark { display: inline-flex; align-items: center; gap: 11px; color: var(--nova-ink); }
.nova-client-page .nova-side-mark { display: block; width: 17px; height: 17px; border: 2px solid var(--nova-blue); transform: rotate(45deg); }
.nova-client-page .nova-side-wordmark strong { display: block; font-size: 12px; font-weight: 750; line-height: 1; letter-spacing: .31em; }
.nova-client-page .nova-side-wordmark small { display: block; margin-top: 5px; color: #8794a8; font: 650 6px/1 ui-monospace, monospace; letter-spacing: .42em; }

.nova-client-page .side-menu {
  padding: 16px 15px 32px !important;
  --n-item-text-color: #5f6f89 !important;
  --n-item-text-color-hover: var(--nova-ink) !important;
  --n-item-text-color-active: var(--nova-blue) !important;
  --n-item-text-color-active-hover: var(--nova-blue) !important;
  --n-item-text-color-child-active: var(--nova-blue) !important;
  --n-item-icon-color: #667690 !important;
  --n-item-icon-color-hover: var(--nova-ink) !important;
  --n-item-icon-color-active: var(--nova-blue) !important;
  --n-item-icon-color-active-hover: var(--nova-blue) !important;
  --n-item-color-hover: #f3f7fd !important;
  --n-item-color-active: var(--nova-blue-soft) !important;
  --n-item-color-active-hover: var(--nova-blue-soft) !important;
}
.nova-client-page .n-menu-item { margin: 3px 0 !important; }
.nova-client-page .n-menu-item-group-title { padding: 17px 10px 7px !important; color: #a0acbd !important; font-size: 10px !important; font-weight: 600 !important; line-height: 1 !important; letter-spacing: .08em; }
.nova-client-page .n-menu-item-content { height: 42px !important; padding-left: 13px !important; border-radius: 8px !important; font-size: 13px !important; font-weight: 550; }
.nova-client-page .n-menu-item-content__icon { width: 19px !important; height: 19px !important; margin-right: 10px !important; font-size: 17px !important; }
.nova-client-page .n-menu-item-content--selected { background: var(--nova-blue-soft) !important; color: var(--nova-blue) !important; box-shadow: none !important; }
.nova-client-page .n-menu-item-content--selected :where(.n-menu-item-content-header, .n-menu-item-content__icon, .n-icon) { color: var(--nova-blue) !important; }

.nova-client-page article > header {
  position: sticky;
  z-index: 20;
  top: 0;
  height: 72px !important;
  min-height: 72px;
  padding: 0 32px !important;
  background: rgba(255, 255, 255, .92) !important;
  border-bottom: 1px solid var(--nova-line);
  backdrop-filter: blur(18px);
}
.nova-client-page article > header > div:last-child { gap: 10px; }
.nova-client-page article > section { background: transparent !important; }
.nova-client-page article > section > section {
  width: 100% !important;
  max-width: none !important;
  min-height: calc(100dvh - 72px);
  margin: 0;
  padding: 40px max(32px, calc((100% - 1472px) / 2 + 32px)) 72px !important;
}

/* Page heading */
.nova-client-page .nova-page-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin: 0 0 32px; }
.nova-client-page .nova-page-title { min-width: 0; }
.nova-client-page .nova-page-title > span { display: block; margin-bottom: 9px; color: var(--nova-blue); font: 750 10px/1.15 ui-monospace, "Cascadia Mono", monospace; letter-spacing: .16em; }
.nova-client-page .nova-page-title h1 { margin: 0 0 9px; color: var(--nova-ink) !important; font-size: clamp(32px, 2.2vw, 40px); font-weight: 780; line-height: 1; letter-spacing: -.055em; text-wrap: balance; }
.nova-client-page .nova-page-title p { max-width: 65ch; margin: 0; color: var(--nova-muted); font-size: 13px; line-height: 1.65; text-wrap: pretty; }

/* Shared surfaces and controls */
.nova-client-page .n-card { overflow: clip; color: var(--nova-ink); background: var(--nova-surface) !important; border: 1px solid var(--nova-line) !important; border-radius: var(--nova-radius-card) !important; box-shadow: var(--nova-shadow) !important; }
.nova-client-page .n-card::before { display: none !important; }
.nova-client-page .n-card-header { min-height: 58px; padding: 20px 22px 14px !important; border-bottom-color: var(--nova-line-soft) !important; }
.nova-client-page .n-card-header__main { color: var(--nova-ink); font-size: 15px !important; font-weight: 680 !important; }
.nova-client-page .n-card__content { padding: 22px !important; }
.nova-client-page .n-button { min-height: 36px; border-radius: var(--nova-radius-control) !important; font-weight: 620 !important; }
.nova-client-page .n-button--primary-type { color: #fff !important; background: var(--nova-blue) !important; border-color: var(--nova-blue) !important; box-shadow: 0 8px 20px rgba(40, 124, 255, .17); }
.nova-client-page .n-button--primary-type:hover { background: var(--nova-blue-hover) !important; border-color: var(--nova-blue-hover) !important; box-shadow: 0 11px 25px rgba(40, 124, 255, .23); transform: translateY(-1px); }
.nova-client-page .n-button--error-type:not(.n-button--primary-type) { color: var(--nova-danger) !important; border-color: rgba(229, 72, 103, .62) !important; }
.nova-client-page :where(.n-input, .n-input-number, .n-base-selection) { --n-border-radius: var(--nova-radius-control) !important; --n-border: 1px solid var(--nova-line) !important; --n-border-hover: 1px solid var(--nova-blue) !important; --n-border-focus: 1px solid var(--nova-blue) !important; --n-box-shadow-focus: var(--nova-focus) !important; background: #fff !important; }
.nova-client-page :where(.n-input__input-el, .n-input__textarea-el) { color: var(--nova-ink) !important; }
.nova-client-page .n-switch { --n-rail-color-active: var(--nova-blue) !important; }
.nova-client-page :where(.n-data-table, .n-table) { --n-border-color: var(--nova-line-soft) !important; overflow: hidden; border-radius: 9px; font-size: 13px !important; }
.nova-client-page .n-data-table-th { height: 48px !important; padding: 0 17px !important; color: #65738a !important; background: #f8faff !important; font-size: 12px !important; font-weight: 650 !important; }
.nova-client-page .n-data-table-td { height: 52px !important; padding: 0 17px !important; color: var(--nova-ink-soft); }
.nova-client-page .n-data-table-tr:hover .n-data-table-td { background: #fbfdff !important; }
.nova-client-page .n-tag { border-radius: 6px !important; font-weight: 600; }
.nova-client-page .n-tag--success { color: var(--nova-success) !important; background: var(--nova-success-soft) !important; }
.nova-client-page .n-progress-graph-line-fill { background: var(--nova-blue) !important; }
.nova-client-page .n-empty { min-height: 170px; justify-content: center; color: var(--nova-faint); }
.nova-client-page .n-empty__description { margin-top: 10px; }
.nova-client-page :where(.n-modal, .n-card.n-modal) { border-radius: 13px !important; box-shadow: 0 30px 80px rgba(20, 33, 58, .2) !important; }
.nova-client-page .n-modal-mask { background: rgba(20, 33, 58, .44) !important; backdrop-filter: blur(2px); }
.nova-client-page :where(.n-dropdown-menu, .n-base-select-menu) { border: 1px solid var(--nova-line-soft) !important; border-radius: 10px !important; box-shadow: 0 18px 42px rgba(20, 33, 58, .14) !important; }

/* Dashboard and metric pages */
.nova-route-dashboard .nova-dashboard-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 18px;
}
.nova-route-dashboard .nova-stat-card {
  position: relative;
  min-height: 142px;
  padding: 24px 22px 20px;
  overflow: hidden;
  color: var(--nova-ink);
  background: var(--nova-surface);
  border: 1px solid var(--nova-line);
  border-radius: var(--nova-radius-card);
  box-shadow: var(--nova-shadow);
}
.nova-route-dashboard .nova-stat-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 22px;
  width: 42px;
  height: 3px;
  background: var(--nova-blue);
}
.nova-route-dashboard .nova-stat-card > span {
  display: block;
  margin-bottom: 18px;
  color: #64748b;
  font: 750 10px/1 ui-monospace, "Cascadia Mono", monospace;
  letter-spacing: .14em;
}
.nova-route-dashboard .nova-stat-card > strong {
  display: block;
  margin-bottom: 9px;
  color: var(--nova-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  font-weight: 500;
  line-height: 1;
}
.nova-route-dashboard .nova-stat-card > small { color: var(--nova-muted); font-size: 12px; }
.nova-route-dashboard .nova-quick-card .n-card-header__main { display: grid; gap: 7px; }
.nova-route-dashboard .nova-quick-card .n-card-header__main > small {
  color: var(--nova-blue);
  font: 750 9px/1 ui-monospace, "Cascadia Mono", monospace;
  letter-spacing: .16em;
}
.nova-route-dashboard .nova-quick-card .n-card-header__main > strong { font-size: 18px; font-weight: 700; }
.nova-quick-start { display: grid; }
.nova-quick-start > button {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  width: 100%;
  padding: 15px 20px;
  color: var(--nova-ink);
  text-align: left;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--nova-line);
  cursor: pointer;
  transition: background-color .22s ease, transform .22s ease;
}
.nova-quick-start > button:last-child { border-bottom: 0; }
.nova-quick-start > button:hover { background: color-mix(in srgb, var(--nova-blue) 6%, transparent); }
.nova-quick-start > button:active { transform: translateY(1px); }
.nova-quick-start > button:focus-visible { outline: 2px solid var(--nova-blue); outline-offset: -3px; }
.nova-quick-start i {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: var(--nova-blue);
  background: color-mix(in srgb, var(--nova-blue) 10%, white);
  border: 1px solid color-mix(in srgb, var(--nova-blue) 38%, transparent);
  border-radius: 11px;
  font-style: normal;
}
.nova-quick-start button:nth-child(2) i { color: #6557b8; background: #f0edff; border-color: #d8d0ff; }
.nova-quick-start button:nth-child(3) i { color: #087c75; background: #e7f7f4; border-color: #b9e4de; }
.nova-quick-start svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.nova-quick-start span { display: grid; gap: 3px; }
.nova-quick-start span strong { font-size: 14px; font-weight: 700; }
.nova-quick-start span small { color: var(--nova-muted); font-size: 11px; }
.nova-quick-start b { color: #64748b; font-size: 19px; font-weight: 400; transition: transform .22s ease; }
.nova-quick-start button:hover b { transform: translateX(3px); }

.nova-modal-open { overflow: hidden; }
.nova-payment-overlay[hidden] { display: none !important; }
.nova-payment-overlay { position: fixed; inset: 0; z-index: 84; display: grid; place-items: center; padding: 24px; background: rgba(15, 23, 42, .58); backdrop-filter: blur(7px); }
.nova-payment-dialog { width: min(390px, 100%); overflow: hidden; color: var(--nova-ink); background: var(--nova-surface); border: 1px solid var(--nova-line); border-radius: 16px; box-shadow: 0 30px 90px rgba(15, 23, 42, .28); }
.nova-payment-dialog > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; padding: 20px 22px 17px; border-bottom: 1px solid var(--nova-line); }
.nova-payment-dialog > header > div { display: grid; gap: 6px; }
.nova-payment-dialog header small { color: var(--nova-blue); font: 760 9px/1 ui-monospace, "Cascadia Mono", monospace; letter-spacing: .14em; }
.nova-payment-dialog h2 { margin: 0; color: var(--nova-ink); font-size: 20px; line-height: 1.25; }
.nova-payment-close { display: grid; flex: 0 0 auto; place-items: center; width: 36px; height: 36px; color: var(--nova-muted); background: var(--nova-surface-raised); border: 1px solid var(--nova-line); border-radius: 9px; cursor: pointer; }
.nova-payment-close:hover { color: var(--nova-ink); border-color: var(--nova-blue); }
.nova-payment-close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.nova-payment-body { display: grid; justify-items: center; padding: 25px 24px 24px; text-align: center; }
.nova-payment-qr { display: grid; place-items: center; width: min(244px, 72vw); aspect-ratio: 1; padding: 12px; background: #fff; border: 1px solid #dce6f2; border-radius: 12px; box-shadow: 0 12px 32px rgba(27, 64, 112, .1); }
.nova-payment-qr svg { display: block; width: 100%; height: 100%; }
.nova-payment-amount { margin-top: 17px; color: var(--nova-blue); font-family: Georgia, "Times New Roman", serif; font-size: 27px; font-weight: 500; }
.nova-payment-hint { margin: 7px 0 0; color: var(--nova-ink); font-size: 13px; }
.nova-payment-status { min-height: 20px; margin: 8px 0 0; color: var(--nova-muted); font-size: 12px; }
.nova-payment-status[data-state="success"] { color: #16803c; }
.nova-payment-status[data-state="error"] { color: #c33a3a; }
.nova-import-overlay[hidden] { display: none !important; }
.nova-import-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(15, 23, 42, .54);
  backdrop-filter: blur(7px);
}
.nova-import-panel {
  width: min(430px, 100%);
  max-height: calc(100dvh - 48px);
  padding: 24px;
  overflow-y: auto;
  color: #172033;
  background: #fff;
  border: 1px solid rgba(148, 163, 184, .4);
  border-radius: 17px;
  box-shadow: 0 28px 80px rgba(24, 47, 89, .26), inset 0 1px 0 rgba(255,255,255,.9);
}
.nova-import-panel > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.nova-import-panel > header small { color: var(--nova-blue); font: 750 9px/1 ui-monospace, "Cascadia Mono", monospace; letter-spacing: .16em; }
.nova-import-panel h2 { margin: 7px 0 0; font-size: 23px; line-height: 1.1; letter-spacing: -.02em; }
.nova-import-close {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: #64748b;
  background: #f6f8fb;
  border: 1px solid #e5e9f0;
  border-radius: 10px;
  cursor: pointer;
}
.nova-import-close:hover { color: #172033; background: #edf2f8; }
.nova-import-close svg, .nova-copy-subscribe svg, .nova-import-guide svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.nova-import-lead { margin: 18px 0 13px; color: #62708a; font-size: 12px; line-height: 1.65; }
.nova-subscribe-address {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  padding: 5px;
  background: #f7f9fc;
  border: 1px solid #dce3ed;
  border-radius: 11px;
}
.nova-subscribe-address input { min-width: 0; padding: 7px 8px; color: #34425a; background: transparent; border: 0; outline: 0; font: 500 11px/1.4 ui-monospace, "Cascadia Mono", monospace; }
.nova-copy-subscribe { display: flex; gap: 6px; align-items: center; padding: 0 10px; color: var(--nova-blue); background: #fff; border: 1px solid #d8e4f6; border-radius: 8px; cursor: pointer; font-size: 11px; font-weight: 700; }
.nova-copy-subscribe:hover { background: #edf5ff; }
.nova-qr-wrap {
  display: grid;
  place-items: center;
  min-height: 176px;
  margin: 13px 0;
  background: radial-gradient(circle at 50% 40%, #fff 0, #f8fbff 72%);
  border: 1px dashed #c8d6e8;
  border-radius: 13px;
}
.nova-qr-wrap img { width: 164px; height: 164px; padding: 7px; background: #fff; }
.nova-qr-skeleton { width: 132px; height: 132px; background: linear-gradient(100deg, #edf1f6 25%, #f9fbfd 42%, #edf1f6 62%); background-size: 240% 100%; animation: novaQrLoading 1.25s ease infinite; }
@keyframes novaQrLoading { to { background-position-x: -240%; } }
.nova-import-actions { display: grid; gap: 8px; }
.nova-import-actions a {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  min-height: 44px;
  padding: 8px 14px;
  color: #fff;
  text-decoration: none;
  background: #172d5c;
  border-radius: 9px;
  box-shadow: 0 8px 18px rgba(23, 45, 92, .13);
  transition: transform .2s ease, filter .2s ease;
}
.nova-import-actions a:nth-child(2), .nova-import-actions a:nth-child(4) { background: #347df1; }
.nova-import-actions a:nth-child(5) { background: #1598a7; }
.nova-import-actions a:hover { color: #fff; filter: brightness(1.06); transform: translateY(-1px); }
.nova-import-actions a:active { transform: translateY(1px) scale(.99); }
.nova-import-actions a:focus-visible { outline: 3px solid rgba(52, 125, 241, .32); outline-offset: 2px; }
.nova-client-symbol { display: grid; place-items: center; }
.nova-client-symbol svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.nova-import-actions a:first-child .nova-client-symbol svg { fill: currentColor; stroke: none; }
.nova-import-actions strong { font-size: 12px; font-weight: 750; }
.nova-import-actions small { color: rgba(255,255,255,.72); font-size: 9px; text-align: right; }
.nova-import-guide { display: flex; justify-content: center; gap: 8px; align-items: center; width: 100%; margin-top: 11px; padding: 11px 14px; color: #2369cf; background: #edf4ff; border: 0; border-radius: 9px; cursor: pointer; font-size: 12px; font-weight: 750; }
.nova-import-guide:hover { background: #e1edff; }
.nova-import-status { min-height: 17px; margin: 8px 0 0; color: #247267; font-size: 11px; text-align: center; }
.nova-route-dashboard article > section > section > .mb-1 {
  display: grid;
  grid-template-columns: minmax(0, 1.58fr) minmax(340px, 1fr);
  gap: 18px;
  margin-bottom: 0 !important;
}
.nova-route-dashboard article > section > section > .mb-1 > .n-card { margin-top: 0 !important; }
.nova-route-dashboard article > section > section > .mb-1 > .n-card[style*="display: none"] { display: none !important; }
.nova-route-dashboard .nova-dashboard-announcement { display: none !important; }
.nova-route-dashboard .nova-subscription-card { grid-column: 2; grid-row: 1; }
.nova-route-dashboard .nova-quick-card { grid-column: 1; grid-row: 1; }
.nova-route-dashboard .nova-metric-card,
.nova-route-invite .nova-metric-card,
.nova-route-traffic .nova-metric-card { position: relative; }
.nova-route-dashboard .nova-metric-card::after,
.nova-route-invite .nova-metric-card::after,
.nova-route-traffic .nova-metric-card::after { content: ""; position: absolute; top: 0; left: 22px; width: 42px; height: 3px; background: var(--nova-blue); }
.nova-route-dashboard .nova-metric-card :where(.text-2xl, .text-3xl, strong),
.nova-route-invite .nova-metric-card :where(.text-2xl, .text-3xl, strong),
.nova-route-traffic .nova-metric-card :where(.text-2xl, .text-3xl, strong) { color: var(--nova-ink) !important; font-variant-numeric: tabular-nums; }
.nova-route-dashboard .nova-subscription-card { min-width: 0; }
.nova-route-dashboard .nova-quick-card { min-width: 340px; }
.nova-route-dashboard .nova-subscription-card .n-progress { margin: 20px 0 12px; }
.nova-route-dashboard .nova-quick-card .n-card__content { padding-top: 10px !important; padding-bottom: 10px !important; }
.nova-route-dashboard .nova-quick-card .n-list-item { min-height: 54px; padding: 10px 20px !important; }

/* Dashboard announcement board */
.nova-route-dashboard .nova-notice-board {
  position: relative;
  min-height: 218px;
  margin-top: 22px;
  overflow: hidden;
  color: var(--nova-ink);
  background-color: var(--nova-surface);
  background-image:
    linear-gradient(color-mix(in srgb, var(--nova-tech-border) 5%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--nova-tech-border) 5%, transparent) 1px, transparent 1px);
  background-size: 34px 34px;
  border: 1px solid var(--nova-tech-border);
  border-radius: var(--nova-radius-card);
  box-shadow: 0 18px 42px var(--nova-tech-glow), inset 0 1px 0 color-mix(in srgb, var(--nova-tech-border) 16%, transparent);
}
.nova-route-dashboard .nova-notice-board::before,
.nova-route-dashboard .nova-notice-board::after {
  content: "";
  position: absolute;
  z-index: 1;
  width: 30px;
  height: 30px;
  pointer-events: none;
}
.nova-route-dashboard .nova-notice-board::before { top: 8px; left: 8px; border-top: 2px solid var(--nova-tech-border); border-left: 2px solid var(--nova-tech-border); }
.nova-route-dashboard .nova-notice-board::after { right: 8px; bottom: 8px; border-right: 2px solid var(--nova-tech-border); border-bottom: 2px solid var(--nova-tech-border); }
.nova-notice-heading {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 28px 20px;
  border-bottom: 1px solid color-mix(in srgb, var(--nova-tech-border) 34%, transparent);
}
.nova-notice-heading > div { display: grid; gap: 7px; }
.nova-notice-heading small { color: var(--nova-tech-border); font: 760 9px/1 ui-monospace, "Cascadia Mono", monospace; letter-spacing: .18em; }
.nova-notice-heading h2 { margin: 0; color: var(--nova-ink); font-size: 21px; font-weight: 730; line-height: 1; letter-spacing: -.02em; }
.nova-notice-heading > span { display: inline-flex; align-items: center; gap: 8px; color: var(--nova-muted); font-size: 11px; font-weight: 650; }
.nova-notice-heading > span i { width: 7px; height: 7px; background: var(--nova-tech-border); border-radius: 50%; box-shadow: 0 0 12px var(--nova-tech-border); animation: novaNoticePulse 2.2s ease-in-out infinite; }
@keyframes novaNoticePulse { 50% { opacity: .42; transform: scale(.72); } }
.nova-notice-list { position: relative; z-index: 2; display: grid; padding: 8px 18px 18px; }
.nova-notice-item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto 22px;
  gap: 15px;
  align-items: center;
  min-height: 82px;
  padding: 14px 12px;
  color: var(--nova-ink);
  text-align: left;
  background: transparent;
  border: 0;
  border-bottom: 1px solid color-mix(in srgb, var(--nova-tech-border) 22%, transparent);
  cursor: pointer;
}
.nova-notice-item:last-child { border-bottom: 0; }
.nova-notice-item:hover { background: color-mix(in srgb, var(--nova-tech-border) 7%, transparent); }
.nova-notice-item:active { transform: translateY(1px); }
.nova-notice-index { display: grid; place-items: center; width: 38px; height: 38px; color: var(--nova-tech-border); background: color-mix(in srgb, var(--nova-tech-border) 10%, transparent); border: 1px solid color-mix(in srgb, var(--nova-tech-border) 42%, transparent); border-radius: 8px; font: 760 11px/1 ui-monospace, "Cascadia Mono", monospace; }
.nova-notice-copy { display: grid; min-width: 0; gap: 6px; }
.nova-notice-copy strong { overflow: hidden; color: var(--nova-ink); font-size: 14px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.nova-notice-copy small { overflow: hidden; color: var(--nova-muted); font-size: 11px; font-weight: 450; text-overflow: ellipsis; white-space: nowrap; }
.nova-notice-item time { color: var(--nova-muted); font: 600 10px/1.3 ui-monospace, "Cascadia Mono", monospace; white-space: nowrap; }
.nova-notice-item > b { color: var(--nova-tech-border); font-size: 18px; font-weight: 450; transition: transform var(--nova-ease); }
.nova-notice-item:hover > b { transform: translateX(3px); }
.nova-notice-empty { display: grid; min-height: 104px; place-content: center; gap: 7px; text-align: center; }
.nova-notice-empty strong { color: var(--nova-ink-soft); font-size: 13px; font-weight: 650; }
.nova-notice-empty span { color: var(--nova-muted); font-size: 11px; }
.nova-notice-empty[data-state="error"] strong { color: var(--nova-danger); }

.nova-notice-overlay[hidden] { display: none !important; }
.nova-notice-overlay { position: fixed; inset: 0; z-index: 82; display: grid; place-items: center; padding: 24px; background: rgba(15, 23, 42, .56); backdrop-filter: blur(7px); }
.nova-notice-dialog { width: min(640px, 100%); max-height: calc(100dvh - 48px); overflow-y: auto; color: var(--nova-ink); background: var(--nova-surface); border: 1px solid var(--nova-tech-border); border-radius: 15px; box-shadow: 0 30px 90px var(--nova-tech-glow); }
.nova-notice-dialog > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 25px 26px 21px; border-bottom: 1px solid color-mix(in srgb, var(--nova-tech-border) 30%, transparent); }
.nova-notice-dialog > header > div { display: grid; gap: 7px; }
.nova-notice-dialog header small { color: var(--nova-tech-border); font: 760 9px/1 ui-monospace, "Cascadia Mono", monospace; letter-spacing: .16em; }
.nova-notice-dialog h2 { margin: 0; color: var(--nova-ink); font-size: 22px; line-height: 1.25; letter-spacing: -.02em; }
.nova-notice-dialog time { color: var(--nova-muted); font: 550 10px/1.4 ui-monospace, "Cascadia Mono", monospace; }
.nova-notice-close { display: grid; flex: 0 0 auto; place-items: center; width: 38px; height: 38px; color: var(--nova-muted); background: color-mix(in srgb, var(--nova-tech-border) 7%, transparent); border: 1px solid color-mix(in srgb, var(--nova-tech-border) 38%, transparent); border-radius: 9px; cursor: pointer; }
.nova-notice-close:hover { color: var(--nova-ink); background: color-mix(in srgb, var(--nova-tech-border) 13%, transparent); }
.nova-notice-close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.nova-notice-content { padding: 25px 26px 30px; color: var(--nova-ink-soft); font-size: 14px; line-height: 1.85; white-space: pre-wrap; }

/* Knowledge */
.nova-route-knowledge .n-input-group { width: min(100%, 640px); margin: 0 0 26px; }
.nova-route-knowledge article > section > section > div:not(.nova-page-heading):not(.n-input-group):not(.n-back-top-placeholder) { border-radius: 10px; }
.nova-route-knowledge .n-card { box-shadow: 0 10px 26px rgba(38, 65, 103, .045) !important; }
.nova-route-knowledge .n-card:hover { border-color: #c9d9ef !important; transform: translateY(-1px); }
.nova-route-knowledge :where(.prose, .markdown-body) { max-width: 76ch; color: var(--nova-ink-soft); font-size: 15px; line-height: 1.8; }
.nova-route-knowledge :where(.prose, .markdown-body) h1,
.nova-route-knowledge :where(.prose, .markdown-body) h2,
.nova-route-knowledge :where(.prose, .markdown-body) h3 { color: var(--nova-ink) !important; line-height: 1.25; text-wrap: balance; }
.nova-route-knowledge :where(.prose, .markdown-body) a { color: var(--nova-blue); }
.nova-route-knowledge :where(.prose, .markdown-body) code { border-radius: 5px; background: #edf3fb; }

/* Orders and tickets */
.nova-route-order .n-tabs-nav, .nova-route-ticket .n-tabs-nav { padding: 4px; border: 1px solid var(--nova-line-soft); border-radius: 9px; background: rgba(255, 255, 255, .72); }
.nova-route-order .n-tabs-tab, .nova-route-ticket .n-tabs-tab { min-height: 36px; border-radius: 7px; }
.nova-route-order .n-tabs-tab--active, .nova-route-ticket .n-tabs-tab--active { color: var(--nova-blue) !important; background: #fff; box-shadow: 0 5px 14px rgba(38, 65, 103, .06); }

/* Plans */
.nova-route-plan .nova-plan-grid { width: 92%; margin-inline: auto; column-gap: 17.25px !important; }
.nova-route-plan .n-card { position: relative; min-height: 100%; border-top: 3px solid var(--nova-blue) !important; }
.nova-route-plan .n-card-header { min-height: 48px; padding: 14px 18px 9px !important; }
.nova-route-plan .n-card__content { padding: 15px 18px !important; }
.nova-route-plan .n-card__content p { line-height: 1.648 !important; }
.nova-route-plan .n-card:hover { border-color: #bdd2ef !important; border-top-color: var(--nova-blue) !important; box-shadow: 0 22px 48px rgba(38, 65, 103, .11) !important; transform: translateY(-2px); }
.nova-route-plan .n-card:has(.n-tag--success) { border-top-color: var(--nova-success) !important; }
.nova-route-plan .n-card__content { display: flex; min-height: 100%; flex-direction: column; }
.nova-route-plan .n-card__content > :last-child { margin-top: 0; }
.nova-route-plan :where(.text-3xl, .text-4xl, .font-bold) { font-variant-numeric: tabular-nums; }
.nova-route-plan .n-card__action { padding: 0 18px 14px !important; background: transparent !important; }
.nova-route-plan .nova-native-purchase { display: none !important; }
.nova-route-plan .nova-direct-purchase { display: grid; gap: 8px; width: 100%; padding-top: 10px; border-top: 1px solid var(--nova-line-soft); }
.nova-route-plan .nova-plan-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.nova-route-plan .nova-plan-facts > span { min-width: 0; padding: 8px 10px; background: #f7faff; border: 1px solid #edf2f8; border-radius: 7px; }
.nova-route-plan .nova-plan-facts small,
.nova-route-plan .nova-direct-purchase label > span { display: block; margin-bottom: 5px; color: var(--nova-muted); font-size: 11px; font-weight: 600; }
.nova-route-plan .nova-plan-facts strong { display: block; overflow: hidden; color: var(--nova-ink); font-size: 13px; font-weight: 680; text-overflow: ellipsis; white-space: nowrap; }
.nova-route-plan .nova-direct-purchase select {
  width: 100%;
  height: 35px;
  padding: 0 36px 0 12px;
  color: var(--nova-ink-soft);
  background: #f3f8ff;
  border: 1px solid #d7e6f8;
  border-radius: var(--nova-radius-control);
  outline: 0;
  font: 560 13px/1 inherit;
  appearance: auto;
}
.nova-route-plan .nova-direct-purchase select:hover { border-color: #b9cbe2; }
.nova-route-plan .nova-direct-purchase select:focus-visible { border-color: var(--nova-blue); box-shadow: var(--nova-focus); }
.nova-route-plan .nova-payment-field { min-width: 0; margin: 0; padding: 0; border: 0; }
.nova-route-plan .nova-payment-field legend { margin-bottom: 5px; padding: 0; color: var(--nova-muted); font-size: 11px; font-weight: 600; }
.nova-route-plan .nova-payment-methods { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
.nova-route-plan .nova-payment-option {
  min-width: 0;
  min-height: 40px;
  padding: 5px 10px;
  color: var(--nova-ink-soft);
  background: #f3f8ff !important;
  border: 1px solid #d7e6f8 !important;
  border-radius: var(--nova-radius-control);
  cursor: pointer;
  font: 650 13px/1.1 inherit;
  transition: color .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.nova-route-plan .nova-payment-option span,
.nova-route-plan .nova-payment-option small { display: block; }
.nova-route-plan .nova-payment-option small { margin-top: 2px; font-size: 9px; font-weight: 550; opacity: .68; }
.nova-route-plan .nova-payment-option:hover { color: var(--nova-blue); background: #eaf3ff !important; border-color: #9fc2f1 !important; box-shadow: 0 6px 14px rgba(40, 124, 255, .09); transform: translateY(-1px); }
.nova-route-plan .nova-payment-option:active { transform: translateY(0); }
.nova-route-plan .nova-payment-option:focus-visible { outline: 0; box-shadow: var(--nova-focus); }
.nova-route-plan .nova-payment-option[aria-pressed="true"] { color: #fff; background: var(--nova-blue) !important; border-color: var(--nova-blue) !important; box-shadow: 0 7px 16px rgba(40, 124, 255, .2); }
.nova-route-plan .nova-checkout-total { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-top: 2px; }
.nova-route-plan .nova-checkout-total span { color: var(--nova-muted); font-size: 12px; }
.nova-route-plan .nova-checkout-total strong { color: var(--nova-blue); font-family: Georgia, "Times New Roman", serif; font-size: 21px; font-weight: 500; }
.nova-route-plan .nova-direct-buy { display: flex; min-height: 40px; align-items: center; justify-content: center; gap: 10px; width: 100%; color: #fff; background: var(--nova-blue); border: 0; border-radius: var(--nova-radius-control); cursor: pointer; box-shadow: 0 8px 20px rgba(40, 124, 255, .17); }
.nova-route-plan .nova-direct-buy:hover { background: var(--nova-blue-hover); box-shadow: 0 13px 28px rgba(40, 124, 255, .24); transform: translateY(-1px); }
.nova-route-plan .nova-direct-buy:disabled { cursor: wait; opacity: .66; transform: none; }
.nova-route-plan .nova-direct-buy span { font-size: 14px; font-weight: 700; }
.nova-route-plan .nova-direct-buy small { padding-left: 10px; border-left: 1px solid rgba(255,255,255,.32); font-size: 10px; font-weight: 550; opacity: .88; }
.nova-route-plan .nova-buy-status { min-height: 13px; margin: -5px 0 0; color: var(--nova-muted); font-size: 11px; line-height: 1.3; text-align: center; }
.nova-route-plan .nova-buy-status[data-state="error"] { color: var(--nova-danger); }
.nova-route-plan .nova-buy-status[data-state="success"] { color: var(--nova-success); }

/* Nodes */
.nova-route-node .n-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  overflow: visible;
  background: transparent !important;
  border: 0 !important;
}
.nova-route-node .n-list::before { display: none !important; }
.nova-route-node .n-list__header { display: none; }
.nova-route-node .n-list-item {
  min-width: 0;
  min-height: 154px;
  padding: 0 !important;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--nova-line) !important;
  border-radius: var(--nova-radius-card);
  box-shadow: 0 9px 24px rgba(38, 65, 103, .045);
  transition: border-color .22s ease, box-shadow .22s ease, transform .22s ease;
}
.nova-route-node .n-list-item:hover { background: #fff !important; border-color: #c5d6eb !important; box-shadow: 0 16px 34px rgba(38, 65, 103, .085); transform: translateY(-2px); }
.nova-route-node .n-list-item__main { width: 100%; }
.nova-route-node .n-list-item__main > .flex {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto auto 1fr;
  gap: 0 14px;
  min-height: 152px;
  padding: 20px 20px 17px;
}
.nova-route-node .n-list-item__main > .flex > .flex-\[1\] {
  grid-column: 1;
  grid-row: 1;
  color: var(--nova-ink);
  font-size: 16px;
  font-weight: 680;
  line-height: 1.35;
  letter-spacing: -.015em;
}
.nova-route-node .n-list-item__main > .flex > .flex-\[2\] { display: contents !important; }
.nova-route-node .n-list-item__main > .flex > .flex-\[2\] > div:first-child {
  grid-column: 2;
  grid-row: 1;
  display: inline-flex !important;
  align-items: center;
  align-self: start;
  gap: 6px;
  min-height: 24px;
  padding: 0 9px;
  color: #237a64;
  background: #edf8f3;
  border: 1px solid #c8eadc;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 650;
}
.nova-route-node .n-list-item__main > .flex > .flex-\[2\] > div:first-child:has(.bg-blue-500)::after { content: "在线"; }
.nova-route-node .n-list-item__main > .flex > .flex-\[2\] > div:first-child:has(.bg-red-500)::after { content: "离线"; }
.nova-route-node .n-list-item__main > .flex > .flex-\[2\] > div:first-child:has(.bg-gray-500)::after { content: "维护中"; }
.nova-route-node .n-list-item__main > .flex > .flex-\[2\] > div:first-child:has(.bg-red-500) { color: #b84c57; background: #fff1f2; border-color: #f2ccd0; }
.nova-route-node .n-list-item__main > .flex > .flex-\[2\] > div:first-child:has(.bg-gray-500) { color: #68758a; background: #f5f7fa; border-color: #dce2ea; }
.nova-route-node .n-list-item__main .rounded-full { width: 6px !important; height: 6px !important; }
.nova-route-node .n-list-item__main .bg-blue-500 { background: #35b68a !important; box-shadow: 0 0 0 3px rgba(53,182,138,.12); }
.nova-route-node .n-list-item__main .bg-red-500 { background: #d85d68 !important; box-shadow: 0 0 0 3px rgba(216,93,104,.11); }
.nova-route-node .n-list-item__main .bg-gray-500 { background: #8793a5 !important; box-shadow: 0 0 0 3px rgba(135,147,165,.12); }
.nova-route-node .n-list-item__main > .flex > .flex-\[2\] > div:nth-child(2) {
  grid-column: 1 / -1;
  grid-row: 2;
  margin-top: 24px;
  color: #7587a2;
  font: 650 11px/1.2 ui-monospace, "Cascadia Mono", monospace;
  letter-spacing: .035em;
  text-align: left;
}
.nova-route-node .n-list-item__main > .flex > .flex-\[2\] > div:nth-child(2)::before { content: "倍率 · "; }
.nova-route-node .n-list-item__main > .flex > .flex-\[2\] > div:nth-child(2) .n-tag { display: inline-flex; height: auto !important; padding: 0 !important; background: transparent !important; border: 0 !important; }
.nova-route-node .n-list-item__main > .flex > .flex-\[2\] > div:nth-child(2) .n-tag__border { display: none; }
.nova-route-node .n-list-item__main > .flex > .flex-\[2\] > div:last-child { grid-column: 1 / -1; grid-row: 3; align-self: end; margin-top: 14px; text-align: left; }
.nova-route-node .n-list-item__main > .flex > .flex-\[2\] > div:last-child > div { display: flex; flex-wrap: wrap; gap: 5px; }
.nova-route-node .n-list-item__main > .flex > .flex-\[2\] > div:last-child .n-tag { height: 22px !important; color: #334155 !important; background: #f8faff !important; border-radius: 4px !important; }
.nova-route-node .n-list-item__main > .flex > .flex-\[2\] > div:last-child .n-tag :where(.n-tag__content, span) { color: #334155 !important; }
.nova-route-node .n-list-item__main > .flex > .flex-\[2\] > div:last-child .n-tag__border { border-color: #dfe7f2 !important; }
.nova-route-node .n-list-item__divider { display: none; }

/* Profile: semantic classes are assigned without moving interactive nodes. */
.nova-route-profile article > section > section { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; align-content: start; }
.nova-route-profile .nova-page-heading { grid-column: 1 / -1; }
.nova-route-profile article > section > section > :not(.nova-page-heading) { min-width: 0; }
.nova-route-profile .n-card { margin-top: 0 !important; }
.nova-route-profile .nova-profile-main { grid-row: span 2; }
.nova-route-profile .nova-profile-danger .n-button { color: #fff !important; }

/* Invite: reference-led layout using the original live components and events. */
.nova-route-invite article > section > section { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-content: start; }
.nova-route-invite .nova-page-heading { grid-column: 1 / -1; margin-bottom: 8px; }
.nova-route-invite .nova-invite-balance { grid-column: 3; grid-row: 2 / span 2; min-height: 100%; margin-top: 0 !important; overflow: hidden; border-top: 3px solid var(--nova-blue) !important; }
.nova-route-invite .nova-invite-balance .n-card-header__main { color: transparent; font-size: 0; }
.nova-route-invite .nova-invite-balance .n-card-header__main::after { content: "AVAILABLE"; color: #7487a3; font-size: 10px; font-weight: 750; letter-spacing: .12em; }
.nova-route-invite .nova-invite-balance .n-card-header__extra { color: #b4c2d4; }
.nova-route-invite .nova-invite-balance .n-card__content > div:first-child { margin-top: 4px; }
.nova-route-invite .nova-invite-balance .text-5xl { color: var(--nova-ink) !important; font-family: Georgia, "Times New Roman", serif; font-size: 32px !important; font-variant-numeric: tabular-nums; }
.nova-route-invite .nova-invite-balance .text-gray-500 { color: var(--nova-muted) !important; font-size: 12px; }
.nova-route-invite .nova-invite-balance .n-space { display: flex !important; flex-wrap: nowrap !important; gap: 8px !important; margin-top: 20px !important; }
.nova-route-invite .nova-invite-balance .n-space > :where(.n-space-item, .n-button) { flex: 0 0 auto; min-width: 0; }
.nova-route-invite .nova-invite-balance .n-space > .n-space-item > .n-button,
.nova-route-invite .nova-invite-balance .n-space > .n-button { width: auto; min-height: 34px; padding-inline: 8px !important; white-space: nowrap; }
.nova-route-invite .nova-invite-metrics,
.nova-route-invite .nova-invite-metrics > .n-card__content { display: contents; }
.nova-route-invite .nova-invite-metrics > .n-card__content > div { position: relative; display: flex !important; min-height: 112px; flex-direction: column; justify-content: center !important; gap: 8px; padding: 22px 20px !important; background: #fff; border: 1px solid var(--nova-line-soft); border-radius: var(--nova-radius-card); box-shadow: var(--nova-shadow-card); }
.nova-route-invite .nova-invite-metrics > .n-card__content > div::before { content: ""; position: absolute; top: -1px; left: 20px; width: 42px; height: 3px; background: var(--nova-blue); }
.nova-route-invite .nova-invite-metrics > .n-card__content > div > div:first-child { order: 2; color: var(--nova-muted); font-size: 12px; }
.nova-route-invite .nova-invite-metrics > .n-card__content > div > div:last-child { order: 1; color: var(--nova-ink); font-family: Georgia, "Times New Roman", serif; font-size: 25px; font-variant-numeric: tabular-nums; }
.nova-route-invite .nova-invite-metrics > .n-card__content > div:nth-child(1) { grid-column: 1; grid-row: 2; }
.nova-route-invite .nova-invite-metrics > .n-card__content > div:nth-child(2) { grid-column: 2; grid-row: 2; }
.nova-route-invite .nova-invite-metrics > .n-card__content > div:nth-child(3) { grid-column: 1; grid-row: 3; }
.nova-route-invite .nova-invite-metrics > .n-card__content > div:nth-child(4) { grid-column: 2; grid-row: 3; }
.nova-route-invite .nova-invite-codes,
.nova-route-invite .nova-invite-records { grid-column: 1 / -1; margin-top: 0 !important; }
.nova-route-invite .nova-invite-codes { grid-row: 4; position: static !important; }
.nova-route-invite .nova-invite-records { grid-row: 5; }
.nova-route-invite .nova-invite-codes > .n-card-header > .n-card-header__extra:empty { display: none; }
.nova-route-invite :where(.nova-invite-codes, .nova-invite-records) .n-card-header__main { font-size: 15px; font-weight: 680; }
.nova-route-invite :where(.nova-invite-codes, .nova-invite-records) .n-card__content { padding-top: 4px !important; }
.nova-route-invite :where(.nova-invite-codes, .nova-invite-records) .n-data-table { border-radius: 8px; }
.nova-route-invite .n-card:has(.n-data-table), .nova-route-traffic .n-card:has(.n-data-table) { margin-top: 18px; }
.nova-route-traffic .n-card { overflow: hidden; }

@media (max-width: 1439px) {
  .nova-client-page article > section > section { padding-inline: 28px !important; }
}

@media (max-width: 1023px) {
  .nova-client-page .n-layout-sider { width: 0 !important; min-width: 0 !important; max-width: 0 !important; border-right: 0 !important; }
  .nova-client-page article > header { padding-inline: 22px !important; }
  .nova-client-page article > section > section { padding: 32px 22px 56px !important; }
  .nova-route-profile article > section > section { display: block; }
  .nova-route-profile .n-card { margin-top: 16px !important; }
  .nova-route-dashboard article > section > section > .mb-1 { grid-template-columns: 1fr; }
  .nova-route-dashboard .nova-quick-card { grid-column: 1; grid-row: 1; }
  .nova-route-dashboard .nova-subscription-card { grid-column: 1; grid-row: 2; }
  .nova-route-node .n-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nova-route-invite article > section > section { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nova-route-invite .nova-invite-balance { grid-column: 1 / -1; grid-row: 4; }
  .nova-route-invite .nova-invite-codes { grid-row: 5; }
  .nova-route-invite .nova-invite-records { grid-row: 6; }
}

@media (max-width: 767px) {
  .nova-client-page article > header { height: 64px !important; min-height: 64px; padding-inline: 16px !important; }
  .nova-client-page article > section > section { min-height: calc(100dvh - 64px); padding: 26px 16px 48px !important; }
  .nova-client-page .nova-page-heading { align-items: flex-start; flex-direction: column; margin-bottom: 24px; }
  .nova-client-page .nova-page-title h1 { font-size: 31px; }
  .nova-client-page .nova-page-title p { font-size: 12px; }
  .nova-client-page .n-card-header { padding-inline: 17px !important; }
  .nova-client-page .n-card__content { padding: 18px !important; }
  .nova-client-page .n-data-table { overflow-x: auto; }
  .nova-client-page .n-data-table-wrapper { min-width: 720px; }
  .nova-route-dashboard .nova-quick-card { min-width: 0; }
  .nova-route-dashboard .nova-dashboard-stats { grid-template-columns: 1fr; }
  .nova-notice-heading { padding: 22px 20px 17px; }
  .nova-notice-list { padding-inline: 10px; }
  .nova-notice-item { grid-template-columns: 38px minmax(0, 1fr) 18px; gap: 11px; padding-inline: 10px; }
  .nova-notice-item time { display: none; }
  .nova-route-node .n-list { grid-template-columns: 1fr; }
  .nova-route-invite article > section > section { display: block; }
  .nova-route-invite .nova-invite-balance,
  .nova-route-invite .nova-invite-metrics > .n-card__content > div,
  .nova-route-invite .nova-invite-codes,
  .nova-route-invite .nova-invite-records { margin-top: 14px !important; }
  .nova-route-invite .nova-invite-metrics,
  .nova-route-invite .nova-invite-metrics > .n-card__content { display: block; }
  .nova-route-invite .nova-invite-balance .n-space { gap: 6px !important; }
  .nova-route-invite .nova-invite-balance .n-space > .n-space-item > .n-button,
  .nova-route-invite .nova-invite-balance .n-space > .n-button { padding-inline: 6px !important; font-size: 12px; }
  .nova-route-plan .n-card { min-height: auto; }
  .nova-route-plan .nova-plan-grid { width: 100%; }
}

/* Dark theme: the daytime layout remains the source of truth; only tokens and
   component colors change here. The explicit dark root also works when the
   application places the `dark` class on body instead of html. */
:is(html.dark .nova-client-page, body.dark.nova-client-page, body.dark .nova-client-page, :root.dark .nova-client-page) {
  --nova-ink: #edf4ff;
  --nova-ink-soft: #d3dfef;
  --nova-muted: #9eafc5;
  --nova-faint: #778aa4;
  --nova-blue: #8bbcff;
  --nova-blue-hover: #add0ff;
  --nova-blue-soft: #17345a;
  --nova-blue-action: #347fe8;
  --nova-tech-border: #5da2ff;
  --nova-tech-glow: rgba(50, 139, 255, .24);
  --nova-line: #2a3b54;
  --nova-line-soft: #354a66;
  --nova-paper: #0e1724;
  --nova-surface: #162335;
  --nova-surface-raised: #1b2b40;
  --nova-success: #5bd7a4;
  --nova-success-soft: #153b30;
  --nova-danger: #ff7c96;
  --nova-shadow: 0 18px 42px rgba(0, 0, 0, .34);
  --nova-focus: 0 0 0 3px rgba(139, 188, 255, .28);
  color-scheme: dark;
  color: var(--nova-ink);
  background: var(--nova-paper) !important;
}

:is(html.dark .nova-client-page::before, body.dark.nova-client-page::before, body.dark .nova-client-page::before, :root.dark .nova-client-page::before) {
  background: radial-gradient(circle at 82% 4%, rgba(74, 145, 255, .14), transparent 30rem);
}
:is(html.dark .nova-client-page .n-layout, html.dark .nova-client-page .n-layout-scroll-container, html.dark .nova-client-page .n-layout-content,
    body.dark.nova-client-page .n-layout, body.dark.nova-client-page .n-layout-scroll-container, body.dark.nova-client-page .n-layout-content,
    body.dark .nova-client-page .n-layout, body.dark .nova-client-page .n-layout-scroll-container, body.dark .nova-client-page .n-layout-content,
    :root.dark .nova-client-page .n-layout, :root.dark .nova-client-page .n-layout-scroll-container, :root.dark .nova-client-page .n-layout-content) { background: transparent !important; }

:is(html.dark .nova-client-page, body.dark.nova-client-page, body.dark .nova-client-page, :root.dark .nova-client-page) .n-layout-sider,
:is(html.dark .nova-client-page, body.dark.nova-client-page, body.dark .nova-client-page, :root.dark .nova-client-page) article > header,
:is(html.dark .nova-client-page, body.dark.nova-client-page, body.dark .nova-client-page, :root.dark .nova-client-page) .n-layout-sider .h-15 {
  color: var(--nova-ink) !important;
  background: var(--nova-surface) !important;
  border-color: var(--nova-line) !important;
}
:is(html.dark .nova-client-page, body.dark.nova-client-page, body.dark .nova-client-page, :root.dark .nova-client-page) .side-menu {
  --n-item-text-color: var(--nova-muted) !important;
  --n-item-text-color-hover: var(--nova-ink) !important;
  --n-item-text-color-active: var(--nova-blue) !important;
  --n-item-text-color-active-hover: var(--nova-blue) !important;
  --n-item-icon-color: var(--nova-muted) !important;
  --n-item-icon-color-hover: var(--nova-ink) !important;
  --n-item-icon-color-active: var(--nova-blue) !important;
  --n-item-color-hover: #20334d !important;
  --n-item-color-active: var(--nova-blue-soft) !important;
  --n-item-color-active-hover: var(--nova-blue-soft) !important;
}
:is(html.dark .nova-client-page, body.dark.nova-client-page, body.dark .nova-client-page, :root.dark .nova-client-page) .n-menu-item-group-title { color: var(--nova-faint) !important; }
:is(html.dark .nova-client-page, body.dark.nova-client-page, body.dark .nova-client-page, :root.dark .nova-client-page) .n-menu-item-content--selected :where(.n-menu-item-content-header, .n-menu-item-content__icon, .n-icon) { color: var(--nova-blue) !important; }

:is(html.dark .nova-client-page, body.dark.nova-client-page, body.dark .nova-client-page, :root.dark .nova-client-page) :where(.n-card, .nova-stat-card, .n-list-item) {
  color: var(--nova-ink) !important;
  background: var(--nova-surface) !important;
  border-color: var(--nova-line) !important;
  box-shadow: var(--nova-shadow) !important;
}
:is(html.dark .nova-client-page, body.dark.nova-client-page, body.dark .nova-client-page, :root.dark .nova-client-page) .n-card-header { border-bottom-color: var(--nova-line-soft) !important; }
:is(html.dark .nova-client-page, body.dark.nova-client-page, body.dark .nova-client-page, :root.dark .nova-client-page) :where(.n-card-header__main, .n-card__content, .n-card__action, .nova-stat-card > strong) { color: var(--nova-ink) !important; }
:is(html.dark .nova-client-page, body.dark.nova-client-page, body.dark .nova-client-page, :root.dark .nova-client-page) :where(.n-card-header__extra, .text-muted-foreground, .text-gray-500, .text-gray-400, .text-gray-300) { color: var(--nova-muted) !important; }
:is(html.dark .nova-client-page, body.dark.nova-client-page, body.dark .nova-client-page, :root.dark .nova-client-page) :where(.text-gray-900, .text-gray-800, .text-gray-700, .text-gray-600) { color: var(--nova-ink-soft) !important; }

:is(html.dark .nova-client-page, body.dark.nova-client-page, body.dark .nova-client-page, :root.dark .nova-client-page) :where(.n-input, .n-input-number, .n-base-selection, .n-base-selection-label) {
  --n-color: var(--nova-surface-raised) !important;
  --n-color-focus: var(--nova-surface-raised) !important;
  --n-text-color: var(--nova-ink) !important;
  --n-placeholder-color: var(--nova-faint) !important;
  --n-border: 1px solid var(--nova-line) !important;
  --n-border-hover: 1px solid var(--nova-blue) !important;
  --n-border-focus: 1px solid var(--nova-blue) !important;
  background: var(--nova-surface-raised) !important;
  border-color: var(--nova-line) !important;
}
:is(html.dark .nova-client-page, body.dark.nova-client-page, body.dark .nova-client-page, :root.dark .nova-client-page) :where(.n-input__input-el, .n-input__textarea-el, .n-base-selection-label, .n-base-selection-input__content) { color: var(--nova-ink) !important; }
:is(html.dark .nova-client-page, body.dark.nova-client-page, body.dark .nova-client-page, :root.dark .nova-client-page) .n-button--primary-type {
  color: #f6faff !important;
  background: var(--nova-blue-action) !important;
  border-color: var(--nova-blue-action) !important;
  box-shadow: 0 9px 22px rgba(52, 127, 232, .28) !important;
}
:is(html.dark .nova-client-page, body.dark.nova-client-page, body.dark .nova-client-page, :root.dark .nova-client-page) .n-button--primary-type:hover { background: #4a96f4 !important; border-color: #4a96f4 !important; }
:is(html.dark .nova-client-page, body.dark.nova-client-page, body.dark .nova-client-page, :root.dark .nova-client-page) .n-button:not(.n-button--primary-type):not(.n-button--error-type) {
  color: var(--nova-ink-soft) !important;
  background: var(--nova-surface-raised) !important;
  border-color: var(--nova-line) !important;
}

:is(html.dark .nova-client-page, body.dark.nova-client-page, body.dark .nova-client-page, :root.dark .nova-client-page) .n-data-table,
:is(html.dark .nova-client-page, body.dark.nova-client-page, body.dark .nova-client-page, :root.dark .nova-client-page) .n-data-table-wrapper { background: var(--nova-surface) !important; }
:is(html.dark .nova-client-page, body.dark.nova-client-page, body.dark .nova-client-page, :root.dark .nova-client-page) .n-data-table-th { color: var(--nova-muted) !important; background: var(--nova-surface-raised) !important; border-color: var(--nova-line-soft) !important; }
:is(html.dark .nova-client-page, body.dark.nova-client-page, body.dark .nova-client-page, :root.dark .nova-client-page) .n-data-table-td { color: var(--nova-ink-soft) !important; background: var(--nova-surface) !important; border-color: var(--nova-line-soft) !important; }
:is(html.dark .nova-client-page, body.dark.nova-client-page, body.dark .nova-client-page, :root.dark .nova-client-page) .n-data-table-tr:hover .n-data-table-td { background: var(--nova-surface-raised) !important; }

:is(html.dark .nova-client-page, body.dark.nova-client-page, body.dark .nova-client-page, :root.dark .nova-client-page) .nova-route-dashboard .nova-stat-card > span { color: var(--nova-muted) !important; }
:is(html.dark .nova-client-page, body.dark.nova-client-page, body.dark .nova-client-page, :root.dark .nova-client-page) .nova-quick-start > button { color: var(--nova-ink) !important; border-bottom-color: var(--nova-line) !important; }
:is(html.dark .nova-client-page, body.dark.nova-client-page, body.dark .nova-client-page, :root.dark .nova-client-page) .nova-quick-start > button:hover { background: rgba(75, 143, 230, .16); }
:is(html.dark .nova-client-page, body.dark.nova-client-page, body.dark .nova-client-page, :root.dark .nova-client-page) .nova-quick-start i { background: #203653; border-color: #3a5b82; }
:is(html.dark .nova-client-page, body.dark.nova-client-page, body.dark .nova-client-page, :root.dark .nova-client-page) .nova-quick-start button:nth-child(2) i { color: #b7aaff; background: #302b55; border-color: #51488a; }
:is(html.dark .nova-client-page, body.dark.nova-client-page, body.dark .nova-client-page, :root.dark .nova-client-page) .nova-quick-start button:nth-child(3) i { color: #72ded1; background: #173f43; border-color: #2d716f; }
:is(html.dark .nova-client-page, body.dark.nova-client-page, body.dark .nova-client-page, :root.dark .nova-client-page) .nova-quick-start b { color: var(--nova-muted); }

:is(html.dark .nova-client-page, body.dark.nova-client-page, body.dark .nova-client-page, :root.dark .nova-client-page) :where(.nova-route-plan .nova-plan-facts > span, .nova-route-invite .nova-invite-metrics > .n-card__content > div) { background: var(--nova-surface-raised) !important; border-color: var(--nova-line) !important; }
:is(html.dark .nova-client-page, body.dark.nova-client-page, body.dark .nova-client-page, :root.dark .nova-client-page) :where(.nova-route-plan .nova-direct-purchase select, .nova-route-node .n-list-item__main > .flex > .flex-\[2\] > div:last-child .n-tag, .n-tag) { color: var(--nova-ink-soft) !important; background: var(--nova-surface-raised) !important; border-color: var(--nova-line) !important; }
:is(html.dark .nova-client-page, body.dark.nova-client-page, body.dark .nova-client-page, :root.dark .nova-client-page) .nova-payment-option:not([aria-pressed="true"]) { color: #d6e3f3; background: #18283b !important; border-color: #304864 !important; }
:is(html.dark .nova-client-page, body.dark.nova-client-page, body.dark .nova-client-page, :root.dark .nova-client-page) .nova-payment-option:not([aria-pressed="true"]):hover { color: #eef6ff; background: #203652 !important; border-color: #4c6f99 !important; box-shadow: 0 7px 16px rgba(2, 9, 20, .24); }
:is(html.dark .nova-client-page, body.dark.nova-client-page, body.dark .nova-client-page, :root.dark .nova-client-page) .nova-route-node .n-list-item__main > .flex > .flex-\[2\] > div:first-child { color: #b9d8ff !important; background: #203b61 !important; border-color: #3d6594 !important; }
:is(html.dark .nova-client-page, body.dark.nova-client-page, body.dark .nova-client-page, :root.dark .nova-client-page) .nova-route-node .n-list-item__main > .flex > .flex-\[2\] > div:first-child:has(.bg-red-500) { color: #ff9aad !important; background: #512d3a !important; border-color: #8c4c5b !important; }
:is(html.dark .nova-client-page, body.dark.nova-client-page, body.dark .nova-client-page, :root.dark .nova-client-page) .nova-route-node .n-list-item__main > .flex > .flex-\[2\] > div:first-child:has(.bg-gray-500) { color: #c0ccdc !important; background: #2d3748 !important; border-color: #52627a !important; }
:is(html.dark .nova-client-page, body.dark.nova-client-page, body.dark .nova-client-page, :root.dark .nova-client-page) .nova-route-node .n-list-item__main > .flex > .flex-\[2\] > div:last-child .n-tag {
  color: #334155 !important;
  background: #f8faff !important;
  border-color: #dfe7f2 !important;
}
:is(html.dark .nova-client-page, body.dark.nova-client-page, body.dark .nova-client-page, :root.dark .nova-client-page) .nova-route-node .n-list-item__main > .flex > .flex-\[2\] > div:last-child .n-tag__border { border-color: #dfe7f2 !important; }
:is(html.dark .nova-client-page, body.dark.nova-client-page, body.dark .nova-client-page, :root.dark .nova-client-page) .nova-route-node .n-list-item__main > .flex > .flex-\[2\] > div:last-child .n-tag__content { color: #334155 !important; }

:is(html.dark .nova-client-page, body.dark.nova-client-page, body.dark .nova-client-page, :root.dark .nova-client-page) :where(.nova-import-panel, .nova-route-plan .n-card, .n-modal, .n-dropdown-menu, .n-base-select-menu) { color: var(--nova-ink); background: var(--nova-surface) !important; border-color: var(--nova-line) !important; }
:is(html.dark .nova-client-page, body.dark.nova-client-page, body.dark .nova-client-page, :root.dark .nova-client-page) .nova-import-overlay { background: rgba(3, 8, 16, .78); }
:is(html.dark .nova-client-page, body.dark.nova-client-page, body.dark .nova-client-page, :root.dark .nova-client-page) .nova-import-close { color: var(--nova-muted); background: var(--nova-surface-raised); border-color: var(--nova-line); }
:is(html.dark .nova-client-page, body.dark.nova-client-page, body.dark .nova-client-page, :root.dark .nova-client-page) .nova-import-close:hover { color: var(--nova-ink); background: #263a54; }
:is(html.dark .nova-client-page, body.dark.nova-client-page, body.dark .nova-client-page, :root.dark .nova-client-page) :where(.nova-import-lead, .nova-import-status) { color: var(--nova-muted); }
:is(html.dark .nova-client-page, body.dark.nova-client-page, body.dark .nova-client-page, :root.dark .nova-client-page) .nova-subscribe-address { background: var(--nova-surface-raised); border-color: var(--nova-line); }
:is(html.dark .nova-client-page, body.dark.nova-client-page, body.dark .nova-client-page, :root.dark .nova-client-page) .nova-subscribe-address input { color: var(--nova-ink-soft); }
:is(html.dark .nova-client-page, body.dark.nova-client-page, body.dark .nova-client-page, :root.dark .nova-client-page) .nova-copy-subscribe { color: var(--nova-blue); background: #203653; border-color: #3b5c86; }
:is(html.dark .nova-client-page, body.dark.nova-client-page, body.dark .nova-client-page, :root.dark .nova-client-page) .nova-qr-wrap { background: #132338; border-color: #3b526f; }
:is(html.dark .nova-client-page, body.dark.nova-client-page, body.dark .nova-client-page, :root.dark .nova-client-page) .nova-qr-wrap img { background: #fff !important; }
:is(html.dark .nova-client-page, body.dark.nova-client-page, body.dark .nova-client-page, :root.dark .nova-client-page) .nova-qr-skeleton { background: linear-gradient(100deg, #26384e 25%, #344b67 42%, #26384e 62%); }
:is(html.dark .nova-client-page, body.dark.nova-client-page, body.dark .nova-client-page, :root.dark .nova-client-page) .nova-import-guide { color: #a9ceff; background: #1b385c; }
:is(html.dark .nova-client-page, body.dark.nova-client-page, body.dark .nova-client-page, :root.dark .nova-client-page) .n-modal-mask { background: rgba(1, 5, 11, .74) !important; }

/* Authentication uses the same dark palette without changing its layout. */
:is(html.dark .nova-auth-page, body.dark.nova-auth-page, body.dark .nova-auth-page, :root.dark .nova-auth-page) {
  --nova-ink: #edf4ff;
  --nova-muted: #9eafc5;
  --nova-blue: #8bbcff;
  --nova-paper: #0e1724;
  --nova-surface: #162335;
  color: var(--nova-ink);
  background: var(--nova-paper);
  color-scheme: dark;
}
:is(html.dark, :root.dark) .nova-theme-toggle { color: #c9d8ea; background: rgba(24,40,59,.92); border-color: #304864; box-shadow: 0 9px 24px rgba(2,8,18,.25); }
:is(html.dark, :root.dark) .nova-theme-toggle:hover { color: #eef6ff; background: #203652; border-color: #4c6f99; }
:is(html.dark .nova-auth-page #app, body.dark.nova-auth-page #app, body.dark .nova-auth-page #app, :root.dark .nova-auth-page #app) { background: var(--nova-surface); }
:is(html.dark .nova-auth-page .nova-auth-scene, body.dark.nova-auth-page .nova-auth-scene, body.dark .nova-auth-page .nova-auth-scene, :root.dark .nova-auth-page .nova-auth-scene) {
  background-color: #0b1421;
  border-right-color: #2a3b54;
  background-image: linear-gradient(rgba(139, 188, 255, .09) 1px, transparent 1px), linear-gradient(90deg, rgba(139, 188, 255, .09) 1px, transparent 1px), radial-gradient(circle at 48% 55%, rgba(74, 145, 255, .16), transparent 38%);
}
:is(html.dark .nova-auth-page, body.dark.nova-auth-page, body.dark .nova-auth-page, :root.dark .nova-auth-page) .nova-auth-brand strong { color: #e8f1ff; }
:is(html.dark .nova-auth-page, body.dark.nova-auth-page, body.dark .nova-auth-page, :root.dark .nova-auth-page) .nova-auth-brand small { color: #8297b2; }
:is(html.dark .nova-auth-page, body.dark.nova-auth-page, body.dark .nova-auth-page, :root.dark .nova-auth-page) .nova-auth-access { color: #8297b2; }
:is(html.dark .nova-auth-page, body.dark.nova-auth-page, body.dark .nova-auth-page, :root.dark .nova-auth-page) .nova-auth-hero > small { color: #65a3ff; }
:is(html.dark .nova-auth-page, body.dark.nova-auth-page, body.dark .nova-auth-page, :root.dark .nova-auth-page) .nova-auth-hero > h1 { color: #e8f1ff; text-shadow: 0 10px 32px rgba(2, 8, 18, .3); }
:is(html.dark .nova-auth-page, body.dark.nova-auth-page, body.dark .nova-auth-page, :root.dark .nova-auth-page) .nova-auth-hero > p { color: #9aacc4; }
:is(html.dark .nova-auth-page, body.dark.nova-auth-page, body.dark .nova-auth-page, :root.dark .nova-auth-page) .nova-auth-clock em { color: #7f96b2; }
:is(html.dark .nova-auth-page, body.dark.nova-auth-page, body.dark .nova-auth-page, :root.dark .nova-auth-page) .nova-clock-digit b { background: #b8cbe2; box-shadow: 0 0 18px rgba(139, 188, 255, .08); }
:is(html.dark .nova-auth-page, body.dark.nova-auth-page, body.dark .nova-auth-page, :root.dark .nova-auth-page) .nova-clock-digit[data-digit="0"] b:nth-child(4),
:is(html.dark .nova-auth-page, body.dark.nova-auth-page, body.dark .nova-auth-page, :root.dark .nova-auth-page) .nova-clock-digit[data-digit="1"] b:not(:nth-child(3)):not(:nth-child(6)),
:is(html.dark .nova-auth-page, body.dark.nova-auth-page, body.dark .nova-auth-page, :root.dark .nova-auth-page) .nova-clock-digit[data-digit="2"] b:nth-child(2),
:is(html.dark .nova-auth-page, body.dark.nova-auth-page, body.dark .nova-auth-page, :root.dark .nova-auth-page) .nova-clock-digit[data-digit="2"] b:nth-child(6),
:is(html.dark .nova-auth-page, body.dark.nova-auth-page, body.dark .nova-auth-page, :root.dark .nova-auth-page) .nova-clock-digit[data-digit="3"] b:nth-child(2),
:is(html.dark .nova-auth-page, body.dark.nova-auth-page, body.dark .nova-auth-page, :root.dark .nova-auth-page) .nova-clock-digit[data-digit="3"] b:nth-child(5),
:is(html.dark .nova-auth-page, body.dark.nova-auth-page, body.dark .nova-auth-page, :root.dark .nova-auth-page) .nova-clock-digit[data-digit="4"] b:nth-child(1),
:is(html.dark .nova-auth-page, body.dark.nova-auth-page, body.dark .nova-auth-page, :root.dark .nova-auth-page) .nova-clock-digit[data-digit="4"] b:nth-child(5),
:is(html.dark .nova-auth-page, body.dark.nova-auth-page, body.dark .nova-auth-page, :root.dark .nova-auth-page) .nova-clock-digit[data-digit="4"] b:nth-child(7),
:is(html.dark .nova-auth-page, body.dark.nova-auth-page, body.dark .nova-auth-page, :root.dark .nova-auth-page) .nova-clock-digit[data-digit="5"] b:nth-child(3),
:is(html.dark .nova-auth-page, body.dark.nova-auth-page, body.dark .nova-auth-page, :root.dark .nova-auth-page) .nova-clock-digit[data-digit="5"] b:nth-child(5),
:is(html.dark .nova-auth-page, body.dark.nova-auth-page, body.dark .nova-auth-page, :root.dark .nova-auth-page) .nova-clock-digit[data-digit="6"] b:nth-child(3),
:is(html.dark .nova-auth-page, body.dark.nova-auth-page, body.dark .nova-auth-page, :root.dark .nova-auth-page) .nova-clock-digit[data-digit="7"] b:not(:nth-child(1)):not(:nth-child(3)):not(:nth-child(6)),
:is(html.dark .nova-auth-page, body.dark.nova-auth-page, body.dark .nova-auth-page, :root.dark .nova-auth-page) .nova-clock-digit[data-digit="9"] b:nth-child(5) { background: #17304f; box-shadow: none; opacity: .78; }
:is(html.dark .nova-auth-page, body.dark.nova-auth-page, body.dark .nova-auth-page, :root.dark .nova-auth-page) .nova-auth-hero footer { color: #8fa2bb; }
:is(html.dark .nova-auth-page, body.dark.nova-auth-page, body.dark .nova-auth-page, :root.dark .nova-auth-page) .nova-auth-hero footer b { color: #9fb4ce; }
:is(html.dark .nova-auth-page .nova-auth-form-heading h1, html.dark .nova-auth-page .nova-auth-form-heading small, body.dark.nova-auth-page .nova-auth-form-heading h1, body.dark.nova-auth-page .nova-auth-form-heading small, body.dark .nova-auth-page .nova-auth-form-heading h1, body.dark .nova-auth-page .nova-auth-form-heading small, :root.dark .nova-auth-page .nova-auth-form-heading h1, :root.dark .nova-auth-page .nova-auth-form-heading small) { color: var(--nova-ink); }
:is(html.dark .nova-auth-page .nova-auth-form-heading p, html.dark .nova-auth-page .nova-auth-form-heading a, body.dark.nova-auth-page .nova-auth-form-heading p, body.dark.nova-auth-page .nova-auth-form-heading a, body.dark .nova-auth-page .nova-auth-form-heading p, body.dark .nova-auth-page .nova-auth-form-heading a, :root.dark .nova-auth-page .nova-auth-form-heading p, :root.dark .nova-auth-page .nova-auth-form-heading a) { color: var(--nova-muted); }
:is(html.dark .nova-auth-page .n-input, body.dark.nova-auth-page .n-input, body.dark .nova-auth-page .n-input, :root.dark .nova-auth-page .n-input) { --n-color: #1b2b40 !important; --n-color-focus: #1b2b40 !important; --n-border: 1px solid #2a3b54 !important; background: #1b2b40 !important; }
:is(html.dark .nova-auth-page .n-input__input-el, body.dark.nova-auth-page .n-input__input-el, body.dark .nova-auth-page .n-input__input-el, :root.dark .nova-auth-page .n-input__input-el) { color: var(--nova-ink) !important; }
:is(html.dark .nova-auth-page, body.dark.nova-auth-page, body.dark .nova-auth-page, :root.dark .nova-auth-page) .nova-auth-card .mt-5[data-nova-label]::before { color: #c7d5e8; }
:is(html.dark .nova-auth-page, body.dark.nova-auth-page, body.dark .nova-auth-page, :root.dark .nova-auth-page) .nova-remember-login { color: #9eafc5; }
:is(html.dark .nova-auth-page, body.dark.nova-auth-page, body.dark .nova-auth-page, :root.dark .nova-auth-page) .nova-remember-login span { background: #1b2b40; border-color: #4a607c; }
:is(html.dark .nova-auth-page, body.dark.nova-auth-page, body.dark .nova-auth-page, :root.dark .nova-auth-page) .nova-auth-card .n-select { --n-color: #1b2b40 !important; --n-color-active: #1b2b40 !important; --n-border: 1px solid #2a3b54 !important; --n-border-hover: 1px solid #5683b8 !important; --n-border-active: 1px solid #8bbcff !important; color: var(--nova-ink) !important; background: #1b2b40 !important; }
:is(html.dark .nova-auth-page, body.dark.nova-auth-page, body.dark .nova-auth-page, :root.dark .nova-auth-page) .nova-auth-card .n-input-group > .n-select .n-base-selection { --n-color: #263950 !important; --n-color-active: #263950 !important; --n-border: 1px solid #2a3b54 !important; --n-border-hover: 1px solid #5683b8 !important; --n-border-focus: 1px solid #8bbcff !important; --n-border-active: 1px solid #8bbcff !important; --n-text-color: #edf4ff !important; --n-arrow-color: #91a5be !important; background: #263950 !important; }
:is(html.dark .nova-auth-page, body.dark.nova-auth-page, body.dark .nova-auth-page, :root.dark .nova-auth-page) .nova-auth-card .n-input-group > .n-select .n-base-selection-input__content { color: #edf4ff !important; }

@media (prefers-reduced-motion: reduce) {
  .nova-client-page *, .nova-client-page *::before, .nova-client-page *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
