/* 首页产品场景 07 · 设置 / 成员与额度
 * 复用首页真实 Electron 外壳，只保留 SettingsSpace 当前成员额度主链路。
 */

#org .tt-product-demo--org-current {
  --tt-accent: #397bd6;
  --tt-ink: #25292f;
  --tt-muted: #747b84;
  --tt-faint: #a0a6ad;
  --tt-line: rgba(49, 62, 79, 0.065);
  --tt-sidebar: #f6f7f9;
  --tt-text-micro: 0.58cqw;
  --tt-text-caption: 0.66cqw;
  --tt-text-meta: 0.74cqw;
  --tt-text-body: 0.82cqw;
  --tt-text-message: 0.88cqw;
  --tt-text-primary: 0.94cqw;
  --tt-text-subtitle: 1.05cqw;
  min-height: 0;
  container-type: inline-size;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-align: left;
  user-select: none;
}

#org .tt-product-demo--org-current *,
#org .tt-product-demo--org-current *::before,
#org .tt-product-demo--org-current *::after {
  box-sizing: border-box;
}

#org .feat__media--shot:has(.tt-product-demo--org-current) {
  background:
    radial-gradient(circle at 11% 4%, rgba(214, 230, 250, 0.94), transparent 38%),
    radial-gradient(circle at 88% 92%, rgba(244, 225, 204, 0.68), transparent 37%),
    linear-gradient(124deg, #eef4fb 0%, #f6f3ef 58%, #f5f7fa 100%);
}

#org .feat__media--shot:has(.tt-product-demo--org-current) .feat__media-art {
  opacity: 0;
}

#org .feat__media-product:has(> .tt-product-demo--org-current) {
  width: min(92%, 1180px);
  aspect-ratio: 1.74;
  border: 0;
  border-radius: 1.25cqw;
  box-shadow:
    0 0.18cqw 0.7cqw rgba(45, 58, 77, 0.06),
    0 2.15cqw 5.8cqw rgba(45, 58, 77, 0.15);
}

#org .tt-product-demo--org-current .electron-showcase__topbar {
  height: auto;
  border-bottom: 0;
  background: linear-gradient(102deg, #e9f0fb, #f5f6f8 68%);
  backdrop-filter: none;
}

#org .tt-product-demo--org-current .electron-showcase__topbar svg,
#org .tt-product-demo--org-current .electron-showcase__rail svg,
#org .tt-product-demo--org-current .tt-organization-settings svg {
  display: block;
  max-width: none;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

#org .tt-product-demo--org-current .electron-showcase__status-indicator > i {
  display: block;
}

#org .tt-product-demo--org-current .tt-org-current-body {
  grid-template-columns: 3rem minmax(0, 1fr);
  height: auto;
  min-height: 0;
  background: #fff;
}

#org .tt-product-demo--org-current .electron-showcase__rail {
  width: auto;
  border-right: 0;
  background: #f7f9fc;
}

#org .tt-product-demo--org-current .electron-showcase__org-mark.is-active {
  box-shadow: 0 0 0 0.22rem rgba(57, 123, 214, 0.11);
}

#org .tt-product-demo--org-current .electron-showcase__rail-items svg {
  width: 1.15em;
  height: 1.15em;
  fill: currentColor;
  stroke: none;
}

#org .tt-product-demo--org-current .tt-rail-bottom {
  display: contents;
}

#org .tt-product-demo--org-current .tt-org-user-profile {
  width: 2rem;
  height: 2rem;
  margin-top: auto;
  border-radius: 50%;
  background: #8fd147;
  color: #fff;
}

#org .tt-product-demo--org-current .tt-organization-settings {
  grid-template-columns: 15.8cqw minmax(0, 1fr);
  border: 0;
}

#org .tt-product-demo--org-current .tt-org-settings-sidebar {
  padding: 0.86cqw 0.58cqw;
  border: 0;
  background: #f6f7f9;
}

#org .tt-product-demo--org-current .tt-org-settings-sidebar__organization {
  padding: 0.16cqw 0.52cqw 0.65cqw;
  color: #343a42;
  font-size: 0.78cqw;
}

#org .tt-product-demo--org-current .tt-org-settings-nav {
  gap: 0.68cqw;
}

#org .tt-product-demo--org-current .tt-org-settings-nav__group {
  gap: 0.05cqw;
}

#org .tt-product-demo--org-current .tt-org-settings-nav__title {
  height: 1.42cqw;
  padding-inline: 0.5cqw;
  color: #9298a0;
  font-size: 0.62cqw;
  line-height: 1.42cqw;
}

#org .tt-product-demo--org-current .tt-org-settings-nav__item {
  height: 1.78cqw;
  gap: 0.5cqw;
  padding-inline: 0.48cqw;
  border-radius: 0.45cqw;
  color: #626a74;
  font-size: 0.7cqw;
}

#org .tt-product-demo--org-current .tt-org-settings-nav__item svg {
  width: 0.88cqw;
  height: 0.88cqw;
  color: #9aa1aa;
}

#org .tt-product-demo--org-current .tt-org-settings-nav__item.is-active {
  background: #e7eef9;
  color: #315f9e;
  box-shadow: none;
}

#org .tt-product-demo--org-current .tt-org-settings-nav__item.is-active svg {
  color: #397bd6;
}

#org .tt-product-demo--org-current .tt-org-settings-content {
  background: #fff;
}

#org .tt-product-demo--org-current .tt-org-settings-page-header {
  height: 4.45cqw;
  gap: 0.68cqw;
  padding: 0 1.65cqw;
  border: 0;
}

#org .tt-product-demo--org-current .tt-org-settings-page-header__icon {
  width: 2.1cqw;
  height: 2.1cqw;
  border-radius: 0.58cqw;
  background: #eaf2fd;
  color: #397bd6;
}

#org .tt-product-demo--org-current .tt-org-settings-page-header__icon svg {
  width: 1.08cqw;
  height: 1.08cqw;
}

#org .tt-product-demo--org-current .tt-org-settings-page-header h4 {
  color: #292f36;
  font-size: 0.96cqw;
}

#org .tt-product-demo--org-current .tt-org-settings-page-header p {
  margin-top: 0.14cqw;
  color: #9299a2;
  font-size: 0.65cqw;
}

#org .tt-product-demo--org-current .tt-org-settings-scroll {
  height: calc(100% - 4.45cqw);
  padding: 0.35cqw 1.65cqw 0.8cqw;
}

#org .tt-product-demo--org-current .tt-org-budget-card {
  border: 0;
  border-radius: 0.72cqw;
  background: #f6f7f9;
}

#org .tt-product-demo--org-current .tt-org-budget-card__header {
  height: 2.25cqw;
  padding-inline: 0.9cqw;
  color: #535b65;
  font-size: 0.68cqw;
  font-weight: 600;
}

#org .tt-product-demo--org-current .tt-org-budget-card__edit,
#org .tt-product-demo--org-current .tt-org-members-invite {
  color: #397bd6;
}

#org .tt-product-demo--org-current .tt-org-budget-row {
  min-height: 2.55cqw;
  margin-inline: 0.9cqw;
  border-top-color: rgba(49, 62, 79, 0.05);
}

#org .tt-product-demo--org-current .tt-org-budget-row strong,
#org .tt-product-demo--org-current .tt-org-member-main strong,
#org .tt-product-demo--org-current .tt-org-member-usage strong {
  color: #343a42;
  font-size: 0.7cqw;
}

#org .tt-product-demo--org-current .tt-org-budget-row p,
#org .tt-product-demo--org-current .tt-org-member-main p,
#org .tt-product-demo--org-current .tt-org-member-usage span {
  color: #999fa7;
  font-size: 0.59cqw;
}

#org .tt-product-demo--org-current .tt-org-budget-row__value {
  color: #4c545e;
  font-size: 0.7cqw;
}

#org .tt-product-demo--org-current .tt-org-members {
  margin-top: 0.72cqw;
}

#org .tt-product-demo--org-current .tt-org-members-heading {
  height: 1.72cqw;
  font-size: 0.72cqw;
}

#org .tt-product-demo--org-current .tt-org-members-filters {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 5.2cqw 8.7cqw;
  gap: 0.65cqw;
  height: 2.18cqw;
  padding-inline: 0.58cqw;
}

#org .tt-product-demo--org-current .tt-org-member-search {
  width: min(15cqw, 100%);
  height: 1.7cqw;
  padding-inline: 0.55cqw;
  border-radius: 0.42cqw;
  background: #f5f6f8;
  font-size: 0.62cqw;
}

#org .tt-product-demo--org-current .tt-org-member-column-label {
  align-self: center;
  color: #a0a6ad;
  font-size: 0.58cqw;
  white-space: nowrap;
}

#org .tt-product-demo--org-current .tt-org-member-column-label:last-child {
  text-align: right;
}

#org .tt-product-demo--org-current .tt-org-member-row {
  display: grid;
  grid-template-columns: 1.8cqw minmax(0, 1fr) 5.2cqw 8.7cqw;
  align-items: center;
  gap: 0.65cqw;
  min-height: 3.35cqw;
  padding: 0 0.58cqw;
  border: 0;
  border-radius: 0.55cqw;
}

#org .tt-product-demo--org-current .tt-org-member-row + .tt-org-member-row {
  margin-top: 0.1cqw;
}

#org .tt-product-demo--org-current .tt-org-member-row.is-active {
  background: #edf4fd;
}

#org .tt-product-demo--org-current .tt-org-member-avatar {
  display: grid;
  width: 1.72cqw;
  height: 1.72cqw;
  place-items: center;
  border-radius: 50%;
  background: #e9edf2;
  color: #68727d;
  font-size: 0.62cqw;
  font-weight: 650;
}

#org .tt-product-demo--org-current .tt-org-member-avatar.is-owner {
  background: #f3e5d5;
  color: #8c694a;
}

#org .tt-product-demo--org-current .tt-org-member-main {
  overflow: hidden;
}

#org .tt-product-demo--org-current .tt-org-member-main p {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

#org .tt-product-demo--org-current .tt-org-role {
  justify-self: start;
  padding: 0.16cqw 0.48cqw;
  border-radius: 999px;
  background: #f0f2f5;
  color: #68717b;
  font-size: 0.58cqw;
}

#org .tt-product-demo--org-current .tt-org-role.is-owner {
  background: #f7eee4;
  color: #956b45;
}

#org .tt-product-demo--org-current .tt-org-member-usage {
  margin: 0;
  padding: 0;
}

#org .tt-product-demo--org-current .tt-org-member-inline-action {
  color: #397bd6;
  font-weight: 550;
}

@media (prefers-reduced-motion: no-preference) {
  .feat__media .tt-product-demo--org-current [data-demo-node],
  .feat__media .tt-product-demo--org-current [data-demo-result] {
    opacity: 0;
    transform: translate3d(0, 0.35cqw, 0);
  }

  .feat__media.is-demo-active .tt-product-demo--org-current [data-demo-node],
  .feat__media.is-demo-active .tt-product-demo--org-current [data-demo-result] {
    animation: tt-org-current-reveal 520ms cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  }

  .feat__media.is-demo-active .tt-product-demo--org-current [data-settings-region="member-list"] {
    animation-delay: 130ms;
  }

  .feat__media.is-demo-active .tt-product-demo--org-current [data-demo-result] {
    animation-delay: 260ms;
  }
}

@keyframes tt-org-current-reveal {
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 760px) {
  #org .tt-product-demo--org-current .tt-organization-settings {
    grid-template-columns: 12.5cqw minmax(0, 1fr);
  }

  #org .tt-product-demo--org-current .tt-org-settings-nav__group:nth-child(n + 2) {
    display: none;
  }

  #org .tt-product-demo--org-current .tt-org-settings-scroll {
    padding-inline: 1cqw;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tt-product-demo--org-current [data-demo-node],
  .tt-product-demo--org-current [data-demo-result] {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
}
