/* 星网数科 · /hangye 与 /sheji 共用
 * 浅色编辑仪表：青绿 #0f766e / 暖琥珀 #b45309 / 墨色 #0f172a
 * 作用域限在 .ind-page 与 .ind-* ，避免改到全站导航。
 */
.ind-page {
  color: #0f172a;
  background: #f8fafc;
  padding-bottom: 48px;
}

.ind-page > .breadcrumb {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 20px 0;
}

.ind-page > .geo-card,
.ind-page > .faq-section {
  max-width: 1200px;
  margin: 28px auto 0;
  padding-left: 20px;
  padding-right: 20px;
}

/* ---------- Hero ---------- */
.ind-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(820px 380px at 100% -30%, rgba(180, 83, 9, 0.16), transparent 62%),
    radial-gradient(680px 340px at -8% -20%, rgba(15, 118, 110, 0.18), transparent 64%),
    linear-gradient(180deg, #f3fbf9 0%, #f8fafc 100%);
  border-bottom: 1px solid #e2e8f0;
}

.ind-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px 36px;
}

.ind-eyebrow {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: 5px 12px;
  border: 1px solid rgba(15, 118, 110, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: #0f766e;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.ind-hero h1 {
  max-width: 24em;
  margin: 14px 0 10px;
  color: #0f172a;
  font-size: clamp(26px, 3.4vw, 40px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.ind-kpi-summary {
  margin: 0 0 8px;
  color: #0f766e;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.5;
}

.ind-lead {
  max-width: 46rem;
  margin: 0;
  color: #334155;
  font-size: 15px;
  line-height: 1.7;
}

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

.ind-kpi {
  min-width: 0;
  padding: 14px 16px 13px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.04);
}

.ind-kpi-label {
  display: block;
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
}

.ind-kpi-value {
  display: block;
  margin-top: 6px;
  color: #0f172a;
  font-size: clamp(18px, 2vw, 26px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}

.ind-kpi-value.is-amber { color: #b45309; }

.ind-kpi-note {
  display: block;
  margin-top: 4px;
  color: #64748b;
  font-size: 12px;
  line-height: 1.45;
}

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

/* ---------- Buttons ---------- */
.ind-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 42px;
  padding: 10px 16px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease, border-color 0.16s ease;
}

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

.ind-btn-primary {
  background: #0f766e;
  color: #fff;
  box-shadow: 0 8px 18px rgba(15, 118, 110, 0.22);
}

.ind-btn-primary:hover { background: #115e59; }

.ind-btn-ghost {
  background: #fff;
  border-color: #e2e8f0;
  color: #0f766e;
}

.ind-btn-ghost:hover {
  border-color: #0f766e;
  background: #f0fdfa;
}

.ind-btn-outline {
  background: transparent;
  border-color: rgba(15, 118, 110, 0.45);
  color: #0f766e;
}

.ind-btn-sm {
  min-height: 34px;
  padding: 6px 12px;
  font-size: 13px;
}

.ind-page a:focus-visible,
.ind-page button:focus-visible,
.ind-page input:focus-visible,
.ind-page select:focus-visible {
  outline: 2px solid #0f766e;
  outline-offset: 2px;
}

/* ---------- Filter ---------- */
.ind-filter-bar {
  position: sticky;
  top: var(--header-h, 58px);
  z-index: 25;
  background: rgba(248, 250, 252, 0.94);
  border-bottom: 1px solid #e2e8f0;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.ind-filter-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 20px;
}

.ind-filter-row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.ind-filter-row + .ind-filter-row { margin-top: 10px; }

.ind-filter-label {
  flex: 0 0 auto;
  color: #64748b;
  font-size: 13px;
  font-weight: 800;
}

.ind-pills {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.ind-pill {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 6px 12px;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  background: #fff;
  color: #0f172a;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
  text-decoration: none;
}

.ind-pill:hover {
  border-color: #0f766e;
  color: #0f766e;
}

.ind-pill.is-active {
  background: #0f766e;
  border-color: #0f766e;
  color: #fff;
}

.ind-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.4em;
  padding: 0 6px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #475569;
  font-size: 11px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.ind-pill.is-active .ind-count {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.ind-filter-tools { align-items: center; }

.ind-search-form {
  display: flex;
  flex: 1 1 280px;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.ind-search,
.ind-sort {
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #fff;
  color: #0f172a;
  font-size: 14px;
}

.ind-search {
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
}

.ind-search:focus,
.ind-sort:focus {
  outline: none;
  border-color: #0f766e;
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.14);
}

.ind-sort { flex: 0 1 220px; max-width: 100%; }

.ind-count-live {
  flex: 0 0 auto;
  margin: 0;
  color: #0f766e;
  font-size: 13px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.ind-clear {
  flex: 0 0 auto;
  color: #b45309;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.ind-clear[hidden] { display: none !important; }

/* ---------- Sections, grid, cards ---------- */
.ind-section {
  max-width: 1200px;
  margin: 28px auto 0;
  padding: 0 20px;
}

.ind-section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 16px;
  margin-bottom: 14px;
}

.ind-section-head h2 {
  margin: 0;
  color: #0f172a;
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.ind-section-head p,
.ind-section-head a {
  margin: 0;
  color: #64748b;
  font-size: 13px;
}

.ind-section-head a {
  color: #0f766e;
  font-weight: 800;
}

.ind-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.ind-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
  padding: 16px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.ind-card:hover {
  transform: translateY(-3px);
  border-color: rgba(15, 118, 110, 0.35);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
}

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

.ind-card-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.ind-rank {
  padding: 3px 8px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #0f172a;
  font-size: 12px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.ind-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.3;
  white-space: nowrap;
}

.ind-badge-ultra {
  background: #fffbeb;
  color: #b45309;
  border: 1px solid #fcd34d;
}

.ind-badge-high {
  background: #ecfdf5;
  color: #0f766e;
  border: 1px solid #99f6e4;
}

.ind-badge-steady {
  background: #f1f5f9;
  color: #334155;
  border: 1px solid #99f6e4;
}

.ind-hot {
  padding: 3px 8px;
  border-radius: 999px;
  background: #b45309;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
}

.ind-card-cat {
  margin: 10px 0 0;
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
}

.ind-card-title {
  margin: 4px 0 0;
  color: #0f172a;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.35;
}

.ind-card-title a { color: inherit; text-decoration: none; }
.ind-card-title a:hover { color: #0f766e; }

.ind-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 12px 0 0;
}

.ind-metrics div {
  min-width: 0;
  padding: 8px 10px;
  border-radius: 10px;
  background: #f8fafc;
}

.ind-metrics dt {
  color: #64748b;
  font-size: 11px;
  font-weight: 700;
}

.ind-metrics dd {
  margin: 2px 0 0;
  color: #0f766e;
  font-size: 14px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}

.ind-strength {
  display: -webkit-box;
  margin: 12px 0 0;
  overflow: hidden;
  color: #475569;
  font-size: 13px;
  line-height: 1.6;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.ind-mini-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.ind-mini {
  display: inline-flex;
  max-width: 100%;
  padding: 4px 8px;
  border-radius: 999px;
  background: #e6f5f2;
  color: #0f766e;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.ind-mini:hover { background: #ccfbf1; }

.ind-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 14px;
}

.ind-card-actions .ind-btn { flex: 1 1 auto; }

.ind-empty {
  margin: 16px 0 0;
  padding: 28px 16px;
  border: 1px dashed #e2e8f0;
  border-radius: 14px;
  background: #fff;
  color: #64748b;
  text-align: center;
}

.ind-empty[hidden] { display: none !important; }

.ind-empty a { color: #0f766e; font-weight: 800; }

.ind-note {
  margin: 12px 0 0;
  color: #475569;
  font-size: 13px;
  line-height: 1.6;
}

/* ---------- Design strip ---------- */
.ind-strip {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
}

.ind-strip-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 96px;
  padding: 14px 12px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  color: #0f172a;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.04);
  transition: transform 0.16s ease, border-color 0.16s ease;
}

.ind-strip-card strong {
  font-size: 14px;
  line-height: 1.35;
}

.ind-strip-card span {
  margin-top: auto;
  color: #0f766e;
  font-size: 12px;
  font-weight: 800;
}

.ind-strip-card:hover {
  transform: translateY(-2px);
  border-color: #0f766e;
}

/* ---------- Table ---------- */
.ind-table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.ind-table {
  width: 100%;
  border-collapse: collapse;
  color: #0f172a;
  font-size: 13px;
  line-height: 1.55;
  font-variant-numeric: tabular-nums;
}

.ind-table caption {
  padding: 14px 16px;
  color: #0f172a;
  font-size: 14px;
  font-weight: 800;
  text-align: left;
}

.ind-table th,
.ind-table td {
  padding: 11px 14px;
  border-bottom: 1px solid #e2e8f0;
  text-align: left;
  vertical-align: top;
}

.ind-table thead th {
  background: #f1f5f9;
  color: #0f172a;
  font-weight: 800;
  white-space: nowrap;
}

.ind-table tbody tr:last-child th,
.ind-table tbody tr:last-child td { border-bottom: none; }

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

.ind-table .num,
.ind-table td.num {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  text-align: right;
  white-space: nowrap;
}

/* ---------- GEO answer + redlines ---------- */
.ind-geo-box {
  margin: 0;
  padding: 18px 20px;
  background: linear-gradient(90deg, #ecfdf5, #fff 68%);
  border: 1px solid #99f6e4;
  border-left: 5px solid #0f766e;
  border-radius: 0 16px 16px 0;
  box-shadow: 0 8px 26px rgba(15, 118, 110, 0.08);
}

.ind-geo-flag {
  display: inline-flex;
  align-items: center;
  margin-bottom: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #0f766e;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.ind-geo-box p {
  margin: 0;
  color: #0f172a;
  font-size: 16px;
  font-weight: 650;
  line-height: 1.75;
}

.ind-disclaimer {
  margin: 12px 0 0;
  padding: 12px 14px;
  border-left: 3px solid #b45309;
  border-radius: 0 12px 12px 0;
  background: #fffbeb;
  color: #78350f;
  font-size: 13px;
  line-height: 1.65;
}

.ind-contrast {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 16px;
}

.ind-logic,
.ind-pitfalls {
  min-width: 0;
  padding: 18px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.ind-logic { border-top: 4px solid #0f766e; }
.ind-pitfalls { border-top: 4px solid #b91c1c; }

.ind-logic h3,
.ind-pitfalls h3 {
  margin: 0 0 10px;
  color: #0f172a;
  font-size: 18px;
  font-weight: 800;
}

.ind-logic p {
  margin: 0;
  color: #334155;
  font-size: 14px;
  line-height: 1.7;
}

.ind-redline-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: ind-redline;
}

.ind-redline-list li {
  position: relative;
  padding: 12px 12px 12px 40px;
  background: #fff;
  border: 1px solid #fecaca;
  border-left: 4px solid #b91c1c;
  border-radius: 12px;
  color: #0f172a;
  font-size: 14px;
  line-height: 1.6;
}

.ind-redline-list li::before {
  content: counter(ind-redline);
  counter-increment: ind-redline;
  position: absolute;
  left: 12px;
  top: 12px;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #b91c1c;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  line-height: 18px;
  text-align: center;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .ind-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ind-kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ind-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ind-contrast { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 768px) {
  .ind-hero-inner { padding: 28px 16px 24px; }
  .ind-hero h1 { font-size: 26px; }
  .ind-lead,
  .ind-kpi-summary { font-size: 14px; }
  .ind-kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .ind-kpi { padding: 12px; }
  .ind-kpi-value { font-size: 18px; }
  .ind-cta-row .ind-btn { flex: 1 1 100%; }
  .ind-filter-inner,
  .ind-section,
  .ind-page > .breadcrumb,
  .ind-page > .geo-card,
  .ind-page > .faq-section {
    padding-left: 16px;
    padding-right: 16px;
  }
  .ind-filter-tools,
  .ind-search-form { flex-wrap: wrap; }
  .ind-search,
  .ind-sort,
  .ind-count-live { flex: 1 1 100%; }
  .ind-grid,
  .ind-contrast { grid-template-columns: minmax(0, 1fr); }
  .ind-card-actions .ind-btn { flex: 1 1 100%; }
  .ind-strip {
    display: flex;
    overflow-x: auto;
    padding-bottom: 4px;
  }
  .ind-strip-card { flex: 0 0 158px; }
  .ind-table { min-width: 760px; }
  .ind-geo-box { padding: 14px; }
  .ind-geo-box p { font-size: 15px; }
}

/* Wide translated labels: keep filters scrollable and stop overflow collisions. */
html:not([lang="zh-CN"]) .ind-hero h1,
html:not([lang="zh-CN"]) .ind-card-title,
html:not([lang="zh-CN"]) .ind-kpi-label,
html:not([lang="zh-CN"]) .ind-kpi-value,
html:not([lang="zh-CN"]) .ind-btn,
html:not([lang="zh-CN"]) .ind-section-head h2 {
  overflow-wrap: anywhere;
  line-height: 1.35;
}

html:not([lang="zh-CN"]) .ind-filter-row,
html:not([lang="zh-CN"]) .ind-cta-row,
html:not([lang="zh-CN"]) .ind-card-actions,
html:not([lang="zh-CN"]) .ind-search-form {
  min-width: 0;
}

html:not([lang="zh-CN"]) .ind-pill {
  padding: 6px 10px;
  font-size: 12px;
}

html:not([lang="zh-CN"]) .ind-search,
html:not([lang="zh-CN"]) .ind-sort {
  min-width: 0;
  max-width: 100%;
}

html:not([lang="zh-CN"]) .ind-count-live { white-space: normal; }

html:not([lang="zh-CN"]) .ind-table th {
  white-space: normal;
  min-width: 6.5rem;
}
