/* ==========================================================================
   星网数科 · 加盟选择专家 — 3D 空间数字孪生 16 大全场景方案库与专题详情页
   Apple × Linear × ArchDaily · Porcelain (#F5F5F7) · Obsidian-Emerald Hero
   Emerald (#0F766E) · Commercial Gold (#B45309) · Unified 1200px Rail (1248/24)
   ========================================================================== */

body.page-sandbox-scenarios {
  background: #f5f5f7;
  color: #0f172a;
}

.sbs-page {
  --sbs-ink: #0f172a;
  --sbs-ink-2: #334155;
  --sbs-muted: #64748b;
  --sbs-emerald: #0f766e;
  --sbs-emerald-deep: #115e59;
  --sbs-emerald-bright: #0d9488;
  --sbs-emerald-soft: #ecfdf5;
  --sbs-emerald-line: rgba(15, 118, 110, 0.24);
  --sbs-gold: #b45309;
  --sbs-gold-bright: #d97706;
  --sbs-gold-soft: #fffbeb;
  --sbs-gold-line: rgba(180, 83, 9, 0.26);
  --sbs-risk: #be123c;
  --sbs-risk-soft: #fff1f2;
  --sbs-risk-line: rgba(190, 18, 60, 0.24);
  --sbs-surface: #ffffff;
  --sbs-canvas: #f5f5f7;
  --sbs-line: rgba(15, 23, 42, 0.08);
  --sbs-line-strong: rgba(15, 23, 42, 0.14);
  --sbs-shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
  --sbs-shadow-sm: 0 2px 10px rgba(15, 23, 42, 0.05), 0 1px 2px rgba(15, 23, 42, 0.03);
  --sbs-shadow-md: 0 14px 34px rgba(15, 23, 42, 0.09), 0 2px 8px rgba(15, 23, 42, 0.04);
  --sbs-ease: cubic-bezier(0.22, 1, 0.36, 1);

  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

.sbs-page *,
.sbs-page *::before,
.sbs-page *::after {
  box-sizing: border-box;
  min-width: 0;
}

.sbs-wrap {
  width: 100%;
  max-width: 1248px;
  margin-inline: auto;
  padding-inline: 24px;
}

.sbs-num {
  font-variant-numeric: tabular-nums;
}

.sbs-section {
  padding: 52px 0;
}

.sbs-section-tight {
  padding: 32px 0;
}

.sbs-section + .sbs-section {
  padding-top: 12px;
}

/* ---------- Section Headers ---------- */
.sbs-sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 28px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.sbs-kicker {
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 720;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sbs-emerald);
}

.sbs-kicker.is-light {
  color: #5eead4;
}

.sbs-kicker.is-gold {
  color: var(--sbs-gold);
}

.sbs-sec-head h2 {
  margin: 0;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.22;
  letter-spacing: -0.024em;
  color: var(--sbs-ink);
  font-weight: 740;
}

.sbs-sec-desc {
  max-width: 660px;
  margin: 6px 0 0;
  font-size: 14.5px;
  line-height: 1.68;
  color: var(--sbs-muted);
}

/* ---------- Breadcrumb ---------- */
.sbs-breadcrumb {
  margin-bottom: 18px;
}

.sbs-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
  color: rgba(226, 232, 240, 0.72);
}

.sbs-breadcrumb li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.sbs-breadcrumb li + li::before {
  content: '/';
  opacity: 0.42;
}

.sbs-breadcrumb a {
  color: rgba(226, 232, 240, 0.86);
  text-decoration: none;
  transition: color 0.16s var(--sbs-ease);
}

.sbs-breadcrumb a:hover {
  color: #5eead4;
}

.sbs-breadcrumb li[aria-current="page"] span {
  color: #ffffff;
  font-weight: 620;
}

/* ---------- Pills & Badges ---------- */
.sbs-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 660;
  line-height: 1.3;
  letter-spacing: 0.01em;
  white-space: nowrap;
  border: 1px solid transparent;
}

.sbs-pill.is-emerald {
  background: var(--sbs-emerald-soft);
  color: #065f46;
  border-color: var(--sbs-emerald-line);
}

.sbs-pill.is-gold {
  background: var(--sbs-gold-soft);
  color: #92400e;
  border-color: var(--sbs-gold-line);
}

.sbs-pill.is-dark {
  background: rgba(11, 17, 23, 0.82);
  color: #f8fafc;
  border-color: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
}

.sbs-pill.is-hero-emerald {
  background: rgba(16, 185, 129, 0.18);
  color: #6ee7b7;
  border-color: rgba(110, 231, 183, 0.34);
}

.sbs-pill.is-hero-gold {
  background: rgba(245, 158, 11, 0.18);
  color: #fcd34d;
  border-color: rgba(252, 211, 77, 0.36);
}

.sbs-pill.is-hero-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #e2e8f0;
  border-color: rgba(255, 255, 255, 0.16);
}

.sbs-pill.is-ok {
  background: var(--sbs-emerald-soft);
  color: #065f46;
  border-color: var(--sbs-emerald-line);
}

.sbs-pill.is-warn {
  background: var(--sbs-gold-soft);
  color: #92400e;
  border-color: var(--sbs-gold-line);
}

.sbs-pill.is-risk {
  background: var(--sbs-risk-soft);
  color: var(--sbs-risk);
  border-color: var(--sbs-risk-line);
}

.sbs-pill.is-muted {
  background: #f1f5f9;
  color: #475569;
  border-color: rgba(15, 23, 42, 0.1);
}

/* ---------- Buttons ---------- */
.sbs-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 11px 18px;
  border-radius: 11px;
  font-size: 14px;
  font-weight: 660;
  line-height: 1.25;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.16s var(--sbs-ease), background 0.16s var(--sbs-ease), border-color 0.16s var(--sbs-ease), color 0.16s var(--sbs-ease), box-shadow 0.16s var(--sbs-ease);
}

.sbs-btn:hover {
  transform: translateY(-1px);
}

.sbs-btn-primary {
  background: linear-gradient(135deg, #0f766e 0%, #0d9488 100%);
  color: #ffffff;
  border-color: rgba(94, 234, 212, 0.24);
  box-shadow: 0 8px 22px rgba(15, 118, 110, 0.28);
}

.sbs-btn-primary:hover {
  background: linear-gradient(135deg, #115e59 0%, #0f766e 100%);
  color: #ffffff;
  box-shadow: 0 10px 26px rgba(15, 118, 110, 0.34);
}

.sbs-btn-hero-glass {
  background: rgba(255, 255, 255, 0.08);
  color: #f8fafc;
  border-color: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
}

.sbs-btn-hero-glass:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.34);
  color: #ffffff;
}

.sbs-btn-hero-gold {
  background: rgba(217, 119, 6, 0.16);
  color: #fde68a;
  border-color: rgba(251, 191, 36, 0.34);
}

.sbs-btn-hero-gold:hover {
  background: rgba(217, 119, 6, 0.26);
  color: #ffffff;
  border-color: rgba(251, 191, 36, 0.52);
}

.sbs-btn-outline {
  background: #ffffff;
  color: var(--sbs-ink);
  border-color: var(--sbs-line-strong);
}

.sbs-btn-outline:hover {
  border-color: var(--sbs-emerald);
  color: var(--sbs-emerald);
  background: #f0fdfa;
}

.sbs-btn-soft {
  background: #f1f5f9;
  color: var(--sbs-ink);
  border-color: transparent;
}

.sbs-btn-soft:hover {
  background: #e2e8f0;
  color: var(--sbs-ink);
}

.sbs-btn-sm {
  padding: 8px 13px;
  font-size: 13px;
  border-radius: 9px;
}

/* ==========================================================================
   DARK ARCHITECTURAL OBSIDIAN-EMERALD HERO BAND (HUB & DETAIL)
   ========================================================================== */
.sbs-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 86% 14%, rgba(20, 184, 166, 0.22), transparent 44%),
    radial-gradient(circle at 12% 90%, rgba(217, 119, 6, 0.14), transparent 42%),
    linear-gradient(135deg, #0b1117 0%, #0d1d22 52%, #0f2625 100%);
  color: #f8fafc;
  padding: 40px 0 54px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sbs-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.05) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.72), transparent 92%);
  pointer-events: none;
}

.sbs-hero .sbs-wrap {
  position: relative;
  z-index: 1;
}

.sbs-hero h1 {
  margin: 0 0 14px;
  font-size: clamp(27px, 3.3vw, 42px);
  line-height: 1.18;
  letter-spacing: -0.028em;
  color: #ffffff;
  font-weight: 760;
}

.sbs-hero-lead {
  max-width: 860px;
  margin: 0;
  font-size: 15.5px;
  line-height: 1.74;
  color: rgba(226, 232, 240, 0.88);
}

.sbs-hero-lead strong {
  color: #ffffff;
  font-weight: 660;
}

.sbs-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.sbs-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.sbs-kpi-tile {
  padding: 16px 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.11);
  backdrop-filter: blur(10px);
}

.sbs-kpi-val {
  display: block;
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 760;
  letter-spacing: -0.025em;
  color: #ffffff;
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
}

.sbs-kpi-val.is-emerald {
  color: #5eead4;
}

.sbs-kpi-val.is-gold {
  color: #fbbf24;
}

.sbs-kpi-label {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  font-weight: 640;
  color: #e2e8f0;
}

.sbs-kpi-note {
  display: block;
  margin-top: 3px;
  font-size: 12px;
  line-height: 1.45;
  color: rgba(203, 213, 225, 0.74);
}

/* ==========================================================================
   HUB FILTER & SEARCH BAR
   ========================================================================== */
.sbs-filter-shell {
  margin-top: -26px;
  position: relative;
  z-index: 4;
}

.sbs-filter-bar {
  background: var(--sbs-surface);
  border: 1px solid var(--sbs-line);
  border-radius: 16px;
  padding: 16px 18px;
  box-shadow: var(--sbs-shadow-md);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 18px;
}

.sbs-search-box {
  position: relative;
  flex: 1 1 320px;
  display: flex;
  align-items: center;
}

.sbs-search-ico {
  position: absolute;
  left: 13px;
  color: var(--sbs-muted);
  pointer-events: none;
  display: inline-flex;
}

.sbs-search-input {
  width: 100%;
  height: 44px;
  padding: 0 38px 0 40px;
  border-radius: 11px;
  border: 1px solid var(--sbs-line-strong);
  background: #f8fafc;
  color: var(--sbs-ink);
  font-size: 14px;
  font-family: inherit;
  transition: border-color 0.16s var(--sbs-ease), background 0.16s var(--sbs-ease), box-shadow 0.16s var(--sbs-ease);
}

.sbs-search-input::placeholder {
  color: #94a3b8;
}

.sbs-search-input:focus {
  outline: none;
  background: #ffffff;
  border-color: var(--sbs-emerald);
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.14);
}

.sbs-search-clear {
  position: absolute;
  right: 9px;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  border: none;
  background: #e2e8f0;
  color: #475569;
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.sbs-search-clear[hidden] {
  display: none;
}

.sbs-search-clear:hover {
  background: #cbd5e1;
  color: var(--sbs-ink);
}

.sbs-filter-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
}

.sbs-cat-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sbs-cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 40px;
  padding: 0 15px;
  border-radius: 999px;
  border: 1px solid var(--sbs-line-strong);
  background: #ffffff;
  color: var(--sbs-ink-2);
  font-size: 13.5px;
  font-weight: 650;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.16s var(--sbs-ease);
}

.sbs-cat-pill:hover {
  border-color: var(--sbs-emerald);
  color: var(--sbs-emerald);
}

.sbs-cat-pill.is-active {
  background: var(--sbs-ink);
  color: #ffffff;
  border-color: var(--sbs-ink);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.16);
}

.sbs-cat-pill[data-sbs-cat="residential"].is-active {
  background: var(--sbs-emerald);
  border-color: var(--sbs-emerald);
}

.sbs-cat-pill[data-sbs-cat="commercial"].is-active {
  background: var(--sbs-gold);
  border-color: var(--sbs-gold);
}

.sbs-cat-pill .sbs-pill-count {
  font-size: 11.5px;
  padding: 1px 7px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.08);
  font-variant-numeric: tabular-nums;
}

.sbs-cat-pill.is-active .sbs-pill-count {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.sbs-match-counter {
  font-size: 13px;
  color: var(--sbs-muted);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.sbs-match-counter strong {
  color: var(--sbs-ink);
  font-weight: 740;
}

/* ==========================================================================
   16-SCENARIO CARDS GRID (HUB & RELATED)
   ========================================================================== */
.sbs-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.sbs-grid.is-4col {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.sbs-card {
  display: flex;
  flex-direction: column;
  background: var(--sbs-surface);
  border: 1px solid var(--sbs-line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--sbs-shadow-sm);
  transition: transform 0.2s var(--sbs-ease), box-shadow 0.2s var(--sbs-ease), border-color 0.2s var(--sbs-ease);
}

.sbs-card[hidden] {
  display: none !important;
}

.sbs-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--sbs-shadow-md);
  border-color: rgba(15, 118, 110, 0.26);
}

.sbs-card-media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0f172a;
}

.sbs-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s var(--sbs-ease);
}

.sbs-card:hover .sbs-card-media img {
  transform: scale(1.04);
}

.sbs-card-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 17, 23, 0.14) 0%, transparent 45%, rgba(11, 17, 23, 0.62) 100%);
  pointer-events: none;
}

.sbs-card-badges {
  position: absolute;
  top: 11px;
  left: 11px;
  right: 11px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.sbs-card-subgroup {
  position: absolute;
  left: 11px;
  bottom: 10px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(11, 17, 23, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #f8fafc;
  font-size: 11.5px;
  font-weight: 600;
  backdrop-filter: blur(8px);
}

.sbs-accent-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  flex: none;
}

.sbs-card-body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  padding: 18px 18px 16px;
}

.sbs-card-title {
  margin: 0 0 8px;
  font-size: 17px;
  line-height: 1.32;
  font-weight: 730;
  letter-spacing: -0.018em;
}

.sbs-card-title a {
  color: var(--sbs-ink);
  text-decoration: none;
  transition: color 0.15s var(--sbs-ease);
}

.sbs-card-title a:hover {
  color: var(--sbs-emerald);
}

.sbs-card-desc {
  margin: 0 0 14px;
  font-size: 13.5px;
  line-height: 1.62;
  color: var(--sbs-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sbs-card-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: auto;
  padding: 11px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid var(--sbs-line);
}

.sbs-card-kpi {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sbs-card-kpi span {
  font-size: 11px;
  color: var(--sbs-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sbs-card-kpi strong {
  font-size: 13.5px;
  font-weight: 740;
  color: var(--sbs-ink);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sbs-card-kpi strong.is-emerald {
  color: var(--sbs-emerald);
}

.sbs-card-kpi strong.is-gold {
  color: var(--sbs-gold);
}

.sbs-card-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
}

.sbs-card-actions .sbs-btn {
  width: 100%;
  padding: 9px 10px;
  font-size: 12.5px;
  white-space: nowrap;
}

.sbs-empty-state {
  text-align: center;
  padding: 48px 24px;
  background: var(--sbs-surface);
  border: 1px dashed var(--sbs-line-strong);
  border-radius: 16px;
}

.sbs-empty-state[hidden] {
  display: none;
}

.sbs-empty-state h3 {
  margin: 0 0 8px;
  font-size: 18px;
  color: var(--sbs-ink);
}

.sbs-empty-state p {
  margin: 0 0 18px;
  font-size: 14px;
  color: var(--sbs-muted);
}

/* ==========================================================================
   12-CITY QUICK LAUNCH MATRIX (HUB)
   ========================================================================== */
.sbs-city-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.sbs-city-card {
  background: var(--sbs-surface);
  border: 1px solid var(--sbs-line);
  border-radius: 14px;
  padding: 16px;
  box-shadow: var(--sbs-shadow-xs);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.18s var(--sbs-ease), box-shadow 0.18s var(--sbs-ease), border-color 0.18s var(--sbs-ease);
}

.sbs-city-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--sbs-shadow-sm);
  border-color: var(--sbs-emerald-line);
}

.sbs-city-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.sbs-city-name {
  margin: 0;
  font-size: 17px;
  font-weight: 740;
  color: var(--sbs-ink);
  line-height: 1.25;
}

.sbs-city-prov {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: var(--sbs-muted);
}

.sbs-city-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  padding: 9px 10px;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid var(--sbs-line);
}

.sbs-city-stat span {
  display: block;
  font-size: 10.5px;
  color: var(--sbs-muted);
}

.sbs-city-stat strong {
  display: block;
  margin-top: 2px;
  font-size: 13px;
  font-weight: 730;
  color: var(--sbs-ink);
  font-variant-numeric: tabular-nums;
}

.sbs-city-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
}

.sbs-city-link {
  flex: 1 1 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 8px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 640;
  text-decoration: none;
  border: 1px solid var(--sbs-line-strong);
  background: #ffffff;
  color: var(--sbs-ink-2);
  white-space: nowrap;
  transition: all 0.15s var(--sbs-ease);
}

.sbs-city-link:hover {
  border-color: var(--sbs-emerald);
  color: var(--sbs-emerald);
  background: var(--sbs-emerald-soft);
}

.sbs-city-link.is-primary {
  background: var(--sbs-emerald-soft);
  border-color: var(--sbs-emerald-line);
  color: #065f46;
}

.sbs-city-link.is-primary:hover {
  background: var(--sbs-emerald);
  border-color: var(--sbs-emerald);
  color: #ffffff;
}

/* ==========================================================================
   DETAIL PAGE HERO & GEO DIRECT ANSWER
   ========================================================================== */
.sbs-detail-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 30px;
  align-items: start;
}

.sbs-detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.sbs-geo-direct {
  margin-top: 16px;
  padding: 16px 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.065);
  border: 1px solid rgba(94, 234, 212, 0.26);
  border-left: 3px solid #2dd4bf;
  backdrop-filter: blur(10px);
}

.sbs-geo-direct-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #5eead4;
}

.sbs-geo-direct p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.72;
  color: #f1f5f9;
}

.sbs-detail-figure {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(11, 17, 23, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.36);
}

.sbs-detail-figure-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0f172a;
}

.sbs-detail-figure-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sbs-detail-figure-wm {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
}

.sbs-detail-figure figcaption {
  padding: 12px 15px;
  font-size: 12.5px;
  line-height: 1.5;
  color: rgba(226, 232, 240, 0.86);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.sbs-detail-figure figcaption strong {
  color: #ffffff;
  font-weight: 660;
}

/* ==========================================================================
   4-TIME-OF-DAY SIMULATION MATRIX
   ========================================================================== */
.sbs-time-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.sbs-time-card {
  position: relative;
  background: var(--sbs-surface);
  border: 1px solid var(--sbs-line);
  border-top: 3px solid var(--sbs-emerald);
  border-radius: 15px;
  padding: 18px;
  box-shadow: var(--sbs-shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.18s var(--sbs-ease), box-shadow 0.18s var(--sbs-ease);
}

.sbs-time-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--sbs-shadow-md);
}

.sbs-time-card.is-morning {
  border-top-color: #d97706;
}

.sbs-time-card.is-noon {
  border-top-color: #0284c7;
}

.sbs-time-card.is-dusk {
  border-top-color: #7c3aed;
}

.sbs-time-card.is-night {
  border-top-color: #0f766e;
}

.sbs-time-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.sbs-time-clock {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 8px;
  background: #0f172a;
  color: #ffffff;
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.sbs-time-label {
  font-size: 14px;
  font-weight: 730;
  color: var(--sbs-ink);
}

.sbs-time-summary {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.66;
  color: var(--sbs-ink-2);
  flex: 1 1 auto;
}

.sbs-time-metric {
  padding: 8px 10px;
  border-radius: 9px;
  background: #f8fafc;
  border: 1px solid var(--sbs-line);
  font-size: 12px;
  font-weight: 660;
  color: var(--sbs-emerald-deep);
  font-variant-numeric: tabular-nums;
}

.sbs-time-cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  border-radius: 10px;
  background: var(--sbs-emerald-soft);
  border: 1px solid var(--sbs-emerald-line);
  color: #065f46;
  font-size: 12.5px;
  font-weight: 680;
  text-decoration: none;
  transition: all 0.16s var(--sbs-ease);
}

.sbs-time-cta:hover {
  background: var(--sbs-emerald);
  border-color: var(--sbs-emerald);
  color: #ffffff;
}

/* ==========================================================================
   12-CITY BENCHMARK ECONOMICS TABLE
   ========================================================================== */
.sbs-table-card {
  background: var(--sbs-surface);
  border: 1px solid var(--sbs-line);
  border-radius: 16px;
  box-shadow: var(--sbs-shadow-sm);
  overflow: hidden;
}

.sbs-table-scroll {
  overflow-x: auto;
  max-width: 100%;
  -webkit-overflow-scrolling: touch;
}

.sbs-table {
  width: 100%;
  min-width: 820px;
  border-collapse: collapse;
  font-size: 13.5px;
  text-align: left;
}

.sbs-table thead th {
  padding: 14px 16px;
  background: #f8fafc;
  color: var(--sbs-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  border-bottom: 1px solid var(--sbs-line-strong);
  white-space: nowrap;
}

.sbs-table tbody td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--sbs-line);
  color: var(--sbs-ink-2);
  vertical-align: middle;
}

.sbs-table tbody tr:last-child td {
  border-bottom: none;
}

.sbs-table tbody tr:hover td {
  background: #f8fafc;
}

.sbs-table-city strong {
  display: block;
  font-size: 14.5px;
  font-weight: 720;
  color: var(--sbs-ink);
}

.sbs-table-city span {
  font-size: 12px;
  color: var(--sbs-muted);
}

.sbs-table-num {
  font-weight: 720;
  color: var(--sbs-ink);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.sbs-table-num.is-emerald {
  color: var(--sbs-emerald);
}

.sbs-table-num.is-gold {
  color: var(--sbs-gold);
}

.sbs-traffic-bar {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-variant-numeric: tabular-nums;
  font-weight: 680;
  color: var(--sbs-ink);
}

.sbs-traffic-track {
  width: 58px;
  height: 6px;
  border-radius: 999px;
  background: #e2e8f0;
  overflow: hidden;
  display: inline-block;
}

.sbs-traffic-fill {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #0f766e, #14b8a6);
}

.sbs-table-links {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.sbs-table-links a {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 650;
  text-decoration: none;
  border: 1px solid var(--sbs-line-strong);
  color: var(--sbs-ink-2);
  background: #ffffff;
  transition: all 0.15s var(--sbs-ease);
}

.sbs-table-links a:hover {
  border-color: var(--sbs-emerald);
  color: var(--sbs-emerald);
  background: var(--sbs-emerald-soft);
}

.sbs-table-links a.is-primary {
  background: var(--sbs-emerald-soft);
  border-color: var(--sbs-emerald-line);
  color: #065f46;
}

.sbs-table-links a.is-primary:hover {
  background: var(--sbs-emerald);
  color: #ffffff;
}

.sbs-table-foot {
  padding: 13px 18px;
  background: #f8fafc;
  border-top: 1px solid var(--sbs-line);
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--sbs-muted);
}

/* ==========================================================================
   ENGINEERING & COMPLIANCE FIELD CHECKLIST (01–05)
   ========================================================================== */
.sbs-check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.sbs-check-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px;
  border-radius: 14px;
  background: var(--sbs-surface);
  border: 1px solid var(--sbs-line);
  box-shadow: var(--sbs-shadow-xs);
}

.sbs-check-num {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, #0b1117 0%, #0f2625 100%);
  color: #5eead4;
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 13px;
  font-weight: 760;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.sbs-check-body {
  flex: 1 1 auto;
}

.sbs-check-tag {
  display: inline-block;
  margin-bottom: 5px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--sbs-gold);
}

.sbs-check-body p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--sbs-ink);
  font-weight: 560;
}

/* ==========================================================================
   NATIVE <details> FAQ ACCORDION
   ========================================================================== */
.sbs-faq-list {
  display: grid;
  gap: 12px;
}

.sbs-faq-item {
  background: var(--sbs-surface);
  border: 1px solid var(--sbs-line);
  border-radius: 14px;
  box-shadow: var(--sbs-shadow-xs);
  overflow: hidden;
  transition: border-color 0.16s var(--sbs-ease), box-shadow 0.16s var(--sbs-ease);
}

.sbs-faq-item[open] {
  border-color: var(--sbs-emerald-line);
  box-shadow: var(--sbs-shadow-sm);
}

.sbs-faq-q {
  list-style: none;
  cursor: pointer;
  padding: 17px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--sbs-ink);
}

.sbs-faq-q::-webkit-details-marker {
  display: none;
}

.sbs-faq-q::after {
  content: '+';
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: #f1f5f9;
  color: var(--sbs-ink-2);
  font-size: 17px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s var(--sbs-ease), background 0.2s var(--sbs-ease), color 0.2s var(--sbs-ease);
}

.sbs-faq-item[open] .sbs-faq-q::after {
  content: '−';
  background: var(--sbs-emerald);
  color: #ffffff;
}

.sbs-faq-a {
  padding: 0 20px 18px;
  font-size: 14.5px;
  line-height: 1.74;
  color: var(--sbs-ink-2);
  border-top: 1px solid rgba(15, 23, 42, 0.05);
  padding-top: 14px;
}

/* ==========================================================================
   ALL-16 SCENARIOS QUICK SWITCHER STRIP
   ========================================================================== */
.sbs-switcher-card {
  background: var(--sbs-surface);
  border: 1px solid var(--sbs-line);
  border-radius: 16px;
  padding: 20px 22px;
  box-shadow: var(--sbs-shadow-xs);
  display: grid;
  gap: 16px;
}

.sbs-switcher-group {
  display: grid;
  gap: 10px;
}

.sbs-switcher-label {
  font-size: 12px;
  font-weight: 730;
  letter-spacing: 0.06em;
  color: var(--sbs-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.sbs-switcher-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sbs-switcher-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid var(--sbs-line-strong);
  background: #f8fafc;
  color: var(--sbs-ink-2);
  font-size: 13px;
  font-weight: 620;
  text-decoration: none;
  transition: all 0.15s var(--sbs-ease);
}

.sbs-switcher-link:hover {
  border-color: var(--sbs-emerald);
  color: var(--sbs-emerald);
  background: var(--sbs-emerald-soft);
}

.sbs-switcher-link.is-current {
  background: var(--sbs-ink);
  border-color: var(--sbs-ink);
  color: #ffffff;
}

.sbs-switcher-link small {
  opacity: 0.72;
  font-variant-numeric: tabular-nums;
}

/* ==========================================================================
   OFFICIAL ALGORITHM COMPLIANCE STRIP (5 MANDATORY FILING FIELDS)
   ========================================================================== */
.sbs-compliance {
  padding: 12px 0 56px;
}

.sbs-compliance-card {
  background: var(--sbs-surface);
  border: 1px solid var(--sbs-line);
  border-left: 3px solid var(--sbs-emerald);
  border-radius: 15px;
  padding: 20px 22px;
  box-shadow: var(--sbs-shadow-xs);
}

.sbs-compliance-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.sbs-compliance-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.sbs-compliance-brand strong {
  font-size: 14.5px;
  color: var(--sbs-ink);
}

.sbs-compliance-ver {
  font-size: 12px;
  font-weight: 660;
  color: var(--sbs-muted);
  padding: 3px 10px;
  border-radius: 999px;
  background: #f1f5f9;
}

.sbs-compliance-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 12px;
  padding: 0;
  list-style: none;
}

.sbs-compliance-grid li {
  padding: 10px 12px;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid var(--sbs-line);
}

.sbs-compliance-grid span {
  display: block;
  font-size: 11px;
  color: var(--sbs-muted);
}

.sbs-compliance-grid strong {
  display: block;
  margin-top: 3px;
  font-size: 13px;
  font-weight: 680;
  color: var(--sbs-ink);
  line-height: 1.4;
}

.sbs-compliance-grid a {
  color: var(--sbs-emerald);
  text-decoration: none;
}

.sbs-compliance-grid a:hover {
  text-decoration: underline;
}

.sbs-compliance-notice {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--sbs-muted);
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS (1280 / 1024 / 640 / 390)
   ========================================================================== */
@media (max-width: 1120px) {
  .sbs-time-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .sbs-grid.is-4col {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .sbs-compliance-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1024px) {
  .sbs-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .sbs-city-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .sbs-detail-hero-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .sbs-kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .sbs-city-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .sbs-check-grid {
    grid-template-columns: 1fr;
  }
  .sbs-compliance-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .sbs-wrap {
    padding-inline: 16px;
  }
  .sbs-hero {
    padding: 28px 0 42px;
  }
  .sbs-section {
    padding: 38px 0;
  }
  .sbs-kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .sbs-kpi-tile {
    padding: 13px 14px;
  }
  .sbs-filter-bar {
    padding: 14px;
  }
  .sbs-grid,
  .sbs-grid.is-4col,
  .sbs-time-grid,
  .sbs-city-grid,
  .sbs-compliance-grid {
    grid-template-columns: 1fr;
  }
  .sbs-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .sbs-hero-actions .sbs-btn {
    width: 100%;
  }
  .sbs-page .geo-facts {
    grid-template-columns: 1fr;
  }
  .sbs-faq-q {
    padding: 15px 16px;
    font-size: 14.5px;
  }
  .sbs-faq-a {
    padding: 12px 16px 16px;
    font-size: 14px;
  }
}
