/* SaaS Token 套餐页 */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  background: #f5f6fa;
  min-height: 100vh;
  color: #1f2937;
}

.top-nav {
  background: #fff;
  border-bottom: 1px solid #eef0f4;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nav-left, .nav-right { display: flex; align-items: center; gap: 6px; }
.nav-left { flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.nav-left::-webkit-scrollbar { display: none; }

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 14px;
  color: #4b5563;
  text-decoration: none;
  white-space: nowrap;
  border: none;
  background: transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.nav-link:hover { background: #f3f4f6; color: #111827; }
.nav-link.active { background: #e8f8fd; color: #00b7f0; font-weight: 500; }
.nav-link .icon { font-size: 15px; line-height: 1; }
.chevron { font-size: 10px; color: #9ca3af; }

.nav-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 8px;
  font-size: 13px;
  color: #4b5563;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  cursor: pointer;
  white-space: nowrap;
}

.nav-pill .dot, .nav-link .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #7dd3fc;
  flex-shrink: 0;
}

.saas-main {
  max-width: 1360px;
  margin: 0 auto;
  padding: 32px 32px 64px;
}

.saas-hero {
  text-align: center;
  margin-bottom: 40px;
  padding: 8px 0 0;
}

.hero-eyebrow {
  font-size: 13px;
  color: #33c5f3;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}

.saas-hero h1 {
  font-size: 32px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 10px;
}

.saas-consumer .track-tabs {
  margin-bottom: 40px;
}

.saas-consumer .plans-section {
  margin-bottom: 48px;
}

.saas-consumer .plans-shell {
  background: #fff;
  border-radius: 20px;
  border: 1px solid #eef0f4;
  padding: 36px 32px 32px;
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.04);
}

.saas-consumer .plans-head {
  text-align: center;
  margin-bottom: 32px;
}

.saas-consumer .plans-head h2 {
  font-size: 24px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 8px;
}

.saas-consumer .plans-head .hint {
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 0;
  letter-spacing: 0.02em;
}

.saas-consumer .plans-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  align-items: stretch;
}

@media (max-width: 768px) {
  .saas-consumer .plans-grid { grid-template-columns: 1fr; }
  .saas-consumer .plans-shell { padding: 24px 18px; }
}

.saas-consumer .plan-card {
  min-height: 0;
  padding: 24px 22px 22px;
  border-radius: 14px;
  border: 1px solid #e8eaef;
  background: #fafbfc;
  box-shadow: none;
}

.saas-consumer .plan-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(51, 197, 243, 0.1);
  border-color: #b3e7f8;
  background: #fff;
}

.saas-consumer .plan-card.featured {
  background: linear-gradient(180deg, #f3fbfe 0%, #fff 100%);
  border: 2px solid #9adcf5;
  box-shadow: 0 8px 32px rgba(0, 183, 240, 0.12);
}

.saas-consumer .plan-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.saas-consumer .plan-card .plan-name {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: #1f2937;
  line-height: 1.35;
  flex: 1;
}

.saas-consumer .plan-badge {
  position: static;
  transform: none;
  flex-shrink: 0;
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 6px;
  background: #d7f1fb;
  color: #0099cc;
  font-weight: 600;
}

.saas-consumer .plan-card.featured .plan-badge {
  background: linear-gradient(90deg, #00b7f0, #33c5f3);
  color: #fff;
}

.saas-consumer .plan-price-row {
  margin-bottom: 10px;
}

.saas-consumer .plan-price {
  font-size: 32px;
  font-weight: 700;
  color: #0099cc;
  line-height: 1.1;
}

.saas-consumer .plan-price span {
  font-size: 15px;
  color: #9ca3af;
  margin-left: 2px;
}

.saas-consumer .plan-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #4b5563;
  margin-bottom: 10px;
}

.saas-consumer .plan-meta-dot {
  color: #d1d5db;
}

.saas-consumer .plan-estimate {
  font-size: 12px;
  color: #9ca3af;
  line-height: 1.5;
  margin-bottom: 16px;
  min-height: auto;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 8px;
  border: 1px solid #f0f0f0;
}

.saas-consumer .plan-card.featured .plan-estimate {
  background: rgba(255, 255, 255, 0.85);
  border-color: #e9d5ff;
}

.saas-consumer .plan-features {
  font-size: 13px;
  margin-bottom: 20px;
}

.saas-consumer .plan-features li {
  padding: 5px 0 5px 20px;
}

.saas-consumer .plan-btn {
  margin-top: auto;
  padding: 13px 16px;
  border-radius: 10px;
}

.saas-consumer .plan-btn.outline {
  background: #fff;
  border: 1.5px solid #33c5f3;
  color: #00b7f0;
}

.saas-consumer .plan-btn.outline.primary,
.saas-consumer .plan-card.featured .plan-btn.outline {
  background: linear-gradient(135deg, #00b7f0 0%, #33c5f3 100%);
  border: none;
  color: #fff;
}

.saas-consumer .plan-btn.outline.primary:hover,
.saas-consumer .plan-card.featured .plan-btn.outline:hover {
  opacity: 0.92;
}

.saas-footnote {
  text-align: center;
  font-size: 13px;
  color: #9ca3af;
  margin-top: 28px;
  line-height: 1.6;
}

.saas-consumer .gov-services-panel {
  margin: 0 0 48px;
  padding: 28px 24px;
  background: #fff;
  border-radius: 16px;
  border: 1px solid #eef0f4;
}

.saas-consumer .token-table-section {
  border-radius: 20px;
  padding: 32px 28px;
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.04);
}

.saas-consumer .token-table th {
  padding: 14px 16px;
  font-size: 14px;
}

.saas-consumer .token-table td {
  padding: 14px 16px;
  font-size: 14px;
}

.saas-consumer .token-table td.highlight {
  background: #eff6ff;
  color: #1d4ed8;
  font-weight: 600;
}

.saas-consumer .token-table-section h2 {
  text-align: center;
  font-size: 22px;
  margin-bottom: 6px;
}

.saas-consumer .token-table-section .sub {
  text-align: center;
  margin-bottom: 24px;
  color: #6b7280;
}

.saas-hero p {
  font-size: 15px;
  color: #6b7280;
  line-height: 1.6;
  max-width: 720px;
  margin: 0 auto;
}

.saas-wallet-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-top: 18px;
  padding: 10px 18px;
  background: rgba(22, 119, 255, 0.06);
  border: 1px solid rgba(22, 119, 255, 0.15);
  border-radius: 10px;
  font-size: 13px;
  color: #374151;
}

.saas-wallet-bar .wallet-label {
  font-weight: 600;
  color: #1677ff;
}

.saas-wallet-bar .wallet-item strong {
  color: #111827;
  margin-left: 4px;
}

.saas-wallet-bar .wallet-link {
  color: #1677ff;
  text-decoration: none;
  font-weight: 500;
}

.saas-wallet-bar .wallet-link:hover {
  text-decoration: underline;
}

.usage-ledger-section {
  margin: 28px auto 0;
  max-width: 1100px;
  border-radius: 20px;
  padding: 28px 24px;
  background: #fff;
  border: 1px solid #eef0f4;
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.04);
}

.usage-ledger-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.usage-ledger-head h2 {
  margin: 0 0 4px;
  font-size: 20px;
}

.usage-ledger-head .sub {
  margin: 0;
  color: #6b7280;
  font-size: 13px;
}

.usage-ledger-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.usage-ledger-actions select {
  height: 36px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 0 10px;
  background: #fff;
  color: #374151;
}

.usage-btn {
  height: 36px;
  padding: 0 14px;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #374151;
  cursor: pointer;
  font-size: 13px;
}

.usage-btn.primary {
  background: #1677ff;
  border-color: #1677ff;
  color: #fff;
}

.usage-btn:hover {
  filter: brightness(0.97);
}

.usage-table .track-tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  background: #f3f4f6;
  font-size: 12px;
}

.usage-table .type-debit {
  color: #b91c1c;
}

.usage-table .type-credit {
  color: #047857;
}

.usage-table .meta-line {
  font-size: 12px;
  color: #9ca3af;
}


.track-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.track-tab {
  padding: 12px 24px;
  border-radius: 999px;
  border: 2px solid #e5e7eb;
  background: #fff;
  font-size: 15px;
  font-weight: 500;
  color: #4b5563;
  cursor: pointer;
  transition: all 0.2s;
}

.track-tab:hover { border-color: #9adcf5; color: #0099cc; }
.track-tab.active {
  border-color: #33c5f3;
  background: linear-gradient(135deg, #33c5f3 0%, #7dd3fc 100%);
  color: #fff;
  box-shadow: 0 4px 14px rgba(51, 197, 243, 0.35);
}

.track-tab .sub {
  display: block;
  font-size: 11px;
  font-weight: 400;
  opacity: 0.85;
  margin-top: 2px;
}

.plans-section h2 {
  text-align: center;
  font-size: 22px;
  margin-bottom: 8px;
  color: #1f2937;
}

.plans-section .hint {
  text-align: center;
  font-size: 13px;
  color: #9ca3af;
  margin-bottom: 28px;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}

@media (max-width: 1100px) {
  .plans-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .plans-grid { grid-template-columns: 1fr; }
}

.plan-card {
  background: #fff;
  border-radius: 16px;
  border: 1px solid #eef0f4;
  padding: 22px 20px;
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}

.plan-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(51, 197, 243, 0.12);
}

.plan-card.featured {
  border-color: #9adcf5;
  box-shadow: 0 8px 24px rgba(51, 197, 243, 0.15);
}

.plan-card.wide {
  grid-column: span 2;
}

@media (max-width: 1100px) {
  .plan-card.wide { grid-column: span 2; }
}

@media (max-width: 600px) {
  .plan-card.wide { grid-column: span 1; }
}

.plan-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, #33c5f3, #7dd3fc);
  color: #fff;
  font-size: 11px;
  padding: 4px 14px;
  border-radius: 999px;
  white-space: nowrap;
}

.plan-name {
  font-size: 17px;
  font-weight: 600;
  color: #1f2937;
  margin-top: 8px;
  margin-bottom: 12px;
}

.plan-price {
  font-size: 28px;
  font-weight: 700;
  color: #00b7f0;
  margin-bottom: 4px;
}

.plan-price span {
  font-size: 14px;
  font-weight: 400;
  color: #9ca3af;
}

.plan-tokens {
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 12px;
}

.plan-estimate {
  font-size: 12px;
  color: #9ca3af;
  line-height: 1.55;
  margin-bottom: 14px;
  min-height: 48px;
}

.plan-features {
  list-style: none;
  font-size: 12px;
  color: #4b5563;
  margin-bottom: 18px;
  flex: 1;
}

.plan-features li {
  padding: 4px 0;
  padding-left: 18px;
  position: relative;
}

.plan-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #33c5f3;
  font-weight: 700;
}

.plan-btn {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  background: linear-gradient(135deg, #33c5f3 0%, #00b7f0 100%);
  color: #fff;
  transition: opacity 0.2s;
}

.plan-btn:hover { opacity: 0.9; }
.plan-btn.outline {
  background: #fff;
  border: 2px solid #33c5f3;
  color: #00b7f0;
}

.revenue-section {
  margin: 48px 0 40px;
}

.revenue-section h2 {
  text-align: center;
  font-size: 20px;
  margin-bottom: 20px;
  color: #1f2937;
}

.revenue-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

@media (max-width: 800px) {
  .revenue-grid { grid-template-columns: 1fr; }
}

.revenue-card {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #eef0f4;
  padding: 20px;
  border-top: 4px solid #33c5f3;
}

.revenue-card.gov { border-top-color: #531dab; }
.revenue-card.commercial { border-top-color: #2563eb; }
.revenue-card.node { border-top-color: #059669; }

.revenue-card h3 {
  font-size: 16px;
  margin-bottom: 8px;
  color: #1f2937;
}

.revenue-card p {
  font-size: 13px;
  color: #6b7280;
  line-height: 1.6;
}

.token-table-section {
  background: #fff;
  border-radius: 16px;
  border: 1px solid #eef0f4;
  padding: 28px 24px;
  margin-top: 40px;
}

.token-table-section h2 {
  font-size: 20px;
  margin-bottom: 6px;
  color: #1f2937;
}

.token-table-section .sub {
  font-size: 13px;
  color: #9ca3af;
  margin-bottom: 20px;
}

.token-table-wrap {
  overflow-x: auto;
}

.token-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.token-table th,
.token-table td {
  padding: 12px 14px;
  text-align: center;
  border-bottom: 1px solid #f0f0f0;
}

.token-table th {
  background: #f3fbfe;
  color: #0369a1;
  font-weight: 600;
}

.token-table th:first-child,
.token-table td:first-child {
  text-align: left;
  font-weight: 500;
  color: #374151;
}

.token-table td.dim {
  color: #d1d5db;
}

.token-table col.highlight {
  background: #e8f8fd;
}

.token-table th.highlight,
.token-table td.highlight {
  background: #f3fbfe;
  color: #0099cc;
  font-weight: 600;
}

.token-table tr:hover td {
  background: #fefefe;
}

.token-table tr:hover td.highlight {
  background: #e8f8fd;
}

.token-rules {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

@media (max-width: 800px) {
  .token-rules { grid-template-columns: 1fr; }
}

.token-rule {
  background: #f9fafb;
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 12px;
  color: #6b7280;
  line-height: 1.55;
}

.token-rule strong {
  display: block;
  color: #374151;
  margin-bottom: 4px;
  font-size: 13px;
}

.saas-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: #1f2937;
  color: #fff;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 14px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  z-index: 200;
}

.saas-toast.show { opacity: 1; }

/* ── 政务合规 UI ── */
.gov-compliance-badge {
  display: inline-block;
  background: linear-gradient(90deg, #531dab, #722ed1);
  color: #fff;
  font-size: 12px;
  padding: 4px 14px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.track-gov .track-tab[data-track="gov"].active {
  background: linear-gradient(135deg, #531dab 0%, #722ed1 100%);
  border-color: #531dab;
}

.gov-compliance-panel {
  background: #fff;
  border: 1px solid #d3adf7;
  border-radius: 16px;
  padding: 22px 24px;
  margin-bottom: 32px;
}

.compliance-alert {
  background: #f9f0ff;
  border-left: 4px solid #722ed1;
  padding: 12px 16px;
  border-radius: 0 8px 8px 0;
  font-size: 14px;
  color: #391085;
  line-height: 1.6;
  margin-bottom: 18px;
}

.compliance-alert em { font-style: normal; font-weight: 600; color: #531dab; }

.compliance-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 18px;
}

@media (max-width: 700px) {
  .compliance-grid { grid-template-columns: 1fr; }
}

.compliance-card {
  border-radius: 12px;
  padding: 16px 18px;
  font-size: 13px;
  line-height: 1.65;
}

.compliance-card.ok {
  background: #f6ffed;
  border: 1px solid #b7eb8f;
}

.compliance-card.no {
  background: #fff2f0;
  border: 1px solid #ffccc7;
}

.compliance-card h3 {
  font-size: 14px;
  margin-bottom: 10px;
}

.compliance-card ul { list-style: none; padding: 0; }
.compliance-card li {
  padding: 3px 0 3px 14px;
  position: relative;
  color: #4b5563;
}

.compliance-card.ok li::before { content: '·'; position: absolute; left: 0; color: #52c41a; font-weight: 700; }
.compliance-card.no li::before { content: '·'; position: absolute; left: 0; color: #ff4d4f; font-weight: 700; }

.compliance-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  color: #531dab;
  font-weight: 500;
  padding: 12px;
  background: #f3fbfe;
  border-radius: 8px;
}

.compliance-flow .arrow { color: #b37feb; }

.gov-services-panel {
  margin: 36px 0;
}

.gov-services-panel h2 {
  text-align: center;
  font-size: 20px;
  margin-bottom: 6px;
}

.gov-services-panel .sub {
  text-align: center;
  font-size: 13px;
  color: #9ca3af;
  margin-bottom: 16px;
}

.gov-service-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.gov-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  border: 1px solid #e5e7eb;
  background: #fff;
}

.gov-chip.open { border-color: #b7eb8f; background: #f6ffed; color: #135200; }
.gov-chip.closed { border-color: #ffccc7; background: #fff2f0; color: #a8071a; opacity: 0.85; }
.gov-chip .tag { font-size: 10px; padding: 2px 6px; border-radius: 4px; background: rgba(0,0,0,0.06); }

.plan-card.compliance { border-color: #d3adf7; }
.plan-compliance-tag {
  display: inline-block;
  font-size: 10px;
  color: #722ed1;
  background: #f9f0ff;
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 6px;
}

.revenue-grid.single { grid-template-columns: 1fr; max-width: 640px; margin: 0 auto; }
.revenue-card.active { box-shadow: 0 4px 16px rgba(114, 46, 209, 0.15); }

.token-table tr.row-blocked td { opacity: 0.7; }
.token-table .cell-unit { font-size: 11px; color: #9ca3af; }
.token-table .cell-note { font-size: 10px; color: #a8071a; }
.token-rule.gov-emphasis {
  grid-column: 1 / -1;
  background: #f9f0ff;
  border: 1px solid #d3adf7;
  color: #391085;
}

.gov-legal-footer {
  margin-top: 32px;
  padding: 18px 20px;
  background: #fffbe6;
  border: 1px solid #ffe58f;
  border-radius: 12px;
  font-size: 12px;
  color: #874d00;
  line-height: 1.7;
}

.gov-legal-footer p + p { margin-top: 8px; }

/* ── 管理后台嵌入（与前台 /saas 一致）── */
.admin-saas-embed .main-content { background: #f5f6fa; }
.admin-saas-embed .saas-embed-wrap { background: #f5f6fa; border-radius: 12px; }
.admin-saas-embed .saas-main { max-width: 100%; padding: 8px 0 32px; }

.admin-saas-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #fff;
  border: 1px solid #f0f0f0;
  border-radius: 12px;
  padding: 14px 18px;
  margin-bottom: 16px;
}

.admin-saas-bar strong { font-size: 16px; color: #262626; }
.admin-saas-meta { display: block; font-size: 12px; color: #8c8c8c; margin-top: 4px; }
.admin-saas-meta code { background: #f5f5f5; padding: 2px 6px; border-radius: 4px; }
.admin-saas-actions { display: flex; flex-wrap: wrap; gap: 8px; }

.admin-saas-btn {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  background: linear-gradient(135deg, #33c5f3, #00b7f0);
  color: #fff;
  border: none;
}

.admin-saas-btn.outline {
  background: #fff;
  color: #00b7f0;
  border: 1px solid #9adcf5;
}

.admin-saas-btn:hover { opacity: 0.92; }

/* ── 后台路线验证面板 ── */
.admin-saas-page .main-content { max-width: 1200px; }

.rv-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid #f0f0f0;
  border-radius: 12px;
  padding: 14px 18px;
  margin-bottom: 16px;
}

.rv-toolbar label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #595959;
}

.rv-toolbar input {
  padding: 8px 12px;
  border: 1px solid #d9d9d9;
  border-radius: 8px;
  font-size: 14px;
  min-width: 160px;
}

.rv-summary-card {
  background: #fff;
  border: 1px solid #f0f0f0;
  border-radius: 12px;
  padding: 20px 22px;
  margin-bottom: 16px;
}

.rv-verdict {
  display: inline-block;
  font-size: 18px;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 8px;
  margin-bottom: 12px;
}

.rv-verdict.pass { background: #f6ffed; color: #389e0d; border: 1px solid #b7eb8f; }
.rv-verdict.warn { background: #fffbe6; color: #d48806; border: 1px solid #ffe58f; }
.rv-verdict.fail { background: #fff2f0; color: #cf1322; border: 1px solid #ffccc7; }

.rv-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 13px;
  color: #8c8c8c;
  margin-bottom: 14px;
}

.rv-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #531dab;
  font-weight: 500;
  padding: 12px 14px;
  background: #f3fbfe;
  border-radius: 8px;
}

.rv-flow .arrow { color: #b37feb; }

.admin-compliance-ref {
  margin-bottom: 20px;
}

.rv-sections {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 20px;
}

.rv-section {
  background: #fff;
  border: 1px solid #f0f0f0;
  border-radius: 12px;
  padding: 18px 20px;
}

.rv-section.ok { border-left: 4px solid #52c41a; }
.rv-section.pending { border-left: 4px solid #faad14; }

.rv-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}

.rv-section-head h3 {
  font-size: 16px;
  color: #262626;
}

.rv-sec-badge {
  font-size: 12px;
  padding: 2px 10px;
  border-radius: 999px;
  background: #f5f5f5;
  color: #595959;
}

.rv-sec-desc {
  font-size: 12px;
  color: #8c8c8c;
  margin-bottom: 14px;
}

.rv-items {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.rv-item {
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 13px;
  line-height: 1.55;
}

.rv-item.pass { background: #f6ffed; border: 1px solid #d9f7be; }
.rv-item.fail { background: #fff2f0; border: 1px solid #ffccc7; }
.rv-item.critical.fail { border-color: #ff4d4f; }

.rv-item-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.rv-icon { font-weight: 700; }
.rv-item.pass .rv-icon { color: #52c41a; }
.rv-item.fail .rv-icon { color: #ff4d4f; }

.rv-crit {
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 4px;
  background: #ff4d4f;
  color: #fff;
}

.rv-opt {
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 4px;
  background: #f0f0f0;
  color: #8c8c8c;
}

.rv-detail { color: #595959; }
.rv-fix { margin-top: 6px; font-size: 12px; color: #8c8c8c; }
.rv-fix span {
  display: inline-block;
  background: #f5f5f5;
  padding: 1px 6px;
  border-radius: 4px;
  margin-right: 6px;
  color: #595959;
}

.rv-nodes-card {
  background: #fff;
  border: 1px solid #f0f0f0;
  border-radius: 12px;
  padding: 18px 20px;
}

.rv-nodes-card h3 {
  font-size: 15px;
  margin-bottom: 12px;
  color: #262626;
}

.rv-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.rv-table th,
.rv-table td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid #f0f0f0;
}

.rv-table th {
  background: #fafafa;
  color: #595959;
  font-weight: 600;
}

.rv-empty {
  font-size: 13px;
  color: #8c8c8c;
}

.saas-toast.err { background: #cf1322; }
