/* ============================================================
   农溯源 · 暗色电影氛围设计系统
   炭黑 + 深墨绿 底色 ｜ 雾青 辅助 ｜ 哑光橄榄金 点缀
   深色磨砂玻璃拟态 · 柔和大圆角 · 纤细金色描边
   ============================================================ */
:root {
  /* 新调色板 */
  --ink0: #090c0b;            /* 炭黑 */
  --ink1: #0d1512;            /* 深墨绿黑 */
  --ink2: #121d18;
  --gold: #c9b47f;            /* 哑光橄榄金 */
  --gold-hi: #dcc794;
  --gold-deep: #a08a55;
  --mist: #9db8ac;            /* 雾青 */
  --mist-deep: #6e8a7d;
  --sage: #7fbf9e;            /* 低饱和青绿（状态用） */
  --text: #e9ede9;
  --text-soft: #c3cec6;
  --muted: #8fa197;
  --dim: #5f7168;

  --glass: rgba(16, 26, 22, 0.58);
  --glass-2: rgba(20, 32, 27, 0.72);
  --glass-solid: #101a16;
  --line: rgba(201, 180, 127, 0.18);
  --line-strong: rgba(201, 180, 127, 0.38);
  --glow: 0 0 0 1px rgba(201, 180, 127, 0.06), 0 10px 40px rgba(0, 0, 0, 0.45);
  --glow-hover: 0 0 0 1px rgba(201, 180, 127, 0.22), 0 0 26px rgba(201, 180, 127, 0.12), 0 16px 46px rgba(0, 0, 0, 0.5);

  --radius: 20px;
  --radius-sm: 14px;

  /* ---- 旧变量兼容映射（trace/apply 等页面内联样式仍可用） ---- */
  --green: var(--gold);
  --green-deep: var(--gold-deep);
  --green-dark: var(--gold-hi);
  --green-grad: linear-gradient(135deg, #d6c188, #a8925c);
  --green-light: rgba(201, 180, 127, 0.12);
  --green-tint: rgba(157, 184, 172, 0.08);
  --amber: #d9a05b;
  --amber-light: rgba(217, 160, 91, 0.14);
  --red: #d98080;
  --bg: var(--ink0);
  --card: var(--glass);
  --border: var(--line);
  --shadow-sm: var(--glow);
  --shadow-md: var(--glow-hover);
  --shadow-green: 0 8px 26px rgba(0, 0, 0, 0.45);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  background: var(--ink0);
  color: var(--text);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0.02em;
}

::-webkit-scrollbar { width: 9px; height: 9px; }
::-webkit-scrollbar-thumb { background: rgba(201, 180, 127, 0.22); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: rgba(201, 180, 127, 0.38); }
::-webkit-scrollbar-track { background: transparent; }
::selection { background: rgba(201, 180, 127, 0.3); }

/* ============ 沉浸式底层背景（fx.js 注入 .bg-scene） ============ */
.bg-scene {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background:
    radial-gradient(1400px 700px at 78% -12%, rgba(64, 108, 88, 0.34), transparent 62%),
    radial-gradient(1100px 600px at 6% 108%, rgba(38, 74, 58, 0.30), transparent 60%),
    radial-gradient(900px 500px at 50% 55%, rgba(21, 40, 32, 0.5), transparent 70%),
    linear-gradient(180deg, #0a0f0d 0%, #0b1310 46%, #080c0a 100%);
}
.bg-scene .ridge { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; pointer-events: none; }
.bg-scene .fog {
  position: absolute;
  width: 68vw;
  height: 34vh;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.5;
  background: radial-gradient(ellipse, rgba(157, 184, 172, 0.10), transparent 68%);
  animation: fog-drift 46s ease-in-out infinite alternate;
}
.bg-scene .fog.f2 {
  background: radial-gradient(ellipse, rgba(201, 180, 127, 0.05), transparent 66%);
  animation-duration: 62s;
  animation-delay: -20s;
}
@keyframes fog-drift {
  from { transform: translate3d(-6vw, 1vh, 0) scale(1); }
  to { transform: translate3d(7vw, -3vh, 0) scale(1.16); }
}
#particles { position: absolute; inset: 0; }

/* ============ 页面容器（消费者页 trace/apply） ============ */
.page { max-width: 680px; margin: 0 auto; padding: 26px 18px 44px; position: relative; }

@keyframes fade-up {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
.page > * { animation: fade-up 0.55s ease both; }
.page > *:nth-child(1) { animation-delay: 0.02s; }
.page > *:nth-child(2) { animation-delay: 0.09s; }
.page > *:nth-child(3) { animation-delay: 0.16s; }
.page > *:nth-child(4) { animation-delay: 0.23s; }
.page > *:nth-child(5) { animation-delay: 0.3s; }
.page > *:nth-child(n+6) { animation-delay: 0.37s; }

/* ============ Hero（trace/apply 顶部） ============ */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(150deg, rgba(30, 52, 42, 0.85), rgba(16, 28, 23, 0.9));
  backdrop-filter: blur(14px);
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: var(--radius);
  padding: 30px 26px 28px;
  margin-bottom: 18px;
  box-shadow: var(--glow);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(420px 200px at 88% -30%, rgba(201, 180, 127, 0.14), transparent 70%);
  pointer-events: none;
}
.hero h1 { font-size: 23px; margin-bottom: 9px; letter-spacing: 0.06em; position: relative; font-weight: 700; }
.hero p { font-size: 13.5px; color: var(--muted); position: relative; line-height: 1.75; }

/* ============ 玻璃卡片 ============ */
.card {
  background: var(--glass);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-radius: var(--radius);
  padding: 22px;
  margin-bottom: 16px;
  border: 1px solid var(--line);
  box-shadow: var(--glow);
  transition: box-shadow 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}
@media (hover: hover) {
  .card:hover { box-shadow: var(--glow-hover); transform: translateY(-3px); border-color: var(--line-strong); }
}
.card h2 {
  font-size: 15.5px;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.08em;
  color: var(--text);
  font-weight: 600;
}

/* ============ 表单 ============ */
input, select, textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 14.5px;
  background: rgba(9, 14, 12, 0.55);
  color: var(--text);
  transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
  font-family: inherit;
}
input:hover, select:hover, textarea:hover { border-color: rgba(201, 180, 127, 0.32); }
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(9, 14, 12, 0.8);
  box-shadow: 0 0 0 3px rgba(201, 180, 127, 0.12), 0 0 18px rgba(201, 180, 127, 0.08);
}
input::placeholder, textarea::placeholder { color: var(--dim); }
textarea { resize: vertical; min-height: 80px; }
label { display: block; font-size: 12.5px; color: var(--muted); margin: 13px 0 7px; font-weight: 500; letter-spacing: 0.08em; }
select option { background: var(--glass-solid); color: var(--text); }
input[type="file"] { padding: 10px 12px; font-size: 13px; color: var(--muted); }
input[type="datetime-local"], input[type="date"] { color-scheme: dark; }

/* ============ 按钮（含涟漪反馈） ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 100%;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #d6c188, #a8925c);
  color: #171509;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.12em;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.22);
  transition: transform 0.18s ease, box-shadow 0.25s ease, filter 0.25s ease;
  position: relative;
  overflow: hidden;
  font-family: inherit;
}
.btn:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.45), 0 0 24px rgba(201, 180, 127, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}
.btn:active { transform: scale(0.975); filter: brightness(0.96); }
.btn:disabled { opacity: 0.45; cursor: not-allowed; transform: none; }
.btn.secondary {
  background: rgba(157, 184, 172, 0.08);
  color: var(--text-soft);
  border-color: var(--line);
  box-shadow: none;
  backdrop-filter: blur(8px);
}
.btn.secondary:hover {
  background: rgba(201, 180, 127, 0.1);
  color: var(--gold-hi);
  border-color: var(--line-strong);
  filter: none;
  box-shadow: 0 0 18px rgba(201, 180, 127, 0.1);
}
.btn.small {
  width: auto;
  padding: 8px 17px;
  font-size: 12.5px;
  border-radius: 999px;
  letter-spacing: 0.05em;
}

/* 涟漪 */
.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(233, 237, 233, 0.35);
  transform: scale(0);
  animation: ripple-anim 0.65s ease-out forwards;
  pointer-events: none;
}
.btn.secondary .ripple, .tab .ripple, .side-item .ripple { background: rgba(201, 180, 127, 0.25); }
@keyframes ripple-anim {
  to { transform: scale(2.6); opacity: 0; }
}

.muted { color: var(--muted); font-size: 13px; }
.error { color: var(--red); font-size: 13px; margin-top: 8px; }

/* ============ 时间轴 ============ */
.timeline { position: relative; padding-left: 30px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 9px; top: 8px; bottom: 8px;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(to bottom, rgba(201, 180, 127, 0.75), rgba(201, 180, 127, 0.08));
}
.tl-item { position: relative; padding-bottom: 24px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: "";
  position: absolute;
  left: -27px; top: 4px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid var(--ink1);
  box-shadow: 0 0 0 2px rgba(201, 180, 127, 0.35), 0 0 12px rgba(201, 180, 127, 0.4);
}
.tl-stage { font-weight: 700; font-size: 15px; letter-spacing: 0.04em; }
.tl-time {
  font-size: 12px;
  color: var(--muted);
  margin: 4px 0 6px;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.tl-content { font-size: 13.5px; line-height: 1.75; color: var(--text-soft); }
.tl-meta { font-size: 12px; color: var(--muted); margin-top: 5px; }
.tl-imgs { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.tl-imgs img {
  width: 86px; height: 86px;
  object-fit: cover;
  border-radius: 12px;
  cursor: zoom-in;
  border: 1px solid var(--line);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.tl-imgs img:hover { transform: scale(1.05); box-shadow: 0 0 20px rgba(201, 180, 127, 0.25); }

/* ============ 徽章 ============ */
.badge {
  display: inline-block;
  padding: 4px 13px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.05em;
  background: rgba(127, 191, 158, 0.1);
  color: var(--sage);
  border: 1px solid rgba(127, 191, 158, 0.28);
}
.badge.warn { background: rgba(217, 160, 91, 0.1); color: var(--amber); border-color: rgba(217, 160, 91, 0.32); }
.badge.gold { background: rgba(201, 180, 127, 0.1); color: var(--gold-hi); border-color: var(--line-strong); }

/* ============ 表格 ============ */
table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
th, td { padding: 11px 8px; border-bottom: 1px solid rgba(201, 180, 127, 0.1); text-align: left; }
tr:last-child th, tr:last-child td { border-bottom: none; }
th { color: var(--muted); font-weight: 500; letter-spacing: 0.08em; font-size: 12px; }

/* ============ 顶栏（旧版兼容） ============ */
.topbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.topbar .title { font-size: 19px; font-weight: 700; letter-spacing: 0.1em; }
.avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(201, 180, 127, 0.85), rgba(140, 118, 70, 0.9));
  color: #14120a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 0 0 1px rgba(201, 180, 127, 0.4), 0 6px 18px rgba(0, 0, 0, 0.45);
  flex-shrink: 0;
}
.topbar-left { display: flex; align-items: center; gap: 12px; }

/* ============ 标签页（旧版兼容） ============ */
.tabs { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
.tab {
  padding: 9px 19px;
  border-radius: 999px;
  background: rgba(16, 26, 22, 0.5);
  border: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--text-soft);
  cursor: pointer;
  transition: all 0.22s ease;
  user-select: none;
  position: relative;
  overflow: hidden;
}
.tab:hover { border-color: var(--line-strong); color: var(--gold-hi); box-shadow: 0 0 16px rgba(201, 180, 127, 0.12); }
.tab.active {
  background: linear-gradient(135deg, rgba(201, 180, 127, 0.92), rgba(160, 138, 85, 0.92));
  color: #171509;
  border-color: transparent;
  font-weight: 600;
}

.row { display: flex; gap: 12px; }
.row > * { flex: 1; }

/* ============ 数据统计（旧版兼容） ============ */
.stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.stat {
  border-radius: 16px;
  padding: 18px 14px;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: rgba(157, 184, 172, 0.06);
  border: 1px solid var(--line);
}
.stat .icon { font-size: 22px; margin-bottom: 5px; }
.stat .num { font-size: 27px; font-weight: 800; color: var(--gold-hi); letter-spacing: 0.02em; }
.stat .lab { font-size: 12px; color: var(--muted); margin-top: 4px; letter-spacing: 0.1em; }

.qr-box { text-align: center; }
.qr-box img {
  width: 220px; height: 220px;
  border-radius: 16px;
  border: 1px solid var(--line-strong);
  background: #fff;
  padding: 8px;
}

/* ============ 列表 ============ */
.list-item {
  padding: 15px 12px;
  margin: 0 -12px;
  border-radius: 12px;
  border-bottom: 1px solid rgba(201, 180, 127, 0.09);
  transition: background 0.2s ease, transform 0.2s ease;
}
.list-item:hover { background: rgba(201, 180, 127, 0.05); }
.list-item:last-child { border-bottom: none; }

/* ============ 弹窗 ============ */
dialog {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 26px;
  width: min(92vw, 480px);
  max-height: 86vh;
  overflow-y: auto;
  background: rgba(15, 24, 20, 0.92);
  backdrop-filter: blur(24px);
  color: var(--text);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 40px rgba(201, 180, 127, 0.06);
  animation: fade-up 0.32s ease both;
}
dialog::backdrop { background: rgba(5, 8, 7, 0.66); backdrop-filter: blur(5px); }
dialog h2 { font-size: 16.5px; letter-spacing: 0.06em; }

/* ============ 步骤引导 ============ */
.steps { display: flex; flex-direction: column; gap: 14px; }
.step {
  display: flex; align-items: flex-start; gap: 13px;
  padding: 10px 12px; margin: 0 -12px;
  border-radius: 12px;
  transition: background 0.2s ease;
}
.step:hover { background: rgba(157, 184, 172, 0.05); }
.step-icon {
  width: 42px; height: 42px;
  border-radius: 13px;
  background: rgba(201, 180, 127, 0.1);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  flex-shrink: 0;
}
.step-title { font-size: 14px; font-weight: 600; letter-spacing: 0.05em; }
.step-desc { font-size: 12.5px; color: var(--muted); margin-top: 3px; line-height: 1.6; }

.footer {
  text-align: center;
  font-size: 12px;
  color: var(--dim);
  margin-top: 10px;
  letter-spacing: 0.35em;
}

/* ============================================================
   官网式首页（index.html）
   ============================================================ */
.nav-top {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 34px;
  padding: 0 46px;
  height: 66px;
  background: rgba(10, 15, 13, 0.68);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(201, 180, 127, 0.12);
}
.nav-brand { display: flex; align-items: center; gap: 11px; font-size: 17px; font-weight: 700; letter-spacing: 0.14em; }
.nav-brand .mk {
  width: 34px; height: 34px; border-radius: 10px;
  background: linear-gradient(135deg, rgba(201, 180, 127, 0.9), rgba(120, 140, 120, 0.55));
  display: flex; align-items: center; justify-content: center;
  font-size: 17px; color: #12100a;
  box-shadow: 0 0 18px rgba(201, 180, 127, 0.3);
}
.nav-links { display: flex; gap: 6px; margin-left: 12px; }
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 13.5px;
  letter-spacing: 0.1em;
  padding: 8px 15px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: all 0.22s ease;
  position: relative;
  overflow: hidden;
}
.nav-links a:hover { color: var(--gold-hi); background: rgba(201, 180, 127, 0.07); border-color: rgba(201, 180, 127, 0.2); }
.nav-links a.on { color: var(--gold-hi); background: rgba(201, 180, 127, 0.1); border-color: var(--line-strong); }
.nav-cta { margin-left: auto; display: flex; gap: 10px; align-items: center; }

.landing { min-height: calc(100vh - 66px); padding: 0 46px 60px; }
.hero-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 50px;
  align-items: center;
  min-height: 62vh;
  padding: 30px 6px 12px;
  max-width: 1380px;
  margin: 0 auto;
}
.hero-title {
  font-size: clamp(34px, 4.2vw, 52px);
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: 0.06em;
  animation: fade-up 0.7s ease both;
}
.hero-title em {
  font-style: normal;
  background: linear-gradient(120deg, #e3cf9b, #b39a63 70%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  margin-top: 20px;
  font-size: 15.5px;
  color: var(--muted);
  line-height: 2;
  letter-spacing: 0.08em;
  max-width: 480px;
  animation: fade-up 0.7s 0.12s ease both;
}
.hero-cta { display: flex; gap: 14px; margin-top: 34px; animation: fade-up 0.7s 0.22s ease both; }
.hero-cta .btn { width: auto; padding: 13px 34px; }
.hero-chips { display: flex; gap: 10px; margin-top: 30px; flex-wrap: wrap; animation: fade-up 0.7s 0.3s ease both; }
.chip {
  padding: 7px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(16, 26, 22, 0.45);
  backdrop-filter: blur(8px);
  color: var(--mist);
  font-size: 12.5px;
  letter-spacing: 0.12em;
  transition: all 0.22s ease;
  cursor: default;
}
.chip:hover { border-color: var(--line-strong); color: var(--gold-hi); transform: translateY(-2px); }

.hero-visual { position: relative; animation: fade-up 0.8s 0.18s ease both; }
.query-card {
  background: rgba(14, 23, 19, 0.66);
  backdrop-filter: blur(22px);
  border: 1px solid var(--line-strong);
  border-radius: 24px;
  padding: 30px 30px 26px;
  box-shadow: var(--glow-hover);
}
.query-card h2 { font-size: 17px; letter-spacing: 0.1em; margin-bottom: 6px; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  max-width: 1380px;
  margin: 44px auto 0;
}
.feature {
  background: var(--glass);
  backdrop-filter: blur(16px);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 26px 24px;
  transition: all 0.3s ease;
  cursor: default;
  position: relative;
  overflow: hidden;
  animation: fade-up 0.6s ease both;
}
.feature:nth-child(2) { animation-delay: 0.08s; }
.feature:nth-child(3) { animation-delay: 0.16s; }
.feature:nth-child(4) { animation-delay: 0.24s; }
.feature::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(300px 130px at 50% -30%, rgba(201, 180, 127, 0.1), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.feature:hover { transform: translateY(-6px); border-color: var(--line-strong); box-shadow: var(--glow-hover); }
.feature:hover::after { opacity: 1; }
.feature .f-ic {
  width: 46px; height: 46px;
  border-radius: 14px;
  background: rgba(201, 180, 127, 0.1);
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  font-size: 21px;
  margin-bottom: 16px;
}
.feature .f-tt { font-size: 15.5px; font-weight: 700; letter-spacing: 0.1em; margin-bottom: 9px; }
.feature .f-ds { font-size: 12.5px; color: var(--muted); line-height: 1.8; }

@media (max-width: 960px) {
  .nav-top { padding: 0 18px; gap: 12px; }
  .nav-links { display: none; }
  .landing { padding: 0 18px 40px; }
  .hero-split { grid-template-columns: 1fr; gap: 30px; min-height: unset; padding-top: 34px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .feature-grid { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; }
}

/* ============================================================
   分栏登录页（login.html）
   ============================================================ */
.login-split { display: grid; grid-template-columns: 1.1fr 1fr; min-height: 100vh; }
.login-brand {
  position: relative;
  padding: 54px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}
.login-brand .lb-mark { display: flex; align-items: center; gap: 12px; position: absolute; top: 40px; left: 56px; font-size: 17px; font-weight: 700; letter-spacing: 0.16em; }
.login-brand h1 {
  font-size: clamp(30px, 3.4vw, 44px);
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 0.08em;
  animation: fade-up 0.7s ease both;
}
.login-brand .lb-sub { margin-top: 18px; color: var(--muted); font-size: 15px; letter-spacing: 0.14em; line-height: 1.9; animation: fade-up 0.7s 0.14s ease both; }
.login-brand .hero-chips { animation: fade-up 0.7s 0.26s ease both; }

.login-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 5vw;
  background: linear-gradient(190deg, rgba(13, 21, 17, 0.5), rgba(9, 13, 11, 0.72));
  backdrop-filter: blur(6px);
  border-left: 1px solid rgba(201, 180, 127, 0.1);
}
.login-card {
  width: min(400px, 100%);
  background: rgba(15, 25, 20, 0.66);
  backdrop-filter: blur(24px);
  border: 1px solid var(--line-strong);
  border-radius: 24px;
  padding: 38px 36px 32px;
  box-shadow: var(--glow-hover);
  animation: fade-up 0.6s 0.1s ease both;
}
.login-card h2 { font-size: 20px; letter-spacing: 0.14em; text-align: center; margin-bottom: 4px; }
.login-card .lc-sub { text-align: center; color: var(--muted); font-size: 12.5px; letter-spacing: 0.1em; margin-bottom: 10px; }
.demo-line {
  display: flex; align-items: center; justify-content: space-between;
  padding: 9px 13px; margin-top: 8px;
  border: 1px solid rgba(201, 180, 127, 0.12);
  border-radius: 11px;
  font-size: 12.5px; color: var(--muted);
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative; overflow: hidden;
}
.demo-line:hover { border-color: var(--line-strong); color: var(--gold-hi); background: rgba(201, 180, 127, 0.06); }
.demo-line b { color: var(--text-soft); font-weight: 600; }
.demo-line:hover b { color: var(--gold-hi); }

@media (max-width: 880px) {
  .login-split { grid-template-columns: 1fr; }
  .login-brand { min-height: 34vh; padding: 90px 30px 40px; }
  .login-brand .lb-mark { left: 26px; top: 26px; }
  .login-panel { border-left: none; padding-bottom: 60px; }
}

/* ============================================================
   工作台驾驶舱（workbench.html）
   顶栏导航 · 英雄区 + 地形图 · 六宫 KPI · 底部 Dock
   ============================================================ */
.wb-page { min-height: 100vh; }

.wb-nav {
  position: sticky;
  top: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  height: 64px;
  padding: 0 28px;
  background: rgba(8, 16, 12, 0.48);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border-bottom: 1px solid rgba(180, 255, 170, 0.08);
}
.wb-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  font-size: 16.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
}
.wb-logo {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  filter: drop-shadow(0 0 10px rgba(182, 255, 122, 0.45));
}
.wb-logo svg { width: 28px; height: 28px; }
.wb-logo svg rect:nth-child(1) { fill: #b8f06e; }
.wb-logo svg rect:nth-child(2) { fill: #8eec7a; }
.wb-logo svg rect:nth-child(3) { fill: #e8d56a; }

.wb-links { display: flex; gap: 4px; }
.wb-link {
  appearance: none;
  -webkit-appearance: none;
  position: relative;
  padding: 8px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: rgba(220, 235, 220, 0.68);
  font-size: 13.5px;
  letter-spacing: 0.14em;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.22s ease;
}
.wb-link:hover { color: #f2ffe8; background: rgba(180, 255, 160, 0.06); }
.wb-link.on {
  color: #f7ffe8;
  background: rgba(180, 255, 160, 0.08);
  border-color: rgba(200, 255, 170, 0.22);
  box-shadow: 0 0 18px rgba(168, 255, 120, 0.12);
}
.wb-link-dot {
  position: absolute;
  top: 2px; right: 6px;
  min-width: 15px; height: 15px;
  padding: 0 4px;
  border-radius: 8px;
  background: #e8c96a;
  color: #171006;
  font-size: 10px; font-weight: 700;
  font-style: normal;
  display: inline-flex; align-items: center; justify-content: center;
}

.wb-tools {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  position: relative;
}
.wb-ico {
  appearance: none;
  -webkit-appearance: none;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(180, 255, 170, 0.12);
  background: rgba(16, 32, 24, 0.45);
  color: rgba(220, 240, 220, 0.78);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}
.wb-ico svg { width: 16px; height: 16px; }
.wb-ico:hover { color: #c8ff9a; border-color: rgba(182, 255, 122, 0.4); box-shadow: 0 0 14px rgba(168, 255, 120, 0.18); }
.wb-ico.live { color: #b8ff7a; }
.wb-bell {
  appearance: none;
  -webkit-appearance: none;
  min-width: 38px; height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(232, 201, 106, 0.35);
  background: rgba(20, 32, 22, 0.55);
  color: #f0e0a8;
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  font-family: inherit;
  box-shadow: 0 0 12px rgba(232, 201, 106, 0.18);
}
.wb-bell.empty { opacity: 0.55; box-shadow: none; }
.wb-avatar {
  appearance: none;
  -webkit-appearance: none;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(232, 213, 120, 0.45);
  background: linear-gradient(135deg, rgba(201, 180, 127, 0.85), rgba(110, 138, 90, 0.7));
  color: #14120a;
  font-size: 16px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  box-shadow: 0 0 0 2px rgba(8, 16, 12, 0.4), 0 0 14px rgba(232, 213, 120, 0.25);
}
.wb-burger {
  display: none;
  appearance: none;
  background: none; border: 0; color: var(--text);
  font-size: 20px; cursor: pointer; margin-right: 4px;
}

.wb-pop {
  position: absolute;
  top: 50px; right: 0;
  width: 280px;
  padding: 16px;
  background: rgba(12, 24, 18, 0.94);
  backdrop-filter: blur(22px);
  border: 1px solid rgba(180, 255, 170, 0.2);
  border-radius: 16px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.5);
  z-index: 90;
}
.wb-pop-user { width: 220px; }
.wb-pop-tt { font-size: 12px; letter-spacing: 0.16em; color: var(--muted); margin-bottom: 8px; }
.pu-n { font-size: 14px; font-weight: 700; letter-spacing: 0.06em; }
.pu-r { font-size: 12px; color: var(--muted); margin-top: 4px; }

.wb-stage { padding: 10px 28px 22px; min-height: calc(100vh - 64px); }

/* ---- 驾驶舱主布局 ---- */
.wb-cockpit {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: calc(100vh - 86px);
}
.wb-hero-row {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 22px;
  align-items: stretch;
  flex: 1;
  min-height: 300px;
}
.wb-hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 12px 8px 8px;
  animation: fade-up 0.65s ease both;
}
.wb-hero h1 {
  font-size: clamp(34px, 4.5vw, 54px);
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.28;
  text-shadow: 0 0 40px rgba(180, 255, 160, 0.16);
}
.wb-hero p {
  margin-top: 16px;
  font-size: 15px;
  color: var(--muted);
  letter-spacing: 0.12em;
  line-height: 1.9;
  max-width: 420px;
}
.wb-hero-cta { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }

.wb-go, .wb-ghost {
  appearance: none;
  -webkit-appearance: none;
  border-radius: 999px;
  padding: 12px 28px;
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.18s ease, box-shadow 0.25s ease, filter 0.25s ease;
}
.wb-go {
  border: 0;
  background: linear-gradient(90deg, #7dff9a 0%, #c8f06a 48%, #e8d56a 100%);
  color: #0a120c;
  box-shadow: 0 0 24px rgba(168, 255, 120, 0.32), inset 0 1px 0 rgba(255,255,255,0.35);
}
.wb-go:hover { transform: translateY(-1px); filter: brightness(1.06); }
.wb-ghost {
  background: rgba(16, 32, 24, 0.4);
  border: 1px solid rgba(232, 201, 106, 0.55);
  color: #f0e6c8;
  box-shadow: 0 0 16px rgba(232, 201, 106, 0.18);
  backdrop-filter: blur(10px);
}
.wb-ghost:hover { background: rgba(232, 201, 106, 0.1); }

/* 地图面板 */
.wb-map-panel {
  position: relative;
  height: 100%;
  border-radius: 24px;
  overflow: hidden;
  min-height: 320px;
  background: rgba(10, 22, 16, 0.38);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(180, 255, 170, 0.14);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.03), 0 20px 50px rgba(0,0,0,0.35);
  animation: fade-up 0.7s 0.1s ease both;
}
.wb-map { position: relative; height: 100%; min-height: 320px; }
.wb-terrain { position: absolute; inset: 0; width: 100%; height: 100%; }
.geo-node { cursor: pointer; }
.geo-node .gn-pulse { animation: geo-pulse 2.6s ease-out infinite; transform-origin: center; transform-box: fill-box; }
@keyframes geo-pulse {
  0% { transform: scale(0.5); opacity: 0.8; }
  75% { transform: scale(2.4); opacity: 0; }
  100% { transform: scale(2.4); opacity: 0; }
}
.geo-tip {
  position: absolute;
  padding: 7px 13px;
  background: rgba(12, 19, 16, 0.94);
  border: 1px solid rgba(182, 255, 122, 0.35);
  border-radius: 10px;
  font-size: 12px;
  color: #c8ff9a;
  letter-spacing: 0.06em;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
  white-space: nowrap;
  z-index: 6;
}

.map-float {
  position: absolute;
  background: rgba(12, 24, 18, 0.62);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(180, 255, 170, 0.16);
  border-radius: 14px;
  padding: 12px 14px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.35);
  z-index: 4;
}
.chain-card { top: 16px; left: 16px; max-width: 72%; }
.live-card { top: 16px; right: 16px; min-width: 140px; }
.mf-tt { font-size: 11px; letter-spacing: 0.16em; color: var(--mist); margin-bottom: 8px; }
.mf-name { font-size: 13.5px; font-weight: 700; letter-spacing: 0.04em; }
.mf-sub { font-size: 11px; color: var(--muted); margin-top: 4px; }
.chain-flow { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.chain-flow span {
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--muted);
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid rgba(180, 255, 170, 0.1);
}
.chain-flow span.on {
  color: #d8ffb0;
  border-color: rgba(182, 255, 122, 0.35);
  background: rgba(182, 255, 122, 0.08);
}
.chain-flow i {
  width: 10px; height: 1px;
  background: linear-gradient(90deg, rgba(182,255,122,0.5), rgba(232,213,120,0.4));
  display: inline-block;
}
.map-pin {
  position: absolute;
  transform: translate(-50%, -120%);
  z-index: 3;
  pointer-events: none;
}
.map-pin b {
  display: block;
  width: 8px; height: 8px;
  margin: 0 auto 6px;
  border-radius: 50%;
  background: #c8ff7a;
  box-shadow: 0 0 10px rgba(182, 255, 122, 0.8);
}
.pin-card {
  padding: 5px 10px;
  border-radius: 8px;
  background: rgba(10, 20, 14, 0.78);
  border: 1px solid rgba(180, 255, 170, 0.18);
  font-size: 11px;
  letter-spacing: 0.06em;
  white-space: nowrap;
  color: var(--text-soft);
}

/* KPI */
.wb-kpi-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1.32fr 1fr 1fr;
  gap: 12px;
}
.wb-kpi {
  background: rgba(14, 28, 22, 0.46);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(180, 255, 170, 0.14);
  border-radius: 22px;
  padding: 16px 16px 6px;
  min-height: 168px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
  animation: fade-up 0.55s ease both;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}
.wb-kpi::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(180px 80px at 80% -20%, rgba(182, 255, 122, 0.1), transparent 70%);
  pointer-events: none;
}
.wb-kpi:hover {
  transform: translateY(-4px);
  border-color: rgba(182, 255, 122, 0.32);
  box-shadow: 0 0 22px rgba(168, 255, 120, 0.12), 0 16px 36px rgba(0, 0, 0, 0.4);
}
.wb-kpi .k-top { display: flex; align-items: center; justify-content: space-between; }
.wb-kpi .k-ic {
  width: 34px; height: 34px; border-radius: 11px;
  background: rgba(182, 255, 122, 0.08);
  border: 1px solid rgba(180, 255, 170, 0.16);
  color: #c8ff9a;
  display: flex; align-items: center; justify-content: center;
}
.wb-kpi .k-ic svg { width: 16px; height: 16px; }
.wb-kpi .k-more { color: var(--dim); font-size: 13px; }
.wb-kpi .k-lab {
  margin-top: 12px;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.1em;
  line-height: 1.45;
}
.wb-kpi .k-num {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #f4faf2;
  margin: 4px 0 2px;
}
.wb-kpi .k-spark { margin-top: auto; width: 100%; opacity: 0.95; }
.wb-kpi .k-spark svg { width: 100%; height: 44px; display: block; }

/* Dock */
.wb-docks {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 2px;
  padding-bottom: 4px;
}
.wb-dock {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(12, 24, 18, 0.55);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(180, 255, 170, 0.14);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}
.wb-dock-item {
  appearance: none;
  -webkit-appearance: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 7px 14px;
  border: 0;
  border-radius: 16px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-family: inherit;
  font-size: 10.5px;
  letter-spacing: 0.08em;
  transition: all 0.2s ease;
}
.wb-dock-item svg { width: 18px; height: 18px; }
.wb-dock-item:hover, .wb-dock-item.on {
  color: #c8ff9a;
  background: rgba(168, 255, 120, 0.08);
}
.wb-dock-lab {
  padding: 0 10px 0 8px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--text-soft);
  border-right: 1px solid rgba(180, 255, 170, 0.12);
  margin-right: 4px;
}
.wb-dock-trace .wb-dock-item { padding: 8px 12px; }

/* 其他功能页玻璃底板 */
.wb-sheet { max-width: 1280px; margin: 8px auto 0; animation: fade-up 0.45s ease both; }
.wb-sheet-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: rgba(14, 26, 20, 0.5);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(180, 255, 170, 0.12);
  border-radius: 20px;
  padding: 18px 24px;
  margin-bottom: 16px;
  box-shadow: var(--glow);
}
.wb-sheet-hd .wh-t { font-size: 19px; font-weight: 700; letter-spacing: 0.1em; }
.wb-sheet-hd .wh-s { font-size: 12.5px; color: var(--muted); margin-top: 5px; letter-spacing: 0.08em; }

.duo { display: grid; grid-template-columns: 1.15fr 1fr; gap: 16px; margin-bottom: 18px; }

/* ============ 金鳞台经营与溯源看板 ============ */
.biz-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0 0 14px;
  padding: 13px 18px;
  border: 1px solid rgba(180, 255, 170, 0.12);
  border-radius: 17px;
  background: rgba(14, 28, 22, 0.42);
}
.biz-toolbar > div { display: flex; align-items: baseline; gap: 12px; }
.biz-toolbar b { color: #f4faf2; font-size: 15px; }
.biz-toolbar label {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}
.biz-toolbar select { width: auto; min-width: 112px; padding: 8px 30px 8px 11px; }
.biz-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}
.biz-kpi {
  min-height: 126px;
  padding: 17px 18px;
  border: 1px solid rgba(180, 255, 170, 0.14);
  border-radius: 19px;
  background:
    radial-gradient(180px 90px at 95% -20%, rgba(182, 255, 122, 0.1), transparent 72%),
    rgba(14, 28, 22, 0.54);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
  animation: fade-up 0.42s ease both;
}
.biz-kpi span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.08em;
}
.biz-kpi strong {
  display: block;
  margin: 8px 0 7px;
  color: #f3f9ef;
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.05;
}
.biz-kpi small { color: var(--dim); font-size: 11px; line-height: 1.5; }
.biz-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.biz-grid-main { grid-template-columns: 1.35fr 0.85fr; }
.biz-panel { margin: 0; min-width: 0; }
.biz-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.biz-panel-head h2 { margin: 0 0 4px; }
.biz-panel-head p { margin: 0; color: var(--muted); font-size: 11.5px; }
.biz-chart {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 235px;
  padding: 18px 6px 25px;
  border-top: 1px solid rgba(180, 255, 170, 0.08);
  border-bottom: 1px solid rgba(180, 255, 170, 0.08);
}
.biz-bar {
  flex: 1;
  height: 100%;
  min-width: 4px;
  position: relative;
  display: flex;
  align-items: flex-end;
}
.biz-bar i {
  display: block;
  width: 100%;
  min-height: 3px;
  border-radius: 4px 4px 1px 1px;
  background: linear-gradient(180deg, rgba(184, 255, 126, 0.9), rgba(91, 166, 112, 0.24));
}
.biz-bar b {
  position: absolute;
  left: 50%;
  width: 5px;
  height: 5px;
  transform: translate(-50%, 50%);
  border-radius: 50%;
  background: var(--gold-hi);
  box-shadow: 0 0 8px rgba(232, 213, 120, 0.6);
}
.biz-bar em {
  position: absolute;
  bottom: -21px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--dim);
  font-size: 9px;
  font-style: normal;
  white-space: nowrap;
}
.biz-alert-list { display: flex; flex-direction: column; gap: 9px; }
.biz-alert {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 13px;
  border: 1px solid rgba(217, 160, 91, 0.23);
  border-radius: 14px;
  background: rgba(217, 160, 91, 0.06);
}
.biz-alert.danger { border-color: rgba(217, 112, 112, 0.28); background: rgba(217, 112, 112, 0.07); }
.biz-alert.resolved { border-color: var(--line); background: rgba(127, 191, 158, 0.04); opacity: 0.72; }
.biz-alert b { display: block; font-size: 13px; }
.biz-alert p { margin: 4px 0; color: var(--muted); font-size: 11.5px; line-height: 1.55; }
.biz-alert small { color: var(--dim); font-size: 10.5px; }
.table-scroll { overflow-x: auto; }
.biz-panel table { min-width: 610px; }
.biz-panel td { color: var(--text-soft); vertical-align: middle; }
.biz-panel td small { color: var(--dim); }
.biz-positive { color: #b8ff7e !important; }
.biz-negative { color: var(--red) !important; }
.biz-progress {
  display: inline-block;
  width: 62px;
  height: 5px;
  margin-right: 7px;
  overflow: hidden;
  vertical-align: 2px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.08);
}
.biz-progress i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--sage), #c8ff7a);
}
.biz-event-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 18px; }
.biz-event-list > div {
  display: grid;
  grid-template-columns: 10px minmax(80px, 0.8fr) 0.8fr 1.2fr auto;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 9px 0;
  border-bottom: 1px solid rgba(180, 255, 170, 0.08);
  font-size: 11.5px;
}
.biz-event-list b, .biz-event-list small, .biz-event-list em {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.biz-event-list small { color: var(--muted); }
.biz-event-list em { color: var(--dim); font-style: normal; }
.biz-event-list time { color: var(--dim); font-size: 10px; white-space: nowrap; }
.biz-event-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #b8ff7e;
  box-shadow: 0 0 7px rgba(184, 255, 126, 0.58);
}

@media (max-width: 1280px) {
  .wb-kpi-row { grid-template-columns: repeat(3, 1fr); }
  .wb-kpi.wide { grid-column: span 1; }
}
@media (max-width: 1100px) {
  .wb-hero-row { grid-template-columns: 1fr; min-height: unset; }
  .wb-hero { padding-top: 18px; }
  .wb-map { min-height: 280px; }
  .duo { grid-template-columns: 1fr; }
  .biz-kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .biz-grid, .biz-grid-main { grid-template-columns: 1fr; }
}
@media (max-width: 880px) {
  .wb-nav { padding: 0 14px; }
  .wb-burger { display: block; }
  .wb-links {
    display: none;
    position: absolute;
    top: 64px; left: 12px; right: 12px;
    flex-direction: column;
    background: rgba(10, 20, 16, 0.96);
    border: 1px solid rgba(180, 255, 170, 0.16);
    border-radius: 16px;
    padding: 8px;
    z-index: 85;
  }
  .wb-links.open { display: flex; }
  .wb-stage { padding: 10px 14px 28px; }
  .wb-kpi-row { grid-template-columns: repeat(2, 1fr); }
  .wb-docks { flex-direction: column; align-items: center; }
  .live-card { display: none; }
  .chain-card { max-width: calc(100% - 32px); }
  .biz-toolbar { align-items: flex-start; flex-direction: column; }
  .biz-kpi-grid { grid-template-columns: 1fr; }
  .biz-event-list { grid-template-columns: 1fr; }
  .biz-chart { height: 190px; }
}
