/* ==========================================================================
   工银牧融 - Apple Design System
   克制简洁 · 纯白底 · 胶囊按钮 · 1px 边框 · 极淡阴影
   ========================================================================== */

:root {
  /* 主色系 — Apple System Blue */
  --green-deepest: #000000;
  --green-dark: #003b82;
  --green: #007aff;
  --green-light: #2e8dff;
  --green-bright: #66abff;
  --green-pale: #e8f2ff;
  --green-mist: #f7f7fa;
  /* 品牌 & 强调 — Apple 系统色 */
  --icbc-red: #007aff;
  --icbc-red-dark: #0064d6;
  --red: #ff3b30;
  --gold: #ff9500;
  --gold-light: #fff3e0;
  --gold-pale: #fff8f0;
  --orange: #ff9500;
  --ice-blue: #5856d6;
  --ice-blue-pale: #f0f0ff;
  /* 文字 — Apple Text Scale */
  --text-dark: #1d1d1f;
  --text: #1d1d1f;
  --text-secondary: #6e6e73;
  --text-muted: #8e8e93;
  /* 背景 — Apple Background Scale */
  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --bg-deep: #f2f2f7;
  --bg-footer: #f5f5f7;
  --border: #e5e5ea;
  --border-light: #e5e5ea;
  --border-mint: #d1d1d6;
  /* 表面 */
  --surface: #ffffff;
  --surface-soft: #f7f7fa;
  --surface-gradient: #ffffff;
  /* 阴影 — Apple 极淡多层 */
  --shadow-card: 0 1px 2px 0 rgba(0,0,0,0.04), 0 1px 3px -1px rgba(0,0,0,0.04);
  --shadow-hover: 0 4px 8px -2px rgba(0,0,0,0.06), 0 2px 4px -2px rgba(0,0,0,0.05);
  --shadow-hero: none;
  --shadow-glow: 0 0 0 3px rgba(0, 122, 255, 0.1);
  /* 圆角 — Apple */
  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  /* 布局 */
  --max-width: 1180px;
  --transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  color: var(--text);
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", "PingFang SC", sans-serif;
  font-size: 15px;
  line-height: 1.5;
  background: var(--bg-alt);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; cursor: pointer; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul { list-style: none; }
input, select, textarea { font: inherit; }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-alt); }
::-webkit-scrollbar-thumb { background: #ccc; border-radius: 3px; }

/* ==========================================================================
   Loading
   ========================================================================== */

.loading-screen {
  min-height: 100vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 20px;
  background: var(--bg);
}

.loading-screen .spinner {
  width: 32px; height: 32px;
  border: 2px solid var(--border);
  border-top-color: var(--green);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ==========================================================================
   TOP NAVIGATION BAR
   ========================================================================== */

.top-navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: 44px;
  display: flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  transition: all var(--transition);
}

.top-navbar.scrolled,
.top-navbar.inner-page {
  background: rgba(0, 0, 0, 0.8);
  box-shadow: none;
}

.top-navbar.inner-page {
  background: rgba(0, 0, 0, 0.8);
}

.nav-inner {
  width: min(var(--max-width), calc(100% - 48px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex; align-items: center; gap: 10px;
  cursor: pointer;
}

.nav-logo .logo-icon {
  font-size: 13px;
  color: #f5f5f7;
  font-weight: 600;
}

.nav-logo .logo-text {
  font-size: 13px;
  font-weight: 400;
  color: #f5f5f7;
  opacity: 0.85;
  letter-spacing: 0;
}

.nav-menu {
  display: flex;
  gap: 4px;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.nav-menu a {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.85);
  transition: all var(--transition);
}

.nav-menu a:hover {
  color: #ffffff;
  opacity: 1;
}

.nav-menu a.active {
  color: #ffffff;
  font-weight: 500;
  opacity: 1;
}

/* ==========================================================================
   HOME PAGE
   ========================================================================== */

.home-page {
  padding-top: 0;
}

/* ---- Hero Banner ---- */

.hero-banner {
  position: relative;
  width: 100%;
  min-height: 90vh;
  margin-top: 44px;
  overflow: hidden;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* 渐变 mesh 背景 — 替代 CSS 山插画 */
.hero-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% 30%, rgba(0, 122, 255, 0.03), transparent 70%),
    radial-gradient(ellipse 50% 40% at 80% 80%, rgba(52, 199, 89, 0.02), transparent 60%);
  z-index: 0;
}

/* 微噪点纹理叠加 */
.hero-banner::after {
  display: none;
}

.hero-slides {
  position: absolute; inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
  overflow: hidden;
}

.hero-slide.active { opacity: 1; }

.hero-slide-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
}

.hero-slide.has-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.8) 100%);
}

/* 移除旧 CSS 山景场景样式 — 保留空壳防报错 */
.scene-sky, .scene-mountains, .scene-field, .scene-river, .scene-yaks { display: none; }

.hero-mask { display: none; }

.hero-content {
  position: relative;
  z-index: 10;
  padding: 0 24px;
  max-width: 820px;
}

.hero-text-wrap {
  animation: fadeUpIn 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
  max-width: 820px;
}

@keyframes fadeUpIn {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-kicker {
  display: inline-block;
  padding: 0;
  border: none;
  border-radius: 0;
  font-size: 13px;
  color: var(--green);
  font-weight: 600;
  letter-spacing: 0.01em;
  margin-bottom: 16px;
  background: none;
}

.hero-kicker::before { display: none; }
@keyframes pulse { 0%, 100% {} 50% {} }

.hero-title {
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  text-shadow: none;
}

.hero-desc {
  font-size: 20px;
  color: var(--text-muted);
  line-height: 1.5;
  max-width: 600px;
  margin: 0 auto 32px;
  text-shadow: none;
  font-weight: 400;
}

/* 三个业务问题入口 */
.hero-questions {
  display: flex;
  gap: 14px;
  margin: 0 auto 26px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-q-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 12px 22px;
  min-width: 150px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(29, 62, 47, 0.14);
  cursor: pointer;
  transition: all var(--transition);
}

.hero-q-btn strong {
  font-size: 17px;
  color: var(--green-dark, #1d3e2f);
  font-weight: 600;
}

.hero-q-btn span {
  font-size: 12px;
  color: var(--text-muted);
}

.hero-q-btn:hover {
  background: rgba(255, 255, 255, 0.95);
  border-color: var(--green);
  transform: translateY(-2px);
}

/* CTA 按钮组 */
.hero-cta {
  display: flex;
  gap: 8px;
  margin-bottom: 48px;
  justify-content: center;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 400;
  transition: all var(--transition);
  cursor: pointer;
}

.hero-btn-primary {
  background: var(--green);
  color: #fff;
  box-shadow: none;
}

.hero-btn-primary:hover {
  background: var(--green-dark);
  transform: none;
  box-shadow: none;
}

.hero-btn-ghost {
  background: none;
  color: var(--green);
  border: none;
  backdrop-filter: none;
}

.hero-btn-ghost:hover {
  background: none;
  border-color: none;
  opacity: 0.7;
}

.hero-dots { display: none; }
.hero-dots button { display: none; }
.hero-dots button.active { display: none; }

/* ---- Sections ---- */

.section {
  padding: 96px 0;
  background: var(--bg);
}

.section-alt {
  background: var(--bg-alt);
}

.section.section-alt:nth-of-type(even) {
  background: var(--bg-deep);
}

.section-container {
  width: min(var(--max-width), calc(100% - 48px));
  margin: 0 auto;
}

.section-head {
  text-align: center;
  margin-bottom: 38px;
}

.section-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
  position: relative;
  display: inline-block;
  letter-spacing: -0.02em;
}

.section-title::after {
  display: none;
}

.section-sub {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 680px;
  margin: 8px auto 0;
  line-height: 1.5;
  font-weight: 400;
}

/* ---- News Grid ---- */

.news-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.news-card {
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  transition: all var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.news-card::before { display: none; }

.news-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
  border-color: var(--border);
}

.news-card:hover::before { display: none; }

.news-tag {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 12px;
}

.tag-red { background: #fde8e8; color: var(--red); }
.tag-orange { background: #fef3e4; color: var(--orange); }
.tag-green { background: #e6f4ec; color: var(--green); }
.tag-cyan { background: #e6f4f7; color: #3a8a9a; }

.news-card h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
  line-height: 1.4;
}

.news-card p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-action {
  font-size: 12px;
  color: var(--green);
}

/* ---- Capability Grid ---- */

.cap-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.cap-card {
  padding: 32px 24px;
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  text-align: center;
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.cap-card:last-child {
  grid-column: 1 / -1;
  max-width: 33%;
  margin: 0 auto;
}

.cap-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
  border-color: var(--border);
}

.cap-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(0, 122, 255, 0.08);
  color: var(--green);
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 16px;
  transition: all var(--transition);
}

.cap-card:hover .cap-icon {
  background: var(--green);
  color: #fff;
  transform: none;
}

.cap-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.cap-card p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ---- Stats Grid ---- */

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
  border: none;
}

.stats-card {
  text-align: center;
  padding: 40px 24px;
  border-right: none;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: all var(--transition);
}

.stats-card:last-child { border-right: none; }

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

.stats-card:last-child { border-right: none; }

.stats-num {
  font-size: 48px;
  font-weight: 700;
  color: var(--text-dark);
  -webkit-text-fill-color: var(--text-dark);
  background: none;
  line-height: 1;
  letter-spacing: -0.03em;
}

.stats-unit {
  font-size: 16px;
  color: var(--text-muted);
  font-weight: 400;
  margin-left: 2px;
}

.stats-label {
  display: block;
  margin-top: 8px;
  font-size: 14px;
  color: var(--text-muted);
}

/* ---- Pain Grid ---- */

.pain-grid-seu {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.pain-card-seu {
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  transition: all var(--transition);
}

.pain-card-seu:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

.pain-card-seu h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.pain-card-seu li {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.7;
  padding-left: 14px;
  position: relative;
  margin-bottom: 4px;
}

.pain-card-seu li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--green);
}

.icbc-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 20px;
  border-radius: 4px;
  background: var(--green);
  color: #fff !important;
  font-size: 10px !important;
  font-weight: 700;
  letter-spacing: 0;
}

.icbc-role-section {
  background: var(--bg);
}

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

.icbc-role-card {
  min-height: 180px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-card);
}

.icbc-role-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  min-height: 24px;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
}

.icbc-role-card h3 {
  margin-top: 18px;
  color: var(--text-dark);
  font-size: 17px;
}

.icbc-role-card p {
  margin-top: 8px;
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.65;
}

/* ---- Footer ---- */

.site-footer {
  background: var(--bg-footer);
  background-image: none;
  color: var(--text-muted);
  padding: 56px 0 24px;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 32px;
  margin-bottom: 32px;
}

.footer-brand h3 {
  font-size: 18px;
  color: var(--text-dark);
  letter-spacing: -0.01em;
  margin-bottom: 6px;
  font-weight: 600;
}

.footer-brand p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

.footer-links h4,
.footer-info h4 {
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 12px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.footer-links a {
  display: block;
  font-size: 13px;
  color: var(--green);
  padding: 3px 0;
  transition: opacity var(--transition);
  cursor: pointer;
}

.footer-links a:hover { opacity: 0.7; color: var(--green); }

.footer-info p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 18px;
  text-align: center;
}

.footer-bottom p {
  font-size: 12px;
  color: var(--text-muted);
}

/* ==========================================================================
   INNER PAGES
   ========================================================================== */

.inner-page-wrapper {
  padding-top: 44px;
  background: var(--bg);
}

.inner-container {
  width: min(var(--max-width), calc(100% - 48px));
  margin: 0 auto;
  padding: 0 0 72px;
}

/* ---- Page Hero ---- */

.page-hero {
  padding: 40px 0 32px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 28px;
}

.page-hero h1 {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.page-hero p {
  font-size: 15px;
  color: var(--text-muted);
}

/* ---- Stat Row ---- */

.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.stat-item {
  text-align: center;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.si-num {
  display: block;
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
}

.si-num.green { color: var(--green); }
.si-num.cyan { color: #3a8a9a; }
.si-num.gold { color: var(--gold); }
.si-num.red { color: var(--red); }

.si-label {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: var(--text-muted);
}

/* ---- Content 2-col ---- */

.content-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}

/* ---- Panel ---- */

.panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.panel-head {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-light);
  background: var(--bg-alt);
}

.panel-head h3 { font-size: 15px; font-weight: 600; color: var(--text-dark); }

.panel-body { padding: 16px 18px; }
.panel-body.no-pad { padding: 0; }

/* ---- Region Row ---- */

.region-row {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-light);
}

.region-row:last-child { border-bottom: 0; }

.rr-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 8px;
}

.rr-head strong { font-size: 14px; }

.rr-metrics {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 8px; margin-top: 8px;
  text-align: center;
}

.rr-val { display: block; font-size: 16px; font-weight: 700; }
.rr-lbl { display: block; font-size: 10px; color: var(--text-muted); margin-top: 2px; }

.rr-tip {
  margin-top: 8px;
  font-size: 11px;
  color: var(--text-secondary);
  padding: 6px 10px;
  background: var(--bg-alt);
  border-radius: var(--radius-sm);
  border-left: 2px solid var(--green-light);
}

/* ---- Alert Row ---- */

.alert-row {
  display: flex; gap: 12px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--border-light);
}

.alert-row:last-child { border-bottom: 0; }

.alert-badge {
  flex-shrink: 0;
  padding: 1px 8px;
  border-radius: 10px;
  font-size: 10px;
  font-weight: 600;
  height: fit-content;
  margin-top: 3px;
}

.badge-red { background: #fde8e8; color: var(--red); }
.badge-orange { background: #fef3e4; color: var(--orange); }
.badge-green { background: #e6f4ec; color: var(--green); }

.alert-row strong { font-size: 13px; display: block; margin-bottom: 2px; }
.alert-row p { font-size: 11px; color: var(--text-secondary); margin-bottom: 2px; }

.alert-measure {
  font-size: 10px; color: var(--green);
}

/* ---- Table ---- */

.tbl-wrap { overflow-x: auto; }

.tbl {
  width: 100%;
  border-collapse: collapse;
}

.tbl th {
  text-align: left;
  padding: 10px 14px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
}

.tbl td {
  padding: 10px 14px;
  font-size: 13px;
  border-bottom: 1px solid var(--border-light);
}

.tbl tbody tr:hover { background: var(--bg-alt); }

.tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 600;
}

/* ---- Score Bar ---- */

.score-bar { display: flex; align-items: center; gap: 6px; }

.score-bar .bar-track {
  width: 56px; height: 5px;
  background: var(--border);
  border-radius: 3px;
  overflow: hidden;
}

.score-bar .bar-fill { height: 100%; border-radius: 3px; }
.s-high { background: var(--green); }
.s-mid { background: var(--orange); }
.s-low { background: var(--red); }

/* ---- Chart ---- */

.chart-box { width: 100%; height: 300px; }
.chart-box.tall { height: 380px; }

/* ==========================================================================
   Operations Dashboard
   ========================================================================== */

.ops-dashboard {
  display: grid;
  gap: 18px;
  padding-top: 24px;
}

.risk-terminal {
  padding: 18px;
  border: 1px solid #dfe8e2;
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, #f8fbf9, #fff);
  box-shadow: 0 8px 24px rgba(30, 64, 43, 0.045);
}

.terminal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.terminal-eyebrow {
  display: inline-flex;
  margin-bottom: 4px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.terminal-header h1 {
  color: var(--text-dark);
  font-size: 24px;
  line-height: 1.2;
}

.terminal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.terminal-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 7px 13px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--text-secondary);
  font-size: 12px;
  transition: all var(--transition);
}

.terminal-btn:hover {
  border-color: var(--green);
  color: var(--green);
}

.terminal-metrics {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.terminal-metric,
.terminal-health {
  min-height: 82px;
  padding: 13px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
}

.terminal-metric span,
.terminal-metric strong,
.terminal-metric em,
.terminal-health span,
.terminal-health strong {
  display: block;
}

.terminal-metric span,
.terminal-health span {
  color: var(--text-muted);
  font-size: 11px;
}

.terminal-metric strong,
.terminal-health strong {
  margin-top: 5px;
  color: var(--green-dark);
  font-size: 22px;
  line-height: 1.1;
}

.terminal-metric em {
  margin-top: 5px;
  color: var(--text-muted);
  font-size: 11px;
  font-style: normal;
}

.terminal-health.ok { border-left: 3px solid var(--green); }
.terminal-health.warn { border-left: 3px solid var(--orange); }
.terminal-health.danger { border-left: 3px solid var(--red); }

.terminal-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 18px;
}

.terminal-grid.bottom {
  grid-template-columns: minmax(0, 1.15fr) minmax(420px, 0.85fr);
}

.terminal-panel {
  min-width: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(30, 64, 43, 0.035);
}

.terminal-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-light);
  background: #fbfdfb;
}

.terminal-panel-head.compact {
  align-items: center;
}

.terminal-panel-head span {
  display: block;
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
}

.terminal-panel-head h3 {
  margin-top: 2px;
  color: var(--text-dark);
  font-size: 16px;
}

.terminal-panel-head b {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--green-pale);
  color: var(--green-dark);
  font-size: 11px;
  white-space: nowrap;
}

.terminal-table-wrap {
  max-height: 520px;
  overflow: auto;
}

.terminal-table-wrap.compact {
  max-height: 360px;
}

.terminal-table {
  width: 100%;
  border-collapse: collapse;
}

.terminal-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  padding: 10px 12px;
  background: #f7faf8;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 700;
  text-align: left;
  white-space: nowrap;
}

.terminal-table td {
  padding: 11px 12px;
  border-bottom: 1px solid var(--border-light);
  color: var(--text);
  font-size: 13px;
  white-space: nowrap;
}

.terminal-table tbody tr {
  cursor: pointer;
  transition: background var(--transition);
}

.terminal-table tbody tr:hover,
.terminal-table tbody tr.active {
  background: #f1f8f4;
}

.terminal-table td strong,
.terminal-table td small {
  display: block;
}

.terminal-table td small {
  margin-top: 2px;
  color: var(--text-muted);
  font-size: 11px;
}

.terminal-tag,
.terminal-score {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--green-pale);
  color: var(--green-dark);
  font-size: 11px;
  font-weight: 700;
}

.terminal-score {
  background: #fef3e4;
  color: var(--orange);
}

.terminal-side {
  display: grid;
  gap: 18px;
  align-content: start;
}

.disposal-list {
  display: grid;
  gap: 0;
}

.disposal-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 8px 10px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border-light);
}

.disposal-item:last-child {
  border-bottom: 0;
}

.disposal-item span {
  grid-row: span 2;
  align-self: start;
  padding: 2px 7px;
  border-radius: 999px;
  background: #f3f4f6;
  color: var(--text-muted);
  font-size: 11px;
}

.disposal-item strong {
  min-width: 0;
  color: var(--text-dark);
  font-size: 13px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.disposal-item p {
  grid-column: 2;
  color: var(--text-muted);
  font-size: 12px;
}

.disposal-item em {
  grid-row: span 2;
  align-self: center;
  padding: 4px 8px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--green-dark);
  font-size: 11px;
  font-style: normal;
  white-space: nowrap;
}

.disposal-item.high span {
  background: #fde8e8;
  color: var(--red);
}

.disposal-item.medium span {
  background: #fef3e4;
  color: var(--orange);
}

.ops-command {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 20px;
  min-height: 230px;
  padding: 30px;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  color: #fff;
  background:
    linear-gradient(110deg, rgba(20, 72, 48, 0.97), rgba(44, 111, 73, 0.9)),
    radial-gradient(circle at 86% 10%, rgba(246, 206, 112, 0.28), transparent 34%);
}

.ops-command::after {
  content: "";
  position: absolute;
  right: -96px;
  bottom: -116px;
  width: 470px;
  height: 260px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  transform: rotate(-16deg);
}

.ops-command-main,
.ops-health-board {
  position: relative;
  z-index: 1;
}

.ops-command-main {
  align-self: end;
}

.ops-command h1 {
  margin: 8px 0;
  max-width: 720px;
  color: #fff;
  font-size: 32px;
  line-height: 1.2;
}

.ops-command p {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
}

.ops-command-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.btn-outline.light {
  color: rgba(255, 255, 255, 0.9);
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.08);
}

.btn-outline.light:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.56);
  background: rgba(255, 255, 255, 0.14);
}

.ops-health-board {
  align-self: stretch;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.ops-health-item {
  min-height: 86px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.09);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.ops-health-item span,
.ops-health-item strong {
  display: block;
}

.ops-health-item span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
}

.ops-health-item strong {
  margin-top: 8px;
  color: #fff;
  font-size: 22px;
  line-height: 1.1;
}

.ops-health-item.ok { border-color: rgba(139, 229, 191, 0.35); }
.ops-health-item.warn { border-color: rgba(245, 202, 119, 0.42); }
.ops-health-item.danger { border-color: rgba(255, 154, 154, 0.44); }

.ops-work-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 18px;
}

.ops-work-card {
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 8px 24px rgba(30, 64, 43, 0.04);
}

.ops-work-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}

.ops-work-head span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
}

.ops-work-head h3 {
  margin-top: 2px;
  color: var(--text-dark);
  font-size: 17px;
}

.ops-work-head b {
  min-width: 38px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 9px;
  border-radius: 999px;
  background: var(--green-pale);
  color: var(--green-dark);
  font-size: 12px;
}

.task-list {
  display: grid;
  gap: 8px;
}

.task-item {
  display: grid;
  grid-template-columns: 8px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  width: 100%;
  min-height: 68px;
  padding: 11px 12px;
  text-align: left;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  background: #fbfdfb;
  transition: transform var(--transition), border-color var(--transition), background var(--transition);
}

.task-item:hover {
  transform: translateY(-1px);
  border-color: rgba(45, 125, 79, 0.28);
  background: #f4faf6;
}

.task-item > span {
  width: 8px;
  height: 42px;
  border-radius: 999px;
  background: var(--green);
}

.task-item.warn > span { background: var(--orange); }
.task-item.danger > span { background: var(--red); }
.task-item.info > span { background: #3a8a9a; }

.task-item strong,
.task-item p,
.task-item em {
  display: block;
}

.task-item strong {
  color: var(--text-dark);
  font-size: 14px;
}

.task-item p {
  margin-top: 2px;
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.45;
}

.task-item em {
  padding: 4px 9px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--green-dark);
  font-size: 11px;
  font-style: normal;
  white-space: nowrap;
}

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

.priority-regions button {
  min-height: 76px;
  padding: 13px;
  text-align: left;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  background:
    linear-gradient(180deg, #fff, #f8fbf9);
  transition: transform var(--transition), border-color var(--transition);
}

.priority-regions button:hover {
  transform: translateY(-1px);
  border-color: rgba(45, 125, 79, 0.28);
}

.priority-regions strong,
.priority-regions span {
  display: block;
}

.priority-regions strong {
  color: var(--text-dark);
  font-size: 14px;
}

.priority-regions span,
.priority-regions p {
  margin-top: 4px;
  color: var(--text-muted);
  font-size: 12px;
}

.ops-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: 30px;
  min-height: 180px;
  background:
    linear-gradient(110deg, rgba(22, 83, 52, 0.94), rgba(42, 125, 79, 0.82)),
    linear-gradient(135deg, #eaf5ee, #f7faf8);
  border-radius: var(--radius);
  color: #fff;
  overflow: hidden;
  position: relative;
}

.ops-hero::after {
  content: "";
  position: absolute;
  right: -60px;
  bottom: -90px;
  width: 360px;
  height: 220px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  transform: rotate(-15deg);
}

.ops-eyebrow {
  display: inline-flex;
  padding: 4px 10px;
  margin-bottom: 12px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  font-size: 12px;
}

.ops-hero h1 {
  font-size: 30px;
  line-height: 1.25;
  margin-bottom: 8px;
  letter-spacing: 0;
}

.ops-hero p {
  max-width: 620px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.84);
}

.ops-actions {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.ops-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.ops-kpi-card {
  min-height: 108px;
  padding: 18px 20px;
  background: linear-gradient(180deg, #fff, #fbfdfc);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}

.ops-kpi-card span,
.ops-kpi-card em {
  display: block;
  color: var(--text-muted);
  font-style: normal;
  font-size: 12px;
}

.ops-kpi-card strong {
  display: block;
  margin: 8px 0 4px;
  color: var(--green-dark);
  font-size: 31px;
  line-height: 1;
}

.ops-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 18px;
  align-items: start;
}

.ops-main,
.ops-side {
  display: grid;
  gap: 18px;
}

.ops-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.ops-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  padding: 17px 20px;
  border-bottom: 1px solid var(--border-light);
  background: linear-gradient(180deg, #fbfdfc, #fff);
}

.ops-panel-head.compact {
  align-items: center;
}

.ops-panel-head h3 {
  font-size: 17px;
  line-height: 1.35;
  color: var(--text-dark);
}

.ops-panel-head p {
  margin-top: 3px;
  font-size: 12px;
  color: var(--text-muted);
}

.ops-badge {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--green-pale);
  color: var(--green-dark);
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}

.ops-badge.warn {
  background: #fef3e4;
  color: var(--orange);
}

.ops-chart {
  width: 100%;
  height: 300px;
}

.ops-chart.small {
  height: 230px;
}

.ops-table-wrap {
  max-height: 460px;
  overflow: auto;
}

.ops-table {
  width: 100%;
  border-collapse: collapse;
}

.ops-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  padding: 11px 14px;
  text-align: left;
  background: #f4f7f5;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 600;
}

.ops-table td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--border-light);
  font-size: 13px;
  color: var(--text);
}

.ops-table tbody tr {
  cursor: pointer;
  transition: background var(--transition);
}

.ops-table tbody tr:hover,
.ops-table tbody tr.active {
  background: #eef7f2;
}

.ops-table td strong,
.ops-table td small {
  display: block;
}

.ops-table td small {
  margin-top: 2px;
  color: var(--text-muted);
  font-size: 11px;
}

.risk-pill {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.risk-pill.safe {
  background: #e6f4ec;
  color: var(--green);
}

.risk-pill.warn {
  background: #fef3e4;
  color: var(--orange);
}

.risk-pill.danger {
  background: #fde8e8;
  color: var(--red);
}

.driver-list,
.quality-list {
  display: grid;
  gap: 0;
  padding: 0 18px 16px;
}

.driver-list p,
.quality-list p {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-top: 1px solid var(--border-light);
  font-size: 12px;
  color: var(--text-secondary);
}

.driver-list strong,
.quality-list strong {
  color: var(--text-dark);
}

.warning-panel ul {
  display: grid;
  gap: 8px;
  padding: 14px 18px 18px;
}

.warning-panel li {
  padding-left: 12px;
  position: relative;
  color: var(--text-secondary);
  font-size: 12px;
  line-height: 1.55;
}

.warning-panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--orange);
}

/* ==========================================================================
   Risk Assessment Workbench
   ========================================================================== */

.risk-workbench {
  gap: 14px;
  padding-top: 14px;
}

.assessment-toolbar {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border: 1px solid #d7e2db;
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(26, 74, 46, 0.05);
}

.assessment-title span,
.assessment-pool-head span,
.assessment-report-head span,
.evidence-head span,
.mini-head span,
.assessment-table-head span {
  display: block;
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.assessment-title h1 {
  margin-top: 2px;
  color: var(--text-dark);
  font-size: 22px;
  line-height: 1.2;
}

.assessment-status {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.assessment-status div {
  min-height: 66px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #f9fbfa;
}

.assessment-status span,
.assessment-status strong,
.assessment-status em {
  display: block;
}

.assessment-status span {
  color: var(--text-muted);
  font-size: 11px;
}

.assessment-status strong {
  margin-top: 3px;
  color: var(--green-dark);
  font-size: 21px;
  line-height: 1.1;
}

.assessment-status em {
  margin-top: 3px;
  color: var(--text-muted);
  font-size: 11px;
  font-style: normal;
}

.assessment-layout {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr) 360px;
  gap: 14px;
  align-items: start;
}

.assessment-pool,
.assessment-report,
.evidence-panel,
.assessment-table-panel {
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 10px 30px rgba(26, 74, 46, 0.045);
}

.assessment-pool {
  overflow: hidden;
}

.assessment-pool-head,
.evidence-head,
.assessment-table-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 13px 14px;
  border-bottom: 1px solid var(--border-light);
  background: #fbfdfb;
}

.assessment-pool-head h2,
.evidence-head h2,
.assessment-table-head h2 {
  margin-top: 1px;
  color: var(--text-dark);
  font-size: 16px;
}

.assessment-pool-head b {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--green-pale);
  color: var(--green-dark);
  font-size: 12px;
}

.assessment-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 12px 12px 8px;
}

.assessment-switch button {
  min-height: 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 700;
}

.assessment-switch button.active {
  border-color: var(--green);
  background: var(--green-pale);
  color: var(--green-dark);
}

.assessment-search {
  width: calc(100% - 24px);
  margin: 0 12px 10px;
  min-height: 34px;
  padding: 7px 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  background: #fff;
  font-size: 12px;
}

.assessment-search:focus {
  outline: none;
  border-color: var(--green);
}

.assessment-object-list {
  max-height: 650px;
  overflow: auto;
  border-top: 1px solid var(--border-light);
}

.assessment-object {
  width: 100%;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 58px;
  gap: 8px;
  align-items: center;
  padding: 11px 12px;
  border-bottom: 1px solid var(--border-light);
  background: #fff;
  text-align: left;
  transition: background var(--transition), box-shadow var(--transition);
}

.assessment-object:hover,
.assessment-object.active {
  background: #f1f8f4;
  box-shadow: inset 3px 0 0 var(--green);
}

.ao-rank {
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 800;
}

.ao-main {
  min-width: 0;
}

.ao-main strong,
.ao-main em,
.ao-meta,
.ao-meta b,
.ao-meta small {
  display: block;
}

.ao-main strong {
  color: var(--text-dark);
  font-size: 13px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ao-main em {
  margin-top: 2px;
  color: var(--text-muted);
  font-size: 11px;
  font-style: normal;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ao-score {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  min-height: 28px;
  border-radius: 999px;
  background: #e6f4ec;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 800;
}

.ao-score.warn {
  background: #fef3e4;
  color: var(--orange);
}

.ao-score.danger {
  background: #fde8e8;
  color: var(--red);
}

.ao-meta {
  grid-column: 2 / 4;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding-left: 52px;
  color: var(--text-muted);
  font-size: 11px;
}

.ao-meta b {
  color: var(--text-secondary);
  font-weight: 600;
}

.assessment-report {
  padding: 16px;
}

.assessment-report-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-light);
}

.assessment-report-head h2 {
  margin-top: 2px;
  color: var(--text-dark);
  font-size: 22px;
  line-height: 1.25;
}

.assessment-report-head p {
  margin-top: 4px;
  color: var(--text-muted);
  font-size: 12px;
}

.assessment-decision {
  min-width: 116px;
  padding: 10px 12px;
  border: 1px solid #dce8e1;
  border-radius: var(--radius-sm);
  background: #f8fbf9;
  text-align: right;
}

.assessment-decision span,
.assessment-decision strong {
  display: block;
}

.assessment-decision span {
  color: var(--green-dark);
  font-size: 16px;
  font-weight: 800;
}

.assessment-decision strong {
  margin-top: 2px;
  color: var(--text-muted);
  font-size: 11px;
}

.assessment-decision.warn {
  border-color: #f5dfbf;
  background: #fff8ec;
}

.assessment-decision.warn span {
  color: var(--orange);
}

.assessment-decision.danger {
  border-color: #f6caca;
  background: #fff5f5;
}

.assessment-decision.danger span {
  color: var(--red);
}

.assessment-score-row {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 12px;
  margin-top: 14px;
}

.assessment-score-card {
  min-height: 138px;
  padding: 14px;
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, #e9f6ef, #ffffff);
  border: 1px solid #cfe3d6;
}

.assessment-score-card.warn {
  background: linear-gradient(180deg, #fff2df, #ffffff);
  border-color: #f0d6ad;
}

.assessment-score-card.danger {
  background: linear-gradient(180deg, #fee8e8, #ffffff);
  border-color: #efc5c5;
}

.assessment-score-card span,
.assessment-score-card strong,
.assessment-score-card em {
  display: block;
}

.assessment-score-card span {
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 700;
}

.assessment-score-card strong {
  margin-top: 8px;
  color: var(--green-dark);
  font-size: 54px;
  line-height: 1;
}

.assessment-score-card.warn strong {
  color: var(--orange);
}

.assessment-score-card.danger strong {
  color: var(--red);
}

.assessment-score-card em {
  margin-top: 8px;
  color: var(--text-muted);
  font-size: 12px;
  font-style: normal;
}

.assessment-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.assessment-metrics div {
  min-height: 65px;
  padding: 11px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fbfdfb;
}

.assessment-metrics span,
.assessment-metrics strong {
  display: block;
}

.assessment-metrics span {
  color: var(--text-muted);
  font-size: 11px;
}

.assessment-metrics strong {
  margin-top: 5px;
  color: var(--text-dark);
  font-size: 14px;
  overflow-wrap: anywhere;
}

.credit-decision-suite {
  margin-top: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
  overflow: hidden;
}

.credit-decision-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
}

.credit-decision-card {
  min-width: 0;
  min-height: 156px;
  padding: 12px;
  border-right: 1px solid var(--border-light);
  box-shadow: inset 0 3px 0 var(--green-light);
}

.credit-decision-card:last-child {
  border-right: 0;
}

.credit-decision-card.warn {
  box-shadow: inset 0 3px 0 var(--orange);
  background: #fffaf2;
}

.credit-decision-card.danger {
  box-shadow: inset 0 3px 0 var(--red);
  background: #fff7f7;
}

.credit-decision-card span,
.credit-decision-card strong,
.credit-decision-card p,
.credit-decision-card em {
  display: block;
}

.credit-decision-card span {
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 800;
}

.credit-decision-card h3 {
  margin-top: 6px;
  color: var(--text-dark);
  font-size: 13px;
  line-height: 1.25;
}

.credit-decision-card strong {
  margin-top: 8px;
  color: var(--green-dark);
  font-size: 19px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.credit-decision-card.warn strong {
  color: var(--orange);
}

.credit-decision-card.danger strong {
  color: var(--red);
}

.credit-decision-card p {
  margin-top: 8px;
  color: var(--text-secondary);
  font-size: 12px;
  line-height: 1.45;
}

.credit-decision-card em {
  margin-top: 8px;
  color: var(--text-muted);
  font-size: 11px;
  font-style: normal;
  line-height: 1.4;
}

.assessment-charts {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  gap: 12px;
  margin-top: 14px;
}

.manager-workflow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
}

.workflow-step {
  min-height: 82px;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fbfdfb;
}

.workflow-step span,
.workflow-step strong,
.workflow-step em {
  display: block;
}

.workflow-step span {
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 800;
}

.workflow-step strong {
  margin-top: 5px;
  color: var(--text-dark);
  font-size: 13px;
}

.workflow-step em {
  margin-top: 4px;
  color: var(--text-muted);
  font-size: 11px;
  font-style: normal;
  line-height: 1.35;
}

.workflow-step.done {
  border-color: #cfe3d6;
  background: #f1f8f4;
}

.workflow-step.active {
  border-color: #f0d6ad;
  background: #fff8ec;
  box-shadow: inset 0 3px 0 var(--orange);
}

.workflow-step.pending {
  opacity: 0.72;
}

.subject-detail-drawer {
  margin-top: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
  overflow: hidden;
}

.subject-detail-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--border-light);
}

.subject-detail-grid div {
  min-height: 64px;
  padding: 10px 12px;
  border-right: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.subject-detail-grid div:nth-child(4n) {
  border-right: 0;
}

.subject-detail-grid span,
.subject-detail-grid strong {
  display: block;
}

.subject-detail-grid span {
  color: var(--text-muted);
  font-size: 11px;
}

.subject-detail-grid strong {
  margin-top: 5px;
  color: var(--text-dark);
  font-size: 13px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.subject-detail-drawer > p {
  padding: 10px 12px;
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.45;
  background: #fbfdfb;
}

.assessment-chart-card {
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
  overflow: hidden;
}

.mini-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--border-light);
  background: #fbfdfb;
}

.mini-head b {
  color: var(--text-dark);
  font-size: 13px;
}

.assessment-chart-card .driver-list {
  padding: 0 12px 12px;
}

.driver-list p {
  align-items: flex-start;
}

.driver-list em {
  margin-left: auto;
  color: var(--text-muted);
  font-size: 11px;
  font-style: normal;
  text-align: right;
}

.evidence-panel {
  overflow: hidden;
}

.evidence-list {
  display: grid;
}

.evidence-item {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border-light);
  box-shadow: inset 3px 0 0 var(--green-light);
}

.evidence-item.warn {
  box-shadow: inset 3px 0 0 var(--orange);
}

.evidence-item.danger {
  box-shadow: inset 3px 0 0 var(--red);
}

.evidence-item span,
.evidence-item strong,
.evidence-item p {
  display: block;
}

.evidence-item span {
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 800;
}

.evidence-item strong {
  margin-top: 2px;
  color: var(--text-dark);
  font-size: 13px;
}

.evidence-item p {
  margin-top: 4px;
  color: var(--text-secondary);
  font-size: 12px;
  line-height: 1.45;
}

.action-checklist {
  padding-bottom: 8px;
}

.action-item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 6px 10px;
  padding: 11px 14px;
  border-bottom: 1px solid var(--border-light);
}

.action-item span {
  grid-row: span 2;
  align-self: start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  border-radius: 999px;
  background: #f3f5f4;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 800;
}

.action-item strong {
  color: var(--text-dark);
  font-size: 13px;
}

.action-item p {
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.45;
}

.label-disclosure {
  margin: 10px 14px 14px;
  padding: 10px 12px;
  border: 1px solid #f0d6ad;
  border-radius: var(--radius-sm);
  background: #fff8ec;
}

.label-disclosure strong,
.label-disclosure p {
  display: block;
}

.label-disclosure strong {
  color: var(--orange);
  font-size: 12px;
}

.label-disclosure p {
  margin-top: 4px;
  color: var(--text-secondary);
  font-size: 12px;
  line-height: 1.45;
}

.assessment-table-panel {
  overflow: hidden;
}

.assessment-table-head {
  min-height: 74px;
}

.quality-mini-chart {
  width: 360px;
  height: 62px;
}

.assessment-table .terminal-score.safe {
  background: #e6f4ec;
  color: var(--green-dark);
}

.assessment-table .terminal-score.warn {
  background: #fef3e4;
  color: var(--orange);
}

.assessment-table .terminal-score.danger {
  background: #fde8e8;
  color: var(--red);
}

/* ==========================================================================
   Workspace Pages
   ========================================================================== */

.workspace-page {
  display: grid;
  gap: 18px;
  padding-top: 28px;
}

.workspace-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0 22px;
  border-bottom: 1px solid var(--border);
}

.workspace-head h1 {
  margin: 8px 0;
  font-size: 30px;
  line-height: 1.25;
  color: var(--text-dark);
}

.workspace-head p {
  max-width: 720px;
  color: var(--text-muted);
}

.overview-metric-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.overview-metric-grid.compact .ops-kpi-card {
  min-height: 98px;
}

.analysis-board {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  gap: 18px;
  align-items: stretch;
}

.analysis-board .ops-panel,
.analysis-board .analysis-large {
  min-height: 380px;
}

.workspace-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 18px;
  align-items: start;
}

.workspace-grid.quality-only {
  grid-template-columns: minmax(0, 1fr);
}

.ops-layout.no-sidebar {
  grid-template-columns: minmax(0, 1fr) 420px;
}

.pipeline-list,
.integration-list {
  display: grid;
  gap: 0;
  padding: 4px 18px 16px;
}

.pipeline-list.dense {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 20px;
}

.pipeline-item,
.integration-item {
  display: grid;
  gap: 3px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-light);
}

.pipeline-item:last-child,
.integration-item:last-child {
  border-bottom: 0;
}

.pipeline-item b,
.integration-item b {
  color: var(--text-dark);
  font-size: 14px;
}

.pipeline-item span,
.integration-item p {
  color: var(--text-secondary);
  font-size: 12px;
}

.pipeline-item em {
  color: var(--green);
  font-style: normal;
  font-size: 12px;
  font-weight: 600;
}

.status-ok,
.status-warn {
  justify-self: start;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
}

.status-ok { background: #e6f4ec; color: var(--green); }
.status-warn { background: #fef3e4; color: var(--orange); }

.module-workflow {
  display: grid;
  grid-template-columns: 280px 280px 280px;
  gap: 12px;
  align-items: stretch;
}

.module-workflow button {
  min-height: 116px;
  padding: 18px;
  text-align: left;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all var(--transition);
}

.module-workflow button:hover,
.module-workflow button.active {
  border-color: var(--green);
  background: #f4faf6;
}

.module-workflow strong,
.module-workflow span {
  display: block;
}

.module-workflow strong {
  color: var(--text-dark);
  font-size: 15px;
  margin-bottom: 8px;
}

.module-workflow span {
  color: var(--text-secondary);
  font-size: 12px;
  line-height: 1.6;
}

.feature-list-large {
  padding: 18px;
}

.modules-page {
  gap: 28px;
}

.module-page-head {
  padding: 16px 0 30px;
  border-bottom: 1px solid var(--border);
}

.module-page-head span {
  display: block;
  margin-bottom: 22px;
  color: var(--text-secondary);
  font-size: 13px;
}

.module-page-head h1 {
  color: var(--text-dark);
  font-size: 34px;
  line-height: 1.2;
  letter-spacing: 0;
}

.module-console {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
}

.module-rail {
  display: grid;
  gap: 10px;
  align-content: start;
}

.module-rail button {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 68px;
  padding: 14px;
  text-align: left;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all var(--transition);
}

.module-rail button span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: #f1f5f3;
  border-radius: 50%;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 700;
}

.module-rail button strong {
  color: var(--text-dark);
  font-size: 14px;
  line-height: 1.35;
}

.module-rail button:hover,
.module-rail button.active {
  border-color: rgba(45, 125, 79, 0.42);
  background: #f4faf6;
  box-shadow: 0 10px 28px rgba(30, 64, 43, 0.08);
}

.module-rail button.active span {
  background: var(--green);
  color: #fff;
}

.module-stage {
  min-height: 560px;
  padding: 30px;
  background:
    linear-gradient(135deg, rgba(15, 81, 50, 0.97), rgba(31, 122, 77, 0.9)),
    #0f5132;
  color: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  box-shadow: 0 20px 52px rgba(15, 81, 50, 0.16);
}

.module-stage::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 380px;
  height: 380px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
}

.module-stage-head,
.module-feature-grid,
.module-bottom-grid {
  position: relative;
  z-index: 1;
}

.module-stage-head {
  max-width: 760px;
  margin-bottom: 28px;
}

.module-stage-head h2 {
  margin: 8px 0 10px;
  font-size: 32px;
  line-height: 1.22;
  letter-spacing: 0;
}

.module-stage-head p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  max-width: 700px;
}

.module-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.module-feature {
  min-height: 112px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  backdrop-filter: blur(6px);
}

.module-feature span {
  display: block;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 12px;
  font-weight: 700;
}

.module-feature strong {
  color: #fff;
  font-size: 15px;
  line-height: 1.55;
}

.module-bottom-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 18px;
}

.module-bottom-grid div {
  padding: 16px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--text);
  border-radius: var(--radius);
}

.module-bottom-grid b {
  display: block;
  margin-bottom: 6px;
  color: var(--green-dark);
  font-size: 13px;
}

.module-bottom-grid p {
  color: var(--text-secondary);
  font-size: 12px;
  line-height: 1.55;
}

.module-overview-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
}

.module-overview-grid article {
  min-height: 154px;
  padding: 16px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #fff, #fbfdfc);
  cursor: pointer;
  transition: all var(--transition);
}

.module-overview-grid article:hover,
.module-overview-grid article.active {
  border-color: rgba(45, 125, 79, 0.42);
  background: #f4faf6;
  box-shadow: 0 10px 28px rgba(30, 64, 43, 0.06);
}

.module-overview-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  margin-bottom: 12px;
  border-radius: 999px;
  background: #eef5f1;
  color: var(--green-dark);
  font-size: 11px;
  font-weight: 700;
}

.module-overview-grid h3 {
  min-height: 40px;
  color: var(--text-dark);
  font-size: 14px;
  line-height: 1.4;
}

.module-overview-grid p {
  margin-top: 8px;
  color: var(--text-muted);
  font-size: 11px;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.module-loop-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  padding-top: 18px;
}

.module-loop-grid div {
  min-height: 138px;
  padding: 16px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  background: #fbfdfc;
}

.module-loop-grid span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.module-loop-grid strong {
  display: block;
  margin: 12px 0 7px;
  color: var(--text-dark);
  font-size: 15px;
}

.module-loop-grid p {
  color: var(--text-secondary);
  font-size: 12px;
  line-height: 1.65;
}

.asset-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.asset-card {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  min-height: 170px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.asset-card h3 {
  margin: 10px 0 6px;
  color: var(--text-dark);
  font-size: 16px;
}

.asset-card p {
  color: var(--text-secondary);
  font-size: 12px;
  line-height: 1.65;
}

.asset-status {
  display: inline-flex;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
}

.asset-status.ok { background: #e6f4ec; color: var(--green); }
.asset-status.warn { background: #fef3e4; color: var(--orange); }
.asset-status.empty { background: #f3f4f6; color: var(--text-muted); }

.asset-numbers {
  min-width: 92px;
  text-align: right;
}

.asset-numbers strong,
.asset-numbers span,
.asset-numbers em {
  display: block;
}

.asset-numbers strong {
  color: var(--green-dark);
  font-size: 28px;
  line-height: 1;
}

.asset-numbers span,
.asset-numbers em {
  margin-top: 6px;
  color: var(--text-muted);
  font-size: 11px;
  font-style: normal;
}

.data-console {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.asset-rail {
  display: grid;
  gap: 10px;
  position: sticky;
  top: 82px;
}

.asset-line {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 13px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 6px 18px rgba(30, 64, 43, 0.035);
}

.asset-line h3 {
  margin-bottom: 3px;
  color: var(--text-dark);
  font-size: 14px;
  line-height: 1.3;
}

.asset-line p {
  color: var(--text-muted);
  font-size: 11px;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.asset-line strong {
  color: var(--green-dark);
  font-size: 19px;
  white-space: nowrap;
}

.data-workbench {
  display: grid;
  gap: 20px;
}

.data-trend-chart {
  height: 300px;
  padding: 8px 10px 0;
}

.data-quality-chart {
  height: 320px;
  padding: 4px 10px 6px;
}

.data-brief-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 18px;
}

.data-brief-card {
  min-height: 98px;
  padding: 14px 16px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  background: #fbfdfb;
}

.data-brief-card span,
.data-brief-card em {
  display: block;
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.5;
  font-style: normal;
}

.data-brief-card strong {
  display: block;
  margin: 8px 0 4px;
  color: var(--text-dark);
  font-size: 24px;
  line-height: 1.1;
}

.data-purpose-table td {
  line-height: 1.6;
  vertical-align: middle;
}

.data-purpose-table td:last-child {
  color: var(--text-secondary);
  font-size: 12px;
}

.geo-evidence-panel {
  margin: 22px 0;
}

.geo-evidence-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.geo-map-shell {
  position: relative;
  min-height: clamp(520px, 58vh, 720px);
  overflow: hidden;
  border: 1px solid #dfe8e2;
  border-radius: 8px;
  background: #eef4f0;
}

.amap-evidence-map {
  width: 100%;
  height: clamp(520px, 58vh, 720px);
}

.geo-map-theme {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.geo-map-theme.theme-terrain {
  opacity: 0.46;
  background:
    radial-gradient(circle at 70% 26%, rgba(76, 120, 87, 0.28), transparent 18%),
    radial-gradient(circle at 52% 58%, rgba(190, 139, 57, 0.22), transparent 24%),
    radial-gradient(circle at 30% 48%, rgba(47, 112, 125, 0.18), transparent 22%),
    linear-gradient(135deg, rgba(227, 239, 229, 0.88), rgba(246, 241, 223, 0.7) 48%, rgba(215, 230, 218, 0.84));
  mix-blend-mode: multiply;
}

.geo-map-theme.theme-satellite {
  opacity: 0.34;
  background:
    radial-gradient(circle at 68% 36%, rgba(28, 83, 56, 0.5), transparent 18%),
    radial-gradient(circle at 38% 55%, rgba(61, 104, 83, 0.42), transparent 20%),
    linear-gradient(145deg, rgba(20, 45, 39, 0.6), rgba(47, 76, 55, 0.36) 42%, rgba(26, 64, 71, 0.44));
  mix-blend-mode: multiply;
}

.geo-map-theme.theme-standard {
  opacity: 0.22;
  background:
    linear-gradient(90deg, transparent 0 94%, rgba(45, 125, 79, 0.18) 94% 96%, transparent 96%),
    linear-gradient(0deg, transparent 0 92%, rgba(45, 125, 79, 0.12) 92% 94%, transparent 94%),
    linear-gradient(135deg, rgba(255, 255, 255, 0), rgba(219, 232, 224, 0.58));
  background-size: 76px 76px, 92px 92px, auto;
}

.geo-map-toolbar {
  position: absolute;
  z-index: 20;
  top: 12px;
  left: 12px;
  display: inline-flex;
  gap: 6px;
  padding: 5px;
  border: 1px solid rgba(216, 226, 220, 0.92);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 20px rgba(20, 45, 32, 0.08);
}

.geo-map-toolbar button {
  min-height: 34px;
  padding: 0 12px;
  border: 0;
  border-radius: 6px;
  color: #52625a;
  background: transparent;
  cursor: pointer;
  font-weight: 700;
}

.geo-map-toolbar button.active,
.geo-map-toolbar button:hover {
  color: #fff;
  background: var(--green);
}

.geo-map-fallback {
  position: absolute;
  inset: 0;
  z-index: 18;
  display: grid;
  place-content: center;
  gap: 8px;
  padding: 28px;
  text-align: center;
  background: rgba(248, 251, 249, 0.88);
}

.geo-map-fallback strong {
  color: #1f2d26;
}

.geo-map-fallback span {
  max-width: 520px;
  color: #66746d;
  line-height: 1.7;
}

.geo-evidence-side {
  display: grid;
  grid-template-columns: minmax(280px, 0.86fr) minmax(0, 1.25fr) minmax(260px, 0.74fr);
  gap: 12px;
  align-items: stretch;
}

.geo-region-picker {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  max-height: 238px;
  overflow: auto;
  padding-right: 2px;
}

.geo-region-picker button {
  min-height: 58px;
  padding: 10px;
  border: 1px solid #dfe8e2;
  border-radius: 8px;
  text-align: left;
  background: #fff;
  cursor: pointer;
}

.geo-region-picker button.active,
.geo-region-picker button:hover {
  border-color: var(--green);
  background: #f3faf6;
}

.geo-region-picker strong,
.geo-region-picker span {
  display: block;
}

.geo-region-picker strong {
  color: #1f2d26;
  font-size: 13px;
}

.geo-region-picker span {
  margin-top: 5px;
  color: #66746d;
  font-size: 12px;
}

.geo-evidence-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.geo-evidence-list div {
  min-height: 82px;
  padding: 11px;
  border: 1px solid #e1eae5;
  border-radius: 8px;
  background: #fbfdfb;
}

.geo-evidence-list span,
.geo-evidence-list strong,
.geo-evidence-list em {
  display: block;
}

.geo-evidence-list span {
  color: #7a877f;
  font-size: 12px;
}

.geo-evidence-list strong {
  margin-top: 6px;
  color: var(--green-dark);
  font-size: 18px;
  line-height: 1.2;
}

.geo-evidence-list em {
  margin-top: 6px;
  color: #718078;
  font-size: 11px;
  font-style: normal;
  line-height: 1.4;
}

.geo-marker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 2px solid #fff;
  border-radius: 50%;
  color: #fff;
  background: #2d7d4f;
  box-shadow: 0 8px 18px rgba(20, 45, 32, 0.24);
  cursor: pointer;
  font-size: 11px;
  font-weight: 800;
  font-family: inherit;
  line-height: 1;
  user-select: none;
}

.geo-marker.altitude {
  width: 58px;
  height: 32px;
  border-radius: 999px;
  background: #1f6f87;
  font-size: 11px;
}

.geo-marker.mid {
  background: #d98a3a;
}

.geo-marker.high {
  background: #c72d2d;
}

.data-quality-list {
  display: grid;
  gap: 0;
}

.data-quality-list div {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) minmax(240px, auto);
  gap: 14px;
  align-items: center;
  padding: 14px 18px;
  border-top: 1px solid var(--border-light);
}

.data-quality-list strong {
  color: var(--text-dark);
  font-size: 14px;
}

.data-quality-list em {
  color: var(--text-muted);
  font-size: 12px;
  font-style: normal;
  text-align: right;
}

.metric-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--border-light);
}

.metric-strip div {
  padding: 13px 16px;
  border-right: 1px solid var(--border-light);
}

.metric-strip.relaxed div {
  min-height: 78px;
  padding: 14px 18px;
}

.metric-strip div:last-child {
  border-right: 0;
}

.metric-strip span,
.metric-strip em {
  display: block;
  color: var(--text-muted);
  font-size: 11px;
  line-height: 1.45;
  font-style: normal;
}

.metric-strip strong {
  display: block;
  margin: 4px 0 2px;
  color: var(--text-dark);
  font-size: 21px;
  line-height: 1.1;
}

/* ---- Goal List ---- */

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

.goal-item {
  padding: 12px 14px;
  border-left: 3px solid var(--green);
  background: var(--bg-alt);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.goal-item strong { font-size: 14px; color: var(--text-dark); }
.goal-item p { font-size: 12px; color: var(--text-secondary); margin-top: 4px; }

/* ---- Feature List ---- */

.feature-list { display: grid; gap: 8px; }

.feature-row {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: 13px; color: var(--text-secondary);
  padding: 8px 10px;
  background: var(--bg-alt);
  border-radius: var(--radius-sm);
}

.feat-dot {
  flex-shrink: 0;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
  margin-top: 6px;
}

/* ---- Related ---- */

.related-row {
  padding: 12px 18px;
  border-bottom: 1px solid var(--border-light);
  cursor: pointer;
  transition: background var(--transition);
}

.related-row:last-child { border-bottom: 0; }
.related-row:hover { background: var(--bg-alt); }

.related-row strong { display: block; font-size: 13px; color: var(--text-dark); }
.related-row span { font-size: 11px; color: var(--text-muted); }

/* ---- Source Row ---- */

.source-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 20px;
}

.source-item {
  text-align: center;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.src-icon { font-size: 28px; display: block; margin-bottom: 8px; }
.source-item strong { display: block; font-size: 13px; margin-bottom: 4px; }
.src-status { font-size: 11px; }

/* ---- Tab Bar ---- */

.tab-bar {
  display: flex; gap: 4px;
  margin-bottom: 18px;
  border-bottom: 2px solid var(--border);
}

.tab-bar button {
  padding: 10px 20px;
  font-size: 14px;
  color: var(--text-secondary);
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all var(--transition);
}

.tab-bar button:hover { color: var(--text-dark); }

.tab-bar button.active {
  color: var(--green);
  border-bottom-color: var(--green);
  font-weight: 600;
}

/* ---- Timeline ---- */

.timeline {
  padding-left: 20px;
  border-left: 2px solid var(--border);
}

.tl-step {
  position: relative;
  padding: 0 0 22px 20px;
}

.tl-step:last-child { padding-bottom: 0; }

.tl-dot {
  position: absolute;
  left: -27px; top: 5px;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--green);
  border: 2px solid #fff;
  box-shadow: 0 0 0 2px var(--green);
}

.tl-label { font-size: 11px; color: var(--gold); font-weight: 600; }
.tl-step h4 { font-size: 15px; margin: 4px 0 8px; color: var(--text-dark); }

.tl-tags { display: flex; flex-wrap: wrap; gap: 5px; }

.tl-tag {
  font-size: 10px;
  padding: 3px 8px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text-secondary);
}

/* ---- Story ---- */

.story-list { display: grid; gap: 0; }

.story-row {
  display: flex; gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-light);
}

.story-row:last-child { border-bottom: 0; }

.story-num {
  flex-shrink: 0;
  width: 26px; height: 26px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.story-row p { font-size: 12px; color: var(--text-secondary); }

/* ---- Innov Grid ---- */

.innov-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.innov-item {
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 13px;
  color: var(--text-secondary);
  background: var(--bg-alt);
  text-align: center;
}

/* ==========================================================================
   Roadmap Workspace
   ========================================================================== */

.roadmap-page {
  padding-bottom: 42px;
}

.roadmap-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 18px;
  align-items: stretch;
  min-height: 220px;
  padding: 28px 30px;
  overflow: hidden;
  position: relative;
  border-radius: var(--radius);
  color: #fff;
  background:
    linear-gradient(112deg, rgba(22, 72, 49, 0.96), rgba(45, 125, 79, 0.86)),
    radial-gradient(circle at 82% 18%, rgba(244, 204, 113, 0.34), transparent 36%),
    linear-gradient(135deg, #183b2c, #2d7d4f);
}

.roadmap-hero::before,
.roadmap-hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.roadmap-hero::before {
  right: 350px;
  bottom: -70px;
  width: 420px;
  height: 190px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  transform: rotate(-13deg);
}

.roadmap-hero::after {
  right: 18px;
  top: 18px;
  width: 220px;
  height: 220px;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.12) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255,255,255,0.10) 1px, transparent 1px);
  background-size: 34px 34px;
  opacity: 0.45;
  mask-image: radial-gradient(circle, #000 0%, transparent 72%);
}

.roadmap-hero-copy,
.roadmap-hero-panel {
  position: relative;
  z-index: 1;
}

.roadmap-hero-copy {
  align-self: end;
}

.roadmap-hero h1 {
  max-width: 760px;
  margin: 10px 0;
  font-size: 34px;
  line-height: 1.18;
  letter-spacing: 0;
}

.roadmap-hero p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
}

.roadmap-hero-panel {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 190px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
}

.roadmap-hero-panel span,
.roadmap-hero-panel em {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-style: normal;
}

.roadmap-hero-panel strong {
  display: block;
  margin: 10px 0 4px;
  color: #fff;
  font-size: 42px;
  line-height: 1;
}

.roadmap-hero-panel div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.roadmap-hero-panel b {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.9);
  font-size: 11px;
}

.roadmap-progress {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(30, 64, 43, 0.04);
}

.roadmap-progress-step {
  position: relative;
  min-height: 104px;
  padding: 18px;
  border-right: 1px solid var(--border-light);
}

.roadmap-progress-step:last-child {
  border-right: 0;
}

.roadmap-progress-step::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green), rgba(196, 155, 56, 0.7));
}

.roadmap-progress-step span,
.roadmap-progress-step em {
  display: block;
  color: var(--text-muted);
  font-size: 11px;
  font-style: normal;
}

.roadmap-progress-step strong {
  display: block;
  margin: 8px 0 5px;
  color: var(--text-dark);
  font-size: 16px;
  line-height: 1.35;
}

.roadmap-console {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
  gap: 18px;
  align-items: stretch;
}

.roadmap-stage-list {
  display: grid;
  gap: 12px;
}

.roadmap-stage-card {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 14px;
  align-items: stretch;
  min-height: 118px;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(30, 64, 43, 0.035);
}

.roadmap-stage-index {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background:
    linear-gradient(155deg, rgba(45, 125, 79, 0.12), rgba(196, 155, 56, 0.14)),
    #f7faf8;
  color: var(--green-dark);
  font-size: 22px;
  font-weight: 800;
}

.roadmap-stage-main {
  min-width: 0;
}

.roadmap-stage-main span {
  display: inline-flex;
  margin-bottom: 6px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
}

.roadmap-stage-main h3 {
  margin-bottom: 10px;
  color: var(--text-dark);
  font-size: 17px;
  line-height: 1.32;
}

.roadmap-deliverables {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.roadmap-deliverables i {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 9px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg-alt);
  color: var(--text-secondary);
  font-size: 11px;
  font-style: normal;
  line-height: 1.35;
}

.roadmap-focus {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 22px;
  border-radius: var(--radius);
  color: #fff;
  background:
    linear-gradient(145deg, rgba(26, 74, 46, 0.98), rgba(25, 50, 39, 0.98)),
    radial-gradient(circle at 82% 0%, rgba(196, 155, 56, 0.30), transparent 38%);
  box-shadow: 0 14px 34px rgba(27, 63, 43, 0.16);
}

.roadmap-focus-head span {
  display: inline-flex;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
}

.roadmap-focus-head h3 {
  color: #fff;
  font-size: 21px;
  line-height: 1.32;
}

.roadmap-story-flow {
  display: grid;
  gap: 10px;
  margin: 22px 0;
}

.roadmap-story-step {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.07);
}

.roadmap-story-step span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(244, 204, 113, 0.18);
  color: #f5d78b;
  font-size: 12px;
  font-weight: 800;
}

.roadmap-story-step p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  line-height: 1.6;
}

.roadmap-action-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: auto;
}

.roadmap-action-grid button {
  min-height: 88px;
  padding: 14px;
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.09);
  transition: background var(--transition), transform var(--transition);
}

.roadmap-action-grid button:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-2px);
}

.roadmap-action-grid span,
.roadmap-action-grid strong {
  display: block;
}

.roadmap-action-grid span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
}

.roadmap-action-grid strong {
  margin-top: 6px;
  color: #fff;
  font-size: 22px;
  line-height: 1;
}

.roadmap-innovation-section {
  display: grid;
  gap: 16px;
}

.roadmap-section-title {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.roadmap-section-title span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
}

.roadmap-section-title h2 {
  color: var(--text-dark);
  font-size: 24px;
  line-height: 1.25;
}

.roadmap-innovation-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.roadmap-innovation-card {
  min-height: 160px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, #fff, #f8fbf9);
  box-shadow: 0 8px 24px rgba(30, 64, 43, 0.035);
}

.roadmap-innovation-card:nth-child(2n) {
  background:
    linear-gradient(155deg, rgba(26, 74, 46, 0.94), rgba(45, 125, 79, 0.9));
  border-color: transparent;
}

.roadmap-innovation-card span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
}

.roadmap-innovation-card p {
  margin-top: 22px;
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.65;
}

.roadmap-innovation-card:nth-child(2n) p {
  color: rgba(255, 255, 255, 0.86);
}

/* ==========================================================================
   Public Showcase Pages
   ========================================================================== */

.public-page {
  display: grid;
  gap: 18px;
  padding: 24px 0 42px;
}

.public-page-plain {
  width: min(1180px, 100%);
  margin: 0 auto;
  gap: 28px;
  padding-top: 46px;
  background: #fff;
}

.plain-page-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0 28px;
  border-bottom: 1px solid var(--border);
}

.plain-page-head h1 {
  color: var(--text-dark);
  font-size: 30px;
  line-height: 1.2;
  letter-spacing: 0;
}

.plain-page-head p {
  color: var(--text-secondary);
  font-size: 14px;
}

.upload-notice {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  min-height: 120px;
  padding: 22px 26px;
  border: 1px solid #f4c85c;
  border-radius: var(--radius);
  background: #fff8e6;
}

.notice-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #b78d24;
  font-size: 34px;
}

.upload-notice h3 {
  color: #a77812;
  font-size: 16px;
}

.upload-notice p {
  margin-top: 4px;
  color: var(--text-secondary);
  font-size: 13px;
}

.notice-fields {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 10px;
}

.notice-fields em {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 8px;
  border: 1px solid #f1c75a;
  border-radius: 4px;
  background: #fffdf4;
  color: #b78212;
  font-family: Consolas, monospace;
  font-size: 11px;
  font-style: normal;
}

.plain-card {
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #fff, #fbfdfc);
  box-shadow: var(--shadow-card);
}

.plain-card-head {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-light);
}

.plain-card-head h2 {
  color: var(--text-dark);
  font-size: 17px;
}

.risk-public-summary {
  width: min(1180px, 100%);
  margin: 24px auto 46px;
  display: grid;
  gap: 28px;
}

.risk-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.public-kpi-card {
  min-height: 96px;
  padding: 18px 22px;
  border: 1px solid var(--border);
  border-top: 4px solid var(--green);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #fff, #fbfdfc);
  box-shadow: var(--shadow-card);
}

.public-kpi-card strong {
  display: block;
  color: var(--green);
  font-size: 34px;
  line-height: 1;
}

.public-kpi-card.danger strong {
  color: var(--red);
}

.public-kpi-card span {
  display: block;
  margin-top: 10px;
  color: var(--text-secondary);
  font-size: 13px;
}

.risk-public-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 18px;
  align-items: stretch;
}

.risk-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.risk-card-head p,
.risk-card-head em {
  margin-top: 4px;
  color: #dbeef3;
  font-size: 12px;
  font-style: normal;
}

.heat-table td b {
  font-size: 16px;
}

.risk-dots {
  display: inline-flex;
  gap: 5px;
}

.risk-dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ffa10a;
}

.risk-dots i.hot {
  background: #ff6b6b;
}

.heat-row {
  cursor: pointer;
}

.heat-row:hover td,
.heat-row.active td {
  background: #f3faf6;
}

.heat-row.active td:first-child {
  color: var(--green-dark);
  font-weight: 800;
}

.radar-card {
  min-height: 330px;
}

.public-radar-chart {
  height: 230px;
}

.radar-dim-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 4px;
}

.radar-dim-list span {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 9px;
  border: 1px solid #e2ebe6;
  border-radius: 6px;
  color: #52625a;
  font-size: 12px;
  background: #fbfdfb;
}

.radar-dim-list b {
  color: #1f2d26;
}

.radar-note {
  margin: 10px 0 0;
  color: #6b7a71;
  font-size: 12px;
  line-height: 1.6;
}

/* ==========================================================================
   合作社放贷排序
   ========================================================================== */

.coop-ranking-toolbar {
  display: flex;
  align-items: center;
  padding: 16px 24px;
  background: #f8fafc;
  border-radius: 8px;
  margin-bottom: 20px;
  gap: 8px;
  font-size: 14px;
  color: #334155;
}

.coop-region-select {
  padding: 8px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font-size: 14px;
  background: #fff;
  color: #1e293b;
  min-width: 180px;
}

.coop-summary-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.coop-summary-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 16px;
  text-align: center;
}

.coop-summary-num {
  font-size: 28px;
  font-weight: 700;
  color: #1e293b;
}

.coop-summary-label {
  font-size: 13px;
  color: #64748b;
  margin-top: 4px;
}

.coop-ranking-table-wrap {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
}

.coop-highlight {
  background: #f0fdf4 !important;
}

.coop-rank-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 700;
}

.coop-rank-badge.rank-top {
  background: #dcfce7;
  color: #166534;
}

.coop-rank-badge.rank-normal {
  background: #f1f5f9;
  color: #64748b;
}

.coop-name {
  font-weight: 600;
  color: #1e293b;
  font-size: 14px;
}

.coop-meta {
  font-size: 12px;
  color: #94a3b8;
  margin-top: 2px;
}

.coop-dim-score {
  font-size: 14px;
  font-weight: 500;
  color: #475569;
}

.coop-loan-tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
}

.coop-algo-note {
  padding: 12px 16px;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  font-size: 12px;
  color: #64748b;
  line-height: 1.6;
}

.coop-empty-hint {
  text-align: center;
  padding: 60px 20px;
  color: #94a3b8;
  font-size: 15px;
}

.score-green { color: #16a34a; font-weight: 700; }
.score-blue { color: #2563eb; font-weight: 700; }
.score-yellow { color: #d97706; font-weight: 700; }
.score-red { color: #dc2626; font-weight: 700; }

.coop-verify-tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
}
.coop-verify-tag.verify-dual { background: #dcfce7; color: #16a34a; }
.coop-verify-tag.verify-single { background: #dbeafe; color: #2563eb; }
.coop-verify-tag.verify-none { background: #f1f5f9; color: #94a3b8; }

/* 验证详情面板 */
.coop-verify-cell {
  display: flex;
  flex-direction: column;
  gap: 3px;
  align-items: center;
}
.coop-verify-score {
  font-size: 11px;
  font-weight: 700;
}
.coop-verify-issues {
  font-size: 10px;
  color: #ef4444;
  cursor: help;
}
.coop-detail-btn {
  background: none;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  cursor: pointer;
  font-size: 10px;
  padding: 2px 6px;
  color: #64748b;
  transition: all 0.15s;
}
.coop-detail-btn:hover { background: #f1f5f9; color: #334155; }

.coop-detail-row td { padding: 0; }
.coop-detail-panel {
  background: #f8fafc;
  border-top: 2px solid #6366f1;
  padding: 20px 24px;
  margin: 0;
}
.coop-detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
  margin-bottom: 16px;
}
.coop-detail-dim {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 12px 14px;
}
.coop-dim-header {
  font-size: 12px;
  font-weight: 700;
  color: #475569;
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid #f1f5f9;
}
.coop-dim-body {
  font-size: 12px;
  line-height: 1.6;
}
.coop-dim-detail {
  font-size: 11px;
  color: #64748b;
  margin-top: 4px;
}
.coop-check-ok { color: #16a34a; font-weight: 600; }
.coop-check-err { color: #ef4444; font-weight: 600; }
.coop-check-warn { color: #f59e0b; font-weight: 600; }
.coop-check-na { color: #94a3b8; font-weight: 600; }

.coop-consistency-item {
  padding: 3px 0;
  font-size: 11px;
  border-bottom: 1px dotted #f1f5f9;
}
.coop-consistency-item:last-child { border-bottom: none; }
.coop-consistency-match { color: #16a34a; margin-right: 4px; }
.coop-consistency-warning { color: #f59e0b; margin-right: 4px; }
.coop-consistency-partial { color: #6366f1; margin-right: 4px; }
.coop-consistency-conflict { color: #ef4444; margin-right: 4px; }

.coop-outlier-item {
  padding: 3px 0;
  font-size: 11px;
}
.coop-outlier-high {
  display: inline-block;
  background: #fef2f2;
  color: #ef4444;
  padding: 1px 5px;
  border-radius: 3px;
  font-size: 10px;
  margin-right: 4px;
}
.coop-outlier-low {
  display: inline-block;
  background: #eff6ff;
  color: #3b82f6;
  padding: 1px 5px;
  border-radius: 3px;
  font-size: 10px;
  margin-right: 4px;
}

.coop-credibility-score {
  font-size: 18px;
  font-weight: 700;
  color: #6366f1;
  margin-right: 6px;
}
.coop-credibility-label {
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 3px;
  background: #eef2ff;
  color: #6366f1;
}

/* 跨源字段比对 */
.coop-field-compare {
  margin-top: 16px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 14px;
}
.coop-field-table {
  width: 100%;
  font-size: 12px;
  border-collapse: collapse;
}
.coop-field-table th {
  text-align: left;
  padding: 6px 10px;
  background: #f8fafc;
  color: #64748b;
  font-weight: 600;
  border-bottom: 1px solid #e2e8f0;
}
.coop-field-table td {
  padding: 6px 10px;
  border-bottom: 1px solid #f1f5f9;
}
.coop-field-match { color: #16a34a; font-weight: 600; }
.coop-field-conflict { color: #ef4444; font-weight: 600; }

/* 问题汇总 */
.coop-issues-summary {
  margin-top: 16px;
  background: #fff;
  border: 1px solid #fecaca;
  border-radius: 8px;
  padding: 14px;
}
.coop-issue-item {
  padding: 6px 10px;
  font-size: 12px;
  border-bottom: 1px solid #fef2f2;
  line-height: 1.5;
}
.coop-issue-item:last-child { border-bottom: none; }
.coop-issue-severity { margin-right: 6px; }
.coop-issue-error { background: #fef2f2; }
.coop-issue-warning { background: #fffbeb; }
.coop-issue-conflict { background: #fff7ed; }
.coop-issue-info { background: #eff6ff; }

.trend-card {
  min-height: 250px;
}

.public-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 18px;
  align-items: end;
  min-height: 230px;
  padding: 30px;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  color: #fff;
  background:
    linear-gradient(112deg, rgba(24, 67, 48, 0.96), rgba(45, 125, 79, 0.84)),
    radial-gradient(circle at 84% 18%, rgba(244, 204, 113, 0.28), transparent 36%),
    linear-gradient(135deg, #193b2d, #2d7d4f);
}

.public-hero::after {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -120px;
  width: 470px;
  height: 270px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  transform: rotate(-15deg);
}

.public-hero > div {
  position: relative;
  z-index: 1;
}

.public-hero h1 {
  margin: 8px 0;
  color: #fff;
  font-size: 34px;
  line-height: 1.18;
  letter-spacing: 0;
}

.public-hero p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
}

.insurance-hero {
  background:
    linear-gradient(112deg, rgba(74, 47, 34, 0.96), rgba(158, 94, 45, 0.82)),
    radial-gradient(circle at 80% 18%, rgba(255, 229, 159, 0.28), transparent 34%),
    linear-gradient(135deg, #4a2f22, #b66d34);
}

.chain-hero {
  background:
    linear-gradient(112deg, rgba(58, 52, 33, 0.96), rgba(45, 125, 79, 0.78)),
    radial-gradient(circle at 82% 20%, rgba(245, 204, 102, 0.30), transparent 36%),
    linear-gradient(135deg, #383323, #2d7d4f);
}

.green-hero {
  background:
    linear-gradient(112deg, rgba(22, 72, 49, 0.97), rgba(62, 145, 87, 0.84)),
    radial-gradient(circle at 82% 18%, rgba(207, 235, 147, 0.28), transparent 36%),
    linear-gradient(135deg, #164831, #4a9d6a);
}

.livelihood-hero {
  background:
    linear-gradient(112deg, rgba(43, 67, 82, 0.97), rgba(58, 138, 154, 0.82)),
    radial-gradient(circle at 82% 18%, rgba(245, 204, 102, 0.26), transparent 36%),
    linear-gradient(135deg, #2b4352, #3a8a9a);
}

.public-hero-panel {
  min-height: 170px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}

.public-hero-panel span,
.public-hero-panel em {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-style: normal;
}

.public-hero-panel strong {
  display: block;
  margin: 10px 0 4px;
  color: #fff;
  font-size: 38px;
  line-height: 1;
}

.public-two-col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.82fr);
  gap: 18px;
  align-items: stretch;
}

.public-evidence {
  position: static;
}

.chain-flow {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.plain-flow {
  gap: 0;
  padding: 34px 28px 12px;
}

.chain-step {
  min-height: 132px;
  padding: 16px;
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #fff, #f8fbf9);
  box-shadow: 0 8px 24px rgba(30, 64, 43, 0.035);
}

.plain-flow .chain-step {
  min-height: 112px;
  padding: 0 10px;
  text-align: center;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.chain-step::after {
  content: "";
  position: absolute;
  right: -8px;
  top: 26px;
  width: 18px;
  height: 2px;
  background: var(--green);
}

.plain-flow .chain-step::after {
  content: "→";
  width: auto;
  height: auto;
  top: 8px;
  right: -10px;
  color: var(--green);
  background: transparent;
  font-size: 22px;
}

.chain-step:last-child::after {
  display: none;
}

.chain-step span,
.chain-step em {
  display: block;
  color: var(--text-muted);
  font-size: 11px;
  font-style: normal;
}

.plain-flow .chain-step span {
  color: var(--green-dark);
  font-size: 32px;
}

.chain-step strong {
  display: block;
  margin: 18px 0 8px;
  color: var(--green-dark);
  font-size: 16px;
}

.plain-flow .chain-step strong {
  margin: 10px 0 3px;
  color: var(--text-dark);
  font-size: 14px;
}

.plain-flow .chain-step em {
  font-size: 11px;
}

.schema-table {
  width: 100%;
  border-collapse: collapse;
}

.schema-table th {
  padding: 11px 14px;
  text-align: left;
  color: var(--text-muted);
  background: #f5f7f6;
  border-bottom: 1px solid var(--border-light);
  font-size: 12px;
}

.schema-table td {
  padding: 11px 14px;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-secondary);
  font-size: 13px;
}

.schema-table code {
  display: inline-flex;
  min-height: 20px;
  align-items: center;
  padding: 1px 7px;
  border-radius: 4px;
  background: #e7f4ec;
  color: var(--green-dark);
  font-family: Consolas, monospace;
  font-size: 11px;
}

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

.field-grid span {
  min-height: 38px;
  padding: 8px 10px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  background: #fbfdfb;
  color: var(--green-dark);
  font-family: Consolas, "Microsoft YaHei", monospace;
  font-size: 12px;
}

.green-metric-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 18px;
}

.public-green-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.public-green-list div {
  text-align: center;
  background: #e8f5ec;
  border-color: #cde8d6;
}

.ndvi-chart-static {
  height: 260px;
  margin: 20px 28px 8px;
  position: relative;
  border-left: 1px solid #9eabb4;
  border-bottom: 1px solid #9eabb4;
}

.ndvi-grid {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(to top, transparent 0 45px, #e7edf0 46px);
}

.ndvi-point {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #1fc9a7;
  transform: translate(-50%, 50%);
}

.ndvi-axis {
  position: absolute;
  left: -32px;
  top: 6px;
  color: #9aa6ae;
  font-size: 12px;
}

.ndvi-year {
  position: absolute;
  bottom: -24px;
  transform: translateX(-50%);
  color: #9aa6ae;
  font-size: 12px;
}

.panel-note {
  padding: 8px 28px 20px;
  color: var(--text-secondary);
  font-size: 12px;
}

.donut-wrap {
  min-height: 300px;
  display: grid;
  place-items: center;
  gap: 12px;
  padding: 18px;
}

.risk-donut {
  width: 172px;
  height: 172px;
  border-radius: 50%;
  display: grid;
  place-items: center;
}

.risk-donut span {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: #fff;
}

.donut-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  color: var(--text-secondary);
  font-size: 12px;
}

.donut-legend i {
  display: inline-flex;
  width: 18px;
  height: 10px;
  margin-right: 5px;
  border-radius: 3px;
  vertical-align: -1px;
}

.donut-legend i.high { background: #ef6b6b; }
.donut-legend i.mid { background: #ffa10a; }
.donut-legend i.low { background: #1fc9a7; }

.green-metric-list div {
  min-height: 106px;
  padding: 15px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  background: #fbfdfb;
}

.green-metric-list span,
.green-metric-list em {
  display: block;
  color: var(--text-muted);
  font-size: 12px;
  font-style: normal;
}

.green-metric-list strong {
  display: block;
  margin: 8px 0 5px;
  color: var(--green-dark);
  font-size: 22px;
}

.risk-distribution-bars {
  display: grid;
  gap: 14px;
  padding: 22px;
}

.risk-distribution-bars div {
  display: grid;
  grid-template-columns: 80px 42px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.risk-distribution-bars span {
  color: var(--text-secondary);
  font-size: 13px;
}

.risk-distribution-bars b {
  color: var(--text-dark);
  font-size: 18px;
}

.risk-distribution-bars i {
  display: block;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--green), var(--gold));
  min-width: 4px;
}

.four-party-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 18px;
}

.four-party-grid article {
  min-height: 170px;
  padding: 18px;
  text-align: center;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #fff, #f8fbf9);
  box-shadow: 0 8px 24px rgba(30, 64, 43, 0.04);
}

.four-party-grid span {
  display: block;
  margin-bottom: 16px;
  font-size: 32px;
}

.four-party-grid h3 {
  margin: 0 0 8px;
  color: var(--text-dark);
  font-size: 16px;
}

.four-party-grid b {
  display: block;
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
}

.four-party-grid p {
  margin-top: 6px;
  color: var(--text-secondary);
  font-size: 12px;
  line-height: 1.6;
}

.four-party-grid em {
  display: inline-flex;
  margin-top: 12px;
  min-height: 24px;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  background: #eef8f2;
  color: var(--green);
  font-size: 11px;
  font-style: normal;
}

.livelihood-evidence-stack {
  display: grid;
  gap: 0;
  border-radius: var(--radius);
}

.livelihood-evidence-stack .plain-evidence {
  border-radius: var(--radius) var(--radius) 0 0;
}

.livelihood-evidence-list {
  display: grid;
  grid-template-columns: 1fr;
}

.livelihood-actions {
  border-top: 1px solid var(--border-light);
}

.livelihood-detail-panel {
  border-top: 0;
  border-radius: 0 0 var(--radius) var(--radius);
}

/* ---- Buttons ---- */

.btn-main {
  display: inline-flex;
  align-items: center; justify-content: center;
  padding: 10px 22px;
  background: var(--green);
  color: #fff;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  transition: all var(--transition);
}

.btn-main:hover { background: var(--green-dark); }

.btn-outline {
  display: inline-flex;
  align-items: center; justify-content: center;
  padding: 8px 18px;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  font-size: 12px;
  transition: all var(--transition);
  background: #fff;
}

.btn-outline:hover { border-color: var(--green); color: var(--green); }

/* ---- Forms ---- */

.form-g { margin-bottom: 12px; }

.form-g label {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.form-g input,
.form-g select,
.form-g textarea {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--text-dark);
  background: #fff;
  transition: border-color var(--transition);
}

.form-g input:focus,
.form-g select:focus,
.form-g textarea:focus {
  outline: none;
  border-color: var(--green);
}

.form-g textarea {
  font-family: "Consolas", monospace;
  font-size: 12px;
  line-height: 1.5;
  resize: vertical;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1200px) {
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .icbc-role-grid { grid-template-columns: repeat(2, 1fr); }
  .cap-grid { grid-template-columns: repeat(2, 1fr); }
  .cap-card:last-child { max-width: 100%; }
  .pain-grid-seu { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-card:nth-child(2) { border-right: 0; }
  .content-2col { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .terminal-metrics { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .assessment-toolbar { grid-template-columns: 1fr; align-items: stretch; }
  .assessment-status { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .assessment-layout { grid-template-columns: 300px minmax(0, 1fr); }
  .evidence-panel { grid-column: 1 / -1; }
  .evidence-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .manager-workflow { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .subject-detail-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .subject-detail-grid div:nth-child(4n) { border-right: 1px solid var(--border-light); }
  .subject-detail-grid div:nth-child(2n) { border-right: 0; }
  .assessment-charts { grid-template-columns: 1fr; }
  .credit-decision-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .credit-decision-card:nth-child(2n) { border-right: 0; }
  .credit-decision-card:nth-child(n + 3) { border-top: 1px solid var(--border-light); }
  .terminal-grid,
  .terminal-grid.bottom { grid-template-columns: 1fr; }
  .ops-command { grid-template-columns: 1fr; }
  .ops-work-grid { grid-template-columns: 1fr; }
  .ops-kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .ops-layout { grid-template-columns: 1fr; }
  .ops-layout.no-sidebar { grid-template-columns: 1fr; }
  .overview-metric-grid { grid-template-columns: repeat(2, 1fr); }
  .analysis-board { grid-template-columns: 1fr; }
  .workspace-grid { grid-template-columns: 1fr; }
  .module-console { grid-template-columns: 1fr; }
  .module-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .module-overview-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .module-loop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .data-console { grid-template-columns: 1fr; }
  .geo-evidence-layout { grid-template-columns: 1fr; }
  .geo-evidence-side { grid-template-columns: 1fr; }
  .geo-evidence-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .asset-rail { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .asset-grid { grid-template-columns: repeat(2, 1fr); }
  .module-workflow { grid-template-columns: repeat(2, 1fr); }
  .source-row { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .innov-grid { grid-template-columns: repeat(2, 1fr); }
  .roadmap-hero { grid-template-columns: 1fr; }
  .roadmap-progress { grid-template-columns: repeat(2, 1fr); }
  .roadmap-progress-step:nth-child(2) { border-right: 0; }
  .roadmap-console { grid-template-columns: 1fr; }
  .roadmap-innovation-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .public-hero { grid-template-columns: 1fr; }
  .public-two-col { grid-template-columns: 1fr; }
  .risk-public-grid { grid-template-columns: 1fr; }
  .risk-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .chain-flow { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .chain-step:nth-child(3)::after { display: none; }
  .plain-flow .chain-step:nth-child(3)::after { display: none; }
  .public-green-list,
  .four-party-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
  .nav-menu { display: none; }
  .inner-container { width: min(100% - 28px, var(--max-width)); }
  .terminal-header { align-items: flex-start; flex-direction: column; }
  .terminal-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .assessment-status { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .assessment-layout { grid-template-columns: 1fr; }
  .manager-workflow { grid-template-columns: 1fr; }
  .subject-detail-grid { grid-template-columns: 1fr; }
  .subject-detail-grid div,
  .subject-detail-grid div:nth-child(2n),
  .subject-detail-grid div:nth-child(4n) { border-right: 0; }
  .assessment-object-list { max-height: none; }
  .assessment-score-row { grid-template-columns: 1fr; }
  .assessment-metrics { grid-template-columns: 1fr; }
  .credit-decision-grid { grid-template-columns: 1fr; }
  .credit-decision-card,
  .credit-decision-card:nth-child(2n) {
    border-right: 0;
    border-top: 1px solid var(--border-light);
  }
  .credit-decision-card:first-child {
    border-top: 0;
  }
  .evidence-list { grid-template-columns: 1fr; }
  .quality-mini-chart { display: none; }
  .assessment-table-head { align-items: flex-start; flex-direction: column; }
  .terminal-table-wrap { max-height: none; }
  .terminal-table th,
  .terminal-table td { padding: 9px 10px; }
  .disposal-item { grid-template-columns: auto minmax(0, 1fr); }
  .disposal-item em { grid-column: 2; grid-row: auto; width: fit-content; }
  .ops-command { padding: 22px; }
  .ops-command h1 { font-size: 26px; }
  .ops-health-board { grid-template-columns: 1fr; }
  .task-item { grid-template-columns: 8px minmax(0, 1fr); }
  .task-item em { grid-column: 2; width: fit-content; }
  .priority-regions { grid-template-columns: 1fr; }
  .ops-hero { align-items: flex-start; flex-direction: column; padding: 22px; }
  .ops-actions { flex-wrap: wrap; }
  .ops-kpi-grid { grid-template-columns: 1fr; }
  .overview-metric-grid { grid-template-columns: 1fr; }
  .pipeline-list.dense { grid-template-columns: 1fr; }
  .module-rail { grid-template-columns: 1fr; }
  .module-stage { padding: 22px; min-height: auto; }
  .module-feature-grid,
  .module-bottom-grid { grid-template-columns: 1fr; }
  .module-page-head h1 { font-size: 26px; }
  .module-overview-grid,
  .module-loop-grid { grid-template-columns: 1fr; }
  .asset-rail { grid-template-columns: 1fr; }
  .geo-map-shell,
  .amap-evidence-map { min-height: 420px; height: 420px; }
  .geo-evidence-list,
  .geo-region-picker { grid-template-columns: 1fr; }
  .geo-map-toolbar { flex-wrap: wrap; right: 12px; }
  .metric-strip { grid-template-columns: repeat(2, 1fr); }
  .metric-strip div:nth-child(2) { border-right: 0; }
  .asset-grid { grid-template-columns: 1fr; }
  .module-workflow { grid-template-columns: 1fr; }
  .workspace-head { align-items: flex-start; flex-direction: column; }
  .ops-chart { height: 260px; }
  .ops-table th, .ops-table td { padding: 10px; }
  .hero-title { font-size: 26px; }
  .hero-desc { font-size: 14px; }
  .section { padding: 48px 0; }
  .section-title { font-size: 24px; }
  .news-grid { grid-template-columns: 1fr; }
  .icbc-role-grid { grid-template-columns: 1fr; }
  .cap-grid { grid-template-columns: 1fr; }
  .cap-card:last-child { max-width: 100%; }
  .pain-grid-seu { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .stats-card { border-right: 0; border-bottom: 1px solid var(--border-light); }
  .stat-row { grid-template-columns: 1fr; }
  .source-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .innov-grid { grid-template-columns: 1fr; }
  .roadmap-hero { padding: 22px; min-height: auto; }
  .roadmap-hero h1 { font-size: 26px; }
  .roadmap-hero-panel strong { font-size: 34px; }
  .roadmap-progress { grid-template-columns: 1fr; }
  .roadmap-progress-step { border-right: 0; border-bottom: 1px solid var(--border-light); }
  .roadmap-progress-step:last-child { border-bottom: 0; }
  .roadmap-stage-card { grid-template-columns: 1fr; }
  .roadmap-stage-index { min-height: 56px; justify-content: flex-start; padding-left: 16px; }
  .roadmap-action-grid { grid-template-columns: 1fr; }
  .roadmap-section-title { align-items: flex-start; flex-direction: column; }
  .roadmap-section-title h2 { font-size: 21px; }
  .roadmap-innovation-grid { grid-template-columns: 1fr; }
  .public-page { padding-top: 16px; }
  .public-hero { padding: 22px; min-height: auto; }
  .public-hero h1 { font-size: 26px; }
  .public-hero-panel strong { font-size: 32px; }
  .plain-page-head { align-items: flex-start; flex-direction: column; padding-bottom: 18px; }
  .plain-page-head h1 { font-size: 24px; }
  .upload-notice { grid-template-columns: 1fr; }
  .risk-kpis { grid-template-columns: 1fr; }
  .chain-flow { grid-template-columns: 1fr; }
  .chain-step::after { display: none; }
  .field-grid,
  .green-metric-list,
  .four-party-grid { grid-template-columns: 1fr; }
  .risk-distribution-bars div { grid-template-columns: 72px 34px minmax(0, 1fr); }
}

/* ==========================================================================
   授信与贷后工作台（Credit & Post-Loan Workbench）
   ========================================================================== */

/* 五步业务流程步骤条 */
.wf-stepper {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}
.wf-step {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  padding: 10px 12px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  text-align: left;
  transition: all var(--transition);
  position: relative;
}
.wf-step:hover { border-color: var(--green); transform: translateY(-1px); }
.wf-step-key {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
}
.wf-step-title { font-size: 14px; font-weight: 700; color: var(--text); }
.wf-step-note { font-size: 11px; color: var(--text-muted); line-height: 1.35; }
.wf-step.done .wf-step-key { color: var(--green); }
.wf-step.done::after {
  content: "✓";
  position: absolute;
  top: 8px;
  right: 10px;
  font-size: 12px;
  color: var(--green);
}
.wf-step.active { border-color: rgba(217, 138, 58, 0.6); }
.wf-step.active .wf-step-key { color: var(--orange, #d98a3a); }
.wf-step.current {
  border-color: var(--green);
  box-shadow: 0 0 0 2px rgba(45, 125, 79, 0.12);
  background: rgba(45, 125, 79, 0.04);
}
.wf-detail {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 18px;
  margin-bottom: 14px;
}
.wf-detail-inner { display: flex; flex-direction: column; gap: 12px; }
.wf-kv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px;
}
.wf-kv {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 12px;
  background: var(--bg-soft, #f7faf8);
  border-radius: 8px;
}
.wf-kv span { font-size: 11px; color: var(--text-muted); }
.wf-kv strong { font-size: 13px; color: var(--text); word-break: break-all; }
.wf-report-grid {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 14px;
  align-items: stretch;
}
.wf-score {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 12px;
  background: var(--bg-soft, #f7faf8);
  padding: 12px;
}
.wf-score span { font-size: 12px; color: var(--text-muted); }
.wf-score strong { font-size: 34px; font-weight: 800; color: var(--green); }
.wf-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 8px;
}
.wf-metrics > div {
  display: flex;
  flex-direction: column;
  padding: 8px 12px;
  background: var(--bg-soft, #f7faf8);
  border-radius: 8px;
}
.wf-metrics span { font-size: 11px; color: var(--text-muted); }
.wf-metrics strong { font-size: 14px; }
.wf-review-item {
  padding: 10px 14px;
  border-left: 3px solid var(--green);
  background: var(--bg-soft, #f7faf8);
  border-radius: 0 8px 8px 0;
}
.wf-review-item strong { font-size: 13px; }
.wf-review-item p { margin: 3px 0 0; font-size: 12px; color: var(--text-muted); }
.wf-back-row { display: flex; gap: 8px; }
@media (max-width: 900px) {
  .wf-stepper { grid-template-columns: repeat(2, 1fr); }
  .wf-report-grid { grid-template-columns: 1fr; }
}

/* "更多"下拉 */
.nav-more {
  position: relative;
  display: inline-flex;
}
.nav-more > a { cursor: pointer; }
.nav-more-drop {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 168px;
  padding: 6px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  z-index: 120;
}
.nav-more-drop a {
  display: block;
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--text, #233329);
  white-space: nowrap;
  cursor: pointer;
}
.nav-more-drop a:hover { background: var(--bg-soft, #f2f6f3); }
.nav-more-drop a.active { color: var(--green, #2d7d4f); font-weight: 600; }
.nav-more.open .nav-more-drop { display: block; }
.nav-menu a { padding: 6px 8px; }

.credit-workbench {
  margin-bottom: 28px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.04);
}
.dashboard-module-tabs {
  width: min(1180px, 100%);
  display: flex;
  gap: 8px;
  margin: 24px auto 0;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.dashboard-module-tabs button {
  min-height: 36px;
  padding: 8px 14px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
}

.dashboard-module-tabs button:hover,
.dashboard-module-tabs button:focus-visible {
  border-color: var(--border);
  color: var(--green-dark);
  outline: none;
}

.dashboard-module-tabs button.active {
  border-color: var(--green);
  background: #eef8f2;
  color: var(--green-dark);
}

.cw-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.cw-title h1 {
  font-size: 24px;
  margin: 4px 0 6px;
  color: var(--text-dark);
}
.cw-title p {
  font-size: 13px;
  color: var(--text-secondary);
  margin: 0;
}
.cw-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.cw-controls label { font-size: 13px; color: var(--text-secondary); }
.cw-controls select {
  padding: 8px 10px;
  border: 1px solid #cbd5d0;
  border-radius: 6px;
  font-size: 14px;
  background: #fff;
  min-width: 240px;
  color: var(--text-dark);
}
.cw-controls .btn-main { white-space: nowrap; }

.cw-error {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  margin-bottom: 16px;
  background: #fdf0ef;
  border: 1px solid #f3c1bd;
  border-radius: 8px;
  color: #b3261e;
  font-size: 13px;
}
.cw-loading {
  padding: 28px 16px;
  text-align: center;
  color: var(--text-secondary);
  font-size: 14px;
}

.cw-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}
.cw-tags span {
  padding: 4px 10px;
  background: #f1f5f2;
  border: 1px solid #e0e7e2;
  border-radius: 999px;
  font-size: 12px;
  color: #4b5e55;
}
.cw-tags b { color: var(--green-dark); margin-right: 4px; font-weight: 600; }

.cw-scenarios {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 16px;
}
.cw-scenario {
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #fafcfb;
}
.cw-scenario.cw-baseline { border-top: 3px solid #2d7d4f; }
.cw-scenario.cw-snow { border-top: 3px solid #d98a3a; }
.cw-scenario.cw-comp { border-top: 3px solid #c0392b; }
.cw-scenario h3 {
  font-size: 14px;
  margin: 0 0 10px;
  color: var(--text-dark);
}
.cw-sc-kv {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 5px 0;
  border-bottom: 1px dashed #e6ebe8;
  font-size: 13px;
}
.cw-sc-kv span { color: var(--text-secondary); }
.cw-sc-kv strong { color: var(--text-dark); }
.cw-sc-note {
  font-size: 12px;
  color: var(--text-muted, #7a8a99);
  margin: 10px 0 0;
  line-height: 1.55;
}

.cw-result {
  padding: 18px;
  border-radius: 12px;
  margin-bottom: 16px;
  border: 1px solid var(--border);
}
.cw-result.cw-feasible { background: linear-gradient(135deg, #f0f9f2, #e7f4ea); border-color: #b8dcc2; }
.cw-result.cw-infeasible { background: linear-gradient(135deg, #fdf3ee, #fbeae1); border-color: #ecc3a8; }
.cw-result.cw-blocked { background: linear-gradient(135deg, #f5f1f1, #ebe4e4); border-color: #d5c9c9; }
.cw-result-main {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 12px;
}
.cw-result-main span {
  font-size: 14px;
  color: var(--text-secondary);
}
.cw-result-main strong {
  font-size: 38px;
  font-weight: 700;
  color: var(--green-dark);
  letter-spacing: 0.5px;
}
.cw-result-main strong em { font-size: 16px; font-style: normal; font-weight: 600; }
.cw-result-main.bad strong { color: #a03227; font-size: 28px; }
.cw-result-meta {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-bottom: 12px;
}
.cw-result-meta > div {
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.75);
  border-radius: 8px;
  border: 1px solid rgba(220, 230, 224, 0.9);
}
.cw-result-meta span { display: block; font-size: 11px; color: var(--text-secondary); margin-bottom: 3px; }
.cw-result-meta b { font-size: 14px; color: var(--text-dark); }
.cw-result-meta b.bad { color: #b3261e; }
.cw-result-reason {
  font-size: 13px;
  color: #4b5e55;
  margin: 8px 0 0;
  line-height: 1.6;
}
.cw-result-hint {
  font-size: 12px;
  color: var(--text-muted, #7a8a99);
  margin: 8px 0 0;
  line-height: 1.6;
}
.cw-missing ul {
  margin: 8px 0 0;
  padding-left: 18px;
  color: #5b4a44;
  font-size: 13px;
}

.cw-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 16px;
}
.cw-card {
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
}
.cw-card h3 {
  font-size: 14px;
  margin: 0 0 12px;
  color: var(--text-dark);
}
.cw-form {
  display: grid;
  gap: 10px;
}
.cw-form label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
  color: var(--text-secondary);
}
.cw-form input {
  width: 130px;
  padding: 7px 9px;
  border: 1px solid #cbd5d0;
  border-radius: 6px;
  font-size: 13px;
  color: var(--text-dark);
}
.cw-unverified {
  margin: 12px 0 0;
  font-size: 12px;
  color: #b3261e;
}
.cw-kv {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 5px 0;
  font-size: 13px;
}
.cw-kv span { color: var(--text-secondary); }
.cw-kv b { color: var(--text-dark); }
.cw-kv b.bad { color: #b3261e; }
.cw-kv-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}
.cw-composite { background: #fdfbf7; border-color: #eadfc6; }

.cw-monthly { margin-bottom: 16px; }
.cw-monthly-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.cw-monthly-head h3 { margin: 0; }
.cw-tabs { display: flex; gap: 6px; }
.cw-tabs button {
  padding: 6px 14px;
  border: 1px solid #cbd5d0;
  border-radius: 6px;
  background: #fff;
  font-size: 13px;
  color: var(--text-secondary);
  cursor: pointer;
}
.cw-tabs button.active {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}
.cw-month-table th, .cw-storage-table th { white-space: nowrap; }
.cw-month-table td, .cw-storage-table td { font-size: 12px; }
.cw-low { background: #fdf0ef !important; }
.cw-storage-table { margin-top: 12px; }
.terminal-table-wrap { overflow-x: auto; }

.cw-check ul {
  margin: 0 0 8px;
  padding-left: 18px;
  font-size: 13px;
  color: #3c4b43;
  line-height: 1.8;
}
.cw-disclosure {
  margin-top: 14px;
  padding: 12px 14px;
  background: #f7f9f8;
  border: 1px dashed #d5deD8;
  border-radius: 8px;
}
.cw-disclosure p {
  margin: 0;
  font-size: 12px;
  color: var(--text-muted, #7a8a99);
  line-height: 1.7;
}

/* ---- 响应式：工作台 ---- */
@media (max-width: 1100px) {
  .cw-scenarios, .cw-grid { grid-template-columns: 1fr; }
  .cw-result-meta, .cw-kv-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .dashboard-module-tabs { flex-direction: column; }
  .dashboard-module-tabs button { width: 100%; text-align: left; }
  .credit-workbench { padding: 14px; min-width: 0; max-width: 100%; }
  .cw-head { flex-direction: column; min-width: 0; }
  .cw-title { min-width: 0; }
  .cw-controls { min-width: 0; }
  .cw-controls select { width: 100%; min-width: 0; box-sizing: border-box; }
  .cw-result-main strong { font-size: 30px; }
  .cw-result-meta, .cw-kv-row { grid-template-columns: 1fr; }
  .cw-scenario, .cw-card, .cw-result, .cw-sc-kv, .cw-kv { min-width: 0; }
  .cw-form label { flex-direction: column; align-items: flex-start; }
  .cw-form input { width: 100%; box-sizing: border-box; }
}


/* ==========================================================================
   大改新增样式
   ========================================================================== */

/* ---- Hero KPI 玻璃条 ---- */

.hero-stats-bar {
  display: flex;
  gap: 0;
  margin-top: 0;
  padding: 0;
  background: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: none;
  border-radius: 0;
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
}

.hero-stat {
  flex: 1;
  padding: 0 16px;
  border-right: 1px solid var(--border);
  cursor: pointer;
  transition: opacity var(--transition);
}

.hero-stat:last-child { border-right: 0; }
.hero-stat:first-child { padding-left: 0; }
.hero-stat:hover { opacity: 0.7; }

.hero-stat strong {
  display: block;
  font-size: 40px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1;
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}

.hero-stat span {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 0;
  letter-spacing: 0;
  font-weight: 400;
}

/* ---- 滚动指示器 ---- */

.hero-scroll-hint { display: none; }

.hero-scroll-hint:hover { color: rgba(255, 255, 255, 0.9); }

.hero-scroll-hint span {
  font-size: 10px;
  letter-spacing: 2px;
}

.scroll-arrow {
  width: 16px; height: 16px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  animation: scrollBounce 1.8s ease infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: rotate(45deg) translate(0, 0); opacity: 0.4; }
  50% { transform: rotate(45deg) translate(3px, 3px); opacity: 0.9; }
}

/* ---- 业务时间线 ---- */

.biz-timeline {
  display: flex;
  align-items: stretch;
  gap: 0;
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.biz-tl-track { display: none; }

.biz-tl-step {
  flex: 1;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 24px 28px;
  background: var(--surface);
  border-right: 1px solid var(--border);
  cursor: pointer;
  transition: background var(--transition);
  margin: 0;
  box-shadow: none;
  border-top: none;
  border-bottom: none;
  border-left: none;
}

.biz-tl-step:last-child { border-right: none; }

.biz-tl-step:hover {
  transform: none;
  box-shadow: none;
  background: var(--bg-alt);
  border-color: var(--border);
}

.biz-tl-node {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-alt);
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: none;
  margin-bottom: 16px;
  transition: all var(--transition);
}

.biz-tl-step:hover .biz-tl-node {
  background: var(--green);
  color: #fff;
  box-shadow: none;
}

.biz-tl-body h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.biz-tl-body p {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.biz-tl-arrow { display: none; }

.biz-tl-step.is-last .biz-tl-arrow { display: none; }

/* ---- 数据底账仪表盘行 ---- */

.stats-gauge-row {
  display: flex;
  align-items: center;
  gap: 36px;
  margin-top: 40px;
  padding: 32px 40px;
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-card);
}

.home-gauge-chart {
  width: 200px;
  height: 180px;
  flex-shrink: 0;
}

.stats-gauge-desc {
  flex: 1;
}

.stats-gauge-desc p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 4px;
}

.stats-gauge-desc p:first-child {
  font-size: 19px;
  font-weight: 700;
  color: var(--text-dark);
}

.stats-gauge-desc strong {
  color: var(--green);
}

/* ---- 核心能力信息图 ---- */

.overview-infographic {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.oi-col {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-card);
  transition: all var(--transition);
}

.oi-col:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
  border-color: var(--border-mint);
}

.oi-col-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  padding-bottom: 0;
  border-bottom: none;
}

.oi-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(0, 122, 255, 0.08);
  color: var(--green);
  font-size: 13px;
  font-weight: 600;
}

.oi-col-head h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
}

.oi-items { display: flex; flex-direction: column; gap: 10px; }

.oi-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-secondary);
}

.oi-item i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green-light);
  flex-shrink: 0;
}

.oi-flow {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 8px;
  padding: 18px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.oi-flow span {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-dark);
  padding: 6px 16px;
  background: var(--bg-alt);
  border-radius: 999px;
  border: none;
  box-shadow: none;
}

.oi-flow i {
  font-style: normal;
  font-size: 14px;
  color: var(--text-muted);
}

/* ---- 滚动揭示 ---- */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ---- 新闻卡片色条 ---- */

.news-card.nc-red { border-left: 3px solid var(--red); }
.news-card.nc-orange { border-left: 3px solid var(--orange); }
.news-card.nc-green { border-left: 3px solid var(--green); }

/* ---- 响应式 ---- */

@media (max-width: 1024px) {
  .hero-content { padding: 0 32px 40px; }
  .hero-dots { right: 24px; }
  .hero-stats-bar { flex-wrap: wrap; gap: 8px 0; }
  .hero-stat { padding: 0 14px; }
  .biz-timeline { flex-direction: column; gap: 24px; }
  .biz-tl-track { display: none; }
  .biz-tl-arrow { display: none; }
  .biz-tl-step { flex-direction: row; text-align: left; }
  .biz-tl-node { margin-bottom: 0; margin-right: 16px; flex-shrink: 0; }
  .overview-infographic { grid-template-columns: repeat(2, 1fr); }
  .stats-gauge-row { flex-direction: column; text-align: center; }
  .home-gauge-chart { margin: 0 auto; }
}

@media (max-width: 640px) {
  .hero-content { padding: 0 20px 32px; }
  .hero-dots { display: none; }
  .hero-stats-bar { flex-wrap: wrap; gap: 8px 0; padding: 14px 18px; }
  .hero-stat { padding: 0 10px; }
  .hero-stat strong { font-size: 20px; }
  .hero-scroll-hint { display: none; }
  .hero-cta { flex-direction: column; }
  .overview-infographic { grid-template-columns: 1fr; }
  .oi-flow { flex-wrap: wrap; }
  .stats-gauge-row { padding: 24px 20px; }
  .section { padding: 64px 0; }
  .section-title { font-size: 26px; }
}


/* ---- 大改修复：中段视觉一致性 ---- */

/* section 之间过渡微渐变 */
.section:nth-of-type(1) { background: var(--bg); }
.section.section-alt:nth-of-type(even) { background: var(--bg-alt); }

/* 仪表盘行强制可见 */
.stats-gauge-row.reveal {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* 痛点卡片增加左侧色条 */
.pain-card-seu { border-left: 3px solid var(--green-light); }

/* 章节编号装饰 */
.section-head { position: relative; }
.section-head::before {
  content: "";
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--green-light), transparent);
  border-radius: 2px;
  opacity: 0.3;
}


/* ==========================================================================
   Credit Workbench Sub-Tabs (方案一: Tab 分区)
   ========================================================================== */

.cw-subtabs {
  display: flex; gap: 4px;
  background: var(--bg);
  border-radius: var(--radius);
  padding: 4px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
}
.cw-subtabs button {
  flex: 1;
  padding: 10px 16px;
  border: none;
  background: transparent;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s;
  display: flex; align-items: center; justify-content: center; gap: 6px;
}
.cw-subtabs button:hover { background: var(--bg-alt); }
.cw-subtabs button.active { background: var(--text); color: #fff; }
.cw-subtab-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 18px; height: 18px; border-radius: 50%;
  font-size: 10px; font-weight: 600;
  background: var(--bg-deep); color: var(--text-secondary);
}
.cw-subtabs button.active .cw-subtab-num { background: rgba(255,255,255,0.2); color: rgba(255,255,255,0.9); }

.cw-subtab-content { animation: cw-fade 0.2s ease; }
@keyframes cw-fade { from { opacity: 0; } to { opacity: 1; } }

/* Workbench 2-column layout: pool + content */
.cw-workbench-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}
.cw-workbench-layout .assessment-pool {
  position: sticky; top: 60px;
  max-height: calc(100vh - 80px);
  overflow-y: auto;
}

/* Simplified pool item: only name + score + tooltip */
.cw-pool-item .ao-main { flex: 1; }
.cw-pool-item .ao-meta { display: none; }
.cw-pool-item .ao-tooltip {
  display: none;
  position: absolute;
  left: 100%; top: 0; z-index: 50;
  background: var(--text); color: #fff;
  padding: 6px 10px; border-radius: 6px;
  font-size: 11px; white-space: nowrap;
  margin-left: 8px;
  pointer-events: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.cw-pool-item .ao-tooltip::after {
  content: ""; position: absolute; right: 100%; top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent; border-right-color: var(--text);
}
.cw-pool-item:hover { position: relative; }
.cw-pool-item:hover .ao-tooltip { display: block; }

/* Risk content (Tab 2) */
.cw-risk-content {
  display: flex; flex-direction: column; gap: 16px;
}

/* Evidence content (Tab 3) */
.cw-evidence-content { min-height: 400px; }
.cw-evidence-panel { position: relative; }

/* Merged data + model summary */
.cw-data-summary {
  padding: 14px 0;
  border-top: 1px solid var(--border);
  margin-top: 14px;
}
.cw-summary-box {
  background: var(--bg-alt);
  border-radius: var(--radius-sm);
  padding: 14px;
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-top: 8px;
}
.cw-summary-box strong { color: var(--text); font-weight: 600; }

/* Responsive */
@media (max-width: 1024px) {
  .cw-workbench-layout { grid-template-columns: 1fr; }
  .cw-workbench-layout .assessment-pool { position: static; max-height: 300px; }
}

/* 演示助手 Demo Guide =============================================== */
.dg-fab {
  position: fixed; right: 24px; bottom: 24px;
  width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #007aff, #2e6bff);
  color: #fff; border: none; cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 122, 255, .35);
  font-size: 22px; z-index: 999;
  transition: transform .2s ease, box-shadow .2s ease;
}
.dg-fab:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(0, 122, 255, .45); }
.dg-fab-ic { line-height: 1; }
.dg-badge {
  position: absolute; top: -2px; right: -2px;
  min-width: 20px; height: 20px; border-radius: 10px;
  background: var(--red); color: #fff;
  font-size: 12px; font-weight: 700; line-height: 20px;
  text-align: center; padding: 0 5px;
  box-shadow: 0 2px 6px rgba(255, 59, 48, .4);
}
.dg-panel {
  position: fixed; right: 24px; bottom: 24px;
  width: 360px; max-width: calc(100vw - 32px);
  height: 540px; max-height: calc(100vh - 48px);
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--border-light);
  border-radius: 16px; overflow: hidden;
  box-shadow: 0 16px 48px rgba(0, 0, 0, .16);
  z-index: 999;
}
.dg-head {
  position: relative;
  padding: 14px 16px;
  background: linear-gradient(135deg, #007aff, #2e6bff);
  color: #fff; display: flex; flex-direction: column; gap: 2px;
}
.dg-title { font-size: 15px; font-weight: 600; }
.dg-sub { font-size: 12px; opacity: .85; }
.dg-close {
  position: absolute; top: 10px; right: 12px;
  width: 28px; height: 28px; border-radius: 50%;
  background: rgba(255, 255, 255, .2); color: #fff;
  border: none; font-size: 18px; line-height: 1; cursor: pointer;
}
.dg-close:hover { background: rgba(255, 255, 255, .35); }
.dg-body {
  flex: 1; overflow-y: auto; padding: 16px;
  display: flex; flex-direction: column; gap: 12px;
  background: var(--bg-mist);
}
.dg-msg { display: flex; }
.dg-msg.user { justify-content: flex-end; }
.dg-msg.bot { justify-content: flex-start; }
.dg-bubble {
  max-width: 82%;
  padding: 10px 13px; border-radius: 14px;
  font-size: 13px; line-height: 1.6; color: var(--text);
  white-space: pre-wrap; word-break: break-word;
}
.dg-msg.user .dg-bubble {
  background: #007aff; color: #fff; border-bottom-right-radius: 4px;
}
.dg-msg.bot .dg-bubble {
  background: #fff; border: 1px solid var(--border-light);
  border-bottom-left-radius: 4px;
}
.dg-typing { color: var(--text-muted); font-style: italic; }
.dg-foot {
  padding: 10px 12px; border-top: 1px solid var(--border-light);
  display: flex; gap: 8px; align-items: flex-end; background: #fff;
}
.dg-foot textarea {
  flex: 1; resize: none; min-height: 40px; max-height: 96px;
  border: 1px solid var(--border-light); border-radius: 10px;
  padding: 9px 11px; font-size: 13px; line-height: 1.4;
  font-family: inherit; outline: none; color: var(--text);
}
.dg-foot textarea:focus { border-color: #007aff; }
.dg-send {
  height: 40px; padding: 0 16px; border-radius: 10px;
  background: #007aff; color: #fff; border: none;
  font-size: 13px; font-weight: 600; cursor: pointer; flex-shrink: 0;
}
.dg-send:hover { background: #2e6bff; }
.dg-send:disabled { opacity: .5; cursor: default; }
.dg-note {
  padding: 6px 12px; font-size: 11px; color: var(--text-muted);
  background: var(--bg-alt); text-align: center;
}
.dg-fade-enter-active, .dg-fade-leave-active { transition: opacity .2s ease, transform .2s ease; }
.dg-fade-enter-from, .dg-fade-leave-to { opacity: 0; transform: translateY(8px); }

/* ---- 演示助手增强：头部动作 / Markdown / 消息操作 / 停止 ---- */
.dg-head { display: flex; align-items: center; gap: 8px; }
.dg-head-actions { margin-left: auto; display: flex; gap: 6px; align-items: center; }
.dg-clear {
  border: 1px solid var(--border, #d0d7de); background: transparent;
  color: var(--text-muted); border-radius: 6px; padding: 2px 10px;
  font-size: 12px; cursor: pointer; line-height: 1.6;
}
.dg-clear:hover { color: var(--primary, #0a66c2); border-color: var(--primary, #0a66c2); }

.dg-bubble p { margin: 4px 0; }
.dg-bubble ul { margin: 4px 0; padding-left: 18px; }
.dg-bubble li { margin: 2px 0; }
.dg-bubble h1, .dg-bubble h2, .dg-bubble h3, .dg-bubble h4 {
  margin: 8px 0 4px; font-size: 13px; line-height: 1.4;
}
.dg-bubble code {
  background: rgba(0, 0, 0, .06); padding: 1px 4px; border-radius: 3px; font-size: 12px;
}
.dg-bubble pre {
  background: #f4f6f8; border: 1px solid #e3e8ee; border-radius: 6px;
  padding: 8px; overflow: auto; margin: 6px 0;
}
.dg-bubble pre code { background: transparent; padding: 0; }
.dg-bubble strong { font-weight: 700; }

.dg-msg-actions { display: flex; gap: 6px; margin-top: 4px; padding: 0 4px; }
.dg-act {
  border: none; background: transparent; color: var(--text-muted);
  font-size: 12px; cursor: pointer; padding: 0;
}
.dg-act:hover { color: var(--primary, #0a66c2); }

.dg-stop { background: var(--text-muted) !important; }

@media (max-width: 480px) {
  .dg-panel { right: 8px; bottom: 8px; width: calc(100vw - 16px); }
  .dg-fab { right: 16px; bottom: 16px; }
}
