/* ============================================================
   链智云 · AI 驱动产业服务平台
   Design system / app.css
   ============================================================ */
:root {
  --bg: #f4f6fb;
  --bg-deep: #eef2f9;
  --card: #ffffff;
  --line: #e5eaf3;
  --line-strong: #d5dced;
  --text: #0d1830;
  --text-2: #3b4a66;
  --muted: #71809b;
  --muted-2: #94a1b8;
  --primary: #2b5cff;
  --primary-deep: #1e46d6;
  --primary-soft: #edf2ff;
  --primary-soft-2: #dfe8ff;
  --teal: #0ea5a4;
  --teal-soft: #e6f7f6;
  --amber: #e98a0b;
  --amber-soft: #fdf1de;
  --red: #e5484d;
  --red-soft: #fdecec;
  --green: #12a06a;
  --green-soft: #e7f7f0;
  --violet: #7b5cf0;
  --violet-soft: #f0ecfe;
  --sidebar-1: #08101f;
  --sidebar-2: #0b1930;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(15, 30, 60, .04), 0 1px 3px rgba(15, 30, 60, .03);
  --shadow: 0 6px 20px -8px rgba(15, 30, 60, .16), 0 2px 6px rgba(15, 30, 60, .04);
  --shadow-lg: 0 30px 60px -20px rgba(10, 22, 45, .35);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro SC", "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  --mono: "SF Mono", ui-monospace, "JetBrains Mono", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
button { font-family: inherit; }
a { color: inherit; text-decoration: none; }
svg { display: block; }
.ico { width: 16px; height: 16px; flex: none; }
.step-dot .ico { width: 10px; height: 10px; }
.agent-title .ico { width: 19px; height: 19px; }
.agent-desc .ico, .note .ico { width: 15px; height: 15px; }
::selection { background: #cfdcff; }

/* scrollbar */
::-webkit-scrollbar { width: 9px; height: 9px; }
::-webkit-scrollbar-thumb { background: #cfd7e6; border-radius: 8px; border: 2px solid transparent; background-clip: content-box; }
::-webkit-scrollbar-thumb:hover { background: #b7c2d8; background-clip: content-box; }
::-webkit-scrollbar-track { background: transparent; }

/* ============ app shell ============ */
.app { min-height: 100vh; }
.sidebar {
  position: fixed; inset: 0 auto 0 0; width: 252px; z-index: 60;
  display: flex; flex-direction: column;
  background:
    radial-gradient(120% 60% at 0% 0%, rgba(43, 92, 255, .28) 0%, rgba(43, 92, 255, 0) 55%),
    radial-gradient(90% 50% at 100% 100%, rgba(14, 165, 164, .18) 0%, rgba(14, 165, 164, 0) 60%),
    linear-gradient(180deg, var(--sidebar-1), var(--sidebar-2));
  color: #c9d5ea;
  border-right: 1px solid rgba(255, 255, 255, .05);
}
.sidebar::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .25;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 65%);
}
.brand { display: flex; align-items: center; gap: 11px; padding: 22px 20px 18px; position: relative; z-index: 1; }
.brand-mark {
  width: 38px; height: 38px; border-radius: 11px; color: #fff;
  background: linear-gradient(140deg, #4f7cff, #2b5cff 55%, #1d3fb8);
  display: grid; place-items: center;
  box-shadow: 0 6px 18px -6px rgba(43, 92, 255, .9), inset 0 1px 0 rgba(255,255,255,.28);
}
.brand-mark svg { width: 24px; height: 24px; }
.brand-name { font-size: 16px; font-weight: 700; color: #fff; letter-spacing: .1px; line-height: 1.28; white-space: nowrap; max-width: 178px; overflow: hidden; text-overflow: ellipsis; display: block; }
.brand-sub { font-size: 11.5px; letter-spacing: 1.7px; color: #6e86b3; font-weight: 600; }

.nav { flex: 1; overflow-y: auto; padding: 4px 12px 12px; position: relative; z-index: 1; }
.nav::-webkit-scrollbar { width: 0; }
.nav-group { margin-top: 14px; }
.nav-group-title { font-size: 12px; color: #5d7398; letter-spacing: 1.4px; font-weight: 600; padding: 0 12px 7px; }
.nav-item {
  display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 9px;
  color: #a8b8d4; font-size: 13.5px; cursor: pointer; position: relative; margin-bottom: 2px;
  transition: background .16s, color .16s;
  border: 1px solid transparent; white-space: nowrap;
}
.nav-item svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; opacity: .9; }
.nav-item:hover { background: rgba(255, 255, 255, .05); color: #e7eefc; }
.nav-item.active {
  background: linear-gradient(90deg, rgba(43, 92, 255, .28), rgba(43, 92, 255, .1));
  color: #fff; border-color: rgba(120, 160, 255, .28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
}
.nav-item.active::before {
  content: ""; position: absolute; left: -12px; top: 9px; bottom: 9px; width: 3px; border-radius: 0 3px 3px 0;
  background: #6c97ff; box-shadow: 0 0 12px #4f7cff;
}
.nav-item.active svg { color: #9dbaff; opacity: 1; }
.nav-tag { margin-left: auto; flex: none; font-size: 12.5px; padding: 1px 6px; border-radius: 5px; background: rgba(255,255,255,.09); color: #9fb3d6; letter-spacing: .3px; }
.nav-item.active .nav-tag { background: rgba(120,160,255,.22); color: #c9d9ff; }
.sidebar-foot { padding: 14px 16px 18px; border-top: 1px solid rgba(255, 255, 255, .07); position: relative; z-index: 1; }
.sys-status { display: flex; gap: 9px; align-items: flex-start; }
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: #34d399; margin-top: 6px; flex: none; box-shadow: 0 0 0 0 rgba(52, 211, 153, .6); animation: pulse 2.2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(52,211,153,.45); } 70% { box-shadow: 0 0 0 7px rgba(52,211,153,0); } 100% { box-shadow: 0 0 0 0 rgba(52,211,153,0); } }
.sys-status-title { font-size: 12.5px; color: #b8c8e2; }
.sys-status-sub { font-size: 12px; color: #5f769b; }
.version { margin-top: 12px; font-size: 12px; color: #4d6284; letter-spacing: .5px; }

.main { margin-left: 252px; min-height: 100vh; display: flex; flex-direction: column; }
.topbar {
  height: 62px; flex: none; position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; gap: 16px; padding: 0 26px;
  background: rgba(255, 255, 255, .82); backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid var(--line);
}
.crumb { display: flex; align-items: center; gap: 8px; font-size: 13.5px; white-space: nowrap; }
.crumb-root { color: var(--muted-2); }
.crumb-sep { color: #c9d2e2; }
.crumb-cur { color: var(--text); font-weight: 600; }
.topbar-right { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.global-search {
  display: flex; align-items: center; gap: 8px; height: 34px; width: 268px; padding: 0 10px;
  border: 1px solid var(--line); background: #f7f9fd; border-radius: 9px; color: var(--muted-2);
  transition: border-color .16s, background .16s;
}
.global-search:focus-within { border-color: #b9caff; background: #fff; box-shadow: 0 0 0 3px rgba(43, 92, 255, .08); }
.gs-icon { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; }
.global-search input { border: 0; outline: 0; background: transparent; flex: 1; font-size: 13px; color: var(--text); min-width: 0; }
.global-search input::placeholder { color: var(--muted-2); }
.global-search kbd { font-family: var(--font); font-size: 12px; color: var(--muted-2); border: 1px solid var(--line); border-radius: 4px; padding: 1px 4px; background: #fff; }
.today { font-size: 13px; color: var(--muted); white-space: nowrap; }
.icon-btn {
  width: 34px; height: 34px; border-radius: 9px; border: 1px solid var(--line); background: #fff;
  display: grid; place-items: center; cursor: pointer; color: var(--text-2); position: relative;
  transition: background .15s, border-color .15s;
}
.icon-btn:hover { background: #f6f8fd; border-color: var(--line-strong); }
.icon-btn svg { width: 17px; height: 17px; stroke: currentColor; fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.icon-btn.has-dot::after { content: ""; position: absolute; top: 7px; right: 8px; width: 6px; height: 6px; border-radius: 50%; background: var(--red); border: 1.5px solid #fff; }
.user { display: flex; align-items: center; gap: 9px; padding-left: 14px; border-left: 1px solid var(--line); }
.avatar { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(140deg, #3f6bff, #7b5cf0); color: #fff; font-size: 13.5px; font-weight: 600; display: grid; place-items: center; box-shadow: inset 0 1px 0 rgba(255,255,255,.3); }
.user-name { font-size: 13px; font-weight: 600; line-height: 1.25; }
.user-role { font-size: 12px; color: var(--muted-2); }
.only-mobile { display: none; }

.view { padding: 24px 26px 40px; flex: 1; max-width: 1680px; width: 100%; margin: 0 auto; }

/* ============ page header ============ */
.page-head { display: flex; align-items: flex-end; gap: 20px; margin-bottom: 18px; flex-wrap: wrap; }
.page-title { font-size: 22px; font-weight: 700; letter-spacing: -.3px; margin: 0 0 4px; line-height: 1.3; }
.page-desc { font-size: 13px; color: var(--muted); margin: 0; }
.page-actions { margin-left: auto; display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.eyebrow { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; letter-spacing: 1px; color: var(--primary); background: var(--primary-soft); border: 1px solid #dbe5ff; padding: 2px 8px; border-radius: 999px; margin-bottom: 8px; }
.eyebrow .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--primary); }

/* ============ buttons ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 34px;
  padding: 0 14px; border-radius: 9px; border: 1px solid var(--line-strong); background: #fff;
  color: var(--text-2); font-size: 13px; font-weight: 500; cursor: pointer; white-space: nowrap;
  transition: all .16s ease;
}
.btn svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.btn:hover { border-color: #b9c6df; background: #f9fbff; color: var(--text); }
.btn:active { transform: translateY(1px); }
.btn-primary { background: linear-gradient(180deg, #3d6bff, var(--primary)); border-color: var(--primary); color: #fff; box-shadow: 0 4px 12px -4px rgba(43, 92, 255, .55), inset 0 1px 0 rgba(255,255,255,.2); }
.btn-primary:hover { background: linear-gradient(180deg, #4c78ff, var(--primary-deep)); border-color: var(--primary-deep); color: #fff; }
.btn-soft { background: var(--primary-soft); border-color: #dbe5ff; color: var(--primary-deep); }
.btn-soft:hover { background: var(--primary-soft-2); border-color: #c5d5ff; color: var(--primary-deep); }
.btn-ghost { border-color: transparent; background: transparent; color: var(--muted); }
.btn-ghost:hover { background: #eef2fa; color: var(--text); }
.btn-danger { color: var(--red); border-color: #f3caca; background: #fff; }
.btn-danger:hover { background: var(--red-soft); }
.btn-sm { height: 28px; padding: 0 10px; font-size: 13px; border-radius: 7px; gap: 5px; }
.btn-sm svg { width: 13px; height: 13px; }
.btn-lg { height: 40px; padding: 0 20px; font-size: 13.5px; border-radius: 10px; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn-icon { width: 30px; height: 30px; padding: 0; border-radius: 8px; }

/* ============ cards ============ */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); min-width: 0; }
.card-head { display: flex; align-items: flex-start; gap: 12px; padding: 16px 18px 0; }
.card-head.tight { padding-bottom: 12px; }
.card-title { font-size: 15px; font-weight: 650; letter-spacing: -.1px; margin: 0; display: flex; align-items: center; gap: 8px; }
.card-sub { font-size: 12.5px; color: var(--muted-2); margin-top: 2px; }
.card-tools { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.card-body { padding: 16px 18px; }
.card-body.flush { padding: 0; }
.card-body.tight { padding: 12px 18px 16px; }
.card-foot { padding: 12px 18px; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 10px; }
.grid { display: grid; gap: 16px; }
.g-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.span-2 { grid-column: span 2; }
.span-3 { grid-column: span 3; }
.row { display: flex; gap: 16px; }
.row > * { min-width: 0; }
.section-gap { margin-top: 16px; }
.mt-2 { margin-top: 8px; } .mt-3 { margin-top: 12px; } .mt-4 { margin-top: 16px; }
.mb-2 { margin-bottom: 8px; } .mb-3 { margin-bottom: 12px; }
.flex { display: flex; } .items-center { align-items: center; } .gap-2 { gap: 8px; } .gap-3 { gap: 12px; }
.ml-auto { margin-left: auto; } .w-full { width: 100%; }
.muted { color: var(--muted); } .text-2 { color: var(--text-2); }
.tiny { font-size: 12.5px; } .small { font-size: 13px; }
.mono { font-family: var(--mono); }
.nowrap { white-space: nowrap; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.center { text-align: center; }
.num { font-variant-numeric: tabular-nums; }

/* ============ dashboard layout ============ */
.dash-row2 { display: grid; grid-template-columns: minmax(0, 1fr) 368px; gap: 16px; }
.dash-row2 .agent-hero { height: 100%; display: flex; }
.dash-row2 .agent-hero-inner { flex: 1; }
@media (max-width: 1280px) { .dash-row2 { grid-template-columns: minmax(0, 1fr); } }

/* ============ kpi ============ */
.kpi-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 16px; }
.kpi { position: relative; overflow: hidden; padding: 17px 18px 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.kpi::after { content: ""; position: absolute; right: -30px; top: -40px; width: 120px; height: 120px; border-radius: 50%; background: radial-gradient(circle, rgba(43,92,255,.08), transparent 70%); pointer-events: none; }
.kpi-top { display: flex; align-items: center; gap: 8px; }
.kpi-label { font-size: 13px; color: var(--muted); font-weight: 500; }
.kpi-icon { margin-left: auto; width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; }
.kpi-icon svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.kpi-value { font-size: 26px; font-weight: 700; letter-spacing: -.8px; line-height: 1.25; margin-top: 8px; font-variant-numeric: tabular-nums; }
.kpi-value small { font-size: 13.5px; font-weight: 500; color: var(--muted); margin-left: 3px; letter-spacing: 0; }
.kpi-foot { display: flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 12.5px; color: var(--muted-2); flex-wrap: wrap; row-gap: 4px; }
.delta { display: inline-flex; align-items: center; gap: 2px; font-weight: 600; font-size: 12.5px; padding: 1px 5px; border-radius: 5px; white-space: nowrap; flex: none; }
.delta.up { color: var(--green); background: var(--green-soft); }
.delta.down { color: var(--red); background: var(--red-soft); }
.spark { position: absolute; right: 14px; bottom: 12px; width: 82px; height: 30px; opacity: .9; }

/* ============ badges / tags ============ */
.badge { display: inline-flex; align-items: center; gap: 4px; height: 21px; padding: 0 7px; border-radius: 6px; font-size: 12.5px; font-weight: 500; white-space: nowrap; border: 1px solid transparent; }
.badge::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; opacity: .9; }
.badge.no-dot::before { display: none; }
.badge.green { color: #087a51; background: var(--green-soft); border-color: #c9efe0; }
.badge.blue { color: #1f47c4; background: var(--primary-soft); border-color: #d5e1ff; }
.badge.amber { color: #a25f04; background: var(--amber-soft); border-color: #f6dfba; }
.badge.red { color: #c33035; background: var(--red-soft); border-color: #f7d2d3; }
.badge.gray { color: #5f6e88; background: #f1f4f9; border-color: #e5eaf3; }
.badge.violet { color: #6440dd; background: var(--violet-soft); border-color: #e0d7fd; }
.badge.teal { color: #087f7e; background: var(--teal-soft); border-color: #c5eeec; }
.tag { display: inline-flex; align-items: center; gap: 4px; padding: 2px 7px; border-radius: 5px; background: #f2f5fa; color: var(--text-2); font-size: 12px; border: 1px solid #e7ecf5; white-space: nowrap; }
.tag.outline { background: transparent; }

/* ============ tables ============ */
.table-wrap { width: 100%; overflow: auto; }
table.data { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 13px; }
table.data thead th {
  position: sticky; top: 0; z-index: 2; text-align: left; font-weight: 600; color: var(--muted);
  background: #f8fafd; border-bottom: 1px solid var(--line); padding: 10px 14px; font-size: 12.5px;
  white-space: nowrap; letter-spacing: .2px;
}
table.data tbody td { padding: 11px 14px; border-bottom: 1px solid #eef2f8; color: var(--text-2); vertical-align: middle; }
table.data tbody tr { transition: background .12s; }
table.data tbody tr:hover { background: #f8faff; }
table.data tbody tr:last-child td { border-bottom: 0; }
table.data td.strong { color: var(--text); font-weight: 600; }
table.data .t-main { color: var(--text); font-weight: 600; font-size: 13px; }
table.data .t-sub { color: var(--muted-2); font-size: 12px; margin-top: 1px; }
table.data .t-right { text-align: right; }
table.data tr.clickable { cursor: pointer; }
.table-empty { padding: 46px 20px; text-align: center; color: var(--muted-2); font-size: 13px; }
.table-empty svg { width: 34px; height: 34px; margin: 0 auto 10px; stroke: #c3cde0; fill: none; stroke-width: 1.4; }
.pagination { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.pg-btn { min-width: 27px; height: 27px; padding: 0 6px; border-radius: 6px; border: 1px solid var(--line); background: #fff; color: var(--muted); font-size: 12.5px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.pg-btn:hover:not(:disabled) { border-color: #b9caff; color: var(--primary); }
.pg-btn.active { background: var(--primary); border-color: var(--primary); color: #fff; font-weight: 600; }
.pg-btn:disabled { opacity: .4; cursor: not-allowed; }
.pg-info { font-size: 12.5px; color: var(--muted-2); }

/* ============ forms / filters ============ */
.filterbar { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; padding: 13px 16px; border-bottom: 1px solid var(--line); background: #fff; border-radius: var(--radius) var(--radius) 0 0; }
.filterbar .spacer { flex: 1; }
.input, .select, textarea.input {
  height: 34px; padding: 0 11px; border: 1px solid var(--line-strong); background: #fff; border-radius: 8px;
  font-size: 13px; color: var(--text); outline: none; transition: border-color .15s, box-shadow .15s; font-family: inherit;
}
.input::placeholder { color: var(--muted-2); }
.input:focus, .select:focus, textarea.input:focus { border-color: #9ab4ff; box-shadow: 0 0 0 3px rgba(43, 92, 255, .09); }
.select { appearance: none; padding-right: 28px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2371809b' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 8px center; background-size: 13px; cursor: pointer; }
textarea.input { height: auto; padding: 9px 11px; resize: vertical; line-height: 1.6; }
.input-sm { height: 29px; font-size: 13px; }
.input-icon { position: relative; }
.input-icon svg { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); width: 14px; height: 14px; stroke: var(--muted-2); fill: none; stroke-width: 1.9; stroke-linecap: round; }
.input-icon .input { padding-left: 31px; }
.field { margin-bottom: 15px; }
.field-label { display: flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 600; color: var(--text-2); margin-bottom: 6px; }
.field-label .req { color: var(--red); }
.field-help { font-size: 12px; color: var(--muted-2); margin-top: 4px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.form-grid .input, .form-grid .select, .form-grid textarea.input { width: 100%; }
.form-grid .radio-cards, .form-grid .checkline { padding-top: 6px; }
.form-grid .full { grid-column: 1 / -1; }
.checkline { display: flex; flex-wrap: wrap; gap: 8px 16px; padding-top: 3px; }
.check { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text-2); cursor: pointer; }
.check input { accent-color: var(--primary); width: 14px; height: 14px; }
.radio-cards { display: flex; gap: 8px; flex-wrap: wrap; }
.radio-card { position: relative; }
.radio-card input { position: absolute; opacity: 0; }
.radio-card span { display: inline-flex; align-items: center; height: 32px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: 8px; font-size: 13px; color: var(--text-2); cursor: pointer; background: #fff; }
.radio-card input:checked + span { border-color: var(--primary); background: var(--primary-soft); color: var(--primary-deep); font-weight: 600; box-shadow: 0 0 0 3px rgba(43,92,255,.07); }
.switch { position: relative; display: inline-block; vertical-align: middle; width: 36px; height: 20px; flex: none; cursor: pointer; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch span { position: absolute; inset: 0; background: #cfd8e8; border-radius: 999px; transition: .2s; }
.switch span::after { content: ""; position: absolute; width: 16px; height: 16px; left: 2px; top: 2px; background: #fff; border-radius: 50%; transition: .2s; box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.switch input:checked + span { background: var(--primary); }
.switch input:checked + span::after { transform: translateX(16px); }

/* ============ tabs ============ */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 16px; overflow-x: auto; }
.tab { position: relative; padding: 10px 14px; font-size: 13.5px; color: var(--muted); cursor: pointer; white-space: nowrap; border: 0; background: transparent; }
.tab:hover { color: var(--text); }
.tab.active { color: var(--primary-deep); font-weight: 600; }
.tab.active::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 2px; background: var(--primary); border-radius: 2px 2px 0 0; }
.tab .count { margin-left: 5px; font-size: 12px; background: #eef2fa; color: var(--muted); padding: 0 5px; border-radius: 8px; }
.tab.active .count { background: var(--primary-soft); color: var(--primary-deep); }

/* ============ charts ============ */
.chart { width: 100%; }
.chart-sm { height: 220px; }
.chart-md { height: 280px; }
.chart-lg { height: 340px; }

/* ============ map ============ */
.map-layout { display: grid; grid-template-columns: minmax(0, 1fr) 322px; gap: 16px; }
.map-card { position: relative; overflow: hidden; }
.map-card .card-body { padding: 0; }
.map-shell { position: relative; height: 620px; width: 100%; background: radial-gradient(80% 70% at 50% 45%, #f2f6ff 0%, #ffffff 70%); }
.map-shell.compact { height: 452px; }
#mapChart, #dashMap, #leadMap, #gdMapChart { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-topbar { position: absolute; z-index: 3; left: 14px; top: 12px; display: flex; gap: 7px; flex-wrap: wrap; align-items: center; }
.map-topbar .select, .map-topbar .input { background: rgba(255,255,255,.92); backdrop-filter: blur(6px); box-shadow: var(--shadow-sm); height: 32px; font-size: 13px; }
.map-legend { position: absolute; z-index: 3; left: 16px; bottom: 16px; background: rgba(255,255,255,.92); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; font-size: 12.5px; box-shadow: var(--shadow-sm); backdrop-filter: blur(8px); }
.map-legend .lg-title { font-weight: 600; color: var(--text-2); margin-bottom: 7px; font-size: 12.5px; }
.map-legend .lg-row { display: flex; align-items: center; gap: 7px; color: var(--muted); margin-top: 4px; }
.lg-dot { width: 8px; height: 8px; border-radius: 50%; }
.map-scale { position: absolute; z-index: 3; right: 16px; bottom: 14px; font-size: 12px; color: var(--muted-2); display: flex; align-items: center; gap: 6px; }
.map-hint { position: absolute; z-index: 3; left: 50%; transform: translateX(-50%); bottom: 14px; font-size: 12.5px; color: var(--muted-2); background: rgba(255,255,255,.85); border: 1px solid var(--line); padding: 4px 10px; border-radius: 999px; }
.map-side { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.region-list { display: flex; flex-direction: column; gap: 2px; }
.region-row { display: flex; align-items: center; gap: 10px; padding: 8px 6px; border-radius: 8px; cursor: pointer; }
.region-row:hover { background: #f6f9ff; }
.region-row.active { background: var(--primary-soft); }
.region-name { font-size: 13px; color: var(--text-2); width: 42px; flex: none; }
.region-bar { flex: 1; height: 6px; border-radius: 4px; background: #eef2f9; overflow: hidden; }
.region-bar i { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, #6c97ff, #2b5cff); }
.region-val { font-size: 12.5px; color: var(--text); font-weight: 600; width: 74px; text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.prov-panel { display: flex; flex-direction: column; gap: 12px; }
.prov-head { display: flex; align-items: center; gap: 10px; }
.prov-flag { width: 38px; height: 38px; border-radius: 10px; background: linear-gradient(140deg, #eef3ff, #dfe9ff); color: var(--primary-deep); display: grid; place-items: center; font-weight: 700; font-size: 15px; }
.prov-name { font-size: 16px; font-weight: 650; }
.prov-meta { font-size: 12.5px; color: var(--muted-2); }
.prov-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pstat { background: #f8fafd; border: 1px solid #eef2f8; border-radius: 9px; padding: 9px 10px; }
.pstat-val { font-size: 16px; font-weight: 700; letter-spacing: -.4px; font-variant-numeric: tabular-nums; }
.pstat-lab { font-size: 12px; color: var(--muted-2); margin-top: 1px; }

/* ============ forms center ============ */
.form-grid-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.form-card {
  border: 1px solid var(--line); border-radius: 12px; background: #fff; padding: 15px;
  cursor: pointer; transition: border-color .16s, box-shadow .16s, transform .16s; position: relative; overflow: hidden;
  display: flex; flex-direction: column; min-height: 152px;
}
.form-card:hover { border-color: #b9caff; box-shadow: 0 12px 24px -14px rgba(43, 92, 255, .45); transform: translateY(-2px); }
.form-icon { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; margin-bottom: 11px; }
.form-icon svg { width: 19px; height: 19px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.form-name { font-size: 13.5px; font-weight: 650; line-height: 1.35; }
.form-desc { font-size: 12.5px; color: var(--muted-2); margin-top: 4px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.form-foot { display: flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 10px; }
.form-cat { font-size: 12px; color: var(--muted); background: #f4f7fc; padding: 2px 6px; border-radius: 4px; }
.form-count { font-size: 12px; color: var(--muted-2); margin-left: auto; }
.form-card::after { content: ""; position: absolute; right: -24px; top: -24px; width: 70px; height: 70px; border-radius: 50%; background: radial-gradient(circle, rgba(43,92,255,.06), transparent 70%); }

/* ============ rules / agent ============ */
.agent-hero { position: relative; overflow: hidden; border-radius: var(--radius); padding: 20px 22px; color: #fff; background: linear-gradient(115deg, #0d1b36 0%, #132a56 45%, #1c3c86 100%); border: 1px solid rgba(120,160,255,.25); }
.agent-hero::before { content: ""; position: absolute; right: -60px; top: -90px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(76,120,255,.45), transparent 65%); }
.agent-hero::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 30px 30px; mask-image: linear-gradient(90deg, #000, transparent 70%); pointer-events: none; }
.agent-hero-inner { position: relative; z-index: 1; display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.agent-title { font-size: 18px; font-weight: 650; display: flex; align-items: center; gap: 9px; }
.agent-title .live { font-size: 11.5px; padding: 2px 7px; border-radius: 999px; background: rgba(52,211,153,.18); color: #6ee7b7; border: 1px solid rgba(52,211,153,.3); font-weight: 600; letter-spacing: .5px; }
.agent-desc { font-size: 13px; color: #a9bfe6; margin-top: 4px; max-width: 520px; }
.agent-metrics { margin-left: auto; display: flex; gap: 26px; }
.agent-metric .v { font-size: 24px; font-weight: 700; letter-spacing: -.6px; font-variant-numeric: tabular-nums; }
.agent-metric .l { font-size: 12px; color: #8fa8d4; }
.agent-actions { display: flex; gap: 9px; }
.btn-on-dark { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.2); color: #e6eeff; }
.btn-on-dark:hover { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.3); color: #fff; }
.rule-card { border: 1px solid var(--line); border-radius: 12px; background: #fff; padding: 15px 16px; transition: border-color .15s, box-shadow .15s; }
.rule-card:hover { border-color: #c7d5f5; box-shadow: var(--shadow-sm); }
.rule-card.off { background: #fbfcfe; }
.rule-card.off .rule-name { color: var(--muted); }
.rule-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.rule-name { font-size: 13.5px; font-weight: 650; }
.rule-id { font-size: 12px; color: var(--muted-2); font-family: var(--mono); }
.rule-flow { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; font-size: 12.5px; margin: 9px 0 11px; }
.cond-chip { display: inline-flex; align-items: center; gap: 4px; background: #f4f7fd; border: 1px solid #e7edf7; border-radius: 6px; padding: 3px 7px; color: var(--text-2); }
.cond-chip b { color: var(--primary-deep); font-weight: 600; }
.arrow-mini { color: #b9c4d8; }
.rule-stats { display: flex; gap: 16px; font-size: 12px; color: var(--muted-2); border-top: 1px dashed var(--line); padding-top: 9px; }
.rule-stats b { color: var(--text-2); font-weight: 600; }
.task-reason { display: flex; flex-wrap: wrap; gap: 4px; }
.reason { font-size: 12px; padding: 1px 6px; border-radius: 4px; background: var(--violet-soft); color: #6440dd; border: 1px solid #e2dafc; }
.run-progress { height: 5px; border-radius: 4px; background: #e9eefb; overflow: hidden; }
.run-progress i { display: block; height: 100%; background: linear-gradient(90deg, #2b5cff, #0ea5a4); border-radius: 4px; transition: width .35s ease; }
.agent-feed { display: flex; flex-direction: column; gap: 0; }
.feed-item { display: flex; gap: 10px; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.feed-item:last-child { border-bottom: 0; }
.feed-ico { width: 26px; height: 26px; border-radius: 7px; flex: none; display: grid; place-items: center; }
.feed-ico svg { width: 13px; height: 13px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.feed-main { font-size: 13px; color: var(--text-2); line-height: 1.5; }
.feed-main b { color: var(--text); font-weight: 600; }
.feed-time { font-size: 12px; color: var(--muted-2); margin-top: 2px; }

/* ============ drawer / modal ============ */
.overlay-mask { position: fixed; inset: 0; z-index: 100; background: rgba(10, 20, 40, .42); backdrop-filter: blur(2px); opacity: 0; animation: fadeIn .18s ease forwards; }
@keyframes fadeIn { to { opacity: 1; } }
.modal {
  position: fixed; z-index: 101; left: 50%; top: 50%; transform: translate(-50%, -48%); width: min(720px, calc(100vw - 40px));
  max-height: calc(100vh - 70px); background: #fff; border-radius: 16px; box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; animation: modalIn .22s cubic-bezier(.2,.8,.3,1) forwards;
}
.modal.wide { width: min(940px, calc(100vw - 40px)); }
.modal.narrow { width: min(520px, calc(100vw - 40px)); }
@keyframes modalIn { from { opacity: 0; transform: translate(-50%, -46%) scale(.985); } to { opacity: 1; transform: translate(-50%, -50%) scale(1); } }
.modal-head { display: flex; align-items: flex-start; gap: 12px; padding: 18px 20px 14px; border-bottom: 1px solid var(--line); }
.modal-title { font-size: 16px; font-weight: 650; margin: 0; }
.modal-sub { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.modal-body { padding: 18px 20px; overflow-y: auto; }
.modal-foot { display: flex; align-items: center; gap: 9px; padding: 14px 20px; border-top: 1px solid var(--line); background: #fbfcfe; border-radius: 0 0 16px 16px; }
.modal-close { margin-left: auto; }
.drawer { position: fixed; z-index: 101; top: 0; right: 0; bottom: 0; width: min(520px, 94vw); background: #fff; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; animation: drawerIn .24s cubic-bezier(.2,.8,.3,1); }
.drawer.wide { width: min(720px, 96vw); }
@keyframes drawerIn { from { transform: translateX(40px); opacity: .6; } to { transform: translateX(0); opacity: 1; } }
.drawer-head { padding: 20px 20px 14px; border-bottom: 1px solid var(--line); display: flex; align-items: flex-start; gap: 12px; }
.drawer-body { padding: 18px 20px 26px; overflow-y: auto; flex: 1; }
.drawer-foot { padding: 13px 20px; border-top: 1px solid var(--line); display: flex; gap: 9px; background: #fbfcfe; }
.kv { display: grid; grid-template-columns: 92px 1fr; gap: 9px 12px; font-size: 13px; }
.kv dt { color: var(--muted-2); font-size: 12.5px; padding-top: 1px; }
.kv dd { margin: 0; color: var(--text-2); }
.section-label { font-size: 12.5px; font-weight: 650; letter-spacing: .6px; color: var(--muted); text-transform: uppercase; margin: 18px 0 9px; display: flex; align-items: center; gap: 8px; }
.section-label::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* ============ steps / timeline ============ */
.steps { display: flex; align-items: flex-start; gap: 0; margin: 6px 0 2px; }
.step { flex: 1; display: flex; flex-direction: column; align-items: center; text-align: center; position: relative; }
.step::before { content: ""; position: absolute; top: 9px; left: calc(-50% + 12px); right: calc(50% + 12px); height: 2px; background: #e7ecf5; }
.step:first-child::before { display: none; }
.step.done::before, .step.current::before { background: #9db9ff; }
.step-dot { width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 2px solid #dbe3f0; display: grid; place-items: center; font-size: 11.5px; color: var(--muted-2); z-index: 1; }
.step.done .step-dot { background: var(--primary); border-color: var(--primary); color: #fff; }
.step.current .step-dot { border-color: var(--primary); color: var(--primary); box-shadow: 0 0 0 4px rgba(43,92,255,.12); font-weight: 700; }
.step-label { font-size: 12px; color: var(--muted); margin-top: 6px; }
.step.current .step-label { color: var(--primary-deep); font-weight: 600; }
.timeline { position: relative; padding-left: 18px; }
.timeline::before { content: ""; position: absolute; left: 5px; top: 4px; bottom: 4px; width: 1px; background: var(--line); }
.tl-item { position: relative; padding-bottom: 16px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-dot { position: absolute; left: -17px; top: 4px; width: 9px; height: 9px; border-radius: 50%; background: #fff; border: 2px solid #b9c8e6; }
.tl-item.hot .tl-dot { border-color: var(--primary); background: var(--primary-soft); }
.tl-time { font-size: 12px; color: var(--muted-2); }
.tl-text { font-size: 13px; color: var(--text-2); margin-top: 1px; }
.tl-text b { color: var(--text); font-weight: 600; }

/* ============ toast ============ */
.toast-root { position: fixed; z-index: 200; right: 22px; bottom: 22px; display: flex; flex-direction: column; gap: 9px; pointer-events: none; }
.toast {
  display: flex; align-items: flex-start; gap: 9px; min-width: 250px; max-width: 360px; padding: 11px 14px;
  background: #101c34; color: #eaf1ff; border-radius: 10px; box-shadow: 0 14px 30px -10px rgba(5, 15, 35, .5);
  font-size: 13px; animation: toastIn .25s ease; pointer-events: auto;
}
.toast.out { animation: toastOut .22s ease forwards; }
.toast svg { width: 16px; height: 16px; flex: none; margin-top: 1px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.toast.success svg { color: #4ade80; } .toast.info svg { color: #93b4ff; } .toast.warn svg { color: #fbbf24; }
@keyframes toastIn { from { opacity: 0; transform: translateY(10px); } }
@keyframes toastOut { to { opacity: 0; transform: translateY(6px); } }

/* ============ misc ============ */
.progress { height: 6px; border-radius: 4px; background: #eef2f9; overflow: hidden; flex: 1; min-width: 40px; }
.progress i { display: block; height: 100%; border-radius: 4px; background: var(--primary); }
.divider { height: 1px; background: var(--line); margin: 14px 0; }
.empty { padding: 42px 16px; text-align: center; color: var(--muted-2); font-size: 13px; }
.empty svg { width: 40px; height: 40px; margin: 0 auto 10px; stroke: #c3cde0; fill: none; stroke-width: 1.3; }
.empty b { display: block; color: var(--text-2); font-size: 13.5px; font-weight: 600; margin-bottom: 3px; }
.note { display: flex; gap: 9px; padding: 10px 12px; border-radius: 9px; background: #f7f9fd; border: 1px solid var(--line); font-size: 12.5px; color: var(--muted); line-height: 1.6; }
.note svg { width: 15px; height: 15px; flex: none; margin-top: 1px; stroke: var(--primary); fill: none; stroke-width: 1.8; }
.dot-split { color: #cbd5e6; margin: 0 4px; }
.hr-text { display: flex; align-items: center; gap: 10px; color: var(--muted-2); font-size: 12px; margin: 14px 0; }
.hr-text::before, .hr-text::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.code-block { background: #0b1424; color: #cdd9f2; border-radius: 10px; padding: 14px 16px; font-family: var(--mono); font-size: 12.5px; line-height: 1.65; overflow: auto; white-space: pre; border: 1px solid #1a2942; }
.code-block .c-key { color: #8fb4ff; } .code-block .c-str { color: #7fdbb6; } .code-block .c-num { color: #f2c079; } .code-block .c-bool { color: #d7a2ff; }
.code-inline { font-family: var(--mono); font-size: 12.5px; background: #f1f4fa; padding: 1px 5px; border-radius: 4px; color: #33436b; }
.copy-btn { cursor: pointer; }

/* ============ responsive ============ */
@media (max-width: 1400px) {
  .form-grid-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .kpi-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 1200px) {
  .g-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .map-layout { grid-template-columns: minmax(0, 1fr); }
  .map-side { display: grid; grid-template-columns: 1fr 1fr; }
  .global-search { width: 200px; }
}
@media (max-width: 1000px) {
  .sidebar { transform: translateX(-100%); transition: transform .22s ease; box-shadow: var(--shadow-lg); }
  body.nav-open .sidebar { transform: none; }
  .sidebar-mask { display: none; position: fixed; inset: 0; background: rgba(10,20,40,.4); z-index: 55; }
  body.nav-open .sidebar-mask { display: block; }
  .main { margin-left: 0; }
  .only-mobile { display: grid; }
  .kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g-3, .g-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-grid-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .global-search { display: none; }
  .today { display: none; }
  .user-meta { display: none; }
  .topbar { padding: 0 16px; }
  .view { padding: 18px 16px 32px; }
}
@media (max-width: 720px) {
  .kpi-grid, .g-2, .g-3, .g-4, .form-grid-cards, .form-grid, .map-side { grid-template-columns: 1fr; }
  .card-head { flex-wrap: wrap; gap: 8px; }
  .card-tools { margin-left: 0; flex-wrap: wrap; }
  .map-topbar { right: 12px; }
  .agent-metrics { grid-template-columns: 1fr 1fr !important; }
  .span-2, .span-3 { grid-column: auto; }
  .map-shell { height: 460px; }
  .agent-metrics { margin-left: 0; gap: 18px; }
  .agent-hero-inner { gap: 16px; }
  .page-title { font-size: 20px; }
  .card-head { padding: 14px 14px 0; }
  .card-body { padding: 14px; }
  .filterbar { padding: 10px 12px; }
  .drawer { width: 100vw; }
}

/* ============ mini stat strip ============ */
.stat-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 16px; }
.stat-card { display: flex; align-items: center; gap: 12px; padding: 13px 15px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-sm); }
.stat-ico { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.stat-ico svg { width: 17px; height: 17px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.stat-v { font-size: 18px; font-weight: 700; letter-spacing: -.4px; line-height: 1.3; font-variant-numeric: tabular-nums; }
.stat-l { font-size: 12px; color: var(--muted-2); }
.stat-side { margin-left: auto; }
@media (max-width: 1000px) { .stat-strip { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .stat-strip { grid-template-columns: 1fr; } }

/* ============ chips ============ */
.chip-row { display: flex; gap: 7px; flex-wrap: wrap; align-items: center; margin-bottom: 14px; }
.chip { height: 30px; padding: 0 12px; border-radius: 8px; border: 1px solid var(--line-strong); background: #fff; color: var(--muted); font-size: 13px; cursor: pointer; transition: all .15s; }
.chip:hover { border-color: #b9caff; color: var(--primary); }
.chip.active { background: var(--primary); border-color: var(--primary); color: #fff; font-weight: 600; box-shadow: 0 3px 8px -3px rgba(43,92,255,.6); }
.chip .n { margin-left: 4px; opacity: .65; font-size: 12px; }

/* ============ 产业链档案 / 图谱 ============ */
.chain-models { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: 16px; }
.chain-model { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 13px; background: #fff; padding: 15px 16px; cursor: pointer; transition: all .16s ease; }
.chain-model:hover { border-color: #c4d2ef; box-shadow: 0 10px 22px -16px rgba(20, 50, 120, .35); }
.chain-model.active { border-color: #b9caff; box-shadow: 0 0 0 3px rgba(43, 92, 255, .08), 0 10px 22px -16px rgba(43, 92, 255, .4); }
.chain-model::after { content: ""; position: absolute; right: -20px; top: -30px; width: 86px; height: 86px; border-radius: 50%; background: radial-gradient(circle, rgba(43,92,255,.09), transparent 70%); }
.chain-model .cm-top { display: flex; align-items: center; gap: 9px; }
.chain-model .cm-ico { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; flex: none; }
.chain-model .cm-name { font-size: 13.5px; font-weight: 650; }
.chain-model .cm-code { font-size: 11.5px; color: var(--muted-2); font-family: var(--mono); }
.chain-model .cm-desc { font-size: 12.5px; color: var(--muted); line-height: 1.55; margin: 9px 0 11px; min-height: 34px; }
.chain-model .cm-meta { display: flex; gap: 14px; font-size: 12px; color: var(--muted-2); border-top: 1px dashed var(--line); padding-top: 9px; }
.chain-model .cm-meta b { color: var(--text); font-size: 13px; }

.chain-flow { display: grid; grid-template-columns: minmax(0,1fr) 34px minmax(0,1fr) 34px minmax(0,1fr); align-items: stretch; }
.chain-stage { border: 1px solid var(--line); border-radius: 12px; background: linear-gradient(180deg, #fbfdff, #f7faff); padding: 13px; min-width: 0; }
.chain-stage.up { border-top: 3px solid #2b5cff; }
.chain-stage.mid { border-top: 3px solid #0ea5a4; }
.chain-stage.down { border-top: 3px solid #e98a0b; }
.cs-head { display: flex; align-items: center; gap: 7px; margin-bottom: 4px; }
.cs-tag { width: 19px; height: 19px; border-radius: 6px; display: grid; place-items: center; font-size: 11.5px; font-weight: 700; color: #fff; }
.chain-stage.up .cs-tag { background: #2b5cff; }
.chain-stage.mid .cs-tag { background: #0ea5a4; }
.chain-stage.down .cs-tag { background: #e98a0b; }
.cs-name { font-size: 13px; font-weight: 650; }
.cs-sub { font-size: 12px; color: var(--muted-2); margin-bottom: 10px; }
.chain-node { display: flex; align-items: center; gap: 7px; background: #fff; border: 1px solid #e8eef8; border-radius: 8px; padding: 7px 9px; margin-bottom: 6px; cursor: pointer; transition: all .14s; }
.chain-node:hover { border-color: #b9caff; transform: translateX(2px); }
.chain-node .cn-dot { width: 6px; height: 6px; border-radius: 50%; background: #b9c8e6; flex: none; }
.chain-node .cn-name { font-size: 12.5px; color: var(--text-2); flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chain-node .cn-val { font-size: 11.5px; color: var(--muted-2); font-variant-numeric: tabular-nums; }
.chain-more { font-size: 12px; color: var(--muted-2); text-align: center; padding: 3px 0; }
.chain-arrow { display: flex; align-items: center; justify-content: center; color: #b9c8e6; }
.chain-arrow svg { width: 18px; height: 18px; }
@media (max-width: 1100px) { .chain-models { grid-template-columns: 1fr; } }
@media (max-width: 900px) {
  .chain-flow { grid-template-columns: 1fr; gap: 8px; }
  .chain-arrow { transform: rotate(90deg); height: 22px; }
}

/* ============ segmented control ============ */
.seg { display: inline-flex; align-items: center; background: #eef2fa; border: 1px solid var(--line); border-radius: 9px; padding: 3px; gap: 2px; }
.seg button { height: 27px; padding: 0 12px; border: 0; background: transparent; border-radius: 6px; color: var(--muted); font-size: 13px; cursor: pointer; }
.seg button:hover { color: var(--text); }
.seg button.active { background: #fff; color: var(--primary-deep); font-weight: 600; box-shadow: 0 1px 3px rgba(15,30,60,.12); }

/* ============ AI 获客地图 ============ */
.ai-bar {
  position: relative; overflow: hidden; border-radius: 14px; padding: 16px 18px; margin-bottom: 16px;
  background: linear-gradient(112deg, #0b1a33 0%, #132c5c 48%, #1b427f 100%);
  border: 1px solid rgba(120, 160, 255, .26); color: #fff; display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
  box-shadow: 0 14px 32px -22px rgba(15, 45, 110, .7);
}
.ai-bar::before { content: ""; position: absolute; right: -60px; top: -100px; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(circle, rgba(76,120,255,.45), transparent 65%); pointer-events: none; }
.ai-bar::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 28px 28px; mask-image: linear-gradient(90deg, #000, transparent 65%); pointer-events: none; }
.ai-bar-left { position: relative; z-index: 1; min-width: 210px; }
.ai-title { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 650; }
.ai-title .ico { width: 19px; height: 19px; color: #9dbaff; }
.ai-sub { font-size: 12.5px; color: #9db4d8; margin-top: 4px; line-height: 1.5; }
.ai-search { position: relative; z-index: 1; flex: 1; min-width: 300px; }
.ai-input-row { display: flex; gap: 8px; }
.ai-input { flex: 1; height: 38px; min-width: 0; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); border-radius: 9px; padding: 0 13px; color: #fff; font-size: 13px; outline: none; font-family: inherit; }
.ai-input::placeholder { color: #8ea6cc; }
.ai-input:focus { border-color: #8fb4ff; background: rgba(255,255,255,.15); box-shadow: 0 0 0 3px rgba(143,180,255,.14); }
.ai-search .btn { height: 38px; flex: none; }
.ai-chips { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.ai-chip { font-size: 12px; color: #b9cbe8; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.06); border-radius: 999px; padding: 3px 9px; cursor: pointer; transition: all .14s; }
.ai-chip:hover { background: rgba(255,255,255,.16); color: #fff; border-color: rgba(255,255,255,.32); }
.ai-parse { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; margin-top: 8px; font-size: 12px; color: #a9c3ea; }
.ai-parse b { color: #fff; font-weight: 600; }
.ai-parse .tag { background: rgba(143,180,255,.14); border-color: rgba(143,180,255,.28); color: #cfe0ff; }

.lead-layout { display: grid; grid-template-columns: minmax(0, 1fr) 374px; gap: 16px; align-items: start; }
.lead-map { height: 552px; }
.lead-side { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.lead-list { display: flex; flex-direction: column; gap: 8px; max-height: 452px; overflow-y: auto; padding: 2px 2px 2px 0; }
.lead-item { border: 1px solid var(--line); border-radius: 10px; padding: 10px 11px; cursor: pointer; transition: all .14s; background: #fff; }
.lead-item:hover { border-color: #b9caff; background: #fbfdff; }
.lead-item.active { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(43,92,255,.08); }
.li-top { display: flex; align-items: flex-start; gap: 8px; }
.li-name { font-size: 13px; font-weight: 650; line-height: 1.4; flex: 1; min-width: 0; }
.li-score { font-size: 13px; font-weight: 700; color: var(--primary); flex: none; font-variant-numeric: tabular-nums; }
.li-meta { font-size: 12px; color: var(--muted-2); margin-top: 3px; display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.li-foot { display: flex; align-items: center; gap: 7px; margin-top: 7px; flex-wrap: wrap; }
.source-badge { display: inline-flex; align-items: center; gap: 3px; font-size: 11.5px; padding: 1px 5px; border-radius: 4px; background: #eef3ff; color: #1f47c4; border: 1px solid #dbe5ff; white-space: nowrap; }
.source-badge.qcc { background: #e9f9f2; color: #087a51; border-color: #c5eedd; }
.source-badge.amap { background: #fdf1de; color: #a25f04; border-color: #f6dfba; }
.source-badge.own { background: #f1f4f9; color: #5f6e88; border-color: #e5eaf3; }
.source-row { display: flex; align-items: center; gap: 11px; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.source-row:last-child { border-bottom: 0; }
.source-logo { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; color: #fff; font-size: 13px; font-weight: 700; flex: none; }
.map-lead-legend { position: absolute; z-index: 3; left: 16px; bottom: 16px; background: rgba(255,255,255,.94); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; font-size: 12.5px; box-shadow: var(--shadow-sm); backdrop-filter: blur(8px); }
.map-lead-legend .lg-title { font-weight: 600; color: var(--text-2); margin-bottom: 6px; font-size: 12.5px; }
.map-lead-legend .lg-row { display: flex; align-items: center; gap: 7px; color: var(--muted); margin-top: 4px; }
@media (max-width: 1280px) { .lead-layout { grid-template-columns: minmax(0, 1fr); } .lead-side { display: grid; grid-template-columns: 1fr 1fr; } .lead-list { max-height: 360px; } }
@media (max-width: 760px) { .lead-side { grid-template-columns: 1fr; } .ai-bar-left { min-width: 100%; } .ai-search { min-width: 100%; } .lead-map { height: 460px; } }

/* ============ AI 快速录入 ============ */
.ai-entry-note { display: flex; gap: 8px; padding: 10px 12px; border: 1px solid #dbe5ff; background: #f7faff; border-radius: 9px; font-size: 12.5px; color: var(--text-2); line-height: 1.6; }
.ai-entry-note svg { width: 15px; height: 15px; flex: none; margin-top: 1px; color: var(--primary); }
.ai-textarea { min-height: 140px; line-height: 1.7; }
.ai-example { cursor: pointer; }
.ai-preview { border: 1px solid #dbe5ff; background: #f8fbff; border-radius: 10px; padding: 12px; margin-top: 14px; }
.ai-preview-head { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; font-size: 13px; }
.ai-preview-head b { font-weight: 650; color: var(--text); }
.ai-kv { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 9px; max-height: 190px; overflow: auto; }
.ai-kv span { display: inline-flex; align-items: center; gap: 4px; padding: 3px 7px; border-radius: 6px; background: #fff; border: 1px solid #e2eaf8; font-size: 12.5px; color: var(--text-2); max-width: 100%; }
.ai-kv span b { color: var(--primary-deep); font-weight: 600; }
.ai-kv span i { color: var(--muted-2); font-style: normal; }
.ai-missing { font-size: 12.5px; color: #a25f04; background: #fdf6e9; border: 1px solid #f3dfb9; border-radius: 8px; padding: 8px 10px; margin-top: 9px; line-height: 1.6; }
.ai-fill-banner { display: flex; align-items: flex-start; gap: 8px; padding: 9px 12px; border: 1px solid #f3d8a9; background: #fffaf0; border-radius: 9px; font-size: 12.5px; color: #7a5a1c; margin-bottom: 14px; line-height: 1.6; }
.ai-fill-banner svg { width: 15px; height: 15px; flex: none; margin-top: 1px; color: var(--amber); }
.ai-flag { background: #fff7e6 !important; border-color: #f2d6a4 !important; color: #a25f04 !important; font-size: 11.5px !important; padding: 0 4px !important; margin-left: 4px; }
.field.ai-filled .input, .field.ai-filled .select, .field.ai-filled textarea.input { background: #fffdf8; border-color: #f0cf9a; }
.field.ai-filled .radio-card span { border-color: #f0cf9a; background: #fffdf8; }

/* 自建产业链表单 */
.chain-check { display: inline-flex; align-items: center; gap: 5px; padding: 5px 9px; border: 1px solid var(--line); border-radius: 7px; background: #fff; font-size: 12.5px; color: var(--text-2); cursor: pointer; }
.chain-check:hover { border-color: #c4d2ef; background: #fbfcff; }
.chain-check input { accent-color: var(--primary); }

/* ============ 独立登录 / 注册页 ============ */
#authRoot { display: none; }
body.auth-mode { overflow: hidden; background: #f4f7fc; }
body.auth-mode .app { display: none; }
body.auth-mode #authRoot { display: block; }
.auth-page { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(460px, .92fr); background: #f4f7fc; }
.auth-brand { position: relative; overflow: hidden; padding: 54px 64px 38px; background: radial-gradient(circle at 15% 10%, #18366f 0%, #0b1730 52%, #081124 100%); color: #fff; display: flex; flex-direction: column; }
.auth-brand-glow { position: absolute; width: 620px; height: 620px; right: -240px; top: -250px; border-radius: 50%; background: radial-gradient(circle, rgba(43,92,255,.34), transparent 68%); pointer-events: none; }
.auth-brand::after { content: ""; position: absolute; inset: auto -8% -36% 22%; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(14,165,164,.16), transparent 70%); }
.auth-logo { position: relative; display: flex; align-items: center; gap: 12px; z-index: 1; }
.auth-mark { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: linear-gradient(145deg, #4d7cff, #2b5cff); font-weight: 800; font-size: 20px; box-shadow: 0 8px 24px -8px rgba(43,92,255,.7); }
.auth-brand-name { font-size: 18px; font-weight: 750; letter-spacing: .3px; }
.auth-brand-sub { font-size: 11.5px; letter-spacing: 1.8px; color: #7189b1; margin-top: 2px; }
.auth-brand-copy { position: relative; z-index: 1; margin-top: auto; max-width: 560px; }
.auth-eyebrow { color: #7fa4ff; font-size: 12.5px; letter-spacing: 1.4px; margin-bottom: 14px; }
.auth-brand-copy h1 { font-size: clamp(32px, 3.2vw, 48px); line-height: 1.22; letter-spacing: -.6px; margin: 0 0 16px; font-weight: 760; }
.auth-brand-copy p { color: #9cb0d1; font-size: 13.5px; line-height: 1.8; max-width: 470px; }
.auth-features { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 38px 0 26px; padding-top: 22px; border-top: 1px solid rgba(146,174,222,.16); }
.auth-features div { display: flex; flex-direction: column; gap: 3px; }
.auth-features b { font-size: 22px; font-weight: 750; letter-spacing: -.4px; }
.auth-features span { color: #7189b1; font-size: 12px; }
.auth-foot { position: relative; z-index: 1; color: #526b91; font-size: 12px; letter-spacing: .3px; }
.auth-panel { display: grid; place-items: center; padding: 40px; }
.auth-card { width: 100%; max-width: 410px; background: #fff; border: 1px solid #e4ebf6; border-radius: 18px; padding: 28px 30px 26px; box-shadow: 0 26px 60px -34px rgba(20, 45, 100, .36); }
.auth-mobile-logo { display: none; }
.auth-tabs { display: flex; gap: 4px; background: #f3f6fc; border-radius: 10px; padding: 4px; margin-bottom: 24px; }
.auth-tabs button { flex: 1; border: 0; background: transparent; padding: 8px 10px; border-radius: 7px; font-size: 13px; color: var(--muted); cursor: pointer; font-family: inherit; }
.auth-tabs button.active { background: #fff; color: var(--text); font-weight: 650; box-shadow: 0 2px 8px -3px rgba(20,45,100,.2); }
.auth-title { font-size: 22px; font-weight: 750; letter-spacing: -.3px; color: var(--text); }
.auth-sub { margin-top: 6px; margin-bottom: 22px; font-size: 12.5px; color: var(--muted); }
.auth-field { margin-bottom: 14px; }
.auth-field label { display: block; font-size: 12.5px; font-weight: 600; color: var(--text-2); margin-bottom: 6px; }
.auth-field input { width: 100%; height: 42px; border: 1px solid #dbe4f2; border-radius: 9px; padding: 0 12px; font-size: 13.5px; color: var(--text); background: #fbfdff; outline: none; font-family: inherit; transition: border-color .15s, box-shadow .15s, background .15s; }
.auth-field input:focus { border-color: #92adf8; background: #fff; box-shadow: 0 0 0 3px rgba(43,92,255,.08); }
.auth-hint { margin: 14px 0 18px; padding: 9px 11px; border: 1px solid #dbe5ff; background: #f7faff; border-radius: 8px; font-size: 12px; line-height: 1.6; color: #65799c; }
.auth-hint span { color: #1f47c4; font-family: var(--mono); font-size: 12px; }
.auth-error { margin-bottom: 12px; padding: 9px 11px; border: 1px solid #f4caca; background: #fff5f5; border-radius: 8px; color: #b42318; font-size: 12.5px; line-height: 1.5; }
.auth-submit { width: 100%; height: 44px; border: 0; border-radius: 10px; background: linear-gradient(135deg, #2b5cff, #3b76ff); color: #fff; font-size: 13.5px; font-weight: 650; font-family: inherit; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 7px; box-shadow: 0 10px 22px -12px rgba(43,92,255,.8); transition: transform .12s, opacity .15s; }
.auth-submit:hover { transform: translateY(-1px); }
.auth-submit:disabled { opacity: .6; cursor: wait; transform: none; }
.auth-submit svg { width: 15px; height: 15px; }
.auth-switch { display: flex; justify-content: center; align-items: center; gap: 5px; margin-top: 18px; font-size: 12.5px; color: var(--muted); }
.auth-switch button { border: 0; background: transparent; color: var(--primary); font-size: 12.5px; font-weight: 600; cursor: pointer; font-family: inherit; padding: 0; }
@media (max-width: 960px) {
  .auth-page { grid-template-columns: 1fr; }
  .auth-brand { display: none; }
  .auth-panel { min-height: 100vh; padding: 24px 18px; background: linear-gradient(160deg, #eef3ff, #f8faff 45%, #eefaf8); }
  .auth-card { max-width: 430px; }
  .auth-mobile-logo { display: flex; align-items: center; gap: 9px; margin-bottom: 22px; font-size: 15px; color: var(--text); }
  .auth-mobile-logo .auth-mark { width: 32px; height: 32px; border-radius: 9px; font-size: 16px; }
}

/* ============ 产业生态市场 ============ */
.eco-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.eco-card { border: 1px solid var(--line); border-radius: 13px; background: #fff; padding: 16px 18px; transition: border-color .15s, box-shadow .15s; }
.eco-card:hover { border-color: #c4d2ef; box-shadow: 0 12px 26px -20px rgba(20,50,120,.4); }
.eco-card-head { display: flex; align-items: flex-start; gap: 10px; }
.eco-card-head > div:first-child { flex: 1; min-width: 0; }
.eco-kicker { font-size: 12px; color: var(--muted-2); margin-bottom: 3px; }
.eco-title { font-size: 15px; font-weight: 680; color: var(--text); line-height: 1.45; }
.eco-desc { font-size: 12.5px; color: var(--muted); line-height: 1.7; margin: 9px 0 12px; min-height: 38px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.eco-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 10px 0; border-top: 1px dashed var(--line); border-bottom: 1px dashed var(--line); }
.eco-facts div { display: flex; flex-direction: column; gap: 2px; }
.eco-facts span { font-size: 11.5px; color: var(--muted-2); }
.eco-facts b { font-size: 13px; color: var(--text); font-variant-numeric: tabular-nums; }
.eco-card-foot { display: flex; align-items: center; gap: 7px; margin-top: 12px; }
.eco-price { font-size: 13.5px; font-weight: 700; color: var(--primary); }
.eco-quote-row { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.eco-quote-row > div:first-child { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.eco-quote-row b { font-size: 13px; color: var(--text); }
.eco-quote-row span { font-size: 12px; color: var(--muted); line-height: 1.5; }
.eco-service-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.eco-service-head > div { display: flex; flex-direction: column; gap: 3px; }
.eco-service-head b { font-size: 15px; color: var(--text); }
.eco-service-head span { font-size: 12.5px; color: var(--muted); }
.eco-onboard { max-width: 620px; margin: 12px auto 0; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 38px 32px; }
.eco-onboard-mark { width: 52px; height: 52px; border-radius: 15px; margin: 0 auto 16px; display: grid; place-items: center; background: linear-gradient(145deg, #eef3ff, #e6f7f6); color: var(--primary); }
.eco-onboard h3 { font-size: 20px; margin: 0 0 8px; }
.eco-onboard p { color: var(--muted); font-size: 13px; line-height: 1.8; max-width: 470px; margin: 0 auto 20px; }
.eco-onboard-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0 0 22px; text-align: left; }
.eco-onboard-grid div { padding: 11px; border: 1px solid var(--line); border-radius: 9px; background: #fbfcff; display: flex; flex-direction: column; gap: 3px; }
.eco-onboard-grid b { font-size: 12.5px; }
.eco-onboard-grid span { font-size: 12px; color: var(--muted); line-height: 1.5; }
.eco-org-layout { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(280px, 1fr); gap: 16px; }
.eco-org-kv { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.eco-org-kv div { display: flex; flex-direction: column; gap: 3px; }
.eco-org-kv span { font-size: 12px; color: var(--muted-2); }
.eco-org-kv b { font-size: 12.5px; color: var(--text-2); font-weight: 600; }
.eco-org-intro { margin: 14px 0 0; padding-top: 12px; border-top: 1px dashed var(--line); font-size: 12.5px; color: var(--muted); line-height: 1.8; }
.eco-line { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.eco-line:last-child { border-bottom: 0; }
.eco-line > div { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.eco-line b { font-size: 12.5px; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.eco-line span { font-size: 12px; color: var(--muted); }
.eco-rights div { display: flex; justify-content: space-between; padding: 7px 0; font-size: 12.5px; border-bottom: 1px dashed var(--line); }
.eco-rights b { color: var(--green); font-weight: 600; }
@media (max-width: 1100px) { .eco-grid { grid-template-columns: 1fr; } .eco-org-layout { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .eco-facts { grid-template-columns: 1fr 1fr; } .eco-onboard-grid { grid-template-columns: 1fr; } .eco-org-kv { grid-template-columns: 1fr; } }
.eco-invite-code { margin: 8px 0 10px; padding: 13px; border: 1px dashed #b9caff; border-radius: 10px; background: #f5f8ff; color: #1f47c4; font-family: var(--mono); font-size: 22px; font-weight: 700; letter-spacing: 1.5px; }
.eco-contract-actions { display: flex; align-items: center; gap: 8px; margin-top: 11px; padding-top: 10px; border-top: 1px dashed var(--line); }
.eco-card.contract .eco-facts b { font-size: 12.5px; }
.eco-contract-trace { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.dev-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(330px, 1fr); gap: 16px; }
.dev-client { display: flex; align-items: center; gap: 8px; margin-top: 10px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; background: #fbfcff; }
.dev-client span { font-size: 11.5px; color: var(--muted-2); white-space: nowrap; }
.dev-client code { font-family: var(--mono); font-size: 12px; color: var(--text-2); overflow: hidden; text-overflow: ellipsis; }
.dev-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 10px; }
.dev-secret { margin: 8px 0 10px; padding: 12px; border: 1px dashed #b9caff; border-radius: 9px; background: #f5f8ff; color: #1f47c4; font-family: var(--mono); font-size: 13px; word-break: break-all; }
.dev-scope-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin-top: 6px; }
.dev-scope-grid label { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--text-2); }
.dev-scope-grid code { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.dev-step { padding: 10px 0; border-bottom: 1px dashed var(--line); }
.dev-step:last-child { border-bottom: 0; }
.dev-step > b { display: block; font-size: 12.5px; margin-bottom: 7px; }
.dev-code { margin: 0; padding: 11px; border-radius: 8px; background: #0e1729; color: #d7e3ff; font-family: var(--mono); font-size: 11.5px; line-height: 1.7; white-space: pre-wrap; word-break: break-all; }
@media (max-width: 1100px) { .dev-layout { grid-template-columns: 1fr; } }
.dev-metrics { display: flex; flex-wrap: wrap; gap: 14px; padding-bottom: 10px; border-bottom: 1px dashed var(--line); margin-bottom: 8px; font-size: 12px; color: var(--muted); }
.dev-metrics b { color: var(--text); font-size: 13.5px; margin-left: 3px; }
.tenant-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 16px; }
.tenant-stat { border: 1px solid var(--line); border-radius: 11px; background: #fff; padding: 14px 16px; }
.tenant-stat span { display: block; font-size: 12px; color: var(--muted-2); margin-bottom: 4px; }
.tenant-stat b { font-size: 22px; color: var(--text); font-variant-numeric: tabular-nums; }
.tenant-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.tenant-org { border: 1px solid var(--line); border-radius: 11px; padding: 14px; background: #fbfcff; }
.tenant-org-head { display: flex; align-items: flex-start; gap: 8px; justify-content: space-between; }
.tenant-kv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; margin-top: 12px; padding-top: 10px; border-top: 1px dashed var(--line); }
.tenant-kv div { display: flex; flex-direction: column; gap: 2px; }
.tenant-kv span { font-size: 11.5px; color: var(--muted-2); }
.tenant-kv b { font-size: 12.5px; color: var(--text-2); }
.tenant-private { display: flex; gap: 7px; flex-wrap: wrap; margin-top: 10px; }
.tenant-private span { font-size: 11.5px; color: var(--muted); background: #f2f5fb; border-radius: 5px; padding: 3px 6px; }
.tenant-records { max-height: 300px; overflow: auto; border: 1px solid var(--line); border-radius: 9px; padding: 8px 10px; }
.tenant-record { display: flex; align-items: center; gap: 7px; padding: 5px 0; font-size: 12.5px; }
.tenant-record .mono { color: var(--muted); font-size: 11.5px; }
.tenant-check-all { display: flex; align-items: center; gap: 6px; padding-bottom: 6px; border-bottom: 1px dashed var(--line); font-size: 12.5px; }
@media (max-width: 900px) { .tenant-stats { grid-template-columns: 1fr 1fr; } .tenant-grid { grid-template-columns: 1fr; } }
.ai-layout { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(300px, .9fr); gap: 16px; }
.ai-chat-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; min-height: 620px; }
.ai-chat-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 16px; border-bottom: 1px solid var(--line); }
.ai-chat-head > div { display: flex; flex-direction: column; gap: 2px; }
.ai-chat-head b { font-size: 13.5px; }
.ai-chat-head span { font-size: 12px; color: var(--muted); }
.ai-messages { flex: 1; overflow-y: auto; padding: 18px 16px; display: flex; flex-direction: column; gap: 14px; background: linear-gradient(180deg, #fbfcff, #fff); }
.ai-msg { display: flex; gap: 9px; max-width: 92%; }
.ai-msg.user { align-self: flex-end; justify-content: flex-end; }
.ai-msg.assistant { align-self: flex-start; }
.ai-bubble { padding: 10px 13px; border-radius: 12px; font-size: 13px; line-height: 1.8; color: var(--text-2); background: #f3f6fc; border: 1px solid #e9eef9; }
.ai-msg.user .ai-bubble { background: #2457e6; border-color: #2457e6; color: #fff; border-bottom-right-radius: 4px; }
.ai-msg.assistant .ai-bubble { border-bottom-left-radius: 4px; background: #fff; }
.ai-avatar { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: linear-gradient(145deg, #2457e6, #13a8a8); color: #fff; font-size: 12px; font-weight: 700; flex: 0 0 28px; }
.ai-content { min-width: 0; }
.ai-tool-row { display: flex; align-items: center; flex-wrap: wrap; gap: 5px; margin-top: 7px; }
.ai-tool-row .tag code { font-family: var(--mono); font-size: 11.5px; }
.ai-meta { display: flex; align-items: center; gap: 6px; margin-top: 7px; flex-wrap: wrap; }
.ai-meta span { font-size: 11.5px; color: var(--muted-2); margin-right: auto; }
.ai-composer { display: flex; gap: 8px; padding: 12px 14px; border-top: 1px solid var(--line); background: #fff; }
.ai-composer textarea { flex: 1; resize: none; border: 1px solid var(--line); border-radius: 9px; padding: 9px 11px; font-size: 13px; font-family: inherit; outline: none; }
.ai-composer textarea:focus { border-color: #9db6ee; box-shadow: 0 0 0 3px #edf2ff; }
.ai-side { min-width: 0; }
.ai-status-list div { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; border-bottom: 1px dashed var(--line); font-size: 12px; }
.ai-status-list b { font-size: 12px; color: var(--text-2); max-width: 60%; overflow: hidden; text-overflow: ellipsis; }
.ai-tool-list div { display: flex; flex-direction: column; gap: 2px; padding: 6px 0; border-bottom: 1px dashed var(--line); }
.ai-tool-list code { font-family: var(--mono); font-size: 11.5px; color: var(--primary); }
.ai-tool-list span { font-size: 12px; color: var(--muted); }
.ai-examples { display: flex; flex-direction: column; gap: 6px; }
.ai-examples button { text-align: left; border: 1px solid var(--line); background: #fbfcff; border-radius: 7px; padding: 7px 8px; font-size: 12px; color: var(--text-2); cursor: pointer; }
.ai-examples button:hover { border-color: #b9caff; background: #f4f8ff; }
.ai-dots { animation: aiPulse 1s infinite; }
@keyframes aiPulse { 50% { opacity: .25; } }
@media (max-width: 1000px) { .ai-layout { grid-template-columns: 1fr; } .ai-chat-card { min-height: 560px; } }
.ai-rfq-text { margin: 0; padding: 14px; border-radius: 9px; background: #0e1729; color: #d7e3ff; font-family: var(--mono); font-size: 12px; line-height: 1.8; white-space: pre-wrap; max-height: 380px; overflow: auto; }
.ai-review-summary { padding: 10px 12px; background: #f5f8ff; border: 1px solid #e2eaff; border-radius: 8px; font-size: 12.5px; line-height: 1.8; color: var(--text-2); margin-bottom: 12px; }
.ai-review-risk { display: flex; gap: 10px; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.ai-review-risk:last-child { border-bottom: 0; }
.ai-review-risk > div:last-child { flex: 1; }
.ai-review-risk b { font-size: 12.5px; }
.ai-review-risk p { margin: 3px 0; font-size: 12px; color: var(--muted); line-height: 1.6; }
.ai-review-risk span { font-size: 12px; color: var(--text-2); }
.ai-review-level { flex: 0 0 28px; height: 20px; border-radius: 5px; display: grid; place-items: center; font-size: 11.5px; font-weight: 700; color: #fff; background: #6b7a99; }
.ai-review-risk.high .ai-review-level { background: #d94b4b; }
.ai-review-risk.mid .ai-review-level { background: #d99a2b; }
.ai-review-risk.low .ai-review-level { background: #3f9d73; }
.ai-compare-table { width: 100%; border-collapse: collapse; font-size: 12.5px; margin-top: 4px; }
.ai-compare-table th { text-align: left; font-weight: 600; color: var(--muted); font-size: 11.5px; padding: 7px 8px; border-bottom: 1px solid var(--line); background: #fafbff; }
.ai-compare-table td { padding: 9px 8px; border-bottom: 1px dashed var(--line); color: var(--text-2); }
.ai-compare-table tr.best td { background: #f5f9ff; }
.ai-doc-row { display: flex; align-items: center; gap: 8px; padding: 7px 0; border-bottom: 1px dashed var(--line); }
.ai-doc-row:last-child { border-bottom: 0; }
.ai-doc-row > div { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ai-doc-row b { font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ai-doc-row span { font-size: 11.5px; color: var(--muted); }
.ai-eval-row { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px dashed var(--line); }
.ai-eval-row > div { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.ai-eval-row b { font-size: 12.5px; }
.ai-eval-row span { font-size: 12px; color: var(--muted); }
.ai-eval-create { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.ai-eval-create > b { font-size: 12.5px; }
.market-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 16px; }
.market-strip > div { display: flex; flex-direction: column; gap: 3px; padding: 13px 16px; background: #fff; border: 1px solid var(--line); border-radius: 11px; }
.market-strip b { font-size: 20px; color: var(--text); }
.market-strip span { font-size: 12px; color: var(--muted); }
.agent-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.agent-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 13px; padding: 16px; }
.agent-card-head { display: flex; align-items: flex-start; gap: 10px; }
.agent-icon { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; background: linear-gradient(145deg, #eef3ff, #eaf8f7); color: var(--primary); flex: 0 0 32px; }
.agent-title { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.agent-title b { font-size: 13.5px; line-height: 1.4; }
.agent-card p { font-size: 12px; color: var(--muted); line-height: 1.7; margin: 9px 0 10px; min-height: 36px; }
.agent-actions { display: flex; align-items: center; margin-top: auto; padding-top: 10px; border-top: 1px dashed var(--line); }
.agent-actions button { margin-left: auto; }
@media (max-width: 1100px) { .agent-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 700px) { .agent-grid { grid-template-columns: 1fr; } .market-strip { grid-template-columns: 1fr 1fr; } }
.agent-stats { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 8px; padding-top: 8px; border-top: 1px dashed var(--line); font-size: 11.5px; color: var(--muted); }
.agent-stats b { color: var(--text-2); font-size: 12px; margin-left: 2px; }
.ai-doc-chat { height: 340px; overflow-y: auto; padding: 10px 2px; display: flex; flex-direction: column; gap: 10px; background: #fbfcff; border: 1px solid var(--line); border-radius: 9px; margin-bottom: 8px; }
.ai-doc-chat .ai-msg { max-width: 92%; }
.ai-doc-chat .ai-bubble { font-size: 12.5px; }
.market-insights { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 16px; }
.market-rank { display: flex; align-items: center; gap: 9px; padding: 8px 0; border-bottom: 1px dashed var(--line); }
.market-rank:last-child { border-bottom: 0; }
.market-rank > div { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.market-rank b { font-size: 12.5px; }
.market-rank span { font-size: 11.5px; color: var(--muted); }
.rank-no { flex: 0 0 20px; height: 20px; display: grid; place-items: center; border-radius: 5px; background: #f1f4fb; color: var(--muted); font-size: 11.5px; font-weight: 700; }
.market-rank:first-child .rank-no { background: #fff4dc; color: #b7791f; }
.market-bill-total { display: flex; align-items: baseline; gap: 8px; padding-bottom: 8px; border-bottom: 1px dashed var(--line); margin-bottom: 4px; }
.market-bill-total b { font-size: 20px; }
.market-bill-total span { font-size: 12px; color: var(--muted); }
@media (max-width: 900px) { .market-insights { grid-template-columns: 1fr; } }
.market-unbilled { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 7px 0; border-bottom: 1px dashed var(--line); font-size: 12px; color: var(--muted); }
.market-insights { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1100px) { .market-insights { grid-template-columns: 1fr 1fr; } }
@media (max-width: 700px) { .market-insights { grid-template-columns: 1fr; } }

/* ===== AI Command Center redesign ===== */
.ai-command-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(260px, .55fr);
  gap: 26px;
  align-items: center;
  margin: 4px 0 16px;
  padding: 30px 32px;
  border-radius: 20px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(700px 260px at 78% 15%, rgba(43, 92, 255, .42), transparent 62%),
    radial-gradient(500px 300px at 8% 120%, rgba(14, 165, 164, .25), transparent 65%),
    linear-gradient(135deg, #08101f 0%, #0c1b35 52%, #10254b 100%);
  box-shadow: 0 24px 50px -28px rgba(8, 20, 45, .55);
}
.ai-command-hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 34px 34px; mask-image: linear-gradient(90deg, transparent, #000 45%, #000);
  opacity: .55;
}
.ai-command-copy { position: relative; z-index: 1; }
.ai-kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 11.5px; letter-spacing: .16em; color: #a9c3ff; font-weight: 700; }
.ai-kicker i { width: 6px; height: 6px; border-radius: 50%; background: #4ee1c1; box-shadow: 0 0 0 4px rgba(78,225,193,.14), 0 0 18px rgba(78,225,193,.75); }
.ai-command-hero h1 { margin: 14px 0 10px; font-size: clamp(28px, 3vw, 42px); line-height: 1.18; letter-spacing: -.045em; font-weight: 650; }
.ai-command-hero h1 em { font-style: normal; color: #93b3ff; }
.ai-command-hero p { max-width: 580px; margin: 0; color: #a9b8d3; font-size: 13px; line-height: 1.9; }
.ai-command-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 22px; }
.btn-hero { background: #fff; color: #10224a; border-color: #fff; box-shadow: 0 8px 24px -8px rgba(255,255,255,.3); font-weight: 650; }
.btn-hero:hover { background: #edf3ff; border-color: #edf3ff; }
.ai-command-status { display: flex; align-items: center; gap: 9px; color: #8fa3c2; font-size: 12px; }
.ai-command-status .badge { border: 1px solid rgba(255,255,255,.16); }
.ai-command-metrics { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ai-command-metrics > div { padding: 15px 14px; border: 1px solid rgba(255,255,255,.12); border-radius: 13px; background: rgba(255,255,255,.055); backdrop-filter: blur(12px); min-width: 0; }
.ai-command-metrics span { display: block; color: #8fa4c4; font-size: 11.5px; margin-bottom: 5px; }
.ai-command-metrics b { display: block; color: #f3f7ff; font-size: 15px; letter-spacing: -.03em; white-space: nowrap; overflow: visible; }

.ai-dashboard-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; align-items: start; }
.ai-dashboard-grid > .card { margin-top: 0 !important; border-radius: 16px; border-color: #e2e9f5; box-shadow: 0 8px 24px -18px rgba(15,30,60,.18); }
.ai-dashboard-grid > .card .card-head { padding: 15px 16px 0; }
.ai-dashboard-grid > .card .card-title { font-size: 13px; letter-spacing: -.01em; }
.ai-dashboard-grid > .card .card-body { padding: 10px 16px 16px; }
.ai-dashboard-grid .ai-side { min-width: 0; }

.ai-chat-fab {
  position: fixed; right: 28px; bottom: 28px; z-index: 80;
  display: flex; align-items: center; gap: 9px; padding: 9px 15px 9px 9px;
  color: #fff; border: 1px solid rgba(255,255,255,.18); border-radius: 999px;
  background: linear-gradient(135deg, #12306b, #0d1c39); box-shadow: 0 16px 34px -12px rgba(8,20,45,.6);
  cursor: pointer; font-size: 12.5px; font-weight: 600;
}
.ai-chat-fab:hover { transform: translateY(-1px); }
.ai-fab-orbit { display: grid; place-items: center; width: 31px; height: 31px; border-radius: 50%; background: linear-gradient(145deg,#2b5cff,#0ea5a4); font-size: 11.5px; letter-spacing: .04em; box-shadow: 0 0 0 4px rgba(43,92,255,.14); }
.ai-fab-label { color: #dce7ff; }
.ai-chat-dock {
  position: fixed; right: 24px; bottom: 24px; z-index: 90; width: min(430px, calc(100vw - 36px));
  height: min(740px, calc(100vh - 40px)); display: none; flex-direction: column; overflow: hidden;
  border: 1px solid #dbe4f4; border-radius: 20px; background: #fff;
  box-shadow: 0 34px 80px -30px rgba(8,20,45,.55), 0 10px 30px -18px rgba(8,20,45,.35);
}
.ai-chat-dock.open { display: flex; animation: aiDockIn .22s ease-out; }
@keyframes aiDockIn { from { opacity: 0; transform: translateY(10px) scale(.985); } to { opacity: 1; transform: none; } }
.ai-chat-dock .ai-chat-head { padding: 13px 14px; background: linear-gradient(135deg, #0b1730, #10264b); color: #fff; border-bottom: 0; }
.ai-chat-brand { display: flex; align-items: center; gap: 9px; min-width: 0; }
.ai-chat-mark { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: linear-gradient(145deg,#2b5cff,#0ea5a4); font-size: 11.5px; font-weight: 700; box-shadow: 0 0 0 4px rgba(43,92,255,.13); }
.ai-chat-brand > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ai-chat-brand b { font-size: 13px; color: #fff; }
.ai-chat-brand span { font-size: 11.5px; color: #9fb2d0; }
.ai-chat-head-actions { display: flex; align-items: center; gap: 7px; }
.ai-chat-head-actions .badge { font-size: 11.5px; padding: 4px 7px; }
.ai-chat-close { display: grid; place-items: center; width: 27px; height: 27px; border: 1px solid rgba(255,255,255,.14); border-radius: 8px; color: #c3d2ea; background: rgba(255,255,255,.06); cursor: pointer; }
.ai-chat-close:hover { background: rgba(255,255,255,.14); }
.ai-chat-close .ico { width: 13px; height: 13px; }
.ai-chat-dock .ai-messages { flex: 1; min-height: 0; padding: 16px 14px; background: linear-gradient(180deg, #fbfcff, #fff); }
.ai-chat-dock .ai-composer { padding: 11px 12px 7px; gap: 7px; }
.ai-chat-dock .ai-composer textarea { min-height: 42px; max-height: 104px; padding: 10px 11px; font-size: 12.5px; border-radius: 11px; background: #fbfcff; }
.ai-chat-dock .ai-composer .btn { align-self: flex-end; padding: 8px 11px; font-size: 12px; }
.ai-composer-hint { padding: 0 14px 10px; color: var(--muted-2); font-size: 11.5px; }
.ai-chat-welcome { padding: 12px 6px; }
.ai-welcome-mark { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: linear-gradient(145deg,#2b5cff,#0ea5a4); color: #fff; font-size: 12px; font-weight: 700; margin-bottom: 10px; box-shadow: 0 8px 20px -10px rgba(43,92,255,.6); }
.ai-chat-welcome b { display: block; font-size: 13.5px; }
.ai-chat-welcome p { margin: 5px 0 12px; color: var(--muted); font-size: 12px; line-height: 1.75; }
.ai-welcome-quick { display: flex; flex-direction: column; gap: 6px; }
.ai-welcome-quick button { text-align: left; padding: 8px 9px; border: 1px solid var(--line); border-radius: 8px; background: #fbfcff; color: var(--text-2); font-size: 12px; cursor: pointer; }
.ai-welcome-quick button:hover { border-color: #b9caff; background: #f4f8ff; }
.ai-chat-dock .ai-msg { max-width: 96%; }
.ai-chat-dock .ai-bubble { font-size: 12.5px; line-height: 1.75; }
.ai-chat-dock .ai-meta span { font-size: 11.5px; }

@media (max-width: 1160px) {
  .ai-command-hero { grid-template-columns: 1fr; gap: 20px; padding: 26px; }
  .ai-command-metrics { grid-template-columns: repeat(4, 1fr); }
  .ai-dashboard-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .ai-command-metrics { grid-template-columns: repeat(2, 1fr); }
  .ai-dashboard-grid { grid-template-columns: 1fr; }
  .ai-chat-fab { right: 16px; bottom: 16px; }
  .ai-chat-dock { right: 8px; bottom: 8px; width: calc(100vw - 16px); height: calc(100vh - 16px); border-radius: 16px; }
}

.ai-chat-suggest { margin-top: 10px; padding: 12px; border: 1px solid #e5ecf8; border-radius: 12px; background: #fbfcff; }
.ai-chat-suggest-title { font-size: 11.5px; color: var(--muted-2); letter-spacing: .04em; margin-bottom: 8px; }
.ai-chat-suggest button { display: block; width: 100%; text-align: left; margin-top: 5px; padding: 8px 9px; border: 1px solid #e4eaf5; border-radius: 8px; background: #fff; color: var(--text-2); font-size: 12px; line-height: 1.5; cursor: pointer; }
.ai-chat-suggest button:hover { border-color: #b9caff; background: #f4f8ff; }

/* AI dashboard masonry: avoid row-height holes between unequal cards */
.ai-dashboard-grid { display: block; column-count: 3; column-gap: 14px; }
.ai-dashboard-grid > .card { display: inline-block; width: 100%; vertical-align: top; break-inside: avoid; margin: 0 0 14px !important; }
@media (max-width: 1160px) { .ai-dashboard-grid { column-count: 2; } }
@media (max-width: 720px) { .ai-dashboard-grid { column-count: 1; } }

.ai-chat-new { border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.06); color: #c3d2ea; border-radius: 8px; padding: 5px 8px; font-size: 11.5px; cursor: pointer; }
.ai-chat-new:hover { background: rgba(255,255,255,.14); }

.ai-chat-dock { width: min(560px, calc(100vw - 32px)); height: min(900px, calc(100vh - 32px)); }
.ai-chat-history { border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.06); color: #d4e2fa; border-radius: 8px; padding: 6px 9px; font-size: 11.5px; cursor: pointer; }
.ai-chat-history:hover { background: rgba(255,255,255,.14); }
.ai-chat-new { padding: 7px 11px; font-weight: 650; color: #fff; border-color: rgba(255,255,255,.28); background: rgba(43,92,255,.55); }
.ai-chat-new:hover { background: rgba(43,92,255,.8); }
.ai-conv-row { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 10px; text-align: left; border: 1px solid var(--line); background: #fbfcff; border-radius: 9px; padding: 10px 11px; margin-bottom: 7px; cursor: pointer; }
.ai-conv-row:hover { border-color: #b9caff; background: #f4f8ff; }
.ai-conv-row > div { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.ai-conv-row b { font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ai-conv-row span { font-size: 11.5px; color: var(--muted); }
.ai-chat-head-actions { flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 720px) { .ai-chat-dock { width: calc(100vw - 16px); height: calc(100vh - 16px); } }

.ai-chat-head-actions { flex-wrap: nowrap; justify-content: flex-end; }
.ai-chat-brand > div > span { white-space: nowrap; }

/* Chat dock: conversation rail on the left */
.ai-chat-dock { width: min(820px, calc(100vw - 32px)); height: min(900px, calc(100vh - 32px)); }
.ai-chat-body { display: flex; flex: 1; min-height: 0; }
.ai-chat-history-panel { width: 190px; flex: none; display: flex; flex-direction: column; min-height: 0; border-right: 1px solid #e6edf8; background: #f8faff; }
.ai-chat-history-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 11px 9px; }
.ai-chat-history-head b { font-size: 12px; color: var(--text-2); letter-spacing: .02em; }
.ai-chat-history-head button { border: 0; background: var(--primary); color: #fff; border-radius: 7px; padding: 5px 8px; font-size: 11.5px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.ai-chat-history-head button:hover { background: var(--primary-deep); }
.ai-chat-history-list { flex: 1; overflow-y: auto; padding: 0 8px 10px; }
.ai-conv-item { display: flex; flex-direction: column; gap: 3px; width: 100%; text-align: left; border: 1px solid transparent; background: transparent; border-radius: 8px; padding: 8px 8px; margin-bottom: 3px; cursor: pointer; }
.ai-conv-item:hover { background: #fff; border-color: #dce6f7; }
.ai-conv-item.active { background: #eef3ff; border-color: #c9d8fa; }
.ai-conv-item b { font-size: 11.5px; font-weight: 600; color: var(--text-2); line-height: 1.4; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.ai-conv-item span { font-size: 11.5px; color: var(--muted-2); }
.ai-conv-empty { padding: 10px 4px; font-size: 11.5px; color: var(--muted-2); }
.ai-chat-conversation { flex: 1; min-width: 0; min-height: 0; display: flex; flex-direction: column; }
.ai-chat-conversation .ai-messages { flex: 1; min-height: 0; }
@media (max-width: 720px) {
  .ai-chat-dock { width: calc(100vw - 16px); height: calc(100vh - 16px); }
  .ai-chat-history-panel { width: 148px; }
  .ai-chat-history-head b { font-size: 11.5px; }
  .ai-chat-history-head button { padding: 5px 6px; font-size: 11.5px; }
}

/* Headless screenshots can freeze CSS entrance animations; keep the dock fully opaque. */
.ai-chat-dock.open { animation: none; opacity: 1; }

.ai-radar-row { display: grid; grid-template-columns: 1fr auto; gap: 3px 8px; padding: 9px 0; border-bottom: 1px dashed var(--line); }
.ai-radar-row:last-child { border-bottom: 0; }
.ai-radar-row b { font-size: 12px; color: var(--text-2); }
.ai-radar-row span { display: block; font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.ai-radar-score { font-size: 12.5px; font-weight: 700; color: var(--primary); }
.ai-radar-match { grid-column: 1 / -1; margin-top: 2px; }

.ai-radar-insights { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ai-radar-insights > div { padding: 9px; border: 1px solid #e8eef9; border-radius: 9px; background: #fbfcff; min-width: 0; }
.ai-radar-insights b { display: block; font-size: 16px; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ai-radar-insights span { display: block; font-size: 11.5px; color: var(--muted); margin-top: 2px; }

/* 产业洞察 */
.ind-loading { padding: 40px; color: var(--muted); font-size: 13px; text-align: center; }
.ind-hero { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding: 26px 28px; border-radius: 18px; color: #fff; background: radial-gradient(600px 260px at 80% 10%, rgba(43,92,255,.45), transparent 65%), linear-gradient(135deg,#091426,#10274d); margin-bottom: 16px; }
.ind-kicker { font-size: 11.5px; letter-spacing: .16em; color: #91b4f8; font-weight: 700; }
.ind-hero h2 { margin: 10px 0 6px; font-size: 30px; letter-spacing: -.05em; font-weight: 650; }
.ind-hero h2 em { font-style: normal; color: #98baff; }
.ind-hero p { margin: 0; font-size: 12.5px; color: #9eb1cf; }
.ind-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; min-width: 420px; }
.ind-stats > div { padding: 12px; border: 1px solid rgba(255,255,255,.12); border-radius: 11px; background: rgba(255,255,255,.055); }
.ind-stats b { display: block; font-size: 20px; color: #fff; }
.ind-stats span { display: block; font-size: 11.5px; color: #91a5c4; margin-top: 3px; }
.ind-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-items: start; }
.ind-panel { border-radius: 15px; }
.ind-connectors { grid-column: 1 / -1; }
.ind-row { padding: 7px 0; }
.ind-row-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 5px; }
.ind-row-top b { font-size: 12px; color: var(--text-2); }
.ind-row-top span { font-size: 11.5px; color: var(--muted); }
.ind-bar { height: 5px; border-radius: 5px; background: #edf1f8; overflow: hidden; }
.ind-bar i { display: block; height: 100%; border-radius: inherit; }
.ind-cross { display: grid; grid-template-columns: 1fr auto auto; gap: 8px; align-items: center; padding: 8px 0; border-bottom: 1px dashed var(--line); }
.ind-cross:last-child { border-bottom: 0; }
.ind-cross b { display: block; font-size: 12px; color: var(--text-2); }
.ind-cross span { display: block; font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.ind-cross strong { font-size: 12px; color: var(--text); }
.ind-cross em { font-size: 11.5px; color: var(--muted); font-style: normal; }
.ind-gap { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px dashed var(--line); }
.ind-gap:last-child { border-bottom: 0; }
.ind-gap b { font-size: 12px; color: var(--text-2); }
.ind-gap span { display: block; font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.ind-gap-low, .ind-gap-ok { font-size: 11.5px; padding: 4px 7px; border-radius: 6px; }
.ind-gap-low { color: var(--red); background: var(--red-soft); }
.ind-gap-ok { color: var(--green); background: var(--green-soft); }
.ind-connector { display: flex; align-items: flex-start; gap: 11px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.ind-connector:last-child { border-bottom: 0; }
.ind-avatar { width: 32px; height: 32px; border-radius: 10px; flex: none; display: grid; place-items: center; color: #fff; background: linear-gradient(145deg,#2b5cff,#0ea5a4); font-size: 13px; font-weight: 700; }
.ind-connector > div:nth-child(2) { flex: 1; min-width: 0; }
.ind-connector b { font-size: 12.5px; }
.ind-connector span { font-size: 11.5px; color: var(--muted); margin-left: 6px; }
.ind-connector p { margin: 4px 0 6px; font-size: 12px; color: var(--muted); line-height: 1.6; }
.ind-tags { display: flex; flex-wrap: wrap; gap: 4px; }
.ind-tags span { font-size: 11.5px; color: var(--primary); background: var(--primary-soft); border-radius: 4px; padding: 2px 5px; }
@media (max-width: 900px) { .ind-hero { flex-direction: column; align-items: flex-start; } .ind-stats { min-width: 0; width: 100%; grid-template-columns: repeat(2,1fr); } .ind-grid { grid-template-columns: 1fr; } .ind-connectors { grid-column: auto; } }

.ind-referrals { grid-column: 1 / -1; }
.ind-referral { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px dashed var(--line); }
.ind-referral:last-child { border-bottom: 0; }
.ind-referral b { display: block; font-size: 12px; }
.ind-referral span { display: block; font-size: 11.5px; color: var(--muted); margin-top: 2px; }

.ind-referral-actions { display: flex; gap: 4px; }
.ind-referral-actions button { border: 1px solid #dce6f7; background: #fff; border-radius: 6px; padding: 4px 6px; font-size: 11.5px; color: var(--text-2); cursor: pointer; }
.ind-referral-actions button:hover { border-color: #b9caff; color: var(--primary); background: #f4f8ff; }

.ind-network { margin-bottom: 14px; }
.ind-network-canvas { height: 360px; width: 100%; }
@media (max-width: 700px) { .ind-network-canvas { height: 280px; } }

.ind-opportunities, .ind-referrals { grid-column: 1 / -1; }
.ind-opp { display: flex; align-items: center; gap: 8px; padding: 9px 0; border-bottom: 1px dashed var(--line); }
.ind-opp:last-child { border-bottom: 0; }
.ind-opp > div { flex: 1; min-width: 0; }
.ind-opp b { display: block; font-size: 12px; color: var(--text-2); }
.ind-opp span { display: block; font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.ind-opp strong { font-size: 13px; color: var(--primary); }

.ind-funnel { margin-bottom: 14px; }
.ind-funnel-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 9px; }
.ind-funnel-grid > div { padding: 10px; border: 1px solid #e8eef9; border-radius: 9px; background: #fbfcff; }
.ind-funnel-grid b { display: block; font-size: 18px; color: var(--text); }
.ind-funnel-grid span { display: block; font-size: 11.5px; color: var(--muted); margin-top: 2px; }
@media (max-width: 800px) { .ind-funnel-grid { grid-template-columns: repeat(3, 1fr); } }

.ind-data { margin-bottom: 14px; }
.ind-data-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px dashed var(--line); }
.ind-data-row:last-child { border-bottom: 0; }
.ind-data-row b { display: block; font-size: 12px; color: var(--text-2); }
.ind-data-row span { display: block; font-size: 11.5px; color: var(--muted); margin-top: 2px; }

.ind-followups { margin-bottom: 14px; }
.ind-followup { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px dashed var(--line); }
.ind-followup:last-child { border-bottom: 0; }
.ind-followup b { display: block; font-size: 12px; color: var(--text-2); }
.ind-followup span { display: block; font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.ind-followup button { border: 1px solid #dce6f7; background: #fff; border-radius: 6px; padding: 4px 7px; font-size: 11.5px; color: var(--primary); cursor: pointer; }

.ind-followup em { font-style: normal; color: var(--red); font-size: 11.5px; margin-left: 6px; }

.ind-touch { border: 1px solid #dce6f7; background: #fff; border-radius: 6px; padding: 4px 6px; font-size: 11.5px; color: var(--primary); cursor: pointer; }
.ind-touch:hover { background: #f4f8ff; }
.ind-outreach { margin-bottom: 14px; }
.ind-outreach-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px dashed var(--line); }
.ind-outreach-row:last-child { border-bottom: 0; }
.ind-outreach-row b { display: block; font-size: 12px; color: var(--text-2); }
.ind-outreach-row span { display: block; font-size: 11.5px; color: var(--muted); margin-top: 2px; }

.ind-msg-list { max-height: 320px; overflow: auto; padding: 8px; border: 1px solid var(--line); border-radius: 9px; background: #fbfcff; }
.ind-msg { display: flex; flex-direction: column; gap: 2px; padding: 7px 9px; margin-bottom: 6px; border-radius: 8px; background: #fff; border: 1px solid #e8eef9; }
.ind-msg b { font-size: 11.5px; color: var(--primary); }
.ind-msg span { font-size: 12px; color: var(--text-2); line-height: 1.6; }
.ind-msg em { font-style: normal; font-size: 11.5px; color: var(--muted-2); }

.ind-reply { display: inline-block; margin-top: 3px; font-size: 11.5px; color: var(--primary); font-style: normal; background: var(--primary-soft); border-radius: 4px; padding: 2px 5px; }

/* user dropdown */
.user-wrap { position: relative; }
.user { border: 0; background: transparent; font-family: inherit; cursor: pointer; border-radius: 10px; padding: 4px 6px 4px 14px; }
.user:hover { background: #f6f8fd; }
.user-caret { font-size: 11.5px; color: var(--muted-2); margin-left: 1px; }
.user-menu { position: absolute; right: 0; top: calc(100% + 10px); width: 226px; background: #fff; border: 1px solid var(--line); border-radius: 13px; box-shadow: 0 18px 44px rgba(20,40,80,.16); padding: 7px; z-index: 120; }
.user-menu[hidden] { display: none; }
.user-menu.open { display: block; }
.user-menu-head { padding: 11px 12px 12px; border-bottom: 1px solid var(--line); margin-bottom: 5px; }
.um-name { font-size: 13px; font-weight: 700; color: var(--text); }
.um-role { font-size: 12px; color: var(--muted); margin-top: 3px; }
.um-org { font-size: 12px; color: var(--primary); margin-top: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.user-menu-item { display: block; width: 100%; text-align: left; border: 0; background: transparent; padding: 9px 12px; border-radius: 8px; font-family: inherit; font-size: 12.5px; color: var(--text-2); cursor: pointer; }
.user-menu-item:hover { background: #f4f7fd; color: var(--primary); }
.user-menu-item.danger { color: var(--red); }
.user-menu-item.danger:hover { background: var(--red-soft); }
.user-menu-sep { height: 1px; background: var(--line); margin: 5px 8px; }
.user-profile-list div { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px dashed var(--line); font-size: 13px; }
.user-profile-list div:last-child { border-bottom: 0; }
.user-profile-list span { color: var(--muted); }
.user-profile-list b { color: var(--text-2); text-align: right; word-break: break-all; }
@media (max-width: 760px) { .user-meta { display: none; } .user { padding-left: 1px; } .user-menu { right: -4px; } }

/* user dropdown refinements */
.user-menu { width: 244px; padding: 8px; border-radius: 14px; }
.user-menu::before { content: ""; position: absolute; top: -6px; right: 27px; width: 10px; height: 10px; background: #fff; border-left: 1px solid var(--line); border-top: 1px solid var(--line); transform: rotate(45deg); }
.user-menu-head { padding: 12px 13px 13px; }
.um-name { font-size: 13.5px; }
.user-menu-item { display: flex; align-items: center; gap: 8px; padding: 10px 13px; font-size: 13px; transition: background .15s, color .15s; }
.user-menu-item::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: #c5d2ea; flex: none; }
.user-menu-item:hover::before { background: var(--primary); }
.user-menu-item.danger::before { background: #e6a3a3; }
.user-caret { transition: transform .15s; display: inline-block; }
.user-wrap.open .user-caret { transform: rotate(180deg); }

/* Qichacha data */
.qcc-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 16px; align-items: start; }
.qcc-search-card { margin-bottom: 14px; }
.qcc-search-row { display: flex; gap: 9px; align-items: center; }
.qcc-search-row .input { min-width: 0; }
.qcc-search-row .select { width: 150px; flex: none; }
.qcc-status { display: flex; align-items: center; gap: 10px; margin-top: 10px; font-size: 12px; }
.qcc-online { color: #087a51; font-weight: 600; }
.qcc-offline { color: var(--muted-2); }
.qcc-source { font-size: 12px; font-weight: 600; color: #087a51; background: #e9f9f2; border: 1px solid #c5eedd; border-radius: 999px; padding: 4px 10px; letter-spacing: .5px; }
.qcc-result-card .card-head { align-items: flex-start; }
.qcc-result-actions { display: flex; align-items: center; gap: 8px; }
.qcc-kv-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 22px; }
.qcc-kv { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: 12.5px; }
.qcc-kv.wide { grid-column: 1 / -1; }
.qcc-kv span { flex: none; width: 92px; color: var(--muted); }
.qcc-kv b { color: var(--text-2); font-weight: 500; text-align: right; line-height: 1.6; white-space: pre-wrap; word-break: break-word; }
.qcc-list-item { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.qcc-list-item:last-child { border-bottom: 0; }
.qcc-list-no { width: 22px; height: 22px; border-radius: 50%; background: var(--primary-soft); color: var(--primary); font-size: 12px; display: grid; place-items: center; flex: none; }
.qcc-list-body { flex: 1; min-width: 0; }
.qcc-cap div { display: grid; grid-template-columns: 8px 1fr; grid-template-rows: auto auto; column-gap: 8px; padding: 8px 0; border-bottom: 1px dashed var(--line); }
.qcc-cap div:last-child { border-bottom: 0; }
.qcc-cap .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--primary); margin-top: 5px; grid-row: 1 / span 2; }
.qcc-cap b { font-size: 12px; color: var(--text-2); }
.qcc-cap em { grid-column: 2; font-style: normal; font-size: 11.5px; color: var(--muted-2); font-family: var(--mono); }
.qcc-note p { margin: 0 0 10px; font-size: 12px; color: var(--muted); line-height: 1.7; }
.qcc-note p:last-child { margin-bottom: 0; }
.qcc-note code { font-size: 11.5px; color: var(--primary); background: var(--primary-soft); padding: 1px 4px; border-radius: 4px; }
@media (max-width: 1000px) { .qcc-layout { grid-template-columns: 1fr; } .qcc-side { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; } }
@media (max-width: 640px) { .qcc-search-row { flex-wrap: wrap; } .qcc-search-row .input { flex: 1 1 100%; } .qcc-search-row .select { flex: 1; } .qcc-kv-grid { grid-template-columns: 1fr; } .qcc-kv.wide { grid-column: auto; } .qcc-side { grid-template-columns: 1fr; } }

.qcc-scenarios { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 14px; }
.qcc-scenario { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px; }
.qcc-scenario b { font-size: 13px; color: var(--text); }
.qcc-scenario p { margin: 7px 0 0; font-size: 12px; line-height: 1.65; color: var(--muted); }
.qcc-result-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 20px; border-top: 1px solid var(--line); background: #fbfcff; }
@media (max-width: 700px) { .qcc-scenarios { grid-template-columns: 1fr; } .qcc-result-foot { flex-direction: column; align-items: flex-start; } }

.qcc-candidate { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; border: 1px solid var(--line); background: #fff; border-radius: 10px; padding: 10px 12px; margin-top: 8px; font-family: inherit; cursor: pointer; }
.qcc-candidate:hover { border-color: #b9caff; background: #f8faff; }
.qcc-candidate-no { width: 22px; height: 22px; border-radius: 50%; background: var(--primary-soft); color: var(--primary); font-size: 12px; display: grid; place-items: center; flex: none; }
.qcc-candidate b { display: block; font-size: 12.5px; color: var(--text-2); }
.qcc-candidate em { display: block; margin-top: 2px; font-style: normal; font-size: 11.5px; color: var(--muted-2); font-family: var(--mono); }

.qcc-history { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin: 2px 0 12px; min-height: 24px; }
.qcc-history-item { border: 1px solid var(--line); background: #f8faff; color: var(--text-2); border-radius: 999px; padding: 4px 10px; font-family: inherit; font-size: 12px; cursor: pointer; }
.qcc-history-item:hover { border-color: #b9caff; color: var(--primary); background: #fff; }

.qcc-enrich-action { display: flex; align-items: center; gap: 10px; margin-top: 14px; }
.qcc-enrich-action .tiny { line-height: 1.5; }
.qcc-ai-result { border: 1px solid #dbe5ff; border-radius: 12px; background: #f6f9ff; padding: 14px; }
.qcc-ai-head { display: flex; align-items: center; gap: 8px; }
.qcc-ai-badge { font-size: 11.5px; font-weight: 700; letter-spacing: .5px; color: #2455d6; background: #e8efff; border-radius: 999px; padding: 3px 8px; }
.qcc-ai-head b { font-size: 12px; color: var(--muted); font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.qcc-ai-summary { margin-top: 10px; font-size: 12.5px; line-height: 1.7; color: var(--text-2); }
.qcc-ai-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.qcc-ai-grid div { background: #fff; border: 1px solid #e6edfb; border-radius: 8px; padding: 8px 10px; }
.qcc-ai-grid span { display: block; font-size: 11.5px; color: var(--muted-2); }
.qcc-ai-grid b { display: block; margin-top: 3px; font-size: 12px; color: var(--text-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.qcc-ai-row { display: flex; gap: 10px; margin-top: 9px; font-size: 12px; }
.qcc-ai-row > span { width: 60px; flex: none; color: var(--muted); }
.qcc-ai-row em { display: inline-block; margin: 0 4px 4px 0; font-style: normal; color: var(--primary); background: #fff; border: 1px solid #dbe5ff; border-radius: 4px; padding: 2px 6px; }
.qcc-ai-opps { margin-top: 12px; padding-top: 10px; border-top: 1px dashed #dbe5ff; }
.qcc-ai-opps > div { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; font-size: 12px; }
.qcc-ai-opps b { color: var(--text-2); font-weight: 500; }
.qcc-ai-opps span { color: #087a51; font-size: 11.5px; flex: none; }

/* value-added edition */
.value-hero { background: linear-gradient(135deg,#102454,#0d1b3e); border-radius: 20px; padding: 26px 28px; color: #fff; display: flex; justify-content: space-between; gap: 24px; align-items: center; }
.value-kicker { font-size: 11.5px; letter-spacing: 1.8px; color: #9fb8ff; font-weight: 700; }
.value-hero h2 { margin: 9px 0 6px; font-size: 25px; font-weight: 800; }
.value-hero p { margin: 0; color: #b7c7ea; font-size: 12.5px; line-height: 1.6; }
.value-plan-name { display: inline-flex; align-items: center; gap: 7px; margin-top: 14px; font-size: 13px; font-weight: 700; color: #fff; }
.value-plan-name span { color: #087a51; background: #e9f9f2; border-radius: 999px; padding: 2px 7px; font-size: 11.5px; }
.value-hero-stats { display: flex; gap: 8px; }
.value-hero-stats div { min-width: 74px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); border-radius: 10px; padding: 10px 12px; }
.value-hero-stats b { display: block; font-size: 20px; }
.value-hero-stats span { display: block; margin-top: 3px; font-size: 11.5px; color: #aabde2; }
.value-action-row { display: flex; align-items: center; gap: 12px; margin: 12px 0 16px; }
.value-tabs { display: flex; gap: 4px; margin: 0 0 12px; border-bottom: 1px solid var(--line); }
.value-tabs button { border: 0; background: transparent; padding: 9px 14px; font-family: inherit; font-size: 13px; color: var(--muted); cursor: pointer; border-bottom: 2px solid transparent; }
.value-tabs button.active { color: var(--primary); border-bottom-color: var(--primary); font-weight: 600; }
.value-search { display: flex; gap: 6px; align-items: center; }
.value-search .input { width: 230px; height: 30px; }
.value-enterprise { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.value-enterprise:last-child { border-bottom: 0; }
.value-enterprise-title { font-size: 13px; font-weight: 600; color: var(--text); }
.value-verified { color: #087a51; background: #e9f9f2; border: 1px solid #c5eedd; border-radius: 999px; padding: 2px 7px; font-size: 11.5px; font-weight: 600; }
.value-enterprise-actions { display: flex; gap: 6px; flex-shrink: 0; }
.value-services { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.value-service { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px; }
.value-service b { font-size: 13px; }
.value-service p { margin: 7px 0 10px; font-size: 12px; line-height: 1.6; color: var(--muted); }
.value-service em { font-style: normal; font-size: 11.5px; color: var(--primary); background: var(--primary-soft); border-radius: 4px; padding: 3px 6px; }
.value-plan-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; }
.value-plan-card { border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.value-plan-card b { font-size: 13.5px; }
.value-plan-meta { display: flex; flex-direction: column; gap: 4px; margin: 10px 0 12px; font-size: 12px; color: var(--muted); }
@media (max-width: 900px) { .value-hero { flex-direction: column; align-items: flex-start; } .value-hero-stats { width: 100%; } .value-services { grid-template-columns: 1fr 1fr; } .value-plan-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .value-services { grid-template-columns: 1fr; } .value-plan-grid { grid-template-columns: 1fr; } .value-search .input { width: 150px; } .value-enterprise { align-items: flex-start; flex-direction: column; } }

.value-digest-summary { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; margin-bottom: 14px; }
.value-digest-summary div { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 13px; }
.value-digest-summary b { display: block; font-size: 22px; color: var(--text); }
.value-digest-summary span { display: block; margin-top: 3px; font-size: 11.5px; color: var(--muted); }
.value-digest-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 11px 0; border-bottom: 1px dashed var(--line); }
.value-digest-row:last-child { border-bottom: 0; }
.value-digest-row b { font-size: 13px; }
.value-digest-row span { display: block; margin-top: 3px; font-size: 12px; color: var(--muted); }
.value-digest-row em { font-style: normal; font-size: 11.5px; color: var(--muted-2); white-space: nowrap; }
@media (max-width: 700px) { .value-digest-summary { grid-template-columns: 1fr 1fr; } }

.value-expiry { color: #9a6213; background: #fff6e5; border-radius: 999px; padding: 2px 7px; font-size: 11.5px; font-weight: 500; }

.trust-badge { display: inline-flex; align-items: center; padding: 2px 6px; border-radius: 999px; background: #e9f9f2; border: 1px solid #c5eedd; color: #087a51; font-size: 11.5px; font-weight: 600; }

.value-home-head { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:12px; }
.value-home-link { color:var(--primary); font-size:12px; text-decoration:none; margin-left:8px; }
.value-home-stats { display:grid; grid-template-columns:repeat(3,1fr); gap:8px; margin-bottom:14px; }
.value-home-stats div { background:#f8faff; border:1px solid var(--line); border-radius:10px; padding:10px; }
.value-home-stats b { display:block; font-size:13.5px; }
.value-home-stats span { display:block; margin-top:3px; font-size:11.5px; color:var(--muted); }
.value-home-summary { font-size:12.5px; line-height:1.7; color:var(--text-2); }
.value-home-block { margin-top:10px; font-size:12px; }
.value-home-block b { display:block; color:var(--muted); margin-bottom:4px; }
.value-home-block p { margin:0; line-height:1.6; color:var(--text-2); }
.value-home-block span { display:inline-block; background:#eef3ff; color:var(--primary); border-radius:4px; padding:2px 6px; margin:0 4px 4px 0; }

.value-agent-result { margin-top: 14px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: #f8faff; }
.value-agent-result b { font-size: 13.5px; }
.value-agent-result p { margin: 6px 0; font-size: 12.5px; color: var(--muted); line-height: 1.6; }
.value-agent-msg { margin: 10px 0; padding: 10px; background: #fff; border-radius: 8px; font-size: 12.5px; line-height: 1.7; color: var(--text-2); }

.value-agent-stats { display:grid; grid-template-columns:repeat(4,1fr); gap:8px; }
.value-agent-stats div { background:#f8faff; border:1px solid var(--line); border-radius:8px; padding:10px; }
.value-agent-stats b { display:block; font-size:18px; }
.value-agent-stats span { display:block; margin-top:3px; font-size:11.5px; color:var(--muted); }
@media (max-width:600px) { .value-agent-stats { grid-template-columns:1fr 1fr; } }

.value-agent-feedback { display:flex; gap:4px; align-items:center; }
.value-agent-feedback em { font-style:normal; color:#087a51; background:#e9f9f2; border-radius:999px; padding:2px 7px; font-size:11.5px; }

/* ===== 增值服务 · AI 增长驾驶舱 ===== */
.value-command { position: relative; overflow: hidden; border-radius: 22px; padding: 30px 32px; display: flex; justify-content: space-between; gap: 28px; align-items: center; background: radial-gradient(1100px 380px at 8% -20%, #24488f 0%, transparent 60%), linear-gradient(128deg,#0a1734,#102652 58%,#0b1d40); color: #fff; box-shadow: 0 18px 50px rgba(12,28,68,.22); }
.value-command::after { content: ""; position: absolute; width: 340px; height: 340px; right: -100px; top: -160px; border-radius: 50%; border: 1px solid rgba(255,255,255,.14); box-shadow: 0 0 0 48px rgba(255,255,255,.025), 0 0 0 96px rgba(255,255,255,.018); pointer-events: none; }
.value-command-copy { position: relative; z-index: 1; max-width: 650px; }
.value-eyebrow { font-size: 11.5px; font-weight: 700; letter-spacing: 2.2px; color: #9fb8ff; }
.value-command h1 { margin: 10px 0 10px; font-size: 30px; line-height: 1.22; letter-spacing: -.5px; font-weight: 700; }
.value-command h1 em { color: #9fc0ff; font-style: normal; }
.value-command p { margin: 0; max-width: 610px; font-size: 13px; line-height: 1.75; color: #b9c8e5; }
.value-command-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; margin-top: 18px; }
.value-ghost { color: #dce7ff !important; border-color: rgba(255,255,255,.24) !important; background: rgba(255,255,255,.06) !important; }
.value-command-actions .value-expiry { color: #c7d7f4; background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.12); }
.value-command-metrics { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; min-width: 330px; }
.value-command-metric { background: rgba(255,255,255,.065); border: 1px solid rgba(255,255,255,.11); border-radius: 13px; padding: 12px 14px; backdrop-filter: blur(8px); }
.value-command-metric b { display: block; font-size: 22px; line-height: 1.1; letter-spacing: -.3px; }
.value-command-metric span { display: block; margin-top: 5px; font-size: 12px; font-weight: 600; color: #e6edff; }
.value-command-metric small { display: block; margin-top: 2px; font-size: 11.5px; color: #91a8d1; }
.value-loop { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 0; margin: 14px 0 4px; border: 1px solid var(--line); border-radius: 16px; background: #fff; overflow: hidden; }
.value-loop-step { display: flex; align-items: center; gap: 10px; padding: 13px 14px; border: 0; border-right: 1px solid var(--line); background: #fff; text-align: left; cursor: pointer; font-family: inherit; position: relative; transition: background .15s; }
.value-loop-step:last-child { border-right: 0; }
.value-loop-step:hover { background: #f7f9ff; }
.value-loop-no { font-size: 11.5px; font-weight: 700; color: #9fb1d4; align-self: flex-start; margin-top: 2px; }
.value-loop-body { min-width: 0; flex: 1; }
.value-loop-body b { display: block; font-size: 12.5px; color: var(--text); }
.value-loop-body strong { display: block; margin-top: 2px; font-size: 13.5px; color: var(--primary); font-weight: 700; }
.value-loop-body small { display: block; margin-top: 1px; font-size: 11.5px; color: var(--muted); }
.value-loop-go { font-size: 11.5px; color: var(--muted-2); white-space: nowrap; }
.value-dash-grid { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: 14px; align-items: start; }
.value-dash-main { min-width: 0; }
.value-section { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 20px; margin-bottom: 14px; }
.value-section-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; margin-bottom: 15px; }
.value-section-kicker { display: block; font-size: 11.5px; letter-spacing: 1.6px; font-weight: 700; color: #8399c2; }
.value-section-head h2 { margin: 5px 0 3px; font-size: 18px; letter-spacing: -.2px; }
.value-section-head p { margin: 0; font-size: 12px; color: var(--muted); line-height: 1.55; }
.value-link { border: 0; background: transparent; padding: 0; color: var(--primary); font-family: inherit; font-size: 12px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.value-link:hover { text-decoration: underline; }
.value-recommend-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.value-recommend { border: 1px solid #e7ecf8; border-radius: 12px; padding: 12px; display: flex; flex-direction: column; gap: 8px; background: #fbfcff; }
.value-recommend-icon { width: 26px; height: 26px; border-radius: 8px; background: #eef3ff; color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 15px; }
.value-recommend-copy b { display: block; font-size: 12.5px; }
.value-recommend-copy p { margin: 3px 0 0; font-size: 12px; line-height: 1.6; color: var(--muted); min-height: 31px; }
.value-glyph { line-height: 1; }
.value-company-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.value-company-card { border: 1px solid #e8edf8; border-left: 3px solid #dfe6f4; border-radius: 12px; padding: 12px 13px; background: #fff; min-width: 0; }
.value-company-card.is-trusted { border-left-color: #22a06b; background: linear-gradient(180deg,#fbfefc,#fff); }
.value-company-top { display: flex; align-items: center; gap: 8px; }
.value-company-avatar { width: 28px; height: 28px; border-radius: 9px; background: #eef3ff; color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; flex-shrink: 0; }
.value-company-title { min-width: 0; flex: 1; }
.value-company-title b { display: block; font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.value-company-title span { display: block; margin-top: 2px; font-size: 11.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.value-trusted { font-size: 11.5px; color: #087a51; background: #e9f9f2; border: 1px solid #c5eedd; padding: 2px 6px; border-radius: 999px; white-space: nowrap; }
.value-untrusted { font-size: 11.5px; color: #8a6a24; background: #fff6e5; border: 1px solid #f5e3bd; padding: 2px 6px; border-radius: 999px; white-space: nowrap; }
.value-company-tags { display: flex; flex-wrap: wrap; gap: 4px; margin: 9px 0 8px; }
.value-company-tags span { font-size: 11.5px; color: var(--muted); background: #f4f7fc; border-radius: 4px; padding: 2px 5px; }
.value-company-actions { display: flex; align-items: center; gap: 7px; border-top: 1px dashed #edf1f8; padding-top: 8px; }
.value-company-actions .value-link { font-size: 11.5px; }
.value-mini { border: 1px solid #e2e9f6; background: #fff; color: var(--text-2); border-radius: 5px; padding: 3px 6px; font-size: 11.5px; font-family: inherit; cursor: pointer; }
.value-mini:hover { border-color: var(--primary); color: var(--primary); }
.value-dash-side { display: flex; flex-direction: column; gap: 12px; }
.value-side-card { border: 1px solid var(--line); border-radius: 16px; background: #fff; padding: 16px; }
.value-side-plan { background: linear-gradient(155deg,#0f2249,#142d5e); color: #fff; border: 0; }
.value-side-head { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: #b8c8e6; margin-bottom: 10px; }
.value-side-plan .value-expiry { color: #d6e2fb; background: rgba(255,255,255,.1); border: 0; }
.value-side-big { font-size: 31px; font-weight: 700; letter-spacing: -.6px; }
.value-side-big small { font-size: 12px; font-weight: 400; color: #a9bde0; letter-spacing: 0; }
.value-side-bar { height: 4px; background: rgba(255,255,255,.12); border-radius: 999px; overflow: hidden; margin: 10px 0 12px; }
.value-side-bar span { display: block; height: 100%; background: #6f9cff; border-radius: 999px; }
.value-side-row { display: flex; justify-content: space-between; font-size: 11.5px; color: #aebfdf; padding: 4px 0; }
.value-side-row b { color: #fff; font-weight: 600; }
.value-side-actions { display: flex; gap: 6px; margin-top: 12px; }
.value-side-actions .btn { flex: 1; }
.value-side-cta { width: 100%; margin-top: 12px; border: 1px solid #dfe8fb; background: #f6f9ff; color: var(--primary); border-radius: 9px; padding: 9px 10px; font-family: inherit; font-size: 12px; font-weight: 600; display: flex; justify-content: space-between; cursor: pointer; }
.value-side-cta:hover { background: #edf3ff; }
.value-agent-mini { display: grid; grid-template-columns: repeat(4,1fr); gap: 4px; }
.value-agent-mini div { background: #f8faff; border-radius: 7px; padding: 7px 5px; text-align: center; }
.value-agent-mini b { display: block; font-size: 16px; }
.value-agent-mini span { font-size: 11.5px; color: var(--muted); }
.value-side-note { background: #fbfcff; }
.value-side-note p { margin: 6px 0 0; font-size: 12px; line-height: 1.7; color: var(--muted); }
.value-side-note b { color: var(--text-2); }
.value-intel-stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; margin-bottom: 14px; }
.value-intel-stats div { border: 1px solid #e9eef8; border-radius: 10px; padding: 11px; background: #fbfcff; }
.value-intel-stats b { display: block; font-size: 20px; }
.value-intel-stats span { font-size: 11.5px; color: var(--muted); }
.value-intel-list { border-top: 1px solid #eef2f9; }
.value-intel-row { display: flex; align-items: center; gap: 10px; padding: 11px 0; border-bottom: 1px dashed #edf1f8; }
.value-intel-dot { width: 7px; height: 7px; border-radius: 50%; background: #22a06b; flex-shrink: 0; }
.value-intel-row div:nth-child(2) { flex: 1; min-width: 0; }
.value-intel-row b { display: block; font-size: 12.5px; }
.value-intel-row span { display: block; margin-top: 2px; font-size: 11.5px; color: var(--muted); }
.value-intel-row em { font-style: normal; font-size: 11.5px; color: #087a51; background: #e9f9f2; border-radius: 999px; padding: 2px 6px; }
.value-agent-kpis { display: grid; grid-template-columns: repeat(5,1fr); gap: 7px; margin-bottom: 13px; }
.value-agent-kpis div { background: #f8faff; border: 1px solid #e9eef8; border-radius: 9px; padding: 9px; text-align: center; }
.value-agent-kpis b { display: block; font-size: 18px; }
.value-agent-kpis span { font-size: 11.5px; color: var(--muted); }
.value-agent-feed { border-top: 1px solid #eef2f9; }
.value-agent-feed-row { display: flex; align-items: center; gap: 9px; padding: 10px 0; border-bottom: 1px dashed #edf1f8; }
.value-agent-kind { width: 25px; height: 25px; border-radius: 7px; background: #eef3ff; color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; flex-shrink: 0; }
.value-agent-feed-row > div:nth-child(2) { flex: 1; min-width: 0; }
.value-agent-feed-row b { display: block; font-size: 12px; }
.value-agent-feed-row span { display: block; margin-top: 2px; font-size: 11.5px; color: var(--muted); }
.value-agent-feed-row em { font-style: normal; font-size: 11.5px; color: #087a51; background: #e9f9f2; padding: 2px 6px; border-radius: 999px; }
.value-order-list { border-top: 1px solid #eef2f9; }
.value-order-row { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px dashed #edf1f8; }
.value-order-row b { display: block; font-size: 12.5px; }
.value-order-row span { display: block; margin-top: 2px; font-size: 11.5px; color: var(--muted); }
.value-order-paid { font-style: normal; font-size: 11.5px; color: #087a51; background: #e9f9f2; padding: 3px 7px; border-radius: 999px; }
.value-empty { border: 1px dashed #dce5f4; border-radius: 12px; padding: 24px; text-align: center; background: #fbfcff; }
.value-empty b { display: block; font-size: 13px; }
.value-empty span { display: block; margin-top: 4px; font-size: 12px; color: var(--muted); }
.value-loading { padding: 60px; text-align: center; color: var(--muted); font-size: 12.5px; }
.value-diagnosis-intro { font-size: 12.5px; color: var(--muted); margin-bottom: 12px; }
.value-diagnosis-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.value-diagnosis-list div { border: 1px solid #e8edf8; border-radius: 10px; padding: 12px; }
.value-diagnosis-list span { display: block; font-size: 11.5px; color: var(--muted); }
.value-diagnosis-list b { display: block; margin-top: 4px; font-size: 13.5px; }
.value-diagnosis-list p { margin: 4px 0 0; font-size: 11.5px; color: var(--muted); line-height: 1.5; }
@media (max-width: 1080px) { .value-command { flex-direction: column; align-items: flex-start; } .value-command-metrics { width: 100%; grid-template-columns: repeat(4,1fr); min-width: 0; } .value-dash-grid { grid-template-columns: 1fr; } .value-dash-side { display: grid; grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) { .value-command-metrics { grid-template-columns: 1fr 1fr; } .value-loop { grid-template-columns: 1fr 1fr; } .value-loop-step:nth-child(2) { border-right: 0; } .value-loop-step:nth-child(-n+2) { border-bottom: 1px solid var(--line); } .value-recommend-grid, .value-company-grid { grid-template-columns: 1fr; } .value-dash-side { grid-template-columns: 1fr; } .value-intel-stats { grid-template-columns: 1fr 1fr; } .value-agent-kpis { grid-template-columns: 1fr 1fr; } .value-command h1 { font-size: 26px; } .value-command { padding: 22px; } }

.value-collab-intro { border:1px solid #dfe8f9; background:#f8faff; border-radius:11px; padding:12px; margin-bottom:12px; }
.value-collab-intro b { font-size:13px; }
.value-collab-intro p { margin:5px 0 0; font-size:11.5px; line-height:1.6; color:var(--muted); }
.value-collab-choices { display:grid; grid-template-columns:1fr 1fr; gap:8px; }
.value-collab-choices button { text-align:left; border:1px solid #e2eaf7; border-radius:10px; background:#fff; padding:12px; font-family:inherit; cursor:pointer; }
.value-collab-choices button:hover { border-color:#a9c0eb; background:#f8faff; }
.value-collab-choices b { display:block; font-size:12.5px; color:var(--text); }
.value-collab-choices span { display:block; margin-top:3px; font-size:11.5px; color:var(--muted); line-height:1.5; }
.value-orchestrator-note { margin-top:10px; font-size:11.5px; color:var(--muted-2); }
@media(max-width:700px){ .value-collab-choices { grid-template-columns:1fr; } }

.value-collab-form { display:grid; grid-template-columns:1.2fr 1fr 1fr auto; gap:8px; align-items:end; margin-bottom:12px; }
.value-collab-form label { display:block; font-size:11.5px; color:var(--muted); margin-bottom:4px; }
.value-collab-form .input, .value-collab-form .select { height:31px; }
.value-orchestrator-result { border:1px solid #dbe7fb; background:#f8faff; border-radius:11px; padding:12px; margin-bottom:12px; }
.value-orchestrator-engine { font-size:11.5px; font-weight:700; color:var(--primary); letter-spacing:.5px; }
.value-orchestrator-result > p { margin:5px 0 10px; font-size:12px; color:var(--muted); line-height:1.5; }
.value-orchestrator-step { display:flex; gap:8px; padding:7px 0; border-top:1px dashed #e1e9f7; }
.value-orchestrator-step > span { width:18px; height:18px; border-radius:50%; background:#e8f0ff; color:var(--primary); display:flex; align-items:center; justify-content:center; font-size:11.5px; flex-shrink:0; }
.value-orchestrator-step b { display:block; font-size:12px; }
.value-orchestrator-step p { margin:2px 0 0; font-size:11.5px; color:var(--muted); }
@media(max-width:800px){ .value-collab-form { grid-template-columns:1fr; } }

.value-home-progress { height:3px; background:#edf2fb; border-radius:999px; margin-top:5px; overflow:hidden; }
.value-home-progress i { display:block; height:100%; background:#5c8df6; border-radius:999px; }
.value-home-facts { display:grid; grid-template-columns:repeat(3,1fr); gap:7px; margin:10px 0 12px; }
.value-home-facts div { border:1px solid #e9eef8; border-radius:7px; padding:7px 9px; background:#fbfcff; min-width:0; }
.value-home-facts span { display:block; font-size:11.5px; color:var(--muted); }
.value-home-facts b { display:block; margin-top:2px; font-size:11.5px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.value-home-gap { border:1px dashed #dbe6f7; background:#fbfcff; border-radius:9px; padding:12px; }
.value-home-gap b { display:block; font-size:12.5px; }
.value-home-gap p { margin:4px 0 9px; font-size:11.5px; line-height:1.6; color:var(--muted); }
.value-home-resource-row { display:grid; grid-template-columns:repeat(4,1fr); gap:7px; }
.value-home-resource-row div { border:1px solid #e9eef8; border-radius:8px; padding:8px; background:#fbfcff; text-align:center; }
.value-home-resource-row b { display:block; font-size:16px; }
.value-home-resource-row span { font-size:11.5px; color:var(--muted); }
.value-home-actions { display:flex; align-items:center; flex-wrap:wrap; gap:6px; margin-top:12px; border-top:1px dashed #e8eef8; padding-top:10px; }
.value-home-actions > span { font-size:11.5px; color:var(--muted); margin-right:2px; }
@media(max-width:650px){ .value-home-facts { grid-template-columns:1fr 1fr; } .value-home-resource-row { grid-template-columns:1fr 1fr; } }

/* 商家生态 */
.merchant-hero { border-radius:18px; padding:24px 26px; background:linear-gradient(120deg,#10244b,#1b3d70); color:#fff; display:flex; justify-content:space-between; align-items:center; gap:20px; margin-bottom:12px; }
.merchant-kicker { font-size:11.5px; letter-spacing:1.8px; color:#9fb8e8; font-weight:700; }
.merchant-hero h2 { margin:8px 0 6px; font-size:22px; letter-spacing:-.3px; }
.merchant-hero p { margin:0; font-size:12.5px; color:#b9c9e7; }
.merchant-stats { display:flex; gap:7px; }
.merchant-stats div { min-width:75px; background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.11); border-radius:10px; padding:9px 11px; }
.merchant-stats b { display:block; font-size:20px; }
.merchant-stats span { display:block; margin-top:2px; font-size:11.5px; color:#aabfe0; }
.merchant-tabs { display:flex; gap:4px; border-bottom:1px solid var(--line); margin-bottom:12px; }
.merchant-tabs button { border:0; background:transparent; padding:9px 13px; font-family:inherit; font-size:12.5px; color:var(--muted); cursor:pointer; border-bottom:2px solid transparent; }
.merchant-tabs button.active { color:var(--primary); border-bottom-color:var(--primary); font-weight:600; }
.merchant-brand-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:10px; }
.merchant-brand { border:1px solid var(--line); border-radius:13px; background:#fff; padding:14px; }
.merchant-brand-top { display:flex; align-items:center; gap:8px; }
.merchant-brand-icon { width:30px; height:30px; border-radius:9px; background:#eef3ff; color:var(--primary); display:flex; align-items:center; justify-content:center; font-weight:700; font-size:13px; flex-shrink:0; }
.merchant-brand-top > div:nth-child(2) { flex:1; min-width:0; }
.merchant-brand-top b { display:block; font-size:13px; }
.merchant-brand-top span { display:block; margin-top:2px; font-size:11.5px; color:var(--muted); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.merchant-brand-top em { font-style:normal; font-size:11.5px; color:var(--primary); background:var(--primary-soft); border-radius:5px; padding:3px 6px; }
.merchant-brand p { min-height:34px; margin:10px 0; font-size:11.5px; line-height:1.6; color:var(--muted); }
.merchant-brand-foot { display:flex; justify-content:space-between; align-items:center; gap:8px; border-top:1px dashed #edf1f8; padding-top:8px; }
.merchant-brand-foot span { font-size:11.5px; color:var(--muted-2); }
.merchant-store-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:9px; }
.merchant-store { border:1px solid var(--line); border-radius:11px; background:#fff; padding:12px; }
.merchant-store-top { display:flex; justify-content:space-between; gap:8px; }
.merchant-store-top b { font-size:12.5px; }
.merchant-store-top span { font-size:11.5px; color:#087a51; background:#e9f9f2; border-radius:999px; padding:2px 6px; }
.merchant-store-brand { margin-top:5px; font-size:11.5px; color:var(--primary); }
.merchant-store-addr { margin-top:4px; font-size:11.5px; color:var(--muted); line-height:1.5; }
.merchant-store-foot { display:flex; justify-content:space-between; margin-top:9px; padding-top:7px; border-top:1px dashed #edf1f8; font-size:11.5px; color:var(--muted-2); }
.merchant-opp-grid { display:grid; grid-template-columns:1fr 1fr; gap:9px; }
.merchant-opp { border:1px solid var(--line); border-radius:11px; background:#fff; padding:13px; }
.merchant-opp-top { display:flex; justify-content:space-between; align-items:center; }
.merchant-opp-top span { font-size:11.5px; color:var(--primary); background:var(--primary-soft); border-radius:4px; padding:2px 6px; }
.merchant-opp-top em { font-style:normal; font-size:11.5px; color:var(--muted); }
.merchant-opp > b { display:block; margin-top:8px; font-size:12.5px; }
.merchant-opp p { margin:5px 0 9px; font-size:11.5px; line-height:1.6; color:var(--muted); }
.merchant-opp-foot { display:flex; justify-content:space-between; border-top:1px dashed #edf1f8; padding-top:7px; font-size:11.5px; color:var(--muted-2); }
.merchant-open { color:#087a51; }
.merchant-toolbar { display:flex; justify-content:space-between; align-items:center; margin-bottom:9px; font-size:11.5px; color:var(--muted); }
@media(max-width:1000px){ .merchant-brand-grid,.merchant-store-grid { grid-template-columns:1fr 1fr; } }
@media(max-width:700px){ .merchant-hero { flex-direction:column; align-items:flex-start; } .merchant-stats { flex-wrap:wrap; } .merchant-brand-grid,.merchant-store-grid,.merchant-opp-grid { grid-template-columns:1fr; } }

.merchant-import-form { display:grid; grid-template-columns:1.2fr 1fr 1fr auto; gap:8px; align-items:end; }
.merchant-import-form label { display:block; font-size:11.5px; color:var(--muted); margin-bottom:4px; }
.merchant-import-form .input,.merchant-import-form .select { height:31px; }
.merchant-import-list { max-height:300px; overflow:auto; border:1px solid #e8eef8; border-radius:9px; margin-top:10px; }
.merchant-import-list label { display:flex; gap:8px; align-items:flex-start; padding:9px 10px; border-bottom:1px dashed #edf1f8; cursor:pointer; }
.merchant-import-list label:last-child { border-bottom:0; }
.merchant-import-list input { margin-top:2px; }
.merchant-import-list b { display:block; font-size:12px; }
.merchant-import-list span { display:block; margin-top:2px; font-size:11.5px; color:var(--muted); }
@media(max-width:700px){ .merchant-import-form { grid-template-columns:1fr; } }

.merchant-map { height:260px; border:1px solid #e3eaf6; border-radius:12px; background:#f5f8ff; margin-bottom:10px; overflow:hidden; position:relative; }
.merchant-map-placeholder { height:100%; display:flex; align-items:center; justify-content:center; font-size:12px; color:var(--muted); }
.merchant-claimed { font-style:normal; font-size:11.5px; color:#087a51; background:#e9f9f2; border-radius:999px; padding:2px 6px; }

.merchant-rank { background:#fff; border:1px solid var(--line); border-radius:11px; padding:10px 12px; margin-bottom:10px; }
.merchant-rank-title { font-size:11.5px; color:var(--muted); margin-bottom:6px; letter-spacing:.5px; }
.merchant-rank > div:not(.merchant-rank-title) { display:flex; align-items:center; gap:7px; font-size:11.5px; margin:4px 0; }
.merchant-rank span { width:42px; color:var(--muted); }
.merchant-rank i { height:5px; background:#dce8ff; border-radius:999px; min-width:8px; }
.merchant-rank b { color:var(--text-2); font-size:11.5px; }
.merchant-service-cats { display:flex; flex-wrap:wrap; gap:5px; margin-bottom:12px; }
.merchant-service-cats span { font-size:11.5px; color:var(--primary); background:var(--primary-soft); border-radius:4px; padding:3px 7px; }
.merchant-service-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:9px; }
.merchant-service { border:1px solid var(--line); border-radius:11px; background:#fff; padding:12px; }
.merchant-service-top { display:flex; justify-content:space-between; gap:7px; }
.merchant-service-top b { font-size:12.5px; }
.merchant-service-top span { font-size:11.5px; color:var(--primary); background:var(--primary-soft); border-radius:4px; padding:2px 5px; }
.merchant-service p { margin:7px 0; min-height:27px; font-size:11.5px; line-height:1.5; color:var(--muted); }
.merchant-service-foot { display:flex; justify-content:space-between; gap:6px; border-top:1px dashed #edf1f8; padding-top:7px; font-size:11.5px; color:var(--muted-2); }
@media(max-width:900px){ .merchant-service-grid { grid-template-columns:1fr 1fr; } }
@media(max-width:600px){ .merchant-service-grid { grid-template-columns:1fr; } }

.merchant-service-actions { display:flex; gap:6px; }
.merchant-request-list { margin-top:14px; border-top:1px solid #eef2f9; padding-top:10px; }
.merchant-request-title { font-size:11.5px; letter-spacing:1px; color:var(--muted); font-weight:700; margin-bottom:5px; }
.merchant-request-row { display:flex; justify-content:space-between; gap:10px; padding:7px 0; border-bottom:1px dashed #edf1f8; }
.merchant-request-row b { display:block; font-size:12px; }
.merchant-request-row span { display:block; margin-top:2px; font-size:11.5px; color:var(--muted); }
.merchant-request-row em { font-style:normal; font-size:11.5px; color:var(--muted-2); }

.merchant-brand-actions { display:flex; gap:7px; }
.merchant-report-head { display:flex; justify-content:space-between; align-items:flex-start; margin-bottom:10px; }
.merchant-report-head b { font-size:13px; }
.merchant-report-head p { margin:4px 0 0; font-size:11.5px; color:var(--muted); }
.merchant-report-grid { display:grid; grid-template-columns:1fr 1fr; gap:9px; }
.merchant-report-card { border:1px solid var(--line); border-radius:11px; background:#fff; padding:12px; }
.merchant-report-top { display:flex; justify-content:space-between; gap:8px; }
.merchant-report-top b { font-size:12.5px; }
.merchant-report-top em { font-style:normal; font-size:12px; color:var(--primary); background:var(--primary-soft); border-radius:4px; padding:2px 6px; }
.merchant-report-meta { margin-top:5px; font-size:11.5px; color:var(--muted); }
.merchant-report-card p { margin:7px 0; font-size:11.5px; line-height:1.5; color:var(--text-2); }
.merchant-report-result { border:1px solid #dfe8f9; background:#f8faff; border-radius:10px; padding:12px; margin-top:10px; }
.merchant-report-score { font-size:30px; font-weight:700; color:var(--primary); }
.merchant-report-score span { font-size:11.5px; color:var(--muted); font-weight:400; margin-left:5px; }
.merchant-report-signals { display:grid; grid-template-columns:repeat(4,1fr); gap:6px; margin:8px 0; }
.merchant-report-signals div { background:#fff; border:1px solid #e8eef8; border-radius:6px; padding:6px; text-align:center; }
.merchant-report-signals b { display:block; font-size:13.5px; }
.merchant-report-signals span { font-size:11.5px; color:var(--muted); }
.merchant-report-result ul { margin:7px 0 0; padding-left:16px; font-size:11.5px; line-height:1.7; color:var(--text-2); }
@media(max-width:800px){ .merchant-report-grid { grid-template-columns:1fr; } .merchant-report-signals { grid-template-columns:1fr 1fr; } }

.merchant-diagnose-top { display:flex; align-items:center; gap:18px; border:1px solid #dfe8f9; background:#f8faff; border-radius:11px; padding:13px; margin-bottom:10px; }
.merchant-diagnose-score { font-size:30px; font-weight:700; color:var(--primary); min-width:55px; }
.merchant-diagnose-score span { display:block; font-size:11.5px; font-weight:400; color:var(--muted); }
.merchant-diagnose-bars { flex:1; display:flex; flex-direction:column; gap:5px; }
.merchant-diagnose-bars > div { display:flex; align-items:center; gap:7px; font-size:11.5px; color:var(--muted); }
.merchant-diagnose-bars span { width:60px; }
.merchant-diagnose-bars i { flex:1; height:4px; background:#e8eefb; border-radius:999px; overflow:hidden; }
.merchant-diagnose-bars b { display:block; height:100%; background:#5c8df6; border-radius:999px; }
.merchant-diagnose-bars em { width:20px; font-style:normal; text-align:right; color:var(--text-2); }
.merchant-diagnose-section { margin-top:10px; font-size:11.5px; color:var(--text-2); }
.merchant-diagnose-section b { display:block; margin-bottom:4px; color:var(--text); }
.merchant-diagnose-section ul { margin:0; padding-left:16px; line-height:1.7; }

.merchant-brand-actions { flex-wrap:wrap; }

.merchant-order-list { margin-top:10px; border-top:1px solid #eef2f9; padding-top:8px; }

.merchant-order-actions { display:flex; align-items:center; gap:6px; }

.merchant-request-actions { display:flex; align-items:center; gap:5px; flex-shrink:0; }

.merchant-toolbar-actions { display:flex; align-items:center; gap:7px; }

.merchant-finance-stats { display:grid; grid-template-columns:repeat(3,1fr); gap:9px; margin-bottom:10px; }
.merchant-finance-stats div { background:#fff; border:1px solid var(--line); border-radius:10px; padding:13px; }
.merchant-finance-stats b { display:block; font-size:20px; }
.merchant-finance-stats span { display:block; margin-top:3px; font-size:11.5px; color:var(--muted); }
@media(max-width:700px){ .merchant-finance-stats { grid-template-columns:1fr 1fr; } }

.merchant-doc-list { border-top:1px solid #eef2f9; }
.merchant-doc-row { display:flex; justify-content:space-between; align-items:center; gap:10px; padding:10px 0; border-bottom:1px dashed #edf1f8; }
.merchant-doc-row b { display:block; font-size:12px; }
.merchant-doc-row span { display:block; margin-top:2px; font-size:11.5px; color:var(--muted); }

.merchant-heat-head { display:flex; justify-content:space-between; align-items:flex-start; gap:12px; margin-bottom:10px; }
.merchant-heat-head b { font-size:13.5px; }
.merchant-heat-head p { margin:4px 0 0; font-size:11.5px; color:var(--muted); }
.merchant-heat-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:8px; }
.merchant-heat-card { background:#fff; border:1px solid var(--line); border-radius:10px; padding:11px; }
.merchant-heat-top { display:flex; justify-content:space-between; }
.merchant-heat-top b { font-size:12.5px; }
.merchant-heat-top em { font-style:normal; font-size:11.5px; color:var(--primary); }
.merchant-heat-bar { height:6px; background:#edf2fb; border-radius:999px; margin:8px 0 5px; overflow:hidden; }
.merchant-heat-bar i { display:block; height:100%; background:linear-gradient(90deg,#5c8df6,#24b08a); border-radius:999px; }
.merchant-heat-card span { font-size:11.5px; color:var(--muted); }
@media(max-width:800px){ .merchant-heat-grid { grid-template-columns:1fr 1fr; } }
@media(max-width:500px){ .merchant-heat-grid { grid-template-columns:1fr; } }

.merchant-amap-toolbar { display:flex; align-items:center; gap:7px; margin-bottom:10px; font-size:11.5px; color:var(--muted); }
.merchant-amap-toolbar .select { width:100px; height:29px; }
.merchant-amap-stats { display:grid; grid-template-columns:repeat(4,1fr); gap:7px; margin-bottom:10px; }
.merchant-amap-stats div { background:#f8faff; border:1px solid #e8eef8; border-radius:8px; padding:9px; text-align:center; }
.merchant-amap-stats b { display:block; font-size:18px; }
.merchant-amap-stats span { font-size:11.5px; color:var(--muted); }
.merchant-amap-block { padding:7px 0; border-top:1px dashed #edf1f8; font-size:11.5px; }
.merchant-amap-block b { display:inline-block; width:36px; color:var(--text-2); }
.merchant-amap-block span { color:var(--muted); }
@media(max-width:600px){ .merchant-amap-stats { grid-template-columns:1fr 1fr; } }

.merchant-map-note { position:absolute; left:10px; bottom:10px; z-index:3; background:rgba(16,38,82,.82); color:#fff; border-radius:6px; padding:5px 8px; font-size:11.5px; }

.merchant-ai { margin:12px 0 14px; background:linear-gradient(180deg,#f6f9ff,#fff); border:1px solid #dfe8f8; border-radius:16px; padding:18px; }
.merchant-ai-head { display:flex; justify-content:space-between; align-items:flex-start; gap:12px; margin-bottom:12px; }
.merchant-ai-head h2 { margin:5px 0 3px; font-size:20px; letter-spacing:-.2px; }
.merchant-ai-head p { margin:0; font-size:12px; color:var(--muted); }
.merchant-ai-live { font-size:11.5px; font-weight:700; color:#087a51; background:#e9f9f2; border:1px solid #c5eedd; border-radius:999px; padding:4px 8px; white-space:nowrap; }
.merchant-ai-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:8px; }
.merchant-ai-card { text-align:left; border:1px solid #e1eaf8; border-radius:10px; background:#fff; padding:12px; font-family:inherit; cursor:pointer; transition:border-color .15s, transform .15s; }
.merchant-ai-card:hover { border-color:#9cb7ea; transform:translateY(-1px); }
.merchant-ai-card > span { display:block; font-size:11.5px; letter-spacing:.7px; color:#7c96c7; font-weight:700; }
.merchant-ai-card > b { display:block; margin-top:5px; font-size:12.5px; color:var(--text); }
.merchant-ai-card > p { margin:4px 0 6px; font-size:11.5px; line-height:1.5; color:var(--muted); }
.merchant-ai-card > em { font-style:normal; font-size:11.5px; color:var(--primary); font-weight:600; }
.merchant-ai-insight { background:#10244b; border-color:#10244b; }
.merchant-ai-insight > span { color:#9fb8e6; }
.merchant-ai-insight > b { color:#fff; }
.merchant-ai-insight > p { color:#b9c9e7; }
.merchant-ai-insight > em { color:#9fc0ff; }
@media(max-width:900px){ .merchant-ai-grid { grid-template-columns:1fr 1fr; } }
@media(max-width:600px){ .merchant-ai-grid { grid-template-columns:1fr; } }

.merchant-match-list { border-top:1px solid #eef2f9; }
.merchant-match-row { display:flex; align-items:center; gap:10px; padding:10px 0; border-bottom:1px dashed #edf1f8; }
.merchant-match-score { width:32px; height:32px; border-radius:9px; background:#eef3ff; color:var(--primary); display:flex; align-items:center; justify-content:center; font-weight:700; font-size:13px; flex-shrink:0; }
.merchant-match-copy { flex:1; min-width:0; }
.merchant-match-copy b { display:block; font-size:12px; }
.merchant-match-copy span { display:block; margin-top:2px; font-size:11.5px; color:var(--muted); line-height:1.5; }

.merchant-next-summary { margin:8px 0 10px; font-size:12px; line-height:1.6; color:var(--muted); }
.merchant-next-list { border-top:1px solid #eef2f9; }
.merchant-next-row { display:flex; align-items:center; gap:9px; padding:10px 0; border-bottom:1px dashed #edf1f8; }
.merchant-next-rank { width:22px; height:22px; border-radius:7px; background:#eef3ff; color:var(--primary); display:flex; align-items:center; justify-content:center; font-size:12px; font-weight:700; flex-shrink:0; }
.merchant-next-copy { flex:1; min-width:0; }
.merchant-next-copy b { display:block; font-size:12px; }
.merchant-next-copy span { display:block; margin-top:2px; font-size:11.5px; color:var(--muted); }
.merchant-next-row strong { font-size:13px; color:var(--primary); }

.merchant-amap-score { display:grid; grid-template-columns:repeat(3,1fr); gap:7px; margin-bottom:9px; }
.merchant-amap-score div { background:linear-gradient(140deg,#10244b,#1a3c72); color:#fff; border-radius:9px; padding:10px; text-align:center; }
.merchant-amap-score b { display:block; font-size:22px; }
.merchant-amap-score span { font-size:11.5px; color:#b9c9e7; }
.merchant-amap-insight { border:1px solid #dfe8f9; background:#f8faff; border-radius:9px; padding:10px; margin-top:9px; font-size:11.5px; color:var(--text-2); }
.merchant-amap-insight > p { margin:5px 0; line-height:1.6; }
.merchant-amap-insight > b { display:block; margin-top:7px; font-size:11.5px; color:var(--text); }
.merchant-amap-insight ul { margin:4px 0 0; padding-left:15px; line-height:1.6; }

.merchant-network-summary { display:grid; grid-template-columns:repeat(6,1fr); gap:7px; margin-bottom:9px; }
.merchant-network-summary div { background:#fff; border:1px solid #e7edf8; border-radius:9px; padding:9px; text-align:center; }
.merchant-network-summary b { display:block; font-size:18px; }
.merchant-network-summary span { display:block; margin-top:2px; font-size:11.5px; color:var(--muted); }
.merchant-network-ai { display:flex; justify-content:space-between; align-items:center; gap:12px; background:linear-gradient(110deg,#10244b,#1a3b70); border-radius:11px; padding:12px 14px; margin-bottom:9px; color:#fff; }
.merchant-network-ai b { display:block; margin-top:4px; font-size:12.5px; }
.merchant-network-ai p { margin:3px 0 0; font-size:11.5px; color:#b9c9e7; }
.merchant-store-filters { display:flex; gap:6px; margin-bottom:8px; }
.merchant-store-filters .select { height:29px; width:125px; }
.merchant-store-health { font-size:11.5px !important; font-style:normal; border-radius:999px; padding:2px 6px; }
.merchant-store-health.good { background:#e9f9f2; color:#087a51; }
.merchant-store-health.mid { background:#fff6e5; color:#8a6a24; }
.merchant-store-health.low { background:#fdecec; color:#b33a3a; }
.merchant-store-tags { display:flex; flex-wrap:wrap; gap:4px; margin-top:6px; }
.merchant-store-tags span { font-size:11.5px; color:var(--muted); background:#f4f7fc; border-radius:4px; padding:2px 5px; }
@media(max-width:900px){ .merchant-network-summary { grid-template-columns:repeat(3,1fr); } }
@media(max-width:600px){ .merchant-network-summary { grid-template-columns:1fr 1fr; } .merchant-store-filters { flex-wrap:wrap; } }

.merchant-store-toolbar { display:flex; justify-content:space-between; align-items:center; gap:8px; margin-bottom:8px; }
.merchant-store-actions { display:flex; gap:6px; }
@media(max-width:700px){ .merchant-store-toolbar { align-items:flex-start; flex-direction:column; } }

.merchant-save-note { margin-top:7px; font-size:11.5px; color:#087a51; }
.merchant-analysis-head { display:flex; justify-content:space-between; align-items:flex-start; margin-bottom:10px; }
.merchant-analysis-head b { font-size:13.5px; }
.merchant-analysis-head p { margin:4px 0 0; font-size:11.5px; color:var(--muted); }
.merchant-analysis-list { border-top:1px solid #eef2f9; }
.merchant-analysis-row { display:flex; align-items:center; gap:9px; padding:10px 0; border-bottom:1px dashed #edf1f8; }
.merchant-analysis-type { flex-shrink:0; font-size:11.5px; color:var(--primary); background:var(--primary-soft); border-radius:4px; padding:3px 6px; }
.merchant-analysis-row > div { flex:1; min-width:0; }
.merchant-analysis-row b { display:block; font-size:12px; }
.merchant-analysis-row span { display:block; margin-top:2px; font-size:11.5px; color:var(--muted); }
.merchant-analysis-row em { font-style:normal; font-size:11.5px; color:#087a51; }

.audit-stats { display:grid; grid-template-columns:repeat(4,1fr); gap:9px; margin-bottom:12px; }
.audit-stats div { background:#fff; border:1px solid var(--line); border-radius:11px; padding:13px; }
.audit-stats b { display:block; font-size:22px; }
.audit-stats span { display:block; margin-top:3px; font-size:11.5px; color:var(--muted); }
.audit-table { max-height:560px; overflow:auto; border-top:1px solid #eef2f9; }
.audit-row { display:flex; justify-content:space-between; align-items:center; padding:7px 2px; border-bottom:1px dashed #edf1f8; }
.audit-row code { font-size:12px; color:var(--text-2); }
.audit-row span { font-size:12px; color:var(--primary); font-weight:600; }
@media(max-width:700px){ .audit-stats { grid-template-columns:1fr 1fr; } }

.audit-row { width:100%; border:0; background:transparent; font-family:inherit; cursor:pointer; text-align:left; }
.audit-row:hover { background:#f8faff; }
.audit-cols { max-height:420px; overflow:auto; border-top:1px solid #eef2f9; }
.audit-cols div { display:flex; justify-content:space-between; padding:7px 2px; border-bottom:1px dashed #edf1f8; }
.audit-cols code { font-size:12px; color:var(--text-2); }
.audit-cols span { font-size:11.5px; color:var(--muted); }

.audit-logs { max-height:320px; overflow:auto; border-top:1px solid #eef2f9; }
.audit-log-row { display:flex; justify-content:space-between; gap:10px; padding:7px 0; border-bottom:1px dashed #edf1f8; }
.audit-log-row b { display:block; font-size:11.5px; }
.audit-log-row span { display:block; max-width:620px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; margin-top:2px; font-size:11.5px; color:var(--muted); }
.audit-log-row em { font-style:normal; white-space:nowrap; font-size:11.5px; color:var(--muted-2); }

/* ===== 可读性字号提升 ===== */
body { font-size: 16px; }
.tiny { font-size: 13px !important; }
.small { font-size: 13.5px !important; }
.card-sub, .t-sub { font-size: 13px !important; }
.brand-sub { font-size: 12.5px !important; }
.nav-group-title { font-size: 13px !important; }
.nav-tag { font-size: 12.5px !important; }
.sys-status-title { font-size: 13px !important; }
.sys-status-sub { font-size: 13px !important; }
.version { font-size: 13px !important; }
.global-search kbd { font-size: 13px !important; }
.user-role { font-size: 13px !important; }
.eyebrow { font-size: 13px !important; }
.card-sub { font-size: 13px !important; }
.tiny { font-size: 13px !important; }
.kpi-foot { font-size: 13px !important; }
.delta { font-size: 13px !important; }
/* ============ badges / tags ============ */
.badge { font-size: 13px !important; }
.tag { font-size: 13px !important; }
table.data thead th { font-size: 13px !important; }
table.data .t-sub { font-size: 13px !important; }
.pg-btn { font-size: 13px !important; }
.pg-info { font-size: 13px !important; }
.field-help { font-size: 13px !important; }
.tab .count { font-size: 13px !important; }
.map-legend { font-size: 13px !important; }
.map-legend .lg-title { font-size: 13px !important; }
.map-scale { font-size: 13px !important; }
.map-hint { font-size: 13px !important; }
.region-val { font-size: 13px !important; }
.prov-meta { font-size: 13px !important; }
.pstat-lab { font-size: 13px !important; }
.form-desc { font-size: 13px !important; }
.form-cat { font-size: 13px !important; }
.form-count { font-size: 13px !important; }
.agent-title .live { font-size: 12.5px !important; }
.agent-metric .l { font-size: 13px !important; }
.rule-id { font-size: 13px !important; }
.rule-flow { font-size: 13px !important; }
.rule-stats { font-size: 13px !important; }
.reason { font-size: 13px !important; }
.feed-time { font-size: 13px !important; }
.modal-sub { font-size: 13px !important; }
.kv dt { font-size: 13px !important; }
.section-label { font-size: 13px !important; }
.step-dot { font-size: 12.5px !important; }
.step-label { font-size: 13px !important; }
.tl-time { font-size: 13px !important; }
.note { font-size: 13px !important; }
.hr-text { font-size: 13px !important; }
.code-block { font-size: 13px !important; }
.code-inline { font-size: 13px !important; }
.stat-l { font-size: 13px !important; }
.chip .n { font-size: 13px !important; }
.chain-model .cm-code { font-size: 12.5px !important; }
.chain-model .cm-desc { font-size: 13px !important; }
.chain-model .cm-meta { font-size: 13px !important; }
.cs-tag { font-size: 12.5px !important; }
.cs-sub { font-size: 13px !important; }
.chain-node .cn-name { font-size: 13px !important; }
.chain-node .cn-val { font-size: 12.5px !important; }
.chain-more { font-size: 13px !important; }
.ai-sub { font-size: 13px !important; }
.ai-chip { font-size: 13px !important; }
.ai-parse { font-size: 13px !important; }
.li-meta { font-size: 13px !important; }
.source-badge { font-size: 12.5px !important; }
.map-lead-legend { font-size: 13px !important; }
.map-lead-legend .lg-title { font-size: 13px !important; }
/* ============ AI 快速录入 ============ */
.ai-entry-note { font-size: 13px !important; }
.ai-kv span { font-size: 13px !important; }
.ai-missing { font-size: 13px !important; }
.ai-fill-banner { font-size: 13px !important; }
.ai-flag { font-size: 12.5px !important; }
/* 自建产业链表单 */
.chain-check { font-size: 13px !important; }
.auth-brand-sub { font-size: 12.5px !important; }
.auth-eyebrow { font-size: 13px !important; }
.auth-features span { font-size: 13px !important; }
.auth-foot { font-size: 13px !important; }
.auth-sub { font-size: 13px !important; }
.auth-field label { font-size: 13px !important; }
.auth-hint { font-size: 13px !important; }
.auth-hint span { font-size: 13px !important; }
.auth-error { font-size: 13px !important; }
.auth-switch { font-size: 13px !important; }
.auth-switch button { font-size: 13px !important; }
.eco-kicker { font-size: 13px !important; }
.eco-desc { font-size: 13px !important; }
.eco-facts span { font-size: 12.5px !important; }
.eco-quote-row span { font-size: 13px !important; }
.eco-service-head span { font-size: 13px !important; }
.eco-onboard-grid b { font-size: 13px !important; }
.eco-onboard-grid span { font-size: 13px !important; }
.eco-org-kv span { font-size: 13px !important; }
.eco-org-kv b { font-size: 13px !important; }
.eco-org-intro { font-size: 13px !important; }
.eco-line b { font-size: 13px !important; }
.eco-line span { font-size: 13px !important; }
.eco-rights div { font-size: 13px !important; }
.eco-card.contract .eco-facts b { font-size: 13px !important; }
.dev-client span { font-size: 12.5px !important; }
.dev-client code { font-size: 13px !important; }
.dev-scope-grid label { font-size: 13px !important; }
.dev-scope-grid code { font-size: 13px !important; }
.dev-step > b { font-size: 13px !important; }
.dev-code { font-size: 12.5px !important; }
.dev-metrics { font-size: 13px !important; }
.tenant-stat span { font-size: 13px !important; }
.tenant-kv span { font-size: 12.5px !important; }
.tenant-kv b { font-size: 13px !important; }
.tenant-private span { font-size: 12.5px !important; }
.tenant-record { font-size: 13px !important; }
.tenant-record .mono { font-size: 12.5px !important; }
.tenant-check-all { font-size: 13px !important; }
.ai-chat-head span { font-size: 13px !important; }
.ai-avatar { font-size: 13px !important; }
.ai-tool-row .tag code { font-size: 12.5px !important; }
.ai-meta span { font-size: 12.5px !important; }
.ai-status-list div { font-size: 13px !important; }
.ai-status-list b { font-size: 13px !important; }
.ai-tool-list code { font-size: 12.5px !important; }
.ai-tool-list span { font-size: 13px !important; }
.ai-examples button { font-size: 13px !important; }
.ai-rfq-text { font-size: 13px !important; }
.ai-review-summary { font-size: 13px !important; }
.ai-review-risk b { font-size: 13px !important; }
.ai-review-risk p { font-size: 13px !important; }
.ai-review-risk span { font-size: 13px !important; }
.ai-review-level { font-size: 12.5px !important; }
.ai-compare-table { font-size: 13px !important; }
.ai-compare-table th { font-size: 12.5px !important; }
.ai-doc-row b { font-size: 13px !important; }
.ai-doc-row span { font-size: 12.5px !important; }
.ai-eval-row b { font-size: 13px !important; }
.ai-eval-row span { font-size: 13px !important; }
.ai-eval-create > b { font-size: 13px !important; }
.market-strip span { font-size: 13px !important; }
.agent-card p { font-size: 13px !important; }
.agent-stats { font-size: 12.5px !important; }
.agent-stats b { font-size: 13px !important; }
.ai-doc-chat .ai-bubble { font-size: 13px !important; }
.market-rank b { font-size: 13px !important; }
.market-rank span { font-size: 12.5px !important; }
.rank-no { font-size: 12.5px !important; }
.market-bill-total span { font-size: 13px !important; }
.market-unbilled { font-size: 13px !important; }
.ai-kicker { font-size: 12.5px !important; }
.ai-command-status { font-size: 13px !important; }
.ai-command-metrics span { font-size: 12.5px !important; }
.ai-chat-fab { font-size: 13px !important; }
.ai-fab-orbit { font-size: 12.5px !important; }
.ai-chat-mark { font-size: 12.5px !important; }
.ai-chat-brand span { font-size: 12.5px !important; }
.ai-chat-head-actions .badge { font-size: 12.5px !important; }
.ai-chat-dock .ai-composer textarea { font-size: 13px !important; }
.ai-chat-dock .ai-composer .btn { font-size: 13px !important; }
.ai-composer-hint { font-size: 12.5px !important; }
.ai-welcome-mark { font-size: 13px !important; }
.ai-chat-welcome p { font-size: 13px !important; }
.ai-welcome-quick button { font-size: 13px !important; }
.ai-chat-dock .ai-bubble { font-size: 13px !important; }
.ai-chat-dock .ai-meta span { font-size: 12.5px !important; }
.ai-chat-suggest-title { font-size: 12.5px !important; }
.ai-chat-suggest button { font-size: 13px !important; }
.ai-chat-new { font-size: 12.5px !important; }
.ai-chat-history { font-size: 12.5px !important; }
.ai-conv-row b { font-size: 13px !important; }
.ai-conv-row span { font-size: 12.5px !important; }
.ai-chat-history-head b { font-size: 13px !important; }
.ai-chat-history-head button { font-size: 12.5px !important; }
.ai-conv-item b { font-size: 12.5px !important; }
.ai-conv-item span { font-size: 12.5px !important; }
.ai-conv-empty { font-size: 12.5px !important; }
.ai-radar-row b { font-size: 13px !important; }
.ai-radar-row span { font-size: 12.5px !important; }
.ai-radar-score { font-size: 13px !important; }
.ai-radar-insights span { font-size: 12.5px !important; }
.ind-kicker { font-size: 12.5px !important; }
.ind-hero p { font-size: 13px !important; }
.ind-stats span { font-size: 12.5px !important; }
.ind-row-top b { font-size: 13px !important; }
.ind-row-top span { font-size: 12.5px !important; }
.ind-cross b { font-size: 13px !important; }
.ind-cross span { font-size: 12.5px !important; }
.ind-cross strong { font-size: 13px !important; }
.ind-cross em { font-size: 12.5px !important; }
.ind-gap b { font-size: 13px !important; }
.ind-gap span { font-size: 12.5px !important; }
.ind-gap-low, .ind-gap-ok { font-size: 12.5px !important; }
.ind-connector b { font-size: 13px !important; }
.ind-connector span { font-size: 12.5px !important; }
.ind-connector p { font-size: 13px !important; }
.ind-tags span { font-size: 12.5px !important; }
.ind-referral b { font-size: 13px !important; }
.ind-referral span { font-size: 12.5px !important; }
.ind-referral-actions button { font-size: 12.5px !important; }
.ind-opp b { font-size: 13px !important; }
.ind-opp span { font-size: 12.5px !important; }
.ind-funnel-grid span { font-size: 12.5px !important; }
.ind-data-row b { font-size: 13px !important; }
.ind-data-row span { font-size: 12.5px !important; }
.ind-followup b { font-size: 13px !important; }
.ind-followup span { font-size: 12.5px !important; }
.ind-followup button { font-size: 12.5px !important; }
.ind-followup em { font-size: 12.5px !important; }
.ind-touch { font-size: 12.5px !important; }
.ind-outreach-row b { font-size: 13px !important; }
.ind-outreach-row span { font-size: 12.5px !important; }
.ind-msg b { font-size: 12.5px !important; }
.ind-msg span { font-size: 13px !important; }
.ind-msg em { font-size: 12.5px !important; }
.ind-reply { font-size: 12.5px !important; }
.user-caret { font-size: 12.5px !important; }
.um-role { font-size: 13px !important; }
.um-org { font-size: 13px !important; }
.user-menu-item { font-size: 13px !important; }
.qcc-status { font-size: 13px !important; }
.qcc-source { font-size: 13px !important; }
.qcc-kv { font-size: 13px !important; }
.qcc-list-no { font-size: 13px !important; }
.qcc-cap b { font-size: 13px !important; }
.qcc-cap em { font-size: 12.5px !important; }
.qcc-note p { font-size: 13px !important; }
.qcc-note code { font-size: 12.5px !important; }
.qcc-scenario p { font-size: 13px !important; }
.qcc-candidate-no { font-size: 13px !important; }
.qcc-candidate b { font-size: 13px !important; }
.qcc-candidate em { font-size: 12.5px !important; }
.qcc-history-item { font-size: 13px !important; }
.qcc-ai-badge { font-size: 12.5px !important; }
.qcc-ai-head b { font-size: 13px !important; }
.qcc-ai-summary { font-size: 13px !important; }
.qcc-ai-grid span { font-size: 12.5px !important; }
.qcc-ai-grid b { font-size: 13px !important; }
.qcc-ai-row { font-size: 13px !important; }
.qcc-ai-opps > div { font-size: 13px !important; }
.qcc-ai-opps span { font-size: 12.5px !important; }
.value-kicker { font-size: 12.5px !important; }
.value-hero p { font-size: 13px !important; }
.value-plan-name span { font-size: 12.5px !important; }
.value-hero-stats span { font-size: 12.5px !important; }
.value-verified { font-size: 12.5px !important; }
.value-service p { font-size: 13px !important; }
.value-service em { font-size: 12.5px !important; }
.value-plan-meta { font-size: 13px !important; }
.value-digest-summary span { font-size: 12.5px !important; }
.value-digest-row span { font-size: 13px !important; }
.value-digest-row em { font-size: 12.5px !important; }
.value-expiry { font-size: 12.5px !important; }
.trust-badge { font-size: 12.5px !important; }
.value-home-link { font-size: 13px !important; }
.value-home-stats span { font-size: 12.5px !important; }
.value-home-summary { font-size: 13px !important; }
.value-home-block { font-size: 13px !important; }
.value-agent-result p { font-size: 13px !important; }
.value-agent-msg { font-size: 13px !important; }
.value-agent-stats span { font-size: 12.5px !important; }
.value-agent-feedback em { font-size: 12.5px !important; }
.value-eyebrow { font-size: 12.5px !important; }
.value-command-metric span { font-size: 13px !important; }
.value-command-metric small { font-size: 12.5px !important; }
.value-loop-no { font-size: 12.5px !important; }
.value-loop-body b { font-size: 13px !important; }
.value-loop-body small { font-size: 12.5px !important; }
.value-loop-go { font-size: 12.5px !important; }
.value-section-kicker { font-size: 12.5px !important; }
.value-section-head p { font-size: 13px !important; }
.value-link { font-size: 13px !important; }
.value-recommend-copy b { font-size: 13px !important; }
.value-recommend-copy p { font-size: 13px !important; }
.value-company-title b { font-size: 13px !important; }
.value-company-title span { font-size: 12.5px !important; }
.value-trusted { font-size: 12.5px !important; }
.value-untrusted { font-size: 12.5px !important; }
.value-company-tags span { font-size: 12.5px !important; }
.value-company-actions .value-link { font-size: 12.5px !important; }
.value-mini { font-size: 12.5px !important; }
.value-side-head { font-size: 13px !important; }
.value-side-big small { font-size: 13px !important; }
.value-side-row { font-size: 12.5px !important; }
.value-side-cta { font-size: 13px !important; }
.value-agent-mini span { font-size: 12.5px !important; }
.value-side-note p { font-size: 13px !important; }
.value-intel-stats span { font-size: 12.5px !important; }
.value-intel-row b { font-size: 13px !important; }
.value-intel-row span { font-size: 12.5px !important; }
.value-intel-row em { font-size: 12.5px !important; }
.value-agent-kpis span { font-size: 12.5px !important; }
.value-agent-kind { font-size: 13px !important; }
.value-agent-feed-row b { font-size: 13px !important; }
.value-agent-feed-row span { font-size: 12.5px !important; }
.value-agent-feed-row em { font-size: 12.5px !important; }
.value-order-row b { font-size: 13px !important; }
.value-order-row span { font-size: 12.5px !important; }
.value-order-paid { font-size: 12.5px !important; }
.value-empty span { font-size: 13px !important; }
.value-loading { font-size: 13px !important; }
.value-diagnosis-intro { font-size: 13px !important; }
.value-diagnosis-list span { font-size: 12.5px !important; }
.value-diagnosis-list p { font-size: 12.5px !important; }
.value-collab-intro p { font-size: 12.5px !important; }
.value-collab-choices b { font-size: 13px !important; }
.value-collab-choices span { font-size: 12.5px !important; }
.value-orchestrator-note { font-size: 12.5px !important; }
.value-collab-form label { font-size: 12.5px !important; }
.value-orchestrator-engine { font-size: 12.5px !important; }
.value-orchestrator-result > p { font-size: 13px !important; }
.value-orchestrator-step > span { font-size: 12.5px !important; }
.value-orchestrator-step b { font-size: 13px !important; }
.value-orchestrator-step p { font-size: 12.5px !important; }
.value-home-facts span { font-size: 12.5px !important; }
.value-home-facts b { font-size: 12.5px !important; }
.value-home-gap b { font-size: 13px !important; }
.value-home-gap p { font-size: 12.5px !important; }
.value-home-resource-row span { font-size: 12.5px !important; }
.value-home-actions > span { font-size: 12.5px !important; }
.merchant-kicker { font-size: 12.5px !important; }
.merchant-hero p { font-size: 13px !important; }
.merchant-stats span { font-size: 12.5px !important; }
.merchant-tabs button { font-size: 13px !important; }
.merchant-brand-top span { font-size: 12.5px !important; }
.merchant-brand-top em { font-size: 12.5px !important; }
.merchant-brand p { font-size: 12.5px !important; }
.merchant-brand-foot span { font-size: 12.5px !important; }
.merchant-store-top b { font-size: 13px !important; }
.merchant-store-top span { font-size: 12.5px !important; }
.merchant-store-brand { font-size: 12.5px !important; }
.merchant-store-addr { font-size: 12.5px !important; }
.merchant-store-foot { font-size: 12.5px !important; }
.merchant-opp-top span { font-size: 12.5px !important; }
.merchant-opp-top em { font-size: 12.5px !important; }
.merchant-opp > b { font-size: 13px !important; }
.merchant-opp p { font-size: 12.5px !important; }
.merchant-opp-foot { font-size: 12.5px !important; }
.merchant-toolbar { font-size: 12.5px !important; }
.merchant-import-form label { font-size: 12.5px !important; }
.merchant-import-list b { font-size: 13px !important; }
.merchant-import-list span { font-size: 12.5px !important; }
.merchant-map-placeholder { font-size: 13px !important; }
.merchant-claimed { font-size: 12.5px !important; }
.merchant-rank-title { font-size: 12.5px !important; }
.merchant-rank > div:not(.merchant-rank-title) { font-size: 12.5px !important; }
.merchant-rank b { font-size: 12.5px !important; }
.merchant-service-cats span { font-size: 12.5px !important; }
.merchant-service-top b { font-size: 13px !important; }
.merchant-service-top span { font-size: 12.5px !important; }
.merchant-service p { font-size: 12.5px !important; }
.merchant-service-foot { font-size: 12.5px !important; }
.merchant-request-title { font-size: 12.5px !important; }
.merchant-request-row b { font-size: 13px !important; }
.merchant-request-row span { font-size: 12.5px !important; }
.merchant-request-row em { font-size: 12.5px !important; }
.merchant-report-head p { font-size: 12.5px !important; }
.merchant-report-top b { font-size: 13px !important; }
.merchant-report-top em { font-size: 13px !important; }
.merchant-report-meta { font-size: 12.5px !important; }
.merchant-report-card p { font-size: 12.5px !important; }
.merchant-report-score span { font-size: 12.5px !important; }
.merchant-report-signals span { font-size: 12.5px !important; }
.merchant-report-result ul { font-size: 12.5px !important; }
.merchant-diagnose-score span { font-size: 12.5px !important; }
.merchant-diagnose-bars > div { font-size: 12.5px !important; }
.merchant-diagnose-section { font-size: 12.5px !important; }
.merchant-finance-stats span { font-size: 12.5px !important; }
.merchant-doc-row b { font-size: 13px !important; }
.merchant-doc-row span { font-size: 12.5px !important; }
.merchant-heat-head p { font-size: 12.5px !important; }
.merchant-heat-top b { font-size: 13px !important; }
.merchant-heat-top em { font-size: 12.5px !important; }
.merchant-heat-card span { font-size: 12.5px !important; }
.merchant-amap-toolbar { font-size: 12.5px !important; }
.merchant-amap-stats span { font-size: 12.5px !important; }
.merchant-amap-block { font-size: 12.5px !important; }
.merchant-map-note { font-size: 12.5px !important; }
.merchant-ai-head p { font-size: 13px !important; }
.merchant-ai-live { font-size: 12.5px !important; }
.merchant-ai-card > span { font-size: 12.5px !important; }
.merchant-ai-card > b { font-size: 13px !important; }
.merchant-ai-card > p { font-size: 12.5px !important; }
.merchant-ai-card > em { font-size: 12.5px !important; }
.merchant-match-copy b { font-size: 13px !important; }
.merchant-match-copy span { font-size: 12.5px !important; }
.merchant-next-summary { font-size: 13px !important; }
.merchant-next-rank { font-size: 13px !important; }
.merchant-next-copy b { font-size: 13px !important; }
.merchant-next-copy span { font-size: 12.5px !important; }
.merchant-amap-score span { font-size: 12.5px !important; }
.merchant-amap-insight { font-size: 12.5px !important; }
.merchant-amap-insight > b { font-size: 12.5px !important; }
.merchant-network-summary span { font-size: 12.5px !important; }
.merchant-network-ai b { font-size: 13px !important; }
.merchant-network-ai p { font-size: 12.5px !important; }
.merchant-store-health { font-size: 12.5px !important; }
.merchant-store-tags span { font-size: 12.5px !important; }
.merchant-save-note { font-size: 12.5px !important; }
.merchant-analysis-head p { font-size: 12.5px !important; }
.merchant-analysis-type { font-size: 12.5px !important; }
.merchant-analysis-row b { font-size: 13px !important; }
.merchant-analysis-row span { font-size: 12.5px !important; }
.merchant-analysis-row em { font-size: 12.5px !important; }
.audit-stats span { font-size: 12.5px !important; }
.audit-row code { font-size: 13px !important; }
.audit-row span { font-size: 13px !important; }
.audit-cols code { font-size: 13px !important; }
.audit-cols span { font-size: 12.5px !important; }
.audit-log-row b { font-size: 12.5px !important; }
.audit-log-row span { font-size: 12.5px !important; }
.audit-log-row em { font-size: 12.5px !important; }

.int-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:10px; margin-bottom:12px; }
.int-card { background:#fff; border:1px solid var(--line); border-radius:14px; overflow:hidden; }
.int-head { display:flex; align-items:center; gap:9px; padding:14px; border-bottom:1px solid #eef2f9; }
.int-logo { width:32px; height:32px; border-radius:9px; color:#fff; display:flex; align-items:center; justify-content:center; font-weight:700; font-size:13.5px; flex-shrink:0; }
.int-head > div:nth-child(2) { flex:1; min-width:0; }
.int-head b { display:block; font-size:13.5px; }
.int-head span { display:block; margin-top:2px; font-size:12px; color:var(--muted); }
.int-body { padding:13px; }
.int-meta { display:flex; flex-direction:column; gap:3px; font-size:12px; color:var(--muted); margin:8px 0; word-break:break-all; }
.int-actions { display:flex; gap:6px; justify-content:flex-end; }
.int-deliveries { border-top:1px solid #eef2f9; }
.int-delivery { display:grid; grid-template-columns:80px 1fr 200px; gap:8px; align-items:center; padding:8px 0; border-bottom:1px dashed #edf1f8; font-size:12px; }
.int-delivery b { color:var(--primary); }
.int-delivery span { color:var(--muted); }
.int-delivery em { font-style:normal; color:var(--muted-2); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
@media(max-width:1000px){ .int-grid { grid-template-columns:1fr 1fr; } }
@media(max-width:700px){ .int-grid { grid-template-columns:1fr; } .int-delivery { grid-template-columns:1fr; } }

.int-callback { display:flex; align-items:center; gap:5px; flex-wrap:wrap; margin-top:5px; width:100%; }
.int-callback code { font-size:11.5px; color:var(--muted-2); word-break:break-all; flex:1; min-width:120px; }

.int-secure { margin:8px 0; border-top:1px dashed #edf1f8; padding-top:7px; }
.int-secure summary { cursor:pointer; font-size:12.5px; color:var(--primary); margin-bottom:6px; }

.merchant-loop { margin:12px 0 14px; background:#fff; border:1px solid var(--line); border-radius:16px; padding:16px; }
.merchant-loop-head { display:flex; justify-content:space-between; align-items:flex-start; gap:12px; margin-bottom:11px; }
.merchant-loop-head h2 { margin:5px 0 3px; font-size:18px; letter-spacing:-.2px; }
.merchant-loop-head p { margin:0; font-size:12px; color:var(--muted); }
.merchant-loop-status { flex-shrink:0; font-size:11.5px; font-weight:700; color:#8a6a24; background:#fff6e5; border:1px solid #f2dfb8; border-radius:999px; padding:5px 9px; }
.merchant-loop-flow { display:flex; align-items:stretch; gap:4px; margin-bottom:10px; }
.merchant-loop-step { flex:1; min-width:0; text-align:left; border:1px solid #e5ecf8; border-radius:9px; background:#f8faff; padding:9px; cursor:pointer; font-family:inherit; }
.merchant-loop-step:hover { border-color:#9cb7ea; }
.merchant-loop-step > span { display:block; font-size:11.5px; color:var(--muted-2); font-weight:700; }
.merchant-loop-step > b { display:block; margin-top:3px; font-size:12px; color:var(--text); }
.merchant-loop-step > strong { display:block; margin-top:2px; font-size:20px; color:var(--text); }
.merchant-loop-step > em { display:block; margin-top:1px; font-size:11.5px; font-style:normal; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.merchant-loop-arrow { align-self:center; color:#b5c4df; font-size:15px; flex-shrink:0; }
.merchant-loop-actions { display:grid; grid-template-columns:1fr 1fr; gap:6px; }
.merchant-loop-action { display:flex; justify-content:space-between; align-items:center; gap:8px; border:1px solid #edf1f8; border-radius:8px; padding:8px 10px; background:#fcfdff; }
.merchant-loop-action.has-work { border-color:#f0dfba; background:#fffdf8; }
.merchant-loop-action b { display:block; font-size:12px; }
.merchant-loop-action span { display:block; margin-top:2px; font-size:11.5px; color:var(--muted); }
.merchant-loop-done { font-size:11.5px; color:#087a51; }
@media(max-width:850px){ .merchant-loop-flow { overflow-x:auto; } .merchant-loop-step { min-width:145px; } .merchant-loop-actions { grid-template-columns:1fr; } }

.agent-catalog-head { display:flex; justify-content:space-between; align-items:flex-start; gap:12px; margin:14px 0 10px; }
.agent-catalog-head b { font-size:16px; }
.agent-catalog-head p { margin:4px 0 0; font-size:12px; color:var(--muted); }
.agent-catalog-section { margin-bottom:14px; }
.agent-catalog-title { display:flex; justify-content:space-between; align-items:center; margin-bottom:7px; }
.agent-catalog-title span { font-size:13px; font-weight:700; }
.agent-catalog-title em { font-style:normal; font-size:11.5px; color:var(--muted); }
.agent-catalog-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:7px; }
.agent-catalog-card { border:1px solid #e5ecf8; background:#fff; border-radius:10px; padding:10px; }
.agent-catalog-card.merchant { background:#f8fffd; border-color:#d9f0e9; }
.agent-catalog-top { display:flex; align-items:center; gap:6px; }
.agent-catalog-top b { flex:1; min-width:0; font-size:12px; }
.agent-catalog-top em { font-style:normal; font-size:11.5px; color:var(--muted); background:#f1f4fa; border-radius:4px; padding:2px 4px; }
.agent-dot { width:7px; height:7px; border-radius:50%; background:var(--primary); flex-shrink:0; }
.agent-dot.teal { background:var(--teal); }
.agent-catalog-card p { min-height:27px; margin:6px 0; font-size:11.5px; line-height:1.5; color:var(--muted); }
.agent-catalog-meta { display:flex; flex-direction:column; gap:2px; margin-bottom:6px; font-size:11.5px; color:var(--muted-2); }
@media(max-width:800px){ .agent-catalog-grid { grid-template-columns:1fr 1fr; } }

.agent-run-box { margin-top:10px; border:1px solid #e5ecf8; border-radius:10px; background:#fbfcff; padding:10px; }
.agent-run-head { display:flex; justify-content:space-between; align-items:center; gap:8px; margin-bottom:6px; }
.agent-run-head b { font-size:12.5px; }
.agent-run-head span { font-size:11.5px; color:var(--muted); }
.agent-run-list { border-top:1px solid #edf1f8; }
.agent-run-row { display:grid; grid-template-columns:115px 70px 1fr; gap:7px; align-items:center; padding:6px 0; border-bottom:1px dashed #edf1f8; font-size:11.5px; }
.agent-run-row span { color:var(--primary); font-weight:600; }
.agent-run-row b { font-weight:600; color:var(--text-2); }
.agent-run-row em { font-style:normal; color:var(--muted); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }

.agent-catalog-actions { display:flex; gap:5px; flex-wrap:wrap; }
.agent-tool-list { margin-top:8px; border-top:1px solid #eef2f9; padding-top:8px; }
.agent-tool-title { font-size:12px; font-weight:700; margin-bottom:5px; }
.agent-tool-row { display:flex; align-items:center; gap:7px; padding:6px 0; border-bottom:1px dashed #edf1f8; font-size:12px; }
.agent-tool-row span { flex:1; }
.agent-tool-row em { font-style:normal; font-size:11.5px; color:var(--muted-2); }

.agent-approval-list { border-top:1px solid #eef2f9; }
.agent-approval-row { display:flex; justify-content:space-between; align-items:center; gap:10px; padding:10px 0; border-bottom:1px dashed #edf1f8; }
.agent-approval-row > div:first-child { flex:1; min-width:0; }
.agent-approval-row span { display:block; font-size:11.5px; color:var(--primary); }
.agent-approval-row b { display:block; margin-top:3px; font-size:12.5px; }
.agent-approval-row em { display:block; margin-top:3px; font-style:normal; font-size:11.5px; color:var(--muted); }
.agent-approval-actions { display:flex; gap:5px; flex-shrink:0; }

.agent-sla-stats { display:grid; grid-template-columns:repeat(5,1fr); gap:6px; margin:10px 0 8px; }
.agent-sla-stats div { background:#fff; border:1px solid #e8eef9; border-radius:8px; padding:8px; text-align:center; }
.agent-sla-stats b { display:block; font-size:18px; }
.agent-sla-stats span { display:block; margin-top:2px; font-size:11.5px; color:var(--muted); }
@media(max-width:700px){ .agent-sla-stats { grid-template-columns:1fr 1fr; } }

.agent-steps { display:flex; gap:4px; flex-wrap:wrap; margin-top:4px; }
.agent-step { font-size:11.5px !important; padding:2px 4px; border-radius:4px; background:#f1f4fa; color:var(--muted) !important; }
.agent-step.done { background:#e9f9f2; color:#087a51 !important; }
.agent-step.now { background:#fff6e5; color:#8a6a24 !important; }

.agent-approval-head-actions { display:flex; align-items:center; gap:6px; flex-shrink:0; }
.agent-policy-list { border-top:1px solid #eef2f9; padding-top:8px; }
.agent-policy-row { display:grid; grid-template-columns:170px 1fr; gap:8px; align-items:center; padding:8px 0; border-bottom:1px dashed #edf1f8; }
.agent-policy-row b { font-size:12px; }

/* ===== 可读性字号提升 v2（仅覆盖字号） ===== */
body { font-size: 16px; }
.tiny { font-size: 13.5px !important; }
.small { font-size: 15px !important; }
.card-sub, .t-sub { font-size: 13.5px !important; }
.brand-sub { font-size: 13.5px !important; }
.nav-group-title { font-size: 13.5px !important; }
.nav-tag { font-size: 13.5px !important; }
.sys-status-title { font-size: 13.5px !important; }
.sys-status-sub { font-size: 13.5px !important; }
.version { font-size: 13.5px !important; }
.crumb { font-size: 15px !important; }
.global-search input { font-size: 15px !important; }
.global-search kbd { font-size: 13.5px !important; }
.today { font-size: 15px !important; }
.avatar { font-size: 15px !important; }
.user-name { font-size: 15px !important; }
.user-role { font-size: 13.5px !important; }
.page-desc { font-size: 15px !important; }
.eyebrow { font-size: 13.5px !important; }
/* ============ buttons ============ */
.btn { font-size: 15px !important; }
.btn-sm { font-size: 15px !important; }
.card-sub { font-size: 13.5px !important; }
.tiny { font-size: 13.5px !important; }
.small { font-size: 15px !important; }
.kpi-label { font-size: 15px !important; }
.kpi-value small { font-size: 15px !important; }
.kpi-foot { font-size: 13.5px !important; }
.delta { font-size: 13.5px !important; }
/* ============ badges / tags ============ */
.badge { font-size: 13.5px !important; }
.tag { font-size: 13.5px !important; }
table.data { font-size: 15px !important; }
table.data thead th { font-size: 13.5px !important; }
table.data .t-main { font-size: 15px !important; }
table.data .t-sub { font-size: 13.5px !important; }
.table-empty { font-size: 15px !important; }
.pg-btn { font-size: 13.5px !important; }
.pg-info { font-size: 13.5px !important; }
.input, .select, textarea.input { font-size: 15px !important; }
.input-sm { font-size: 15px !important; }
.field-label { font-size: 15px !important; }
.field-help { font-size: 13.5px !important; }
.check { font-size: 15px !important; }
.radio-card span { font-size: 15px !important; }
.tab { font-size: 15px !important; }
.tab .count { font-size: 13.5px !important; }
.map-topbar .select, .map-topbar .input { font-size: 15px !important; }
.map-legend { font-size: 13.5px !important; }
.map-legend .lg-title { font-size: 13.5px !important; }
.map-scale { font-size: 13.5px !important; }
.map-hint { font-size: 13.5px !important; }
.region-name { font-size: 15px !important; }
.region-val { font-size: 13.5px !important; }
.prov-meta { font-size: 13.5px !important; }
.pstat-lab { font-size: 13.5px !important; }
.form-desc { font-size: 13.5px !important; }
.form-cat { font-size: 13.5px !important; }
.form-count { font-size: 13.5px !important; }
.agent-title .live { font-size: 13.5px !important; }
.agent-desc { font-size: 15px !important; }
.agent-metric .l { font-size: 13.5px !important; }
.rule-id { font-size: 13.5px !important; }
.rule-flow { font-size: 13.5px !important; }
.rule-stats { font-size: 13.5px !important; }
.reason { font-size: 13.5px !important; }
.feed-main { font-size: 15px !important; }
.feed-time { font-size: 13.5px !important; }
.modal-sub { font-size: 13.5px !important; }
.kv { font-size: 15px !important; }
.kv dt { font-size: 13.5px !important; }
.section-label { font-size: 13.5px !important; }
.step-dot { font-size: 13.5px !important; }
.step-label { font-size: 13.5px !important; }
.tl-time { font-size: 13.5px !important; }
.tl-text { font-size: 15px !important; }
.toast { font-size: 15px !important; }
.empty { font-size: 15px !important; }
.empty b { font-size: 15px !important; }
.note { font-size: 13.5px !important; }
.hr-text { font-size: 13.5px !important; }
.code-block { font-size: 13.5px !important; }
.code-inline { font-size: 13.5px !important; }
.stat-l { font-size: 13.5px !important; }
.chip { font-size: 15px !important; }
.chip .n { font-size: 13.5px !important; }
.chain-model .cm-code { font-size: 13.5px !important; }
.chain-model .cm-desc { font-size: 13.5px !important; }
.chain-model .cm-meta { font-size: 13.5px !important; }
.chain-model .cm-meta b { font-size: 15px !important; }
.cs-tag { font-size: 13.5px !important; }
.cs-name { font-size: 15px !important; }
.cs-sub { font-size: 13.5px !important; }
.chain-node .cn-name { font-size: 13.5px !important; }
.chain-node .cn-val { font-size: 13.5px !important; }
.chain-more { font-size: 13.5px !important; }
.seg button { font-size: 15px !important; }
.ai-sub { font-size: 13.5px !important; }
.ai-input { font-size: 15px !important; }
.ai-chip { font-size: 13.5px !important; }
.ai-parse { font-size: 13.5px !important; }
.li-name { font-size: 15px !important; }
.li-score { font-size: 15px !important; }
.li-meta { font-size: 13.5px !important; }
.source-badge { font-size: 13.5px !important; }
.source-logo { font-size: 15px !important; }
.map-lead-legend { font-size: 13.5px !important; }
.map-lead-legend .lg-title { font-size: 13.5px !important; }
/* ============ AI 快速录入 ============ */
.ai-entry-note { font-size: 13.5px !important; }
.ai-preview-head { font-size: 15px !important; }
.ai-kv span { font-size: 13.5px !important; }
.ai-missing { font-size: 13.5px !important; }
.ai-fill-banner { font-size: 13.5px !important; }
.ai-flag { font-size: 13.5px !important; }
/* 自建产业链表单 */
.chain-check { font-size: 13.5px !important; }
.auth-brand-sub { font-size: 13.5px !important; }
.auth-eyebrow { font-size: 13.5px !important; }
.auth-brand-copy p { font-size: 15px !important; }
.auth-features span { font-size: 13.5px !important; }
.auth-foot { font-size: 13.5px !important; }
.auth-tabs button { font-size: 15px !important; }
.auth-sub { font-size: 13.5px !important; }
.auth-field label { font-size: 13.5px !important; }
.auth-field input { font-size: 15px !important; }
.auth-hint { font-size: 13.5px !important; }
.auth-hint span { font-size: 13.5px !important; }
.auth-error { font-size: 13.5px !important; }
.auth-submit { font-size: 15px !important; }
.auth-switch { font-size: 13.5px !important; }
.auth-switch button { font-size: 13.5px !important; }
.eco-kicker { font-size: 13.5px !important; }
.eco-desc { font-size: 13.5px !important; }
.eco-facts span { font-size: 13.5px !important; }
.eco-facts b { font-size: 15px !important; }
.eco-price { font-size: 15px !important; }
.eco-quote-row b { font-size: 15px !important; }
.eco-quote-row span { font-size: 13.5px !important; }
.eco-service-head span { font-size: 13.5px !important; }
.eco-onboard p { font-size: 15px !important; }
.eco-onboard-grid b { font-size: 13.5px !important; }
.eco-onboard-grid span { font-size: 13.5px !important; }
.eco-org-kv span { font-size: 13.5px !important; }
.eco-org-kv b { font-size: 13.5px !important; }
.eco-org-intro { font-size: 13.5px !important; }
.eco-line b { font-size: 13.5px !important; }
.eco-line span { font-size: 13.5px !important; }
.eco-rights div { font-size: 13.5px !important; }
.eco-card.contract .eco-facts b { font-size: 13.5px !important; }
.dev-client span { font-size: 13.5px !important; }
.dev-client code { font-size: 13.5px !important; }
.dev-secret { font-size: 15px !important; }
.dev-scope-grid label { font-size: 13.5px !important; }
.dev-scope-grid code { font-size: 13.5px !important; }
.dev-step > b { font-size: 13.5px !important; }
.dev-code { font-size: 13.5px !important; }
.dev-metrics { font-size: 13.5px !important; }
.dev-metrics b { font-size: 15px !important; }
.tenant-stat span { font-size: 13.5px !important; }
.tenant-kv span { font-size: 13.5px !important; }
.tenant-kv b { font-size: 13.5px !important; }
.tenant-private span { font-size: 13.5px !important; }
.tenant-record { font-size: 13.5px !important; }
.tenant-record .mono { font-size: 13.5px !important; }
.tenant-check-all { font-size: 13.5px !important; }
.ai-chat-head b { font-size: 15px !important; }
.ai-chat-head span { font-size: 13.5px !important; }
.ai-bubble { font-size: 15px !important; }
.ai-avatar { font-size: 13.5px !important; }
.ai-tool-row .tag code { font-size: 13.5px !important; }
.ai-meta span { font-size: 13.5px !important; }
.ai-composer textarea { font-size: 15px !important; }
.ai-status-list div { font-size: 13.5px !important; }
.ai-status-list b { font-size: 13.5px !important; }
.ai-tool-list code { font-size: 13.5px !important; }
.ai-tool-list span { font-size: 13.5px !important; }
.ai-examples button { font-size: 13.5px !important; }
.ai-rfq-text { font-size: 13.5px !important; }
.ai-review-summary { font-size: 13.5px !important; }
.ai-review-risk b { font-size: 13.5px !important; }
.ai-review-risk p { font-size: 13.5px !important; }
.ai-review-risk span { font-size: 13.5px !important; }
.ai-review-level { font-size: 13.5px !important; }
.ai-compare-table { font-size: 13.5px !important; }
.ai-compare-table th { font-size: 13.5px !important; }
.ai-doc-row b { font-size: 13.5px !important; }
.ai-doc-row span { font-size: 13.5px !important; }
.ai-eval-row b { font-size: 13.5px !important; }
.ai-eval-row span { font-size: 13.5px !important; }
.ai-eval-create > b { font-size: 13.5px !important; }
.market-strip span { font-size: 13.5px !important; }
.agent-title b { font-size: 15px !important; }
.agent-card p { font-size: 13.5px !important; }
.agent-stats { font-size: 13.5px !important; }
.agent-stats b { font-size: 13.5px !important; }
.ai-doc-chat .ai-bubble { font-size: 13.5px !important; }
.market-rank b { font-size: 13.5px !important; }
.market-rank span { font-size: 13.5px !important; }
.rank-no { font-size: 13.5px !important; }
.market-bill-total span { font-size: 13.5px !important; }
.market-unbilled { font-size: 13.5px !important; }
.ai-kicker { font-size: 13.5px !important; }
.ai-command-hero p { font-size: 15px !important; }
.ai-command-status { font-size: 13.5px !important; }
.ai-command-metrics span { font-size: 13.5px !important; }
.ai-dashboard-grid > .card .card-title { font-size: 15px !important; }
.ai-chat-fab { font-size: 13.5px !important; }
.ai-fab-orbit { font-size: 13.5px !important; }
.ai-chat-mark { font-size: 13.5px !important; }
.ai-chat-brand b { font-size: 15px !important; }
.ai-chat-brand span { font-size: 13.5px !important; }
.ai-chat-head-actions .badge { font-size: 13.5px !important; }
.ai-chat-dock .ai-composer textarea { font-size: 13.5px !important; }
.ai-chat-dock .ai-composer .btn { font-size: 13.5px !important; }
.ai-composer-hint { font-size: 13.5px !important; }
.ai-welcome-mark { font-size: 13.5px !important; }
.ai-chat-welcome b { font-size: 15px !important; }
.ai-chat-welcome p { font-size: 13.5px !important; }
.ai-welcome-quick button { font-size: 13.5px !important; }
.ai-chat-dock .ai-bubble { font-size: 13.5px !important; }
.ai-chat-dock .ai-meta span { font-size: 13.5px !important; }
.ai-chat-suggest-title { font-size: 13.5px !important; }
.ai-chat-suggest button { font-size: 13.5px !important; }
.ai-chat-new { font-size: 13.5px !important; }
.ai-chat-history { font-size: 13.5px !important; }
.ai-conv-row b { font-size: 13.5px !important; }
.ai-conv-row span { font-size: 13.5px !important; }
.ai-chat-history-head b { font-size: 13.5px !important; }
.ai-chat-history-head button { font-size: 13.5px !important; }
.ai-conv-item b { font-size: 13.5px !important; }
.ai-conv-item span { font-size: 13.5px !important; }
.ai-conv-empty { font-size: 13.5px !important; }
.ai-radar-row b { font-size: 13.5px !important; }
.ai-radar-row span { font-size: 13.5px !important; }
.ai-radar-score { font-size: 13.5px !important; }
.ai-radar-insights span { font-size: 13.5px !important; }
/* 产业洞察 */
.ind-loading { font-size: 15px !important; }
.ind-kicker { font-size: 13.5px !important; }
.ind-hero p { font-size: 13.5px !important; }
.ind-stats span { font-size: 13.5px !important; }
.ind-row-top b { font-size: 13.5px !important; }
.ind-row-top span { font-size: 13.5px !important; }
.ind-cross b { font-size: 13.5px !important; }
.ind-cross span { font-size: 13.5px !important; }
.ind-cross strong { font-size: 13.5px !important; }
.ind-cross em { font-size: 13.5px !important; }
.ind-gap b { font-size: 13.5px !important; }
.ind-gap span { font-size: 13.5px !important; }
.ind-gap-low, .ind-gap-ok { font-size: 13.5px !important; }
.ind-avatar { font-size: 15px !important; }
.ind-connector b { font-size: 13.5px !important; }
.ind-connector span { font-size: 13.5px !important; }
.ind-connector p { font-size: 13.5px !important; }
.ind-tags span { font-size: 13.5px !important; }
.ind-referral b { font-size: 13.5px !important; }
.ind-referral span { font-size: 13.5px !important; }
.ind-referral-actions button { font-size: 13.5px !important; }
.ind-opp b { font-size: 13.5px !important; }
.ind-opp span { font-size: 13.5px !important; }
.ind-opp strong { font-size: 15px !important; }
.ind-funnel-grid span { font-size: 13.5px !important; }
.ind-data-row b { font-size: 13.5px !important; }
.ind-data-row span { font-size: 13.5px !important; }
.ind-followup b { font-size: 13.5px !important; }
.ind-followup span { font-size: 13.5px !important; }
.ind-followup button { font-size: 13.5px !important; }
.ind-followup em { font-size: 13.5px !important; }
.ind-touch { font-size: 13.5px !important; }
.ind-outreach-row b { font-size: 13.5px !important; }
.ind-outreach-row span { font-size: 13.5px !important; }
.ind-msg b { font-size: 13.5px !important; }
.ind-msg span { font-size: 13.5px !important; }
.ind-msg em { font-size: 13.5px !important; }
.ind-reply { font-size: 13.5px !important; }
.user-caret { font-size: 13.5px !important; }
.um-name { font-size: 15px !important; }
.um-role { font-size: 13.5px !important; }
.um-org { font-size: 13.5px !important; }
.user-menu-item { font-size: 13.5px !important; }
.user-profile-list div { font-size: 15px !important; }
.qcc-status { font-size: 13.5px !important; }
.qcc-source { font-size: 13.5px !important; }
.qcc-kv { font-size: 13.5px !important; }
.qcc-list-no { font-size: 13.5px !important; }
.qcc-cap b { font-size: 13.5px !important; }
.qcc-cap em { font-size: 13.5px !important; }
.qcc-note p { font-size: 13.5px !important; }
.qcc-note code { font-size: 13.5px !important; }
.qcc-scenario b { font-size: 15px !important; }
.qcc-scenario p { font-size: 13.5px !important; }
.qcc-candidate-no { font-size: 13.5px !important; }
.qcc-candidate b { font-size: 13.5px !important; }
.qcc-candidate em { font-size: 13.5px !important; }
.qcc-history-item { font-size: 13.5px !important; }
.qcc-ai-badge { font-size: 13.5px !important; }
.qcc-ai-head b { font-size: 13.5px !important; }
.qcc-ai-summary { font-size: 13.5px !important; }
.qcc-ai-grid span { font-size: 13.5px !important; }
.qcc-ai-grid b { font-size: 13.5px !important; }
.qcc-ai-row { font-size: 13.5px !important; }
.qcc-ai-opps > div { font-size: 13.5px !important; }
.qcc-ai-opps span { font-size: 13.5px !important; }
.value-kicker { font-size: 13.5px !important; }
.value-hero p { font-size: 13.5px !important; }
.value-plan-name { font-size: 15px !important; }
.value-plan-name span { font-size: 13.5px !important; }
.value-hero-stats span { font-size: 13.5px !important; }
.value-tabs button { font-size: 15px !important; }
.value-enterprise-title { font-size: 15px !important; }
.value-verified { font-size: 13.5px !important; }
.value-service b { font-size: 15px !important; }
.value-service p { font-size: 13.5px !important; }
.value-service em { font-size: 13.5px !important; }
.value-plan-card b { font-size: 15px !important; }
.value-plan-meta { font-size: 13.5px !important; }
.value-digest-summary span { font-size: 13.5px !important; }
.value-digest-row b { font-size: 15px !important; }
.value-digest-row span { font-size: 13.5px !important; }
.value-digest-row em { font-size: 13.5px !important; }
.value-expiry { font-size: 13.5px !important; }
.trust-badge { font-size: 13.5px !important; }
.value-home-link { font-size: 13.5px !important; }
.value-home-stats b { font-size: 15px !important; }
.value-home-stats span { font-size: 13.5px !important; }
.value-home-summary { font-size: 13.5px !important; }
.value-home-block { font-size: 13.5px !important; }
.value-agent-result b { font-size: 15px !important; }
.value-agent-result p { font-size: 13.5px !important; }
.value-agent-msg { font-size: 13.5px !important; }
.value-agent-stats span { font-size: 13.5px !important; }
.value-agent-feedback em { font-size: 13.5px !important; }
.value-eyebrow { font-size: 13.5px !important; }
.value-command p { font-size: 15px !important; }
.value-command-metric span { font-size: 13.5px !important; }
.value-command-metric small { font-size: 13.5px !important; }
.value-loop-no { font-size: 13.5px !important; }
.value-loop-body b { font-size: 13.5px !important; }
.value-loop-body strong { font-size: 15px !important; }
.value-loop-body small { font-size: 13.5px !important; }
.value-loop-go { font-size: 13.5px !important; }
.value-section-kicker { font-size: 13.5px !important; }
.value-section-head p { font-size: 13.5px !important; }
.value-link { font-size: 13.5px !important; }
.value-recommend-copy b { font-size: 13.5px !important; }
.value-recommend-copy p { font-size: 13.5px !important; }
.value-company-avatar { font-size: 15px !important; }
.value-company-title b { font-size: 13.5px !important; }
.value-company-title span { font-size: 13.5px !important; }
.value-trusted { font-size: 13.5px !important; }
.value-untrusted { font-size: 13.5px !important; }
.value-company-tags span { font-size: 13.5px !important; }
.value-company-actions .value-link { font-size: 13.5px !important; }
.value-mini { font-size: 13.5px !important; }
.value-side-head { font-size: 13.5px !important; }
.value-side-big small { font-size: 13.5px !important; }
.value-side-row { font-size: 13.5px !important; }
.value-side-cta { font-size: 13.5px !important; }
.value-agent-mini span { font-size: 13.5px !important; }
.value-side-note p { font-size: 13.5px !important; }
.value-intel-stats span { font-size: 13.5px !important; }
.value-intel-row b { font-size: 13.5px !important; }
.value-intel-row span { font-size: 13.5px !important; }
.value-intel-row em { font-size: 13.5px !important; }
.value-agent-kpis span { font-size: 13.5px !important; }
.value-agent-kind { font-size: 13.5px !important; }
.value-agent-feed-row b { font-size: 13.5px !important; }
.value-agent-feed-row span { font-size: 13.5px !important; }
.value-agent-feed-row em { font-size: 13.5px !important; }
.value-order-row b { font-size: 13.5px !important; }
.value-order-row span { font-size: 13.5px !important; }
.value-order-paid { font-size: 13.5px !important; }
.value-empty b { font-size: 15px !important; }
.value-empty span { font-size: 13.5px !important; }
.value-loading { font-size: 13.5px !important; }
.value-diagnosis-intro { font-size: 13.5px !important; }
.value-diagnosis-list span { font-size: 13.5px !important; }
.value-diagnosis-list b { font-size: 15px !important; }
.value-diagnosis-list p { font-size: 13.5px !important; }
.value-collab-intro b { font-size: 15px !important; }
.value-collab-intro p { font-size: 13.5px !important; }
.value-collab-choices b { font-size: 13.5px !important; }
.value-collab-choices span { font-size: 13.5px !important; }
.value-orchestrator-note { font-size: 13.5px !important; }
.value-collab-form label { font-size: 13.5px !important; }
.value-orchestrator-engine { font-size: 13.5px !important; }
.value-orchestrator-result > p { font-size: 13.5px !important; }
.value-orchestrator-step > span { font-size: 13.5px !important; }
.value-orchestrator-step b { font-size: 13.5px !important; }
.value-orchestrator-step p { font-size: 13.5px !important; }
.value-home-facts span { font-size: 13.5px !important; }
.value-home-facts b { font-size: 13.5px !important; }
.value-home-gap b { font-size: 13.5px !important; }
.value-home-gap p { font-size: 13.5px !important; }
.value-home-resource-row span { font-size: 13.5px !important; }
.value-home-actions > span { font-size: 13.5px !important; }
.merchant-kicker { font-size: 13.5px !important; }
.merchant-hero p { font-size: 13.5px !important; }
.merchant-stats span { font-size: 13.5px !important; }
.merchant-tabs button { font-size: 13.5px !important; }
.merchant-brand-icon { font-size: 15px !important; }
.merchant-brand-top b { font-size: 15px !important; }
.merchant-brand-top span { font-size: 13.5px !important; }
.merchant-brand-top em { font-size: 13.5px !important; }
.merchant-brand p { font-size: 13.5px !important; }
.merchant-brand-foot span { font-size: 13.5px !important; }
.merchant-store-top b { font-size: 13.5px !important; }
.merchant-store-top span { font-size: 13.5px !important; }
.merchant-store-brand { font-size: 13.5px !important; }
.merchant-store-addr { font-size: 13.5px !important; }
.merchant-store-foot { font-size: 13.5px !important; }
.merchant-opp-top span { font-size: 13.5px !important; }
.merchant-opp-top em { font-size: 13.5px !important; }
.merchant-opp > b { font-size: 13.5px !important; }
.merchant-opp p { font-size: 13.5px !important; }
.merchant-opp-foot { font-size: 13.5px !important; }
.merchant-toolbar { font-size: 13.5px !important; }
.merchant-import-form label { font-size: 13.5px !important; }
.merchant-import-list b { font-size: 13.5px !important; }
.merchant-import-list span { font-size: 13.5px !important; }
.merchant-map-placeholder { font-size: 13.5px !important; }
.merchant-claimed { font-size: 13.5px !important; }
.merchant-rank-title { font-size: 13.5px !important; }
.merchant-rank > div:not(.merchant-rank-title) { font-size: 13.5px !important; }
.merchant-rank b { font-size: 13.5px !important; }
.merchant-service-cats span { font-size: 13.5px !important; }
.merchant-service-top b { font-size: 13.5px !important; }
.merchant-service-top span { font-size: 13.5px !important; }
.merchant-service p { font-size: 13.5px !important; }
.merchant-service-foot { font-size: 13.5px !important; }
.merchant-request-title { font-size: 13.5px !important; }
.merchant-request-row b { font-size: 13.5px !important; }
.merchant-request-row span { font-size: 13.5px !important; }
.merchant-request-row em { font-size: 13.5px !important; }
.merchant-report-head b { font-size: 15px !important; }
.merchant-report-head p { font-size: 13.5px !important; }
.merchant-report-top b { font-size: 13.5px !important; }
.merchant-report-top em { font-size: 13.5px !important; }
.merchant-report-meta { font-size: 13.5px !important; }
.merchant-report-card p { font-size: 13.5px !important; }
.merchant-report-score span { font-size: 13.5px !important; }
.merchant-report-signals b { font-size: 15px !important; }
.merchant-report-signals span { font-size: 13.5px !important; }
.merchant-report-result ul { font-size: 13.5px !important; }
.merchant-diagnose-score span { font-size: 13.5px !important; }
.merchant-diagnose-bars > div { font-size: 13.5px !important; }
.merchant-diagnose-section { font-size: 13.5px !important; }
.merchant-finance-stats span { font-size: 13.5px !important; }
.merchant-doc-row b { font-size: 13.5px !important; }
.merchant-doc-row span { font-size: 13.5px !important; }
.merchant-heat-head b { font-size: 15px !important; }
.merchant-heat-head p { font-size: 13.5px !important; }
.merchant-heat-top b { font-size: 13.5px !important; }
.merchant-heat-top em { font-size: 13.5px !important; }
.merchant-heat-card span { font-size: 13.5px !important; }
.merchant-amap-toolbar { font-size: 13.5px !important; }
.merchant-amap-stats span { font-size: 13.5px !important; }
.merchant-amap-block { font-size: 13.5px !important; }
.merchant-map-note { font-size: 13.5px !important; }
.merchant-ai-head p { font-size: 13.5px !important; }
.merchant-ai-live { font-size: 13.5px !important; }
.merchant-ai-card > span { font-size: 13.5px !important; }
.merchant-ai-card > b { font-size: 13.5px !important; }
.merchant-ai-card > p { font-size: 13.5px !important; }
.merchant-ai-card > em { font-size: 13.5px !important; }
.merchant-match-score { font-size: 15px !important; }
.merchant-match-copy b { font-size: 13.5px !important; }
.merchant-match-copy span { font-size: 13.5px !important; }
.merchant-next-summary { font-size: 13.5px !important; }
.merchant-next-rank { font-size: 13.5px !important; }
.merchant-next-copy b { font-size: 13.5px !important; }
.merchant-next-copy span { font-size: 13.5px !important; }
.merchant-next-row strong { font-size: 15px !important; }
.merchant-amap-score span { font-size: 13.5px !important; }
.merchant-amap-insight { font-size: 13.5px !important; }
.merchant-amap-insight > b { font-size: 13.5px !important; }
.merchant-network-summary span { font-size: 13.5px !important; }
.merchant-network-ai b { font-size: 13.5px !important; }
.merchant-network-ai p { font-size: 13.5px !important; }
.merchant-store-health { font-size: 13.5px !important; }
.merchant-store-tags span { font-size: 13.5px !important; }
.merchant-save-note { font-size: 13.5px !important; }
.merchant-analysis-head b { font-size: 15px !important; }
.merchant-analysis-head p { font-size: 13.5px !important; }
.merchant-analysis-type { font-size: 13.5px !important; }
.merchant-analysis-row b { font-size: 13.5px !important; }
.merchant-analysis-row span { font-size: 13.5px !important; }
.merchant-analysis-row em { font-size: 13.5px !important; }
.audit-stats span { font-size: 13.5px !important; }
.audit-row code { font-size: 13.5px !important; }
.audit-row span { font-size: 13.5px !important; }
.audit-cols code { font-size: 13.5px !important; }
.audit-cols span { font-size: 13.5px !important; }
.audit-log-row b { font-size: 13.5px !important; }
.audit-log-row span { font-size: 13.5px !important; }
.audit-log-row em { font-size: 13.5px !important; }
.card-sub, .t-sub { font-size: 15px !important; }
.int-logo { font-size: 15px !important; }
.int-head b { font-size: 15px !important; }
.int-head span { font-size: 13.5px !important; }
.int-meta { font-size: 13.5px !important; }
.int-delivery { font-size: 13.5px !important; }
.int-callback code { font-size: 13.5px !important; }
.int-secure summary { font-size: 13.5px !important; }
.merchant-loop-head p { font-size: 13.5px !important; }
.merchant-loop-status { font-size: 13.5px !important; }
.merchant-loop-step > span { font-size: 13.5px !important; }
.merchant-loop-step > b { font-size: 13.5px !important; }
.merchant-loop-step > em { font-size: 13.5px !important; }
.merchant-loop-action b { font-size: 13.5px !important; }
.merchant-loop-action span { font-size: 13.5px !important; }
.merchant-loop-done { font-size: 13.5px !important; }
.agent-catalog-head p { font-size: 13.5px !important; }
.agent-catalog-title span { font-size: 15px !important; }
.agent-catalog-title em { font-size: 13.5px !important; }
.agent-catalog-top b { font-size: 13.5px !important; }
.agent-catalog-top em { font-size: 13.5px !important; }
.agent-catalog-card p { font-size: 13.5px !important; }
.agent-catalog-meta { font-size: 13.5px !important; }
.agent-run-head b { font-size: 13.5px !important; }
.agent-run-head span { font-size: 13.5px !important; }
.agent-run-row { font-size: 13.5px !important; }
.agent-tool-title { font-size: 13.5px !important; }
.agent-tool-row { font-size: 13.5px !important; }
.agent-tool-row em { font-size: 13.5px !important; }
.agent-approval-row span { font-size: 13.5px !important; }
.agent-approval-row b { font-size: 13.5px !important; }
.agent-approval-row em { font-size: 13.5px !important; }
.agent-sla-stats span { font-size: 13.5px !important; }
.agent-step { font-size: 13.5px !important; }
.agent-policy-row b { font-size: 13.5px !important; }

.value-ai-tag { background:#e9f9f2 !important; color:#087a51 !important; border-color:#c5eedd !important; }
.value-company-ai { margin:6px 0 2px; font-size:11.5px; line-height:1.5; color:var(--muted); display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }

/* enterprise archive */
.ent-toolbar { display:flex; align-items:center; gap:8px; margin-bottom:12px; flex-wrap:wrap; }
.ent-stats { display:grid; grid-template-columns:repeat(3,1fr); gap:9px; margin-bottom:12px; }
.ent-stats div { background:#fff; border:1px solid var(--line); border-radius:10px; padding:12px; }
.ent-stats b { display:block; font-size:22px; }
.ent-stats span { font-size:12px; color:var(--muted); }
.ent-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:10px; }
.ent-card { background:#fff; border:1px solid var(--line); border-radius:12px; padding:14px; }
.ent-top { display:flex; align-items:center; gap:9px; }
.ent-avatar { width:32px; height:32px; border-radius:9px; background:var(--primary-soft); color:var(--primary); display:grid; place-items:center; font-weight:700; }
.ent-top > div:nth-child(2) { flex:1; min-width:0; }
.ent-top b { display:block; font-size:13px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.ent-top span { display:block; margin-top:2px; font-size:11.5px; color:var(--muted); }
.ent-top em { font-style:normal; font-size:11.5px; padding:2px 5px; border-radius:4px; background:#f1f4fa; color:var(--muted); white-space:nowrap; }
.ent-top em.on { background:#e9f9f2; color:#087a51; }
.ent-summary { min-height:38px; margin:9px 0 7px; font-size:12px; line-height:1.6; color:var(--text-2); display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.ent-summary.muted { color:var(--muted); }
.ent-tags { display:flex; flex-wrap:wrap; gap:4px; margin-bottom:9px; }
.ent-tags span { font-size:11.5px; color:var(--muted); background:#f4f7fc; border-radius:4px; padding:2px 5px; }
.ent-detail-head { display:flex; justify-content:space-between; align-items:flex-start; gap:8px; margin-bottom:10px; }
.ent-detail-head b { display:block; font-size:18px; }
.ent-detail-head span { display:block; margin-top:3px; font-size:12px; color:var(--muted); }
.ent-detail-head em { font-style:normal; font-size:11.5px; padding:3px 6px; border-radius:5px; background:#f1f4fa; color:var(--muted); }
.ent-detail-head em.on { background:#e9f9f2; color:#087a51; }
.ent-detail-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:6px; margin-bottom:10px; }
.ent-detail-grid div { background:#f8faff; border-radius:7px; padding:8px; }
.ent-detail-grid span { display:block; font-size:11.5px; color:var(--muted); }
.ent-detail-grid b { display:block; margin-top:3px; font-size:12px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.ent-ai-block { border-top:1px solid #eef2f9; padding:8px 0; font-size:12px; line-height:1.6; color:var(--text-2); }
.ent-ai-block > b { display:block; margin-bottom:4px; font-size:12px; color:var(--text); }
.ent-ai-block p { margin:0; }
.ent-ai-block div { display:flex; flex-wrap:wrap; gap:4px; }
.ent-ai-block span { font-size:11.5px; background:#f1f4fa; border-radius:4px; padding:2px 5px; color:var(--muted); }
.ent-opp-title { margin:9px 0 5px; font-size:12.5px; font-weight:700; }
.ent-opps { border-top:1px solid #eef2f9; }
.ent-opps div { display:flex; gap:7px; align-items:center; padding:7px 0; border-bottom:1px dashed #edf1f8; font-size:12px; }
.ent-opps b { flex:1; font-weight:600; }
.ent-opps span { max-width:45%; color:var(--muted); font-size:11.5px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.ent-opps em { font-style:normal; color:var(--primary); font-weight:600; }
@media(max-width:900px){ .ent-grid { grid-template-columns:1fr 1fr; } .ent-detail-grid { grid-template-columns:1fr 1fr; } }
@media(max-width:600px){ .ent-grid { grid-template-columns:1fr; } }

.ik-stats { display:grid; grid-template-columns:repeat(4,1fr); gap:9px; margin-bottom:12px; }
.ik-stats div { background:#fff; border:1px solid var(--line); border-radius:10px; padding:12px; }
.ik-stats b { display:block; font-size:22px; }
.ik-stats span { font-size:11.5px; color:var(--muted); }
.ik-toolbar { display:flex; gap:7px; margin-bottom:12px; flex-wrap:wrap; }
.ik-toolbar .input { width:280px; }
.ik-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:9px; }
.ik-card { background:#fff; border:1px solid var(--line); border-radius:11px; padding:13px; }
.ik-top { display:flex; align-items:center; justify-content:space-between; gap:6px; }
.ik-type { font-size:11.5px; color:var(--primary); background:var(--primary-soft); border-radius:4px; padding:2px 5px; }
.ik-top em { font-style:normal; font-size:11.5px; color:var(--teal); }
.ik-card h3 { margin:8px 0 5px; font-size:12.5px; line-height:1.45; }
.ik-card p { min-height:44px; margin:0 0 7px; font-size:11.5px; line-height:1.55; color:var(--muted); display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }
.ik-meta { display:flex; flex-wrap:wrap; gap:4px; font-size:11.5px; color:var(--muted); }
.ik-meta span { background:#f4f7fc; border-radius:4px; padding:2px 4px; }
.ik-status.ok { background:#e9f9f2; color:#087a51; }
.ik-status.bad { background:#fdecec; color:#b33a3a; }
.ik-foot { display:flex; gap:4px; align-items:center; margin-top:8px; padding-top:7px; border-top:1px dashed #edf1f8; }
.ik-foot > span { flex:1; font-size:11.5px; color:var(--muted-2); }
.ik-detail-meta { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:10px; font-size:11.5px; color:var(--muted); }
.ik-detail-meta b { color:var(--text); }
.ik-detail-block { border-top:1px solid #eef2f9; padding:8px 0; }
.ik-detail-block > b { display:block; font-size:12px; margin-bottom:4px; }
.ik-detail-block p { margin:0; font-size:12px; line-height:1.65; color:var(--text-2); }
.ik-detail-block small { color:var(--muted); }
@media(max-width:900px){ .ik-grid { grid-template-columns:1fr 1fr; } }
@media(max-width:600px){ .ik-grid { grid-template-columns:1fr; } .ik-stats { grid-template-columns:1fr 1fr; } }

.ik-versions { border-top:1px solid #eef2f9; }
.ik-version { padding:9px 0; border-bottom:1px dashed #edf1f8; }
.ik-version > div { display:flex; justify-content:space-between; gap:8px; align-items:center; }
.ik-version b { font-size:12px; }
.ik-version span { display:block; margin-top:2px; font-size:11.5px; color:var(--muted); }
.ik-version em { font-style:normal; font-size:12px; color:var(--teal); }
.ik-version p { margin:4px 0 0; font-size:11.5px; color:var(--muted); line-height:1.55; }

.ik-stats { grid-template-columns:repeat(5,1fr) !important; }

.ik-network { margin-top:14px; background:#fff; border:1px solid var(--line); border-radius:13px; padding:14px; }
.ik-network-head { display:flex; justify-content:space-between; align-items:flex-start; gap:10px; margin-bottom:9px; }
.ik-network-head b { display:block; margin-top:4px; font-size:16px; }
.ik-network-head p { margin:3px 0 0; font-size:11.5px; color:var(--muted); }
.ik-network-stats { display:grid; grid-template-columns:repeat(4,1fr); gap:7px; margin-bottom:10px; }
.ik-network-stats div { background:#f8faff; border:1px solid #edf1f8; border-radius:8px; padding:8px; }
.ik-network-stats b { display:block; font-size:18px; }
.ik-network-stats span { font-size:11.5px; color:var(--muted); }
.ik-network-grid { display:grid; grid-template-columns:1.2fr 1fr; gap:10px; }
.ik-network-industry { display:flex; align-items:center; gap:8px; border-bottom:1px dashed #edf1f8; padding:7px 0; }
.ik-network-industry > b { width:130px; font-size:11.5px; }
.ik-network-industry > div { display:flex; gap:4px; flex-wrap:wrap; }
.ik-network-industry span { font-size:11.5px; color:var(--muted); background:#f4f7fc; border-radius:4px; padding:2px 4px; }
.ik-public-list { border-left:1px solid #eef2f9; padding-left:10px; }
.ik-public-row { display:flex; justify-content:space-between; gap:7px; align-items:center; border-bottom:1px dashed #edf1f8; padding:7px 0; }
.ik-public-row b { display:block; font-size:11.5px; }
.ik-public-row span { display:block; margin-top:2px; font-size:11.5px; color:var(--muted); }
.ik-public-row em { font-style:normal; font-size:11.5px; color:var(--teal); }
@media(max-width:800px){ .ik-network-grid { grid-template-columns:1fr; } .ik-network-stats { grid-template-columns:1fr 1fr; } }

.ik-graph { height:340px; border:1px solid #edf1f8; border-radius:9px; margin-bottom:10px; background:radial-gradient(circle at 50% 50%,#fbfdff,#f5f8fd); }

.ik-network-actions { display:flex; align-items:center; gap:8px; flex-wrap:wrap; justify-content:flex-end; }
.ik-network-actions .check { font-size:11.5px; color:var(--muted); }

.ik-network-note { display:block; margin-top:4px; font-size:11.5px; color:var(--muted-2); line-height:1.5; }
.ik-public-empty { padding:10px 8px; display:flex; flex-direction:column; gap:4px; }
.ik-public-empty b { font-size:12px; }
.ik-public-empty span { font-size:11.5px; color:var(--muted); line-height:1.5; }

.network-hero { background:linear-gradient(120deg,#0b1220,#12305e 60%,#0e5a63); border-radius:16px; color:#fff; padding:20px; display:flex; justify-content:space-between; gap:16px; align-items:flex-end; margin-bottom:11px; }
.network-hero h1 { margin:6px 0 6px; font-size:26px; line-height:1.18; letter-spacing:-.4px; }
.network-hero h1 em { color:#8fe7dd; font-style:normal; }
.network-hero p { margin:0; font-size:12px; color:#b9c9e7; line-height:1.6; }
.network-hero-stats { display:grid; grid-template-columns:repeat(4,1fr); gap:6px; flex-shrink:0; }
.network-hero-stats div { background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.12); border-radius:8px; padding:9px; min-width:78px; text-align:center; }
.network-hero-stats b { display:block; font-size:18px; }
.network-hero-stats span { display:block; margin-top:2px; font-size:11.5px; color:#a9c1e8; }
.network-pipeline, .network-card { background:#fff; border:1px solid var(--line); border-radius:14px; padding:15px; }
.network-section-head { display:flex; justify-content:space-between; align-items:flex-start; gap:10px; margin-bottom:10px; }
.network-section-head h2 { margin:4px 0 3px; font-size:16px; }
.network-section-head p { margin:0; font-size:11.5px; color:var(--muted); }
.network-progress { font-size:11.5px; color:#087a51; background:#e9f9f2; border:1px solid #c5eedd; border-radius:999px; padding:4px 7px; white-space:nowrap; }
.network-steps { display:flex; align-items:stretch; gap:4px; overflow-x:auto; }
.network-step { flex:1; min-width:86px; border:1px solid #edf1f8; border-radius:8px; padding:7px; background:#fbfcff; }
.network-step > span { display:block; font-size:11.5px; color:var(--muted-2); font-weight:700; }
.network-step > b { display:block; margin-top:3px; font-size:11.5px; }
.network-step > em { display:block; margin-top:3px; font-size:11.5px; color:var(--muted); font-style:normal; }
.network-step.done { border-color:#c5eedd; background:#f4fdf9; }
.network-step.done > em { color:#087a51; }
.network-step.active { border-color:#f0d6a8; background:#fffbf1; }
.network-step.active > em { color:#8a6a24; }
.network-steps > i { align-self:center; color:#b5c4df; font-style:normal; font-size:13.5px; flex-shrink:0; }
.network-main { display:grid; grid-template-columns:1.45fr 1fr; gap:10px; margin-top:11px; }
.network-graph { height:380px; background:radial-gradient(circle at 50% 50%,#fbfdff,#f5f8fd); border-radius:9px; }
.network-story-card p { font-size:12px; line-height:1.65; color:var(--muted); }
.network-story-card dl { display:grid; grid-template-columns:85px 1fr; gap:6px 8px; margin:9px 0 0; font-size:11.5px; }
.network-story-card dt { color:var(--muted); }
.network-story-card dd { margin:0; color:var(--text-2); }
.network-knowledge { margin-top:11px; }
.network-knowledge-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:7px; }
.network-knowledge-card { border:1px solid #edf1f8; border-radius:8px; padding:9px; background:#fbfcff; }
.network-knowledge-card span { font-size:11.5px; color:var(--primary); background:var(--primary-soft); padding:2px 4px; border-radius:4px; }
.network-knowledge-card b { display:block; margin:5px 0 3px; font-size:11.5px; }
.network-knowledge-card p { margin:0; font-size:11.5px; line-height:1.5; color:var(--muted); display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }
.network-knowledge-card em { display:block; margin-top:5px; font-style:normal; font-size:11.5px; color:var(--teal); }
@media(max-width:900px){ .network-hero { flex-direction:column; align-items:flex-start; } .network-main { grid-template-columns:1fr; } .network-knowledge-grid { grid-template-columns:1fr 1fr; } }
@media(max-width:600px){ .network-hero-stats { grid-template-columns:1fr 1fr; } .network-knowledge-grid { grid-template-columns:1fr; } }

.network-events { margin-top:11px; }
.network-event-list { border-top:1px solid #eef2f9; }
.network-event { display:grid; grid-template-columns:100px 1fr 90px; gap:8px; align-items:center; padding:7px 0; border-bottom:1px dashed #edf1f8; }
.network-event span { font-size:11.5px; color:var(--muted-2); }
.network-event b { font-size:11.5px; font-weight:600; }
.network-event em { font-size:11.5px; color:var(--muted); font-style:normal; text-align:right; }

.proof-hero { background:linear-gradient(120deg,#0b1220,#173b78 55%,#0e5a63); border-radius:16px; color:#fff; padding:20px; display:flex; justify-content:space-between; align-items:flex-end; gap:14px; margin-bottom:11px; }
.proof-hero h1 { margin:6px 0; font-size:27px; line-height:1.15; letter-spacing:-.4px; }
.proof-hero h1 em { font-style:normal; color:#8fe7dd; }
.proof-hero p { margin:0; font-size:12px; color:#b9c9e7; }
.proof-hero-stats { display:grid; grid-template-columns:repeat(4,1fr); gap:6px; }
.proof-hero-stats div { background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.13); border-radius:8px; padding:9px 12px; text-align:center; min-width:82px; }
.proof-hero-stats b { display:block; font-size:18px; }
.proof-hero-stats span { font-size:11.5px; color:#a9c1e8; }
.proof-section { background:#fff; border:1px solid var(--line); border-radius:14px; padding:15px; margin-top:10px; }
.proof-demo { font-size:11.5px; color:#8a6a24; background:#fff8e6; border:1px solid #f0d6a8; border-radius:999px; padding:4px 8px; white-space:nowrap; }
.proof-decision { display:grid; grid-template-columns:1.5fr 1fr; gap:12px; }
.proof-three { display:grid; grid-template-columns:repeat(3,1fr); gap:7px; }
.proof-three > div { border:1px solid #edf1f8; border-radius:9px; padding:9px; background:#fbfcff; }
.proof-three span { display:block; font-size:11.5px; color:var(--muted); }
.proof-three b { display:block; margin:3px 0; font-size:16px; }
.proof-three em { display:block; font-style:normal; font-size:11.5px; color:var(--muted); line-height:1.45; }
.proof-city-table { margin-top:8px; }
.proof-city-row { display:grid; grid-template-columns:40px 1fr 28px 50px; gap:6px; align-items:center; padding:4px 0; font-size:11.5px; }
.proof-city-row > span { font-weight:600; }
.proof-city-row > span.rec { color:var(--primary); }
.proof-city-row > div { height:6px; background:#edf1f8; border-radius:99px; overflow:hidden; }
.proof-city-row > div i { display:block; height:100%; background:linear-gradient(90deg,#2b5cff,#0ea5a4); border-radius:99px; }
.proof-city-row b { text-align:right; }
.proof-city-row em { font-style:normal; font-size:11.5px; color:var(--primary); }
.proof-option-note { margin-top:6px; font-size:11.5px; color:var(--muted); line-height:1.55; }
.proof-case-side { border-left:1px solid #eef2f9; padding-left:12px; }
.proof-case-side p { font-size:12px; line-height:1.7; color:var(--muted); }
.proof-case-side dl { display:grid; grid-template-columns:55px 1fr; gap:5px; margin:8px 0 0; font-size:11.5px; }
.proof-case-side dt { color:var(--muted); }
.proof-case-side dd { margin:0; }
.proof-metrics { display:grid; grid-template-columns:repeat(4,1fr); gap:8px; }
.proof-metric { border:1px solid #edf1f8; border-radius:9px; padding:10px; background:#fbfcff; }
.proof-metric span { display:block; font-size:11.5px; color:var(--muted); }
.proof-metric b { display:block; margin:3px 0; font-size:20px; }
.proof-metric em { font-style:normal; font-size:11.5px; color:var(--muted-2); }
.proof-caveat { margin-top:8px; font-size:11.5px; color:var(--muted-2); }
.proof-graph { height:320px; border:1px solid #edf1f8; border-radius:9px; background:radial-gradient(circle at 50% 50%,#fbfdff,#f5f8fd); }
.proof-knowledge-list { display:grid; grid-template-columns:repeat(3,1fr); gap:6px; margin-top:8px; }
.proof-knowledge-list div { border:1px solid #edf1f8; border-radius:7px; padding:7px; }
.proof-knowledge-list b { display:block; font-size:11.5px; }
.proof-knowledge-list span { display:block; margin-top:2px; font-size:11.5px; color:var(--muted); }
.proof-closing { margin-top:10px; background:#eef3ff; border:1px solid #dbe5ff; border-radius:12px; padding:12px 15px; }
.proof-closing b { font-size:12px; color:var(--primary); }
.proof-closing p { margin:4px 0 0; font-size:12.5px; line-height:1.65; color:var(--text-2); }
@media(max-width:900px){ .proof-hero{flex-direction:column;align-items:flex-start}.proof-decision{grid-template-columns:1fr}.proof-case-side{border-left:0;border-top:1px solid #eef2f9;padding:10px 0 0}.proof-metrics{grid-template-columns:1fr 1fr}.proof-hero-stats{grid-template-columns:1fr 1fr}.proof-knowledge-list{grid-template-columns:1fr 1fr} }

.proof-benchmarks { display:grid; grid-template-columns:repeat(4,1fr); gap:8px; }
.proof-benchmark { border:1px solid #edf1f8; border-radius:9px; padding:10px; background:#fbfcff; }
.proof-benchmark span { display:block; font-size:11.5px; color:var(--muted); }
.proof-benchmark b { display:block; margin:4px 0; font-size:18px; color:var(--primary); }
.proof-benchmark em { font-style:normal; font-size:11.5px; color:var(--muted-2); }
@media(max-width:900px){ .proof-benchmarks{grid-template-columns:1fr 1fr} }

.proof-providers { display:grid; grid-template-columns:repeat(3,1fr); gap:8px; }
.proof-provider { border:1px solid #edf1f8; border-radius:9px; padding:10px; background:#fbfcff; }
.proof-provider-head { display:flex; justify-content:space-between; gap:6px; align-items:center; }
.proof-provider-head b { font-size:12px; }
.proof-provider-head em { font-style:normal; font-size:12px; color:var(--teal); }
.proof-provider small { display:block; margin-top:3px; font-size:11.5px; color:var(--muted); }
.proof-provider-bars { display:flex; justify-content:space-between; margin-top:6px; font-size:11.5px; color:var(--muted); }
.proof-provider-bars b { color:var(--text-2); }
@media(max-width:900px){ .proof-providers{grid-template-columns:1fr 1fr} }

.proof-choice { display:flex; gap:6px; margin-top:8px; }
.proof-choice .select { flex:1; }

.proof-empty { display:flex; flex-direction:column; gap:5px; padding:18px; background:#fbfcff; border:1px dashed #dbe5ff; border-radius:10px; }
.proof-empty b { font-size:15px; }
.proof-empty span { font-size:12.5px; color:var(--muted); line-height:1.6; }

.proof-wait { margin-top:9px; padding:8px 10px; border:1px dashed #f0d6a8; border-radius:7px; background:#fffbf1; font-size:12px; color:#8a6a24; line-height:1.5; }

/* Account settings modal */
.account-form .field { margin-bottom: 16px; }
.account-form .field-label { font-size: 13.5px !important; margin-bottom: 7px; }
.account-form .input { width: 100%; height: 44px; box-sizing: border-box; padding: 0 13px; font-size: 14px !important; }
.account-form .field-help { font-size: 12px !important; line-height: 1.5; margin-top: 5px; }
.account-form .divider { margin: 20px 0 16px; }
.account-section-title { font-size: 12px; font-weight: 700; letter-spacing: .06em; color: var(--muted-2); margin: 0 0 12px; }
.account-note { margin: -2px 0 14px; padding: 9px 11px; border: 1px solid #e4ebf7; border-radius: 8px; background: #f7faff; color: var(--muted); font-size: 12px; line-height: 1.55; }

/* Long-list pagination */
.ent-pager, .ik-pager, .value-pager { margin-top: 14px; }
.ent-pager .pagination, .ik-pager .pagination, .value-pager .pagination { margin-left: auto; }

/* AI learning daily */
.learning-toolbar { display:flex; align-items:center; gap:10px; margin-bottom:14px; }
.learning-toolbar label { font-size:13px; color:var(--muted); }
.learning-toolbar .select { width:160px; height:36px; }
.learning-stats { display:grid; grid-template-columns:repeat(4,1fr); gap:9px; margin-bottom:16px; }
.learning-stats > div { padding:11px 12px; border:1px solid var(--line); border-radius:9px; background:#fbfcff; }
.learning-stats b { display:block; font-size:20px; color:var(--text); }
.learning-stats span { font-size:12px; color:var(--muted); }
.learning-section { margin-top:18px; }
.learning-heading { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-bottom:8px; }
.learning-heading h3 { margin:0; font-size:14px; }
.learning-heading span { font-size:12px; color:var(--muted-2); }
.learning-row { display:grid; grid-template-columns:minmax(180px, .8fr) minmax(240px, 1.6fr) 70px; gap:12px; padding:10px 0; border-bottom:1px dashed var(--line); align-items:start; }
.learning-row b { display:block; font-size:13px; }
.learning-row span { display:block; margin-top:3px; font-size:12px; color:var(--muted); }
.learning-row p { margin:0; font-size:12.5px; line-height:1.6; color:var(--text-2); }
.learning-row em { font-style:normal; font-size:12px; color:var(--teal); text-align:right; }
.learning-imports { display:flex; flex-wrap:wrap; gap:6px; }
.learning-imports span { padding:5px 8px; border-radius:6px; background:#f3f6fc; border:1px solid #e5ebf6; font-size:12px; color:var(--text-2); }
@media(max-width:720px){ .learning-stats{grid-template-columns:repeat(2,1fr)} .learning-row{grid-template-columns:1fr} .learning-row em{text-align:left} }

/* Enterprise learning lifecycle */
.ent-lifecycle { margin-top:14px; border:1px solid #e4ebf7; border-radius:10px; padding:13px; background:#fbfcff; }
.ent-life-head { display:flex; justify-content:space-between; align-items:flex-start; gap:10px; margin-bottom:10px; }
.ent-life-head b { display:block; font-size:14px; }
.ent-life-head span { display:block; margin-top:2px; font-size:12px; color:var(--muted); }
.ent-life-head .ent-life-count { padding:3px 7px; border-radius:6px; background:#eef4ff; color:var(--primary); white-space:nowrap; }
.ent-stages { display:grid; grid-template-columns:repeat(4,1fr); gap:7px; margin-bottom:12px; }
.ent-stage { padding:8px; border:1px solid #e5ebf6; border-radius:8px; background:#fff; min-height:52px; }
.ent-stage.done { border-color:#bfe8d8; background:#f5fcf9; }
.ent-stage i { font-style:normal; color:var(--muted-2); margin-right:3px; }
.ent-stage.done i { color:var(--teal); }
.ent-stage b { font-size:12px; }
.ent-stage span { display:block; margin-top:3px; font-size:11px; color:var(--muted); }
.ent-life-grid { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.ent-life-label { font-size:12px; font-weight:700; color:var(--text-2); margin:4px 0 5px; }
.ent-life-row { padding:7px 0; border-top:1px dashed var(--line); }
.ent-life-row b { display:block; font-size:12px; }
.ent-life-row span { display:block; margin-top:2px; font-size:11.5px; line-height:1.5; color:var(--muted); }
.ent-life-actions { display:flex; justify-content:space-between; align-items:center; gap:10px; margin-top:12px; padding-top:10px; border-top:1px solid var(--line); }
.ent-life-actions span { font-size:11.5px; color:var(--muted); }
@media(max-width:720px){ .ent-stages{grid-template-columns:1fr 1fr} .ent-life-grid{grid-template-columns:1fr} }

/* AI learning tabs/pagination */
.learning-tabs { display:flex; gap:6px; overflow-x:auto; padding:2px 0 10px; border-bottom:1px solid var(--line); margin-bottom:12px; }
.learning-tab { flex:0 0 auto; border:1px solid #e3eaf6; background:#fff; color:var(--text-2); border-radius:8px; padding:7px 10px; font-size:12.5px; cursor:pointer; }
.learning-tab i { font-style:normal; margin-left:5px; color:var(--muted-2); font-size:11px; }
.learning-tab.active { background:#eef4ff; border-color:#b9ccff; color:var(--primary); }
.learning-tab.active i { color:var(--primary); }
.learning-pager { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-top:12px; }
.learning-pager > span { font-size:12px; color:var(--muted); white-space:nowrap; }
.learning-pager .pagination { margin-left:auto; }

/* Industry knowledge graph controls */
.ik-graph-toolbar { display:flex; justify-content:space-between; align-items:center; gap:8px; margin-bottom:7px; }
.ik-graph-toolbar > span { font-size:11.5px; color:var(--muted); }
.ik-graph-toolbar > div { display:flex; gap:5px; }
.ik-graph-toolbar .btn { height:27px; padding:0 9px; }
.ik-graph:fullscreen { width:100vw; height:100vh; padding:18px; box-sizing:border-box; border:0; border-radius:0; background:#fff; }
.ik-graph:fullscreen + * { display:none; }

.ik-network-pager { display:flex; align-items:center; justify-content:space-between; gap:8px; margin-top:8px; }
.ik-network-pager > span { font-size:11.5px; color:var(--muted); white-space:nowrap; }
.ik-network-pager .pagination { margin-left:auto; }

/* Keep a resized fullscreen canvas inside its normal container after exit. */
.ik-graph { overflow: hidden; }
.ik-graph canvas { max-width: 100% !important; max-height: 100% !important; }

.ik-graph-legend { display:inline-flex; align-items:center; gap:5px; margin-left:8px; font-style:normal; color:var(--muted); }
.ik-graph-legend i { display:inline-block; width:8px; height:8px; border-radius:50%; margin-left:5px; }
.ik-graph-legend .is-industry { background:#2b5cff; }
.ik-graph-legend .is-type { background:#0ea5a4; }
.ik-graph-legend .is-link { width:12px; height:1px; border-radius:0; background:#c7d4ea; }
