/* 分站开通 / 续费 / 到期页 — 与商城 mall 设计一致
   注意：mall.css 的 .mall-app .cnc-btn:hover 会盖掉浅红底+白字，主按钮需更高优先级 */
.mall-app .tenant-page .cnc-btn.cnc-btn-primary,
.mall-app .tenant-expired-page .cnc-btn.cnc-btn-primary,
.mall-app .mall-member-page .tenant-card .cnc-btn.cnc-btn-primary,
.mall-app .tenant-open-page .cnc-btn.cnc-btn-primary,
.mall-app .tenant-entry-card .cnc-btn.cnc-btn-primary,
.mall-app .tenant-entry-card--page .cnc-btn.cnc-btn-primary,
.mall-app .tenant-success-page .cnc-btn.cnc-btn-primary {
  background: var(--mall-orange, var(--theme-brand));
  color: #fff;
  border-color: var(--mall-orange, var(--theme-brand));
}

.mall-app .tenant-page .cnc-btn.cnc-btn-primary:hover,
.mall-app .tenant-expired-page .cnc-btn.cnc-btn-primary:hover,
.mall-app .mall-member-page .tenant-card .cnc-btn.cnc-btn-primary:hover,
.mall-app .tenant-open-page .cnc-btn.cnc-btn-primary:hover,
.mall-app .tenant-entry-card .cnc-btn.cnc-btn-primary:hover,
.mall-app .tenant-entry-card--page .cnc-btn.cnc-btn-primary:hover,
.mall-app .tenant-success-page .cnc-btn.cnc-btn-primary:hover,
.mall-app .tenant-open-page .cnc-btn.cnc-btn-primary:focus-visible,
.mall-app .tenant-page .cnc-btn.cnc-btn-primary:focus-visible {
  background: var(--mall-orange-h, var(--theme-brand-hover));
  border-color: var(--mall-orange-h, var(--theme-brand-hover));
  color: #fff;
}

.tenant-page .cnc-btn.sm,
.tenant-expired-page .cnc-btn.sm,
.mall-member-page .tenant-card .cnc-btn.sm {
  padding: 6px 14px;
  font-size: 13px;
}

.tenant-page {
  padding: 20px 0 48px;
  max-width: 920px;
}

.tenant-open-standalone.tenant-page {
  max-width: min(1120px, 100%);
}

.tenant-crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 13px;
  color: var(--mall-text3, #999);
}

.tenant-crumb a {
  color: var(--mall-text2, #666);
  text-decoration: none;
}

.tenant-crumb a:hover {
  color: var(--mall-orange, var(--theme-brand));
}

.tenant-head {
  margin-bottom: 20px;
}

.tenant-head h1 {
  margin: 0 0 8px;
  font-size: 28px;
  font-weight: 700;
  color: var(--mall-text, #1a1a1a);
  line-height: 1.25;
}

.tenant-head p {
  margin: 0;
  font-size: 14px;
  color: var(--mall-text2, #666);
  line-height: 1.6;
}

.tenant-head code {
  padding: 2px 6px;
  border-radius: 4px;
  background: #f5f5f5;
  font-size: 13px;
}

.tenant-card {
  background: #fff;
  border: 1px solid var(--mall-border-light, #f0f0f0);
  border-radius: var(--mall-radius-sm, 8px);
  padding: 20px;
}

.tenant-card + .tenant-card {
  margin-top: 14px;
}

.tenant-alert {
  padding: 12px 14px;
  border-radius: var(--mall-radius-sm, 8px);
  font-size: 14px;
  line-height: 1.55;
}

.tenant-alert--warn {
  background: #fff8e6;
  border: 1px solid #ffe08a;
  color: #8a6d00;
}

.tenant-alert a {
  color: var(--mall-orange, var(--theme-brand));
  font-weight: 500;
}

.tenant-section-title {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--mall-text, #1a1a1a);
}

.tenant-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 16px;
}

.tenant-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.tenant-field.full {
  grid-column: 1 / -1;
}

.tenant-field label {
  font-size: 13px;
  font-weight: 500;
  color: var(--mall-text2, #666);
}

.tenant-field input,
.tenant-field select {
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--mall-border, #eee);
  border-radius: var(--mall-radius-sm, 8px);
  font-size: 14px;
  background: #fff;
  color: var(--mall-text, #1a1a1a);
  transition: border-color .15s, box-shadow .15s;
}

.tenant-field input:focus,
.tenant-field select:focus {
  outline: none;
  border-color: var(--mall-orange-border, var(--theme-brand-border));
  box-shadow: 0 0 0 2px var(--theme-brand-ring);
}

.tenant-input-group {
  display: flex;
  align-items: stretch;
}

.tenant-input-group input {
  flex: 1;
  min-width: 0;
  border-radius: var(--mall-radius-sm, 8px) 0 0 var(--mall-radius-sm, 8px);
}

.tenant-input-suffix {
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid var(--mall-border, #eee);
  border-left: none;
  border-radius: 0 var(--mall-radius-sm, 8px) var(--mall-radius-sm, 8px) 0;
  background: #fafafa;
  font-size: 13px;
  color: var(--mall-text2, #666);
  white-space: nowrap;
}

.tenant-plan-list {
  display: grid;
  gap: 10px;
}

.tenant-plan-option {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px 12px;
  padding: 14px 16px;
  border: 1px solid var(--mall-border-light, #f0f0f0);
  border-radius: var(--mall-radius-sm, 8px);
  cursor: pointer;
  transition: border-color .15s, background .15s, box-shadow .15s;
  background: #fff;
}

.tenant-plan-option:hover {
  border-color: var(--mall-orange-border, var(--theme-brand-border));
  background: #fff9fb;
}

.tenant-plan-option:has(input:checked) {
  border-color: var(--mall-orange, var(--theme-brand));
  background: var(--mall-orange-bg, var(--theme-brand-soft));
  box-shadow: 0 0 0 1px var(--mall-orange, var(--theme-brand));
}

.tenant-plan-option input {
  flex-shrink: 0;
  margin: 0;
  accent-color: var(--mall-orange, var(--theme-brand));
}

.tenant-plan-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.tenant-plan-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--mall-text, #1a1a1a);
  line-height: 1.35;
}

.tenant-plan-price {
  font-size: 16px;
  font-weight: 700;
  color: var(--mall-orange, var(--theme-brand));
  white-space: nowrap;
  letter-spacing: -0.02em;
}

.tenant-plan-days {
  font-size: 12px;
  color: var(--mall-text3, #999);
  line-height: 1.4;
}

.tenant-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--mall-border-light, #f0f0f0);
}

.tenant-msg {
  font-size: 13px;
  color: var(--mall-orange, var(--theme-brand));
}

.tenant-msg.is-ok {
  color: #0a8f4d;
}

.tenant-pay-box {
  text-align: center;
}

.tenant-pay-box img {
  display: block;
  margin: 0 auto;
  border-radius: 8px;
}

.tenant-pay-box a {
  color: var(--mall-orange, var(--theme-brand));
  font-weight: 500;
}

.tenant-muted {
  font-size: 13px;
  color: var(--mall-text3, #999);
}

.tenant-muted.small {
  font-size: 12px;
  line-height: 1.55;
}

.tenant-card--renew-urgent {
  border-color: #ffc9d4;
  background: linear-gradient(180deg, #fff8fa 0%, #fff 42%);
}

.tenant-card--renew-urgent .tenant-section-title {
  color: var(--mall-orange, var(--theme-brand));
}

.tenant-card .table-wrap,
.tenant-card .ts-table-wrap {
  margin: 0 0 12px;
  border: 1px solid var(--mall-border-light, #f0f0f0);
  border-radius: var(--mall-radius-sm, 8px);
  overflow-x: auto;
  background: #fff;
}

.tenant-card .data-table,
.tenant-card .ts-table {
  margin: 0;
}

.tenant-card .data-table th,
.tenant-card .ts-table th {
  background: #fafafa;
  white-space: nowrap;
}

.tenant-card code {
  padding: 1px 5px;
  border-radius: 4px;
  background: #f5f5f5;
  font-size: 12px;
  color: var(--mall-text, #1a1a1a);
}

.tenant-pre {
  margin: 0;
  padding: 12px 14px;
  border-radius: var(--mall-radius-sm, 8px);
  background: #f7f8fa;
  border: 1px solid var(--mall-border-light, #f0f0f0);
  font-size: 12px;
  line-height: 1.6;
  overflow: auto;
  white-space: pre-wrap;
  word-break: break-all;
}

.tenant-result p {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.6;
}

.tenant-result p:last-child {
  margin-bottom: 0;
}

.tenant-expired-page {
  max-width: 640px;
  margin: 64px auto;
  padding: 0 16px;
  text-align: center;
}

.tenant-expired-page h1 {
  margin: 0 0 12px;
  font-size: 28px;
  font-weight: 700;
}

.tenant-expired-page .tenant-actions {
  justify-content: center;
  border-top: none;
  padding-top: 0;
}

.tenant-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 16px;
}

.tenant-info-box {
  padding: 14px 16px;
  border: 1px solid var(--mall-border-light, #f0f0f0);
  border-radius: var(--mall-radius-sm, 8px);
  background: #fafafa;
}

.tenant-info-label {
  font-size: 12px;
  color: var(--mall-text3, #999);
  margin-bottom: 4px;
}

.tenant-info-value {
  font-size: 15px;
  font-weight: 600;
  color: var(--mall-text, #1a1a1a);
}

.tenant-info-value a {
  color: var(--mall-orange, var(--theme-brand));
  font-weight: 500;
  word-break: break-all;
}

.tenant-status--ok { color: #0a8f4d; }
.tenant-status--bad { color: var(--mall-orange, var(--theme-brand)); }

@media (max-width: 768px) {
  .tenant-form-grid,
  .tenant-info-grid {
    grid-template-columns: 1fr;
  }

  .tenant-head h1 {
    font-size: 22px;
  }

  .tenant-plan-price {
    margin-left: 0;
  }

  .tenant-plan-option {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .tenant-plan-option .tenant-plan-price {
    grid-column: 2;
    justify-self: start;
  }

  .tenant-open-modal-card {
    max-height: calc(100vh - 24px);
  }
}

/* ── 会员中心分站入口 ── */
.tenant-entry-card {
  overflow: hidden;
  padding: 0 !important;
  border: 1px solid #ffd6df !important;
  background:
    linear-gradient(135deg, #fff8fa 0%, #fff 48%, #fff5f7 100%) !important;
}

.tenant-entry-card.is-owned {
  border-color: #d8f3e3 !important;
  background:
    linear-gradient(135deg, #f4fcf7 0%, #fff 52%, #f7faf8 100%) !important;
}

.tenant-entry-card--page {
  border-radius: var(--mall-radius-sm, 8px);
}

.tenant-entry {
  display: flex;
  align-items: stretch;
  gap: 0;
}

.tenant-entry-visual {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  padding: 18px 14px;
  background: linear-gradient(180deg, rgba(255, 0, 54, 0.1) 0%, rgba(255, 0, 54, 0.04) 100%);
  border-right: 1px solid #ffe0e7;
}

.tenant-entry-card.is-owned .tenant-entry-visual {
  background: linear-gradient(180deg, rgba(10, 143, 77, 0.1) 0%, rgba(10, 143, 77, 0.04) 100%);
  border-right-color: #d8f3e3;
}

.tenant-entry-icon {
  display: inline-flex;
  width: 36px;
  height: 36px;
  color: var(--mall-orange, var(--theme-brand));
}

.tenant-entry-card.is-owned .tenant-entry-icon {
  color: #0a8f4d;
}

.tenant-entry-icon svg {
  width: 100%;
  height: 100%;
}

.tenant-entry-body {
  flex: 1;
  min-width: 0;
  padding: 16px 18px;
}

.tenant-entry-head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 6px;
}

.tenant-entry-title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--mall-text, #1a1a1a);
  line-height: 1.3;
}

.tenant-entry-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #ffc9d4;
  color: var(--mall-orange, var(--theme-brand));
  font-size: 11px;
  font-weight: 600;
  line-height: 1.4;
}

.tenant-entry-badge.is-live {
  border-color: #a7e3c3;
  color: #0a8f4d;
  background: #ecfdf5;
}

.tenant-entry-desc,
.tenant-entry-name,
.tenant-entry-meta {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
}

.tenant-entry-desc {
  color: var(--mall-text2, #666);
}

.tenant-entry-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--mall-text, #1a1a1a);
}

.tenant-entry-meta {
  margin-top: 2px;
  color: var(--mall-text3, #999);
  word-break: break-all;
}

.tenant-entry-points {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.tenant-entry-points li {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #ffc9d4;
  color: var(--mall-orange, var(--theme-brand));
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
}

.tenant-entry-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
}

.tenant-entry-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--mall-text2, #666);
  text-decoration: none;
}

.tenant-entry-link:hover {
  color: var(--mall-orange, var(--theme-brand));
}

.mall-footer-links a.mall-footer-tenant {
  color: var(--mall-orange, var(--theme-brand));
  font-weight: 600;
}

.mall-footer-links a.mall-footer-tenant:hover {
  color: var(--mall-orange-h, var(--theme-brand-hover));
}

/* ── 未开通：开通分站落地页（主流 SaaS 结构） ── */
.mall-app:has(.tenant-open-standalone) {
  background: #f7f8fa;
}

.mall-app:has(.tenant-open-standalone) .mall-body-sub,
.mall-app:has(.tenant-open-standalone) .mall-page-stage {
  background: transparent;
}

.tenant-open-standalone.tenant-page {
  padding-top: 16px;
}

.mall-member-page .mc-main:has(.tenant-open-page) {
  overflow: visible;
}

.mall-member-page .mc-section[data-section="tenant"] .mc-page-body:has(.tenant-open-page) {
  padding-top: 12px;
  background: transparent;
}

.tenant-open-page {
  --top-ink: #141414;
  --top-muted: #667085;
  --top-line: #ececec;
  --top-soft: #f7f7f8;
  --top-accent: var(--mall-orange, var(--theme-brand));
  --top-accent-soft: #fff1f4;
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding-bottom: 8px;
}

.tenant-open-page #top-model {
  scroll-margin-top: 24px;
}

.mall-member-page .tenant-open-page #top-model {
  scroll-margin-top: 72px;
}

.top-anim {
  animation: top-rise .45s ease-out both;
}

.top-anim--delay {
  animation-delay: .08s;
}

@keyframes top-rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.top-hero {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--top-line);
}

.top-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 80% at 100% 0%, var(--theme-brand-ring), transparent 55%),
    radial-gradient(ellipse 50% 60% at 0% 100%, rgba(255, 0, 54, 0.04), transparent 50%),
    linear-gradient(180deg, #fff 0%, #fafafa 100%);
}

.top-hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(28px);
  opacity: 0.55;
}

.top-hero-orb--a {
  width: 180px;
  height: 180px;
  top: -60px;
  right: 12%;
  background: rgba(255, 0, 54, 0.18);
}

.top-hero-orb--b {
  width: 120px;
  height: 120px;
  bottom: 40px;
  left: 8%;
  background: rgba(255, 80, 40, 0.12);
}

.top-hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(20, 20, 20, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 20, 20, 0.03) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(180deg, #000 20%, transparent 90%);
}

.top-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(240px, 0.85fr);
  gap: 28px;
  align-items: center;
  padding: 36px 32px 28px;
}

.top-eyebrow {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--top-accent);
}

.top-title {
  margin: 0 0 14px;
  font-size: clamp(26px, 3.2vw, 34px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--top-ink);
}

.top-lead {
  margin: 0;
  max-width: 34em;
  font-size: 15px;
  line-height: 1.7;
  color: var(--top-muted);
}

.top-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
}

.top-cta-primary {
  min-height: 42px;
  padding: 0 22px;
  font-size: 14px;
  font-weight: 600;
}

.top-cta-ghost {
  font-size: 14px;
  font-weight: 500;
  color: var(--top-muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .15s, border-color .15s;
}

.top-cta-ghost:hover {
  color: var(--top-accent);
  border-bottom-color: var(--top-accent);
}

.top-hero-note {
  margin: 14px 0 0;
  font-size: 12px;
  color: #98a2b3;
}

.top-hero-visual {
  display: flex;
  justify-content: center;
}

.top-mock {
  width: min(100%, 320px);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e8e8e8;
  box-shadow:
    0 1px 2px rgba(16, 24, 40, 0.04),
    0 18px 40px rgba(16, 24, 40, 0.08);
  transform: perspective(900px) rotateY(-6deg) rotateX(3deg);
  transform-origin: center;
}

.top-mock-bar {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 10px 12px;
  background: #f4f4f5;
  border-bottom: 1px solid #ebebeb;
}

.top-mock-bar span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d0d5dd;
}

.top-mock-bar span:nth-child(1) { background: #ffb4b4; }
.top-mock-bar span:nth-child(2) { background: #ffd59e; }
.top-mock-bar span:nth-child(3) { background: #b6e5c4; }

.top-mock-bar em {
  margin-left: 8px;
  font-style: normal;
  font-size: 11px;
  color: #98a2b3;
  letter-spacing: 0.02em;
}

.top-mock-body {
  padding: 18px 16px 16px;
  background: linear-gradient(180deg, #fff 0%, #fff8f9 100%);
}

.top-mock-brand {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--top-accent);
}

.top-mock-line {
  margin-top: 12px;
  height: 8px;
  border-radius: 999px;
  background: #ececec;
  width: 78%;
}

.top-mock-line--short {
  width: 48%;
  margin-top: 8px;
}

.top-mock-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 16px;
}

.top-mock-tiles i {
  display: block;
  aspect-ratio: 1;
  border-radius: 8px;
  background: #f2f2f3;
  border: 1px solid #eee;
}

.top-mock-tiles i:nth-child(2) {
  background: var(--top-accent-soft);
  border-color: #ffd6df;
}

.top-mock-chip {
  margin-top: 14px;
  padding: 8px 10px;
  border-radius: 8px;
  background: #141414;
  color: #fff;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-align: center;
}

.top-trust {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  border-top: 1px solid var(--top-line);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(6px);
}

.top-trust > div {
  padding: 16px 18px;
  border-right: 1px solid var(--top-line);
}

.top-trust > div:last-child {
  border-right: none;
}

.top-trust dt {
  margin: 0 0 4px;
  font-size: 13px;
  font-weight: 700;
  color: var(--top-ink);
}

.top-trust dd {
  margin: 0;
  font-size: 12px;
  color: var(--top-muted);
  line-height: 1.4;
}

.top-block {
  padding: 4px 2px 0;
}

.tenant-open-page > .top-block:not(.top-block--model) {
  padding: 8px 2px 4px;
}

.top-head {
  margin-bottom: 20px;
  max-width: 36em;
}

.top-head h3 {
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--top-ink);
}

.top-head > p:last-child {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--top-muted);
}

.top-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.top-features li {
  padding: 18px 16px 16px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--top-line);
  transition: border-color .15s, box-shadow .15s, transform .15s;
}

.top-features li:hover {
  border-color: #ffc9d4;
  box-shadow: 0 10px 24px rgba(16, 24, 40, 0.05);
  transform: translateY(-1px);
}

.top-feat-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 12px;
  border-radius: 10px;
  background: var(--top-accent-soft);
  color: var(--top-accent);
}

.top-feat-ico svg {
  width: 20px;
  height: 20px;
}

.top-features strong {
  display: block;
  margin-bottom: 6px;
  font-size: 15px;
  font-weight: 600;
  color: var(--top-ink);
}

.top-features p {
  margin: 0;
  font-size: 13px;
  line-height: 1.65;
  color: var(--top-muted);
}

.top-block--model {
  padding: 24px 22px 26px;
  border-radius: 16px;
  background: var(--top-soft);
  border: 1px solid var(--top-line);
}

.top-model {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

.top-model li {
  position: relative;
  padding: 16px 14px 18px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #e9e9eb;
}

.top-model-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  margin-bottom: 10px;
  border-radius: 999px;
  background: var(--top-ink);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.top-model strong {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  color: var(--top-ink);
}

.top-model p {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--top-muted);
}

.top-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.top-steps li {
  position: relative;
  padding: 0 16px 0 0;
  min-width: 0;
}

.top-steps li:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 15px;
  left: 36px;
  right: 8px;
  height: 1px;
  background: linear-gradient(90deg, var(--theme-brand-border, #ffb8c9), #eee);
}

.top-steps li::before {
  content: '';
  display: block;
  width: 12px;
  height: 12px;
  margin-bottom: 12px;
  border-radius: 50%;
  background: var(--top-accent);
  box-shadow: 0 0 0 4px var(--top-accent-soft);
  position: relative;
  z-index: 1;
}

.top-steps strong {
  display: block;
  margin-bottom: 4px;
  font-size: 14px;
  color: var(--top-ink);
}

.top-steps span {
  display: block;
  font-size: 12px;
  color: var(--top-muted);
  line-height: 1.5;
}

.top-plans {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 280px));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  align-items: stretch;
  justify-content: start;
  width: 100%;
  max-width: 920px;
}

.top-plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 22px 20px 20px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--top-line);
  transition: border-color .15s, transform .15s, box-shadow .15s;
}

.top-plan:hover {
  border-color: #ffc9d4;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(16, 24, 40, 0.06);
}

.top-plan.is-featured {
  border-color: var(--top-accent);
  background: linear-gradient(180deg, #fff8fa 0%, #fff 48%);
  box-shadow: 0 14px 32px var(--theme-brand-ring);
}

.top-plan-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--top-accent);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
}

.top-plan-name {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 700;
  color: var(--top-ink);
}

.top-plan-term {
  margin: 0;
  font-size: 13px;
  color: var(--top-muted);
}

.top-plan-price {
  margin: 16px 0 14px;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--top-ink);
  line-height: 1;
}

.top-plan-price span {
  margin-right: 2px;
  font-size: 16px;
  font-weight: 600;
  color: var(--top-muted);
}

.top-plan.is-featured .top-plan-price {
  color: var(--top-accent);
}

.top-plan.is-featured .top-plan-price span {
  color: var(--top-accent);
}

.top-plan-perks {
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  flex: 1;
}

.top-plan-perks li {
  position: relative;
  padding: 5px 0 5px 18px;
  font-size: 13px;
  color: var(--top-muted);
  line-height: 1.45;
}

.top-plan-perks li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #b6e5c4;
  box-shadow: inset 0 0 0 2px #0a8f4d22;
}

.top-plan .cnc-btn {
  width: 100%;
  justify-content: center;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
}

.top-plan .cnc-btn:not(.cnc-btn-primary) {
  background: #fff;
  border-color: #e5e5e5;
  color: var(--top-ink);
}

.top-plan .cnc-btn:not(.cnc-btn-primary):hover {
  border-color: var(--top-accent);
  color: var(--top-accent);
  background: var(--top-accent-soft);
}

.top-finale {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 28px;
  border-radius: 16px;
  background: #141414;
  color: #fff;
}

.top-finale-copy h3 {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.top-finale-copy p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.68);
}

.top-finale .cnc-btn-primary {
  flex-shrink: 0;
  min-height: 42px;
  padding: 0 22px;
}

@media (max-width: 960px) {
  .top-hero-inner {
    grid-template-columns: 1fr;
    padding: 28px 22px 20px;
  }

  .top-mock {
    transform: none;
    width: min(100%, 280px);
  }

  .top-hero-visual {
    order: -1;
  }

  .mall-member-page .top-hero-visual {
    order: 0;
  }

  .mall-member-page .top-mock {
    width: min(100%, 260px);
    margin-inline: auto;
  }

  .top-trust,
  .top-features,
  .top-model,
  .top-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .top-trust > div:nth-child(2) {
    border-right: none;
  }

  .top-trust > div:nth-child(3),
  .top-trust > div:nth-child(4) {
    border-top: 1px solid var(--top-line);
  }

  .top-steps li:nth-child(2)::after {
    display: none;
  }
}

@media (max-width: 640px) {
  .tenant-open-page {
    gap: 22px;
  }

  .top-hero-inner {
    padding: 22px 16px 16px;
    gap: 18px;
  }

  .top-title {
    font-size: 24px;
  }

  .top-trust,
  .top-features,
  .top-model,
  .top-steps {
    grid-template-columns: 1fr;
  }

  .top-trust > div {
    border-right: none;
    border-bottom: 1px solid var(--top-line);
  }

  .top-trust > div:last-child {
    border-bottom: none;
  }

  .top-trust > div:nth-child(3),
  .top-trust > div:nth-child(4) {
    border-top: none;
  }

  .top-features {
    gap: 10px;
  }

  .top-features li {
    padding: 16px 14px 14px;
  }

  .top-block--model {
    padding: 18px 14px 20px;
  }

  .top-steps li::after {
    display: none;
  }

  .top-finale {
    flex-direction: column;
    align-items: stretch;
    padding: 22px 18px;
  }

  .top-finale .cnc-btn {
    width: 100%;
  }

  .tenant-entry {
    flex-direction: column;
  }

  .tenant-entry-visual {
    width: auto;
    padding: 14px 16px;
    border-right: none;
    border-bottom: 1px solid #ffe0e7;
    justify-content: flex-start;
  }

  .tenant-entry-card.is-owned .tenant-entry-visual {
    border-bottom-color: #d8f3e3;
  }

  .tenant-entry-body {
    padding: 14px 16px 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .top-anim,
  .top-plan,
  .top-features li {
    animation: none;
    transition: none;
  }

  .top-plan:hover,
  .top-features li:hover {
    transform: none;
  }
}

/* ── 开通分站弹窗 ── */
body.tenant-open-modal-open {
  overflow: hidden;
}

.tenant-open-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  animation: tenant-open-fade .18s ease-out;
}

.tenant-open-modal.hidden {
  display: none;
}

.tenant-open-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 17, 17, 0.48);
}

.tenant-open-modal-card {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: min(640px, 100%);
  max-height: calc(100vh - 32px);
  overflow: hidden;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.2);
  animation: tenant-open-rise .2s ease-out;
}

.tenant-open-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px 14px;
  border-bottom: 1px solid var(--mall-border-light, #f0f0f0);
  background: linear-gradient(180deg, #fff8fa 0%, #fff 100%);
  flex-shrink: 0;
}

.tenant-open-modal-title-wrap {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
}

.tenant-open-modal-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--mall-orange-bg, var(--theme-brand-soft));
  border: 1px solid #ffd6df;
  color: var(--mall-orange, var(--theme-brand));
  flex-shrink: 0;
}

.tenant-open-modal-ico svg {
  width: 22px;
  height: 22px;
}

.tenant-open-modal-title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--mall-text, #1a1a1a);
  line-height: 1.3;
}

.tenant-open-modal-desc {
  margin: 6px 0 0;
  font-size: 13px;
  color: var(--mall-text2, #666);
  line-height: 1.5;
}

.tenant-open-modal-close {
  position: relative;
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 10px;
  background: var(--mall-orange-bg, var(--theme-brand-soft));
  color: var(--mall-orange, var(--theme-brand));
  cursor: pointer;
  flex-shrink: 0;
  transition: background .15s, color .15s;
}

.tenant-open-modal-close::before,
.tenant-open-modal-close::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 1.5px;
  border-radius: 1px;
  background: currentColor;
}

.tenant-open-modal-close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.tenant-open-modal-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.tenant-open-modal-close:hover {
  background: var(--mall-orange, var(--theme-brand));
  color: #fff;
}

.tenant-open-modal-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: 16px 20px 12px;
  background: #fff;
}

.tenant-open-modal-form {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.tenant-open-modal-block {
  margin-bottom: 16px;
  padding: 0 0 16px;
  border-bottom: 1px solid var(--mall-border-light, #f0f0f0);
}

.tenant-open-modal-block:last-of-type {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.tenant-open-modal-section {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--mall-text, #1a1a1a);
  line-height: 1.4;
}

.tenant-open-modal-section::before {
  content: "";
  width: 3px;
  height: 14px;
  border-radius: 2px;
  background: var(--mall-orange, var(--theme-brand));
  flex-shrink: 0;
}

.tenant-open-form-grid {
  margin-top: 0;
}

.tenant-open-modal .tenant-field label,
.tenant-open-modal .tenant-field-label {
  display: block;
  margin-bottom: 0;
  font-size: 13px;
  font-weight: 500;
  color: var(--mall-text2, #666);
}

.tenant-open-modal .tenant-field label em,
.tenant-open-modal .tenant-field-label em {
  color: var(--mall-orange, var(--theme-brand));
  font-style: normal;
}

.tenant-open-domain-hint {
  margin-top: 6px !important;
  line-height: 1.55;
}

.tenant-open-choice-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 8px;
}

.tenant-open-choice {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #e8e8e8;
  border-radius: 10px;
  background: #fff;
  text-align: left;
  cursor: pointer;
  font: inherit;
  transition: border-color .15s, background .15s, box-shadow .15s;
}

.tenant-open-choice:hover {
  border-color: var(--mall-orange-border, var(--theme-brand-border));
  background: #fffafb;
}

.tenant-open-choice.is-active {
  border-color: var(--mall-orange, var(--theme-brand));
  background: var(--mall-orange-bg, var(--theme-brand-soft));
  box-shadow: 0 0 0 1px var(--mall-orange, var(--theme-brand));
}

.tenant-open-choice-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--mall-text, #1a1a1a);
  line-height: 1.3;
}

.tenant-open-choice-desc {
  font-size: 12px;
  color: var(--mall-text3, #999);
  line-height: 1.45;
}

.tenant-open-pay-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.tenant-open-pay-opt {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid #e8e8e8;
  border-radius: 10px;
  background: #fff;
  box-shadow: none;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color .15s, background .15s, box-shadow .15s;
}

.tenant-open-pay-opt:hover {
  border-color: var(--mall-orange-border, var(--theme-brand-border));
  background: #fffafb;
}

.tenant-open-pay-opt.is-active {
  border-color: var(--mall-orange, var(--theme-brand));
  background: var(--mall-orange-bg, var(--theme-brand-soft));
  box-shadow: 0 0 0 1px var(--mall-orange, var(--theme-brand));
}

.tenant-open-pay-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: #fff;
  border: 1px solid #f0f0f0;
  flex-shrink: 0;
}

.tenant-open-pay-brand img {
  display: block;
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.tenant-open-pay-meta {
  flex: 1;
  min-width: 0;
}

.tenant-open-pay-name {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #222;
  line-height: 1.3;
}

.tenant-open-pay-check {
  position: relative;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border: 2px solid #d0d0d0;
  border-radius: 50%;
  background: #fff;
  box-sizing: border-box;
  transition: border-color .15s;
}

.tenant-open-pay-check::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mall-orange, var(--theme-brand));
  transform: translate(-50%, -50%) scale(0);
  transition: transform .15s ease;
}

.tenant-open-pay-opt.is-active .tenant-open-pay-check {
  border-color: var(--mall-orange, var(--theme-brand));
}

.tenant-open-pay-opt.is-active .tenant-open-pay-check::after {
  transform: translate(-50%, -50%) scale(1);
}

.tenant-open-form-msg {
  min-height: 1.2em;
  margin: 10px 0 0;
}

.tenant-open-global-msg {
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 8px;
  background: #fff2f0;
  border: 1px solid #ffccc7;
  color: #cf1322;
  font-size: 13px;
  line-height: 1.5;
}

.tenant-open-global-msg.hidden {
  display: none !important;
}

.tenant-open-global-msg.is-ok {
  background: #f6ffed;
  border-color: #b7eb8f;
  color: #389e0d;
}

.tenant-open-modal-foot {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-shrink: 0;
  padding: 14px 20px 16px;
  border-top: 1px solid var(--mall-border-light, #f0f0f0);
  background: #fafafa;
}

.tenant-open-modal-foot.is-hidden,
.tenant-open-modal-foot.hidden {
  display: none !important;
}

.tenant-open-modal-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 96px;
  height: 40px;
  padding: 0 18px;
  border-radius: 20px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s, border-color .15s, color .15s, opacity .15s;
}

.tenant-open-modal-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.tenant-open-modal-btn--ghost {
  background: #fff;
  border-color: #e0e0e0;
  color: var(--mall-text2, #666);
}

.tenant-open-modal-btn--ghost:hover {
  border-color: var(--mall-orange-border, var(--theme-brand-border));
  color: var(--mall-orange, var(--theme-brand));
}

.tenant-open-modal-btn--primary {
  background: var(--mall-orange, var(--theme-brand));
  border-color: var(--mall-orange, var(--theme-brand));
  color: #fff;
}

.tenant-open-modal-btn--primary:hover {
  background: var(--mall-orange-h, var(--theme-brand-hover));
  border-color: var(--mall-orange-h, var(--theme-brand-hover));
  color: #fff;
}

.tenant-open-pay-panel {
  padding: 8px 0 4px;
}

.tenant-open-pay-panel-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 20px 16px;
  border: 1px solid var(--mall-border-light, #f0f0f0);
  border-radius: 12px;
  background: #fafafa;
  text-align: center;
}

.tenant-open-pay-panel-title {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--mall-text, #1a1a1a);
}

.tenant-open-pay-panel-amount {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  color: var(--mall-orange, var(--theme-brand));
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.tenant-open-pay-panel-channel {
  margin: 0 0 4px;
  font-size: 13px;
  color: var(--mall-text2, #666);
}

.tenant-open-pay-qr {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 236px;
  height: 236px;
  margin: 4px 0;
  background: #fff;
  border: 1px solid #f0f0f0;
  border-radius: 10px;
}

.tenant-open-pay-qr img {
  display: block;
  width: 220px;
  height: 220px;
  border-radius: 6px;
}

.tenant-open-pay-qr a {
  color: var(--mall-orange, var(--theme-brand));
  font-weight: 500;
}

.tenant-open-pay-panel-status {
  margin: 4px 0 0;
  font-size: 13px;
  font-weight: 500;
  color: #d97706;
}

.tenant-open-pay-panel-status.is-success {
  color: #059669;
}

.tenant-open-pay-panel .tenant-open-modal-btn {
  margin-top: 8px;
}

.tenant-open-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 40px 16px;
  color: var(--mall-text3, #999);
  font-size: 14px;
}

.tenant-open-modal .tenant-alert {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}

.tenant-open-modal .tenant-plan-option {
  transition: border-color .15s, background .15s, transform .15s, box-shadow .15s;
}

.tenant-open-modal .tenant-plan-option:hover {
  transform: translateY(-1px);
}

.tenant-open-modal.is-pay-view .tenant-open-modal-foot {
  display: none !important;
}

@keyframes tenant-open-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes tenant-open-rise {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 640px) {
  .tenant-open-modal {
    align-items: flex-end;
    padding: 0;
  }

  .tenant-open-modal-card {
    width: 100%;
    max-height: min(92vh, 100%);
    border-radius: 16px 16px 0 0;
    animation: tenant-open-sheet .22s ease-out;
  }

  .tenant-open-choice-list,
  .tenant-open-pay-list {
    grid-template-columns: 1fr;
  }

  .tenant-open-modal-foot {
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
  }

  .tenant-open-modal-foot .tenant-open-modal-btn {
    flex: 1;
  }

  .tenant-open-form-grid {
    grid-template-columns: 1fr;
  }
}

@keyframes tenant-open-sheet {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .tenant-open-modal,
  .tenant-open-modal-card,
  .tenant-open-modal .tenant-plan-option {
    animation: none;
    transition: none;
  }

  .tenant-open-modal .tenant-plan-option:hover {
    transform: none;
  }
}

/* ── 分站开通结果页 ── */
.tenant-success-page {
  max-width: 880px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.ts-hero {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid #ececec;
  background: #fff;
}

.ts-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 80% at 100% 0%, var(--theme-brand-ring), transparent 55%),
    radial-gradient(ellipse 45% 55% at 0% 100%, rgba(10, 143, 77, 0.06), transparent 50%),
    linear-gradient(180deg, #fff 0%, #fafafa 100%);
  transition: opacity .25s ease;
}

.ts-hero[data-state="live"] .ts-hero-bg {
  background:
    radial-gradient(ellipse 70% 80% at 100% 0%, rgba(10, 143, 77, 0.12), transparent 55%),
    linear-gradient(180deg, #f7fcf9 0%, #fff 100%);
}

.ts-hero[data-state="error"] .ts-hero-bg,
.ts-hero[data-state="dns"] .ts-hero-bg {
  background:
    radial-gradient(ellipse 70% 80% at 100% 0%, rgba(255, 0, 54, 0.1), transparent 55%),
    linear-gradient(180deg, #fff8fa 0%, #fff 100%);
}

.ts-hero-inner {
  position: relative;
  z-index: 1;
  padding: 28px 28px 24px;
}

.ts-eyebrow {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mall-orange, var(--theme-brand));
}

.ts-hero[data-state="live"] .ts-eyebrow {
  color: #0a8f4d;
}

.ts-title {
  margin: 0 0 10px;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: #141414;
}

.ts-lead {
  margin: 0;
  max-width: 40em;
  font-size: 14px;
  line-height: 1.7;
  color: #667085;
}

.ts-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
}

.ts-actions--bar {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid #f0f0f0;
}

.ts-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid #ececec;
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
}

.ts-steps li {
  position: relative;
  padding: 16px 14px 18px;
  border-right: 1px solid #f0f0f0;
  background: #fff;
}

.ts-steps li:last-child {
  border-right: none;
}

.ts-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  margin-bottom: 8px;
  border-radius: 999px;
  background: #f2f2f3;
  color: #667085;
  font-size: 12px;
  font-weight: 700;
}

.ts-steps strong {
  display: block;
  margin-bottom: 4px;
  font-size: 13px;
  font-weight: 600;
  color: #141414;
}

.ts-steps em {
  display: block;
  font-style: normal;
  font-size: 12px;
  line-height: 1.45;
  color: #98a2b3;
}

.ts-steps li.is-done .ts-step-num {
  background: #ecfdf5;
  color: #0a8f4d;
}

.ts-steps li.is-current {
  background: #fff8fa;
}

.ts-steps li.is-current .ts-step-num {
  background: var(--mall-orange, var(--theme-brand));
  color: #fff;
}

.ts-steps li.is-current strong {
  color: var(--mall-orange, var(--theme-brand));
}

.ts-panel {
  padding: 20px 22px 22px;
  border: 1px solid #ececec;
  border-radius: 14px;
  background: #fff;
}

.ts-panel[hidden] {
  display: none !important;
}

.ts-panel-title {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 700;
  color: #141414;
}

.ts-panel-desc {
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 1.7;
  color: #667085;
}

.ts-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.ts-meta-item {
  padding: 12px 14px;
  border-radius: 10px;
  background: #f7f8fa;
  border: 1px solid #f0f0f0;
}

.ts-meta-label {
  display: block;
  margin-bottom: 4px;
  font-size: 12px;
  color: #98a2b3;
}

.ts-meta-value {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #141414;
  word-break: break-all;
}

.ts-meta-value.is-ok { color: #0a8f4d; }
.ts-meta-value.is-bad { color: var(--mall-orange, var(--theme-brand)); }
.ts-meta-value.is-wait { color: #b54708; }

.ts-ol {
  margin: 0 0 14px 1.15em;
  padding: 0;
  font-size: 13px;
  line-height: 1.75;
  color: #667085;
}

.ts-table-wrap {
  overflow-x: auto;
  margin-bottom: 12px;
}

.ts-table {
  width: 100%;
  font-size: 13px;
}

.ts-table td,
.ts-table th {
  vertical-align: top;
}

.ts-break {
  word-break: break-all;
}

.ts-copy {
  margin-left: 6px;
  padding: 0 6px;
  border: 1px solid #e8e8e8;
  border-radius: 4px;
  background: #fff;
  color: #667085;
  font-size: 11px;
  line-height: 1.6;
  cursor: pointer;
}

.ts-copy:hover {
  border-color: #ffc9d4;
  color: var(--mall-orange, var(--theme-brand));
}

.ts-details {
  margin: 0 0 12px;
  font-size: 13px;
  color: #667085;
}

.ts-details summary {
  cursor: pointer;
  font-weight: 500;
  color: #475467;
}

.ts-details ul {
  margin: 8px 0 0 1.15em;
  padding: 0;
  line-height: 1.7;
}

.ts-raw {
  font-size: 12px;
  opacity: 0.9;
}

.ts-msg {
  font-size: 13px;
  color: var(--mall-orange, var(--theme-brand));
}

.ts-msg.is-ok { color: #0a8f4d; }
.ts-msg.is-bad { color: var(--mall-orange, var(--theme-brand)); }

.ts-link-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 10px;
}

.ts-link-row a {
  color: var(--mall-orange, var(--theme-brand));
  font-weight: 500;
  word-break: break-all;
}

@media (max-width: 768px) {
  .ts-hero-inner {
    padding: 22px 18px 20px;
  }

  .ts-steps {
    grid-template-columns: 1fr 1fr;
  }

  .ts-steps li:nth-child(2) {
    border-right: none;
  }

  .ts-steps li:nth-child(1),
  .ts-steps li:nth-child(2) {
    border-bottom: 1px solid #f0f0f0;
  }

  .ts-meta {
    grid-template-columns: 1fr;
  }

  .ts-panel {
    padding: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tenant-success-page .top-anim {
    animation: none;
  }
}
