
/* Force the cached upstream header bundle onto the final cache-busting brand asset. */
header img[data-nebula-brand-logo="true"] {
  width: 32px !important;
  height: 32px !important;
  flex: 0 0 32px !important;
  border-radius: 8px !important;
  object-fit: cover !important;
}
/* Compact InfX GPU marketplace, inspired by dense hardware catalog layouts. */
body.nebula-console-page,
body.nebula-console-page #main-container {
  background: #f5f7fa !important;
  color: #20293a;
}

body.nebula-console-page header {
  border-bottom: 1px solid #e2e6ed !important;
  background: #fff !important;
  box-shadow: none !important;
}

body.nebula-console-page .v-card {
  border: 1px solid #e0e5ed !important;
  border-radius: 8px !important;
  box-shadow: 0 2px 8px rgba(28, 40, 63, 0.035) !important;
}

body.nebula-console-page .v-btn {
  border-radius: 6px !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

body.nebula-console-page h1 {
  color: #172033;
  font-size: 22px !important;
  letter-spacing: 0 !important;
}

body.nebula-store-page,
body.nebula-store-page #main-container {
  background: #f5f7fa;
}

/* Never expose a newly inserted native card before it receives the final catalog UI. */
body.nebula-store-page .type-area .v-card:not(.nebula-resource-card) {
  visibility: hidden !important;
}

body.nebula-store-page .type-area {
  width: min(1200px, calc(100% - 32px));
  margin-inline: auto;
  padding-top: 18px !important;
}

body.nebula-store-page .nebula-mode-bar {
  width: fit-content !important;
  min-width: 0;
  margin: 0 0 12px !important;
  padding: 3px;
  gap: 3px;
  border: 1px solid #d9dee8;
  border-radius: 4px !important;
  box-shadow: none !important;
}

body.nebula-store-page .nebula-mode-bar.nebula-single-mode-bar {
  display: none !important;
}

body.nebula-store-page .nebula-mode-bar .v-btn {
  flex: 0 0 auto !important;
  min-width: 86px !important;
  min-height: 32px !important;
  height: 32px !important;
  padding-inline: 14px !important;
  border-radius: 3px !important;
  font-size: 13px !important;
}

body.nebula-store-page .nebula-market-filter {
  width: 100%;
  margin: 0 0 5px;
  padding: 11px 14px;
  border: 1px solid #d7dce5;
  border-radius: 4px;
  background: #fff;
  color: #333b4f;
}

body.nebula-store-page .nebula-market-filter__row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

body.nebula-store-page .nebula-market-filter__label {
  flex: 0 0 72px;
  padding-top: 5px;
  color: #60697a;
  font-size: 13px;
  line-height: 22px;
}

body.nebula-store-page .nebula-market-filter__options {
  display: flex;
  flex: 1;
  flex-wrap: wrap;
  gap: 7px;
}

body.nebula-store-page .nebula-market-filter__option {
  min-height: 30px;
  padding: 4px 11px;
  border: 1px solid #d5dae4;
  border-radius: 3px;
  background: #fff;
  color: #3e4658;
  font-size: 12px;
  line-height: 20px;
  cursor: pointer;
}

body.nebula-store-page .nebula-market-filter__option:hover {
  border-color: #6d8cff;
  color: #315be8;
}

body.nebula-store-page .nebula-market-filter__option.is-active {
  border-color: #315efb;
  background: #eef3ff;
  color: #2452ea;
  font-weight: 600;
}

body.nebula-store-page .nebula-market-filter__option.is-unavailable {
  border-color: #e0e3e8;
  background: #f3f4f6;
  color: #9aa1ad;
}

body.nebula-store-page
  .nebula-market-filter__option.is-unavailable.is-active {
  border-color: #9da8bd;
  background: #eceff3;
  color: #727b8b;
}

body.nebula-store-page .nebula-region-row {
  display: none !important;
}

body.nebula-store-page .nebula-resource-card {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  overflow: hidden;
  border: 1px solid #d8dde6 !important;
  border-radius: 4px !important;
  box-shadow: none !important;
}

body.nebula-store-page .nebula-resource-list {
  gap: 3px !important;
}

body.nebula-store-page .nebula-resource-card.is-unavailable {
  border-color: #e2e4e8 !important;
  background: #f5f6f7 !important;
  color: #9097a3 !important;
  filter: saturate(0.2);
}

body.nebula-store-page .nebula-resource-card.is-unavailable .nebula-card-header,
body.nebula-store-page .nebula-resource-card.is-unavailable .nebula-card-body {
  background: #f1f2f3 !important;
}

body.nebula-store-page .nebula-resource-card.nebula-card-filtered {
  display: none !important;
}

body.nebula-store-page .nebula-card-header {
  min-height: 48px !important;
  height: auto !important;
  padding: 8px 18px !important;
  align-items: center !important;
  background: #f1f2f4 !important;
}

body.nebula-store-page .nebula-card-header h1 {
  font-size: 18px !important;
  font-weight: 500 !important;
  line-height: 28px !important;
  letter-spacing: 0 !important;
}

body.nebula-store-page .nebula-stock-badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  margin-left: auto;
  padding: 2px 9px;
  border-radius: 999px;
  background: #eaf8ef;
  color: #18864b;
  font-size: 12px;
  font-weight: 600;
}

body.nebula-store-page .nebula-stock-badge.is-unavailable {
  background: #e2e4e8;
  color: #858c98;
}

body.nebula-store-page .nebula-price-source {
  display: none !important;
}

body.nebula-store-page .nebula-card-body {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 196px;
  align-items: stretch !important;
  gap: 8px !important;
  padding: 6px 14px !important;
}

body.nebula-store-page .nebula-card-specs {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  align-self: center !important;
  gap: 2px 14px !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.nebula-store-page .nebula-card-specs > div {
  min-height: 28px !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.nebula-store-page .nebula-generated-spec {
  display: flex;
  align-items: center;
  min-width: 0;
  color: #2f3748;
  font-size: 12px;
}

body.nebula-store-page .nebula-generated-spec__label {
  flex: 0 0 68px;
  color: #6a7282;
  font-weight: 500;
  white-space: nowrap;
}

body.nebula-store-page .nebula-generated-spec__value {
  min-width: 0;
  overflow: hidden;
  color: #2f3748;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.nebula-store-page
  .nebula-resource-card.is-unavailable
  .nebula-generated-spec__value {
  color: #8d94a0;
}

body.nebula-store-page .nebula-card-specs span,
body.nebula-store-page .nebula-card-specs .v-field,
body.nebula-store-page .nebula-card-specs .v-select {
  font-size: 12px !important;
}

body.nebula-store-page .nebula-card-specs .align-just {
  min-width: 68px !important;
  color: #6a7282;
  font-weight: 500 !important;
  text-align: left !important;
  text-align-last: left !important;
}

body.nebula-store-page .nebula-card-specs .v-field,
body.nebula-store-page .nebula-card-specs .v-field__input {
  min-height: 30px !important;
  height: 30px !important;
}

body.nebula-store-page .nebula-card-specs .v-field__input {
  padding-top: 3px !important;
  padding-bottom: 3px !important;
}

body.nebula-store-page .nebula-card-action {
  min-width: 0 !important;
  margin: 0 !important;
  padding: 1px 0 !important;
  border-left: 1px solid #e3e6ec;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  gap: 7px;
}

body.nebula-store-page .nebula-price-copy {
  width: 100% !important;
  margin: 0 !important;
  padding-left: 10px;
  line-height: 1;
}

body.nebula-store-page .nebula-price-copy .text-price_text {
  color: #f04438 !important;
  font-size: 22px !important;
  font-weight: 700;
}

body.nebula-store-page .nebula-price-copy::after {
  content: " 当前租期";
  margin-left: 4px;
  color: #8b93a3;
  font-size: 11px;
  font-weight: 400;
}

body.nebula-store-page .nebula-card-action > div:last-child {
  width: 100% !important;
  margin: 0 !important;
  padding-left: 10px;
  gap: 7px !important;
}

body.nebula-store-page .nebula-card-action .v-btn {
  flex: 0 1 auto !important;
  min-width: 96px !important;
  min-height: 32px !important;
  height: 32px !important;
  padding-inline: 13px !important;
  border-radius: 3px !important;
  font-size: 12px !important;
}

@media (max-width: 900px) {
  body.nebula-store-page .type-area {
    width: min(100% - 20px, 1200px);
  }

  body.nebula-store-page .nebula-card-body {
    grid-template-columns: 1fr;
  }

  body.nebula-store-page .nebula-card-specs {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  body.nebula-store-page .nebula-card-action {
    border-top: 1px solid #e3e6ec;
    border-left: 0;
    padding-top: 8px !important;
  }

  body.nebula-store-page .nebula-price-copy,
  body.nebula-store-page .nebula-card-action > div:last-child {
    padding-left: 0;
  }
}

@media (max-width: 560px) {
  body.nebula-store-page .nebula-market-filter__row {
    display: block;
  }

  body.nebula-store-page .nebula-market-filter__label {
    display: block;
    margin-bottom: 6px;
    padding: 0;
  }

  body.nebula-store-page .nebula-card-specs {
    grid-template-columns: 1fr !important;
  }
}

.nebula-console-workspace-host {
  position: relative !important;
}

.nebula-console-workspace {
  position: absolute;
  z-index: 1000;
  inset: 0;
  min-width: 0;
  min-height: 100%;
  overflow: auto;
  background: #f5f7fa;
  color: #20293a;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}

.nebula-console-workspace__inner {
  width: 100%;
  min-height: 100%;
  padding: 18px 24px 48px;
}

.nebula-console-workspace__breadcrumb {
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 32px;
  margin-bottom: 12px;
  color: #526076;
  font-size: 13px;
}

.nebula-console-workspace__breadcrumb b {
  color: #a4acb9;
  font-weight: 400;
}

.nebula-console-workspace__breadcrumb strong {
  color: #2c3648;
  font-weight: 500;
}

.nebula-console-workspace__card {
  margin-bottom: 18px;
  overflow: hidden;
  border: 1px solid #e0e5ed;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(28, 40, 63, 0.025);
}

.nebula-console-workspace__card-head {
  display: flex;
  min-height: 77px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 17px 20px;
  border-bottom: 1px solid #edf0f4;
}

.nebula-console-workspace__card-head h2,
.nebula-console-workspace__card-head p,
.nebula-console-workspace__section-title h2 {
  margin: 0;
}

.nebula-console-workspace__card-head h2,
.nebula-console-workspace__section-title h2 {
  color: #273247;
  font-size: 16px;
  font-weight: 600;
}

.nebula-console-workspace__card-head p {
  margin-top: 6px;
  color: #818b9c;
  font-size: 12px;
}

.nebula-console-workspace__card-head button,
.nebula-billing-page__balance button {
  min-height: 34px;
  padding: 0 15px;
  border: 1px solid #315efb;
  border-radius: 6px;
  background: #fff;
  color: #315efb;
  font-size: 13px;
  cursor: pointer;
}

.nebula-console-workspace__section-title {
  padding: 19px 20px 13px;
}

.nebula-console-workspace__error {
  min-height: 18px;
  margin: 10px 20px 18px;
  color: #c9362b;
  font-size: 12px;
}

.nebula-account-page__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 3px 20px 21px;
}

.nebula-account-page__field {
  min-width: 0;
  padding: 18px 20px 13px 0;
}

.nebula-account-page__field span,
.nebula-account-page__field strong,
.nebula-account-page__field small {
  display: block;
}

.nebula-account-page__field span {
  color: #8b94a3;
  font-size: 12px;
}

.nebula-account-page__field strong {
  margin: 9px 0 6px;
  overflow: hidden;
  color: #313b4d;
  font-size: 14px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nebula-account-page__field small {
  color: #9ba3b0;
  font-size: 11px;
}

.nebula-account-page__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 0 20px 20px;
}

.nebula-account-page__stats > div {
  padding: 17px 18px;
  border: 1px solid #e5e9ef;
  border-radius: 6px;
  background: #fafbfc;
}

.nebula-account-page__stats span,
.nebula-account-page__stats strong {
  display: block;
}

.nebula-account-page__stats span {
  color: #7c8799;
  font-size: 12px;
}

.nebula-account-page__stats strong {
  margin-top: 9px;
  color: #27354f;
  font-size: 21px;
}

.nebula-account-page__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0 20px 22px;
}

.nebula-account-page__actions button,
.nebula-account-page__actions a {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  padding: 0 17px;
  border: 1px solid #d8dee8;
  border-radius: 6px;
  background: #fff;
  color: #4b586d;
  font-size: 13px;
  text-decoration: none;
  cursor: pointer;
}

.nebula-account-page__actions .is-primary {
  border-color: #315efb;
  background: #315efb;
  color: #fff;
}

.nebula-recharge-page__balance,
.nebula-billing-page__balance {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 20px;
  padding: 18px 20px;
  border: 1px solid #dfe7fa;
  border-radius: 7px;
  background: #f3f6ff;
}

.nebula-recharge-page__balance span,
.nebula-recharge-page__balance small,
.nebula-billing-page__balance span {
  color: #758198;
  font-size: 12px;
}

.nebula-recharge-page__balance strong,
.nebula-billing-page__balance strong {
  color: #244fc9;
  font-size: 27px;
}

.nebula-recharge-page__balance small {
  margin-left: auto;
}

.nebula-recharge-page__content {
  max-width: 820px;
  padding: 4px 20px 28px;
}

.nebula-recharge-page__content h3 {
  margin: 0;
  color: #2f394c;
  font-size: 15px;
}

.nebula-recharge-page__content > p {
  margin: 6px 0 13px;
  color: #8590a2;
  font-size: 12px;
}

.nebula-recharge-page__amounts {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 9px;
}

.nebula-recharge-page__amounts button {
  min-height: 46px;
  border: 1px solid #d8dee8;
  border-radius: 5px;
  background: #fff;
  color: #374258;
  font-size: 14px;
  cursor: pointer;
}

.nebula-recharge-page__amounts button.is-active,
.nebula-recharge-page__amounts button:hover {
  border-color: #315efb;
  background: #f1f5ff;
  color: #244fcf;
}

.nebula-recharge-page__method {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 17px;
  padding: 13px 15px;
  border: 1px solid #e0e5ed;
  border-radius: 6px;
  background: #fafbfc;
  font-size: 13px;
}

.nebula-recharge-page__method span {
  display: flex;
  align-items: center;
  gap: 9px;
}

.nebula-recharge-page__method b {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 5px;
  background: #1677ff;
  color: #fff;
}

.nebula-recharge-page__method em {
  color: #278252;
  font-size: 12px;
  font-style: normal;
}

.nebula-recharge-page__pay {
  min-width: 220px;
  min-height: 40px;
  margin-top: 17px;
  border: 0;
  border-radius: 6px;
  background: #315efb;
  color: #fff;
  font-size: 14px;
  cursor: pointer;
}

.nebula-recharge-page__pay:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.nebula-recharge-page__result {
  margin-top: 13px;
  padding: 15px;
  border: 1px solid #cbdafc;
  border-radius: 7px;
  background: #f6f9ff;
}

.nebula-recharge-page__result p {
  color: #68758b;
  font-size: 12px;
}

.nebula-recharge-page__result a {
  color: #315efb;
  font-size: 12px;
  text-decoration: none;
}

.nebula-billing-page__balance button {
  margin-left: auto;
  border-color: #315efb;
  background: #315efb;
  color: #fff;
}

.nebula-billing-page__section {
  padding: 2px 20px 22px;
}

.nebula-billing-page__section h3 {
  margin: 8px 0 12px;
  color: #303a4c;
  font-size: 14px;
}

.nebula-billing-page__table {
  overflow: auto;
  border: 1px solid #e4e8ef;
  border-radius: 5px;
}

.nebula-billing-page__table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

.nebula-billing-page__table th,
.nebula-billing-page__table td {
  padding: 12px 14px;
  border-bottom: 1px solid #edf0f4;
  text-align: left;
}

.nebula-billing-page__table th {
  background: #f3f5fa;
  color: #536075;
  font-weight: 500;
}

.nebula-billing-page__table td {
  color: #444f63;
}

.nebula-billing-page__table .is-empty {
  height: 110px;
  color: #929aa8;
  text-align: center;
}

/* The sidebar highlight is now driven entirely by Vue's
   .v-list-item--active soft purple ripple; we no longer reset or recolor
   it for the workspace view. */

.nebula-flat-sidebar-group > .v-list-group__items,
.nebula-flat-sidebar-group > .v-list-group__container > .v-list-group__items,
.nebula-flat-sidebar-group .v-list-group__header__append-icon,
.nebula-flat-sidebar-item .v-list-item__append,
.nebula-flat-sidebar-item .mdi-chevron-up,
.nebula-flat-sidebar-item .mdi-chevron-down {
  display: none !important;
}

.nebula-flat-sidebar-item {
  cursor: pointer;
  font-size: 14px !important;
}

.nebula-flat-sidebar-item .v-list-item__content,
.nebula-flat-sidebar-item .v-list-item__title {
  font-size: 14px !important;
}

.v-navigation-drawer .v-list-item.nebula-local-active,
aside .v-list-item.nebula-local-active {
  /* Intentional no-op: the sidebar highlight is driven exclusively by the
     Vue-native .v-list-item--active class so that the soft purple ripple is
     the only highlight a user ever sees, no matter which item is selected. */
}

.v-navigation-drawer .v-list-item.nebula-local-active .v-list-item__title,
.v-navigation-drawer .v-list-item.nebula-local-active .v-icon,
aside .v-list-item.nebula-local-active .v-list-item__title,
aside .v-list-item.nebula-local-active .v-icon {
  color: inherit !important;
}

@media (max-width: 900px) {
  .nebula-console-workspace__inner { padding: 14px 14px 38px; }
  .nebula-account-page__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nebula-recharge-page__amounts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .nebula-account-page__grid,
  .nebula-account-page__stats { grid-template-columns: 1fr; }
  .nebula-recharge-page__balance,
  .nebula-billing-page__balance { align-items: flex-start; flex-direction: column; }
  .nebula-recharge-page__balance small,
  .nebula-billing-page__balance button { margin-left: 0; }
  .nebula-recharge-page__amounts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

body.nebula-account-drawer-open {
  overflow: hidden !important;
}

.nebula-account-drawer {
  position: fixed;
  z-index: 2200;
  inset: 0;
  pointer-events: none;
}

.nebula-account-drawer.is-open {
  pointer-events: auto;
}

.nebula-account-drawer__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(16, 24, 40, 0);
  cursor: default;
  transition: background 0.2s ease;
}

.nebula-account-drawer.is-open .nebula-account-drawer__backdrop {
  background: rgba(16, 24, 40, 0.28);
}

.nebula-account-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  width: min(390px, 100vw);
  height: 100%;
  flex-direction: column;
  overflow: auto;
  background: #fff;
  box-shadow: -12px 0 34px rgba(15, 23, 42, 0.16);
  transform: translateX(105%);
  transition: transform 0.24s ease;
}

.nebula-account-drawer.is-open .nebula-account-drawer__panel {
  transform: translateX(0);
}

.nebula-account-drawer__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 26px 26px 21px;
  border-bottom: 1px solid #e9edf3;
}

.nebula-account-drawer__header p,
.nebula-account-drawer__header h2 {
  margin: 0;
}

.nebula-account-drawer__header p {
  margin-bottom: 6px;
  color: #315efb;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.nebula-account-drawer__header h2 {
  color: #172033;
  font-size: 20px;
}

.nebula-account-drawer__close {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 4px;
  background: #f5f7fa;
  color: #637087;
  font-size: 23px;
  line-height: 1;
  cursor: pointer;
}

.nebula-account-drawer__body {
  padding: 22px 26px 30px;
}

.nebula-account-drawer__section {
  padding: 16px 17px;
  border: 1px solid #e3e8f0;
  border-radius: 8px;
}

.nebula-account-drawer__section span,
.nebula-account-drawer__section small,
.nebula-account-drawer__balance span,
.nebula-account-drawer__balance small {
  display: block;
}

.nebula-account-drawer__label,
.nebula-account-drawer__section small,
.nebula-account-drawer__balance small {
  color: #7b8698;
  font-size: 12px;
}

.nebula-account-drawer__section strong {
  display: block;
  margin: 8px 0 6px;
  overflow-wrap: anywhere;
  color: #25314a;
  font-size: 14px;
}

.nebula-account-drawer__balance {
  margin-top: 14px;
  padding: 18px 17px;
  border-radius: 8px;
  background: #f1f5ff;
}

.nebula-account-drawer__balance > span {
  color: #6c7890;
  font-size: 12px;
}

.nebula-account-drawer__balance strong {
  display: block;
  margin: 7px 0 8px;
  color: #1e4cc7;
  font-size: 29px;
  letter-spacing: -0.02em;
}

.nebula-account-drawer__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.nebula-account-drawer__stats > div {
  padding: 14px;
  border: 1px solid #e7ebf1;
  border-radius: 8px;
}

.nebula-account-drawer__stats span {
  display: block;
  color: #748096;
  font-size: 12px;
}

.nebula-account-drawer__stats strong {
  display: block;
  margin-top: 8px;
  color: #2d394f;
  font-size: 20px;
}

.nebula-account-drawer__error {
  min-height: 18px;
  margin: 12px 0 0;
  color: #c9362b;
  font-size: 12px;
}

.nebula-account-drawer__actions {
  display: grid;
  gap: 9px;
  margin-top: 17px;
}

.nebula-account-drawer__actions a,
.nebula-account-drawer__actions button {
  display: flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid #d9e0eb;
  border-radius: 6px;
  background: #fff;
  color: #4a576d;
  font-size: 13px;
  text-decoration: none;
  cursor: pointer;
}

.nebula-account-drawer__actions .is-primary {
  border-color: #315efb;
  background: #315efb;
  color: #fff;
  font-weight: 600;
}

.v-overlay-container .nebula-account-menu__header {
  display: grid !important;
  width: 100%;
  min-width: 0;
  grid-template-columns: 60px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
}

.v-overlay-container .nebula-account-menu__identity {
  min-width: 0;
  overflow: hidden;
}

.v-overlay-container .nebula-account-menu__name {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.v-overlay-container .nebula-account-menu__logout {
  min-width: 76px;
  margin-left: 0 !important;
  flex: 0 0 auto;
  white-space: nowrap;
}

body.nebula-recharge-drawer-open {
  overflow: hidden !important;
}

.nebula-recharge-drawer {
  position: fixed;
  z-index: 2250;
  inset: 0;
  pointer-events: none;
}

.nebula-recharge-drawer.is-open {
  pointer-events: auto;
}

.nebula-recharge-drawer__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(16, 24, 40, 0);
  cursor: default;
  transition: background 0.2s ease;
}

.nebula-recharge-drawer.is-open .nebula-recharge-drawer__backdrop {
  background: rgba(16, 24, 40, 0.3);
}

.nebula-recharge-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  width: min(560px, 100vw);
  height: 100%;
  flex-direction: column;
  overflow: auto;
  background: #fff;
  box-shadow: -12px 0 34px rgba(15, 23, 42, 0.17);
  transform: translateX(105%);
  transition: transform 0.24s ease;
}

.nebula-recharge-drawer.is-open .nebula-recharge-drawer__panel {
  transform: translateX(0);
}

.nebula-recharge-drawer__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 26px 28px 22px;
  border-bottom: 1px solid #e8edf4;
}

.nebula-recharge-drawer__header p,
.nebula-recharge-drawer__header h2,
.nebula-recharge-drawer__header span {
  display: block;
  margin: 0;
}

.nebula-recharge-drawer__header p {
  margin-bottom: 6px;
  color: #315efb;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.09em;
}

.nebula-recharge-drawer__header h2 {
  color: #172033;
  font-size: 21px;
}

.nebula-recharge-drawer__header span {
  margin-top: 7px;
  color: #768197;
  font-size: 12px;
}

.nebula-recharge-drawer__close {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 4px;
  background: #f5f7fa;
  color: #637087;
  font-size: 23px;
  line-height: 1;
  cursor: pointer;
}

.nebula-recharge-drawer__body {
  padding: 22px 28px 32px;
}

.nebula-recharge-drawer__wallet {
  padding: 18px 20px;
  border: 1px solid #dfe7fa;
  border-radius: 8px;
  background: #f2f6ff;
}

.nebula-recharge-drawer__wallet span,
.nebula-recharge-drawer__wallet strong,
.nebula-recharge-drawer__wallet small {
  display: block;
}

.nebula-recharge-drawer__wallet span,
.nebula-recharge-drawer__wallet small {
  color: #6d7890;
  font-size: 12px;
}

.nebula-recharge-drawer__wallet strong {
  margin: 7px 0;
  color: #1f4ec8;
  font-size: 30px;
  letter-spacing: -0.02em;
}

.nebula-recharge-drawer__section {
  margin-top: 20px;
}

.nebula-recharge-drawer__section h3 {
  margin: 0;
  color: #28344a;
  font-size: 15px;
}

.nebula-recharge-drawer__section p {
  margin: 6px 0 13px;
  color: #7a8598;
  font-size: 12px;
}

.nebula-recharge-drawer__amounts {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.nebula-recharge-drawer__amounts button {
  min-height: 44px;
  border: 1px solid #d9e0ea;
  border-radius: 5px;
  background: #fff;
  color: #354157;
  font-size: 14px;
  cursor: pointer;
}

.nebula-recharge-drawer__amounts button:hover,
.nebula-recharge-drawer__amounts button.is-active {
  border-color: #315efb;
  background: #f1f5ff;
  color: #244fcf;
}

.nebula-recharge-drawer__method {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
  padding: 13px 15px;
  border: 1px solid #e0e5ed;
  border-radius: 7px;
  background: #fafbfc;
  color: #303b50;
  font-size: 13px;
}

.nebula-recharge-drawer__method span {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 600;
}

.nebula-recharge-drawer__method b {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 5px;
  background: #1677ff;
  color: #fff;
}

.nebula-recharge-drawer__method em {
  color: #278252;
  font-size: 12px;
  font-style: normal;
}

.nebula-recharge-drawer__pay {
  width: 100%;
  min-height: 43px;
  margin-top: 17px;
  border: 0;
  border-radius: 6px;
  background: #315efb;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.nebula-recharge-drawer__pay:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.nebula-recharge-drawer__error {
  min-height: 18px;
  margin: 10px 0 0;
  color: #c9362b;
  font-size: 12px;
}

.nebula-recharge-drawer__result {
  margin-top: 12px;
  padding: 15px;
  border: 1px solid #cbdafc;
  border-radius: 7px;
  background: #f6f9ff;
}

.nebula-recharge-drawer__result p {
  margin: 7px 0;
  color: #68758b;
  font-size: 12px;
}

.nebula-recharge-drawer__result a,
.nebula-recharge-drawer__footer a {
  color: #315efb;
  font-size: 12px;
  text-decoration: none;
}

.nebula-recharge-drawer__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid #edf0f4;
  color: #8992a3;
  font-size: 11px;
}

@media (max-width: 560px) {
  .nebula-recharge-drawer__body,
  .nebula-recharge-drawer__header {
    padding-right: 20px;
    padding-left: 20px;
  }

  .nebula-recharge-drawer__amounts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nebula-recharge-drawer__footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Account, recharge, and billing share one fixed console shell. Keep the
   desktop sidebar visually stable while only the active marker changes. */
@media (min-width: 901px) {
  .nebula-console-sidebar-stable {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateX(0) !important;
    animation: none !important;
    transition: none !important;
  }

  .nebula-console-sidebar-stable .v-list-item,
  .nebula-console-sidebar-stable .v-list-group,
  .nebula-console-sidebar-stable .v-list-group__items,
  .nebula-console-sidebar-stable .v-list-item__overlay {
    animation: none !important;
    transition: none !important;
  }
}

.nebula-console-workspace__panel,
.nebula-console-workspace__inner {
  animation: none !important;
  transition: none !important;
}

/* The sidebar highlight is now driven entirely by Vue's
   .v-list-item--active soft purple ripple. Keep the icons readable in
   every state but stop overwriting the active item's colors. */
body.nebula-console-workspace-open .nebula-console-sidebar-stable
  .v-list-item:not(.nebula-local-active) .v-list-item__prepend,
body.nebula-console-workspace-open .nebula-console-sidebar-stable
  .v-list-item:not(.nebula-local-active) .v-icon,
body.nebula-console-workspace-open .nebula-console-sidebar-stable
  .v-list-item:not(.nebula-local-active) img {
  opacity: 1 !important;
}

/* Stable header account amount: the upstream bundle marks this value white,
   which made it disappear after the header was changed to a white surface. */
header .nebula-header-balance .nebula-header-balance__label {
  color: #758198 !important;
  opacity: 1 !important;
}

header .nebula-header-balance .text-white,
header .nebula-header-balance__amount,
header .nebula-header-balance strong,
header .nebula-header-balance h1,
header .nebula-header-balance h2 {
  color: #244fc9 !important;
  opacity: 1 !important;
  font-variant-numeric: tabular-nums;
}

body.nebula-store-page .nebula-market-filter__resource-row {
  margin: -2px -4px 10px;
  padding: 2px 4px 10px;
  border-bottom: 1px solid #edf0f5;
}

/* Disabled state applied by nebula-cleanup when the disk quota warning is
   visible alongside the "添加数据盘" button. The row already explains the
   limitation in red; the button should not look interactive. */
button.nebula-disk-quota-disabled,
a.nebula-disk-quota-disabled,
.el-button.nebula-disk-quota-disabled {
  background: #f5f7fa !important;
  color: #c0c4cc !important;
  border-color: #e4e7ed !important;
  cursor: not-allowed !important;
  opacity: 0.45 !important;
}

body.nebula-store-page .nebula-market-filter__resource-row .nebula-market-filter__option {
  min-width: 104px;
  font-weight: 650;
}

body.nebula-store-page .nebula-market-filter__option:disabled {
  cursor: not-allowed;
  opacity: .65;
}

.nebula-notification-popover {
  position: fixed;
  z-index: 2600;
  top: 58px;
  right: 18px;
  width: min(340px, calc(100vw - 28px));
  overflow: hidden;
  border: 1px solid #e0e6ef;
  border-radius: 8px;
  background: #fff;
  color: #172033;
  box-shadow: 0 16px 42px rgba(25, 38, 67, .18);
}

.nebula-notification-popover[hidden] { display: none !important; }
.nebula-notification-popover > header {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  border-bottom: 1px solid #edf0f4;
  background: #fff !important;
  box-shadow: none !important;
}
.nebula-notification-popover > header strong { font-size: 14px; }
.nebula-notification-popover > header button {
  border: 0;
  background: transparent;
  color: #7b8597;
  font-size: 22px;
}
.nebula-notification-popover > div { padding: 38px 20px 42px; text-align: center; }
.nebula-notification-popover > div span {
  display: grid;
  width: 40px;
  height: 40px;
  margin: 0 auto 12px;
  place-items: center;
  border-radius: 50%;
  background: #eef3ff;
  color: #315efb;
}
.nebula-notification-popover > div b { display: block; font-size: 14px; }
.nebula-notification-popover > div p { margin: 6px 0 0; color: #8a94a6; font-size: 12px; }

.nebula-support-dock {
  position: fixed;
  z-index: 2150;
  right: 12px;
  bottom: 112px;
  display: grid;
  overflow: hidden;
  border: 1px solid #dce3ee;
  border-radius: 7px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(20, 35, 65, .14);
}
.nebula-support-dock button {
  display: grid;
  width: 62px;
  min-height: 62px;
  place-items: center;
  gap: 2px;
  padding: 7px 4px;
  border: 0;
  border-bottom: 1px solid #edf0f5;
  background: #fff;
  color: #526078;
  cursor: pointer;
}
.nebula-support-dock button:last-child { border-bottom: 0; }
.nebula-support-dock button:hover { background: #f3f6ff; color: #2455dc; }
.nebula-support-dock b { color: #315efb; font-size: 16px; }
.nebula-support-dock span { font-size: 10px; }
.nebula-support-mobile { display: none; }
.nebula-support-panel {
  position: fixed;
  z-index: 2700;
  inset: 0;
  pointer-events: none;
}
.nebula-support-panel.is-open { pointer-events: auto; }
.nebula-support-panel__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(12, 22, 42, 0);
  transition: background .18s ease;
}
.nebula-support-panel.is-open .nebula-support-panel__backdrop { background: rgba(12, 22, 42, .32); }
.nebula-support-panel__sheet {
  position: absolute;
  top: 0;
  right: 0;
  width: min(520px, 100vw);
  height: 100%;
  overflow: auto;
  background: #fff;
  box-shadow: -16px 0 44px rgba(15, 26, 48, .18);
  transform: translateX(104%);
  transition: transform .22s ease;
}
.nebula-support-panel.is-open .nebula-support-panel__sheet { transform: none; }
.nebula-support-panel__sheet > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 24px 26px 20px;
  border-bottom: 1px solid #e7ebf2 !important;
  background: #fff !important;
  box-shadow: none !important;
}
.nebula-support-panel__sheet header p { margin: 0 0 5px; color: #315efb; font-size: 10px; font-weight: 750; letter-spacing: .12em; }
.nebula-support-panel__sheet header h2 { margin: 0; color: #172033; font-size: 21px; }
.nebula-support-panel__sheet header > button {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 5px;
  background: #f3f5f8;
  color: #657187;
  font-size: 22px;
}
.nebula-support-panel__body { padding: 24px 26px 34px; }
.nebula-support-wechat {
  display: grid;
  gap: 9px;
  padding: 24px;
  border: 1px solid #dce5f8;
  border-radius: 8px;
  background: #f5f8ff;
}
.nebula-support-wechat span,
.nebula-support-wechat small { color: #6f7c91; font-size: 12px; }
.nebula-support-wechat strong { color: #173f9c; font-size: 27px; letter-spacing: .02em; }
.nebula-support-wechat button,
.nebula-support-panel form > button {
  min-height: 42px;
  border: 0;
  border-radius: 6px;
  background: #315efb;
  color: #fff;
  font-weight: 650;
  cursor: pointer;
}
.nebula-support-panel form { display: grid; gap: 15px; }
.nebula-support-panel form label { display: grid; gap: 7px; color: #46536a; font-size: 12px; font-weight: 600; }
.nebula-support-panel input,
.nebula-support-panel select,
.nebula-support-panel textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid #d9e0ea;
  border-radius: 6px;
  background: #fff;
  color: #172033;
  font: inherit;
  outline: none;
}
.nebula-support-panel input:focus,
.nebula-support-panel select:focus,
.nebula-support-panel textarea:focus { border-color: #6284ed; box-shadow: 0 0 0 3px rgba(49, 94, 251, .1); }
.nebula-support-panel textarea { resize: vertical; }
.nebula-contact-honeypot { position: absolute !important; left: -9999px !important; }
.nebula-support-panel__status { min-height: 20px; margin: 14px 0 0; color: #415473; font-size: 12px; }

@media (max-width: 760px) {
  .nebula-support-dock { display: none; }
  .nebula-support-mobile {
    position: fixed;
    z-index: 2150;
    right: 14px;
    bottom: 16px;
    display: block;
    min-height: 42px;
    padding: 0 16px;
    border: 0;
    border-radius: 22px;
    background: #315efb;
    color: #fff;
    box-shadow: 0 10px 26px rgba(35, 77, 203, .28);
  }
  .nebula-support-panel__body,
  .nebula-support-panel__sheet > header { padding-right: 20px; padding-left: 20px; }
}
/* Apply before the DOM annotator runs, eliminating the brief white-on-white amount. */
header h1.text-white,
header h2.text-white,
header p.text-white { color:#244fc9!important;opacity:1!important }
