/* ==========================================================================
   客户案例 · 设计系统（case.css）
   仅用于 cases.html 与 case/*.html，所有类名以 cs- / cl- / sc- 前缀隔离
   ========================================================================== */

/* ---------- 通用 ---------- */
.cs-wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.cs-narrow { max-width: 940px; margin: 0 auto; padding: 0 24px; }
.cs-mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }

/* ---------- 案例首屏 ---------- */
.cs-hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 380px at 12% -10%, rgba(37,99,235,.10), transparent 60%),
    radial-gradient(700px 320px at 88% 0%, rgba(6,182,212,.10), transparent 62%),
    linear-gradient(180deg, #f8fbff 0%, #fff 100%);
  border-bottom: 1px solid var(--line);
  padding: 40px 0 44px;
}
.cs-hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(15,23,42,.055) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 78%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 78%);
}
.cs-hero > * { position: relative; z-index: 1; }
.cs-crumb { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); margin-bottom: 20px; }
.cs-crumb a:hover { color: var(--primary); }
.cs-crumb i { font-style: normal; opacity: .45; }
.cs-hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 600; letter-spacing: .2px;
  color: var(--ca, #2563eb); background: var(--ca-soft, #eff6ff);
  border: 1px solid var(--ca-line, #dbeafe);
  padding: 5px 12px; border-radius: 999px;
}
.cs-hero-tag .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ca, #2563eb); }
.cs-hero h1 {
  margin: 16px 0 12px; font-size: clamp(26px, 3.5vw, 38px);
  line-height: 1.26; letter-spacing: -.3px; max-width: 940px;
  text-wrap: balance;
}
.cs-hero .lead {
  font-size: 16px; color: var(--ink-soft); max-width: 940px; line-height: 1.85;
  text-wrap: pretty;
}
.cs-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }

/* 客户档案条 */
.cs-meta {
  margin-top: 28px; display: grid; grid-template-columns: 0.92fr 1.14fr 1.02fr 0.9fr 1.02fr;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 18px 40px -30px rgba(15,23,42,.35);
  overflow: hidden;
}
.cs-meta > div { padding: 14px 18px; border-right: 1px solid #eef2f8; min-width: 0; }
.cs-meta > div:last-child { border-right: 0; }
.cs-meta dt { font-size: 11.5px; color: var(--muted); letter-spacing: .6px; margin-bottom: 4px; }
.cs-meta dd { font-size: 13.5px; font-weight: 600; color: var(--ink); line-height: 1.45; }

/* 保密说明 */
.cs-anon {
  margin-top: 14px; display: flex; gap: 9px; align-items: flex-start;
  font-size: 12.5px; color: #7c8798; line-height: 1.7;
}
.cs-anon b { color: #5b6b80; font-weight: 600; }
.cs-anon .i {
  flex: 0 0 16px; width: 16px; height: 16px; margin-top: 2px; border-radius: 50%;
  background: #eef2f8; color: #8494a7; font-size: 10px; font-weight: 700;
  display: grid; place-items: center;
}

/* ---------- 章节骨架 ---------- */
.cs-sec { padding: 76px 0; }
.cs-sec-hd .aside { white-space: nowrap; }
.cs-sec.soft { background: linear-gradient(180deg, #f8fafc 0%, #fbfcfe 100%); border-top: 1px solid #eef2f8; }
.cs-sec.dark { background: #0b1220; color: #c7d2e3; }
.cs-sec.dark h2, .cs-sec.dark h3, .cs-sec.dark b { color: #fff; }
.cs-sec-hd { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 32px; }
.cs-sec-hd .n {
  flex: 0 0 auto; margin-top: 3px;
  font-family: ui-monospace, Menlo, monospace; font-size: 12px; font-weight: 700;
  color: var(--ca, #2563eb); background: var(--ca-soft, #eff6ff);
  border: 1px solid var(--ca-line, #dbeafe);
  padding: 3px 8px; border-radius: 6px; letter-spacing: .5px;
}
.cs-sec-hd h2 { font-size: clamp(21px, 2.4vw, 27px); line-height: 1.35; margin-bottom: 5px; }
.cs-sec-hd p { font-size: 14px; color: var(--muted); }
.cs-sec.dark .cs-sec-hd p { color: #94a3b8; }
.cs-sec-hd .aside { margin-left: auto; font-size: 12.5px; color: var(--muted); text-align: right; }
.cs-sec.dark .cs-sec-hd .aside { color: #8ea0ba; }

.cs-body p { font-size: 15px; color: var(--ink-soft); line-height: 1.9; }
.cs-body p + p { margin-top: 12px; }
.cs-body b { color: var(--ink); }

/* 挑战：文字 + 基线卡 */
.cs-chal { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: start; }
.cs-facts { display: grid; gap: 10px; }
.cs-fact {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 14px 16px; display: flex; align-items: center; gap: 14px;
}
.cs-fact .v {
  font-size: 21px; font-weight: 800; color: var(--ca, #2563eb);
  font-family: ui-monospace, Menlo, monospace; letter-spacing: -.5px;
  flex: 0 0 auto; min-width: 72px;
}
.cs-fact .t { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.cs-fact .b { font-size: 11.5px; color: var(--muted); margin-top: 2px; }

/* 方案：三支柱 + 架构 */
.cs-pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 30px; }
.cs-pillar {
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 20px;
  position: relative; overflow: hidden;
}
.cs-pillar::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--ca, #2563eb);
}
.cs-pillar .k { font-size: 11.5px; font-weight: 700; color: var(--ca, #2563eb); letter-spacing: .8px; }
.cs-pillar h3 { font-size: 16px; margin: 5px 0 7px; }
.cs-pillar p { font-size: 13.5px; color: var(--muted); line-height: 1.75; }

.cs-arch { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff; }
.cs-arch-layer { display: flex; align-items: stretch; border-bottom: 1px solid #eef2f8; }
.cs-arch-layer:last-child { border-bottom: 0; }
.cs-arch-k {
  flex: 0 0 132px; padding: 15px 16px; font-size: 12.5px; font-weight: 700; color: var(--ink);
  background: #f8fafc; border-right: 1px solid #eef2f8; display: flex; align-items: center; gap: 8px;
}
.cs-arch-k i {
  width: 6px; height: 6px; border-radius: 2px; background: var(--ca, #2563eb); flex: 0 0 auto;
}
.cs-arch-v { flex: 1; padding: 12px 16px; display: flex; flex-wrap: wrap; gap: 7px; align-items: center; }
.cs-arch-v span {
  font-size: 12.5px; color: #3f4c60; background: #f4f7fb;
  border: 1px solid #e7edf6; border-radius: 7px; padding: 5px 10px;
}
.cs-stack { margin-top: 14px; font-size: 12.5px; color: var(--muted); display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.cs-stack b { color: var(--ink-soft); font-weight: 600; }
.cs-stack code {
  font-family: ui-monospace, Menlo, monospace; font-size: 11.5px;
  background: #f4f7fb; border: 1px solid #e7edf6; border-radius: 6px; padding: 3px 7px; color: #46566c;
}

/* 实施路径 */
.cs-phases { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.cs-phase { position: relative; padding: 0 18px 0 0; }
.cs-phase::before {
  content: ""; position: absolute; left: 11px; top: 12px; right: -18px; height: 2px;
  background: linear-gradient(90deg, var(--ca-line, #dbeafe), #eef2f8);
}
.cs-phase:last-child::before { display: none; }
.cs-phase .dot {
  position: relative; z-index: 1; width: 24px; height: 24px; border-radius: 50%;
  background: #fff; border: 2px solid var(--ca, #2563eb); color: var(--ca, #2563eb);
  font-size: 11px; font-weight: 800; display: grid; place-items: center; margin-bottom: 14px;
}
.cs-phase h3 { font-size: 15px; margin-bottom: 4px; }
.cs-phase .d { font-size: 11.5px; font-weight: 700; color: var(--ca, #2563eb); letter-spacing: .4px; margin-bottom: 7px; }
.cs-phase p { font-size: 13px; color: var(--muted); line-height: 1.7; }

/* 关键场景 */
.cs-scen { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff; }
.cs-scen-row { display: grid; grid-template-columns: 168px 1fr; gap: 0; border-bottom: 1px solid #eef2f8; }
.cs-scen-row:last-child { border-bottom: 0; }
.cs-scen-row > div { padding: 16px 18px; font-size: 13.5px; line-height: 1.72; }
.cs-scen-row > div + div { border-left: 1px solid #f1f5fa; }
.cs-scen-who { background: #f8fafc; }
.cs-scen-who b { display: block; font-size: 13.5px; color: var(--ink); }
.cs-scen-who span { font-size: 11.5px; color: var(--muted); }
.cs-scen-row .k { display: block; font-size: 11px; font-weight: 700; letter-spacing: .6px; color: #94a3b8; margin-bottom: 4px; }
.cs-scen-hd > div { font-size: 11px; font-weight: 700; letter-spacing: .8px; color: #8a97a9; background: #f8fafc; padding-top: 10px; padding-bottom: 10px; }
.cs-scen-hd > div:first-child { color: #64748b; }

/* 成果 */
.cs-results { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.cs-res {
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 20px 22px;
}
.cs-res .v { font-size: 30px; font-weight: 800; color: var(--ca, #2563eb); letter-spacing: -1px; line-height: 1.1; }
.cs-res .l { font-size: 14px; font-weight: 600; color: var(--ink); margin-top: 6px; }
.cs-res .b { font-size: 12px; color: var(--muted); margin-top: 6px; padding-top: 8px; border-top: 1px dashed #e8eef7; }
.cs-res .b b { color: #7c8798; font-weight: 600; }
.cs-basis {
  margin-top: 16px; display: flex; gap: 9px; align-items: flex-start;
  background: #f8fafc; border: 1px dashed #dbe4f0; border-radius: 10px; padding: 13px 16px;
  font-size: 12.5px; color: #6b7a8f; line-height: 1.75;
}

/* 问题与处理 */
.cs-issues { display: grid; gap: 12px; }
.cs-issue {
  display: grid; grid-template-columns: 140px 1fr 1fr 150px; gap: 0;
  border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff;
}
.cs-issue > div { padding: 14px 16px; font-size: 13px; line-height: 1.7; }
.cs-issue > div + div { border-left: 1px solid #f1f5fa; }
.cs-issue .h { background: #f8fafc; font-weight: 600; color: var(--ink); font-size: 13px; }
.cs-issue .k { display: block; font-size: 10.5px; letter-spacing: .6px; color: #94a3b8; margin-bottom: 3px; font-weight: 700; }
.cs-issue .done { color: #0f766e; font-weight: 600; font-size: 12.5px; background: #f2fbf8; }

/* 客户评价 */
.cs-quote {
  max-width: 820px; margin: 0 auto; text-align: center;
}
.cs-quote .mark { font-size: 56px; line-height: 1; color: var(--ca, #2563eb); opacity: .18; font-family: Georgia, serif; }
.cs-quote blockquote { font-size: clamp(17px, 2vw, 21px); line-height: 1.95; color: #e8eef8; font-weight: 500; margin-top: -10px; }
.cs-quote .who { margin-top: 24px; font-size: 13px; color: #93a4bd; }
.cs-quote .who b { color: #fff; font-size: 14px; display: block; margin-bottom: 2px; }
.cs-quote .veri {
  margin-top: 18px; display: inline-flex; align-items: center; gap: 7px;
  font-size: 11.5px; color: #8fb3d9; border: 1px solid #24334d;
  padding: 5px 12px; border-radius: 999px; background: rgba(255,255,255,.03);
}

/* 交付物 */
.cs-deliv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.cs-deliv div {
  font-size: 13px; color: #46566c; background: #fff; border: 1px solid var(--line);
  border-radius: 9px; padding: 11px 14px; display: flex; gap: 9px; align-items: flex-start;
}
.cs-deliv div::before {
  content: "✓"; color: #0f9d76; font-weight: 800; font-size: 12px; line-height: 1.6;
}

/* 关联 */
.cs-rel-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; align-items: stretch; }
.cs-rel-card {
  display: block; background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 20px; transition: .22s; position: relative;
}
.cs-rel-card:hover { border-color: var(--ca-line, #dbeafe); box-shadow: var(--shadow); transform: translateY(-3px); }
.cs-rel-card .k { font-size: 11px; font-weight: 700; letter-spacing: .7px; color: var(--ca, #2563eb); }
.cs-rel-card h3 { font-size: 15.5px; margin: 6px 0 6px; }
.cs-rel-card p { font-size: 12.5px; color: var(--muted); line-height: 1.7; }
.cs-rel-card .go { position: absolute; right: 18px; bottom: 16px; font-size: 12px; color: var(--ca, #2563eb); font-weight: 700; }

/* CTA */
.cs-cta {
  border-radius: 18px; padding: 46px 40px 48px; color: #fff; position: relative; overflow: hidden;
  text-align: center;
  background: linear-gradient(120deg, #0b1220 0%, #12233f 55%, #0e3a56 100%);
}
.cs-cta::after {
  content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px;
  border-radius: 50%; background: radial-gradient(circle, rgba(37,99,235,.35), transparent 65%);
}
.cs-cta h2 { color: #fff; font-size: 24px; margin-bottom: 10px; position: relative; z-index: 1; }
.cs-cta p { color: #a9bcd6; font-size: 14px; max-width: 700px; margin: 0 auto; position: relative; z-index: 1; text-wrap: balance; }
.cs-cta .row { margin-top: 22px; display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; position: relative; z-index: 1; }

/* ==========================================================================
   设计图（界面示意）
   ========================================================================== */
.cs-shots { display: grid; grid-template-columns: 1.95fr 1fr; gap: 22px; align-items: center; }
.cs-shot { min-width: 0; }
.cs-shot-cap {
  display: flex; align-items: center; gap: 8px; margin-top: 10px;
  font-size: 12px; color: var(--muted); line-height: 1.6;
}
.cs-shot-cap b { color: var(--ink-soft); font-weight: 600; }
.cs-swipe { display: none; margin-left: auto; font-size: 11px; color: #9aa7b8; }
.cs-shot-cap .no {
  flex: 0 0 auto; font-family: ui-monospace, Menlo, monospace; font-size: 10.5px;
  border: 1px solid var(--line); border-radius: 5px; padding: 1px 5px; color: #8a97a9;
}

/* 浏览器框 */
.cs-browser {
  background: #fff; border: 1px solid #dbe3ef; border-radius: 12px; overflow: hidden;
  box-shadow: 0 30px 60px -34px rgba(15,23,42,.42), 0 2px 6px rgba(15,23,42,.05);
}
.cs-browser-bar {
  height: 30px; display: flex; align-items: center; gap: 10px; padding: 0 11px;
  background: linear-gradient(180deg, #f7f9fc, #eef2f8); border-bottom: 1px solid #e2e8f2;
}
.cs-browser-bar .dots { display: flex; gap: 5px; }
.cs-browser-bar .dots i { width: 8px; height: 8px; border-radius: 50%; background: #d7dfea; }
.cs-browser-bar .dots i:first-child { background: #ffbdb6; }
.cs-browser-bar .dots i:nth-child(2) { background: #ffdda8; }
.cs-browser-bar .dots i:nth-child(3) { background: #b6e3bd; }
.cs-url {
  flex: 1; height: 18px; display: flex; align-items: center; gap: 6px; padding: 0 9px;
  background: #fff; border: 1px solid #e3e9f3; border-radius: 5px;
  font-size: 10px; color: #8b98ab; font-family: ui-monospace, Menlo, monospace;
  overflow: hidden; white-space: nowrap;
}
.cs-url .lock { width: 7px; height: 8px; border: 1.4px solid #9fb0c5; border-radius: 2px; position: relative; }
.cs-url .lock::before {
  content: ""; position: absolute; left: 1px; top: -4px; width: 3px; height: 4px;
  border: 1.4px solid #9fb0c5; border-bottom: 0; border-radius: 3px 3px 0 0;
}

/* 手机框 */
.cs-phone {
  width: 100%; max-width: 262px; margin: 0 auto; background: #0e1626;
  border-radius: 30px; padding: 7px; box-shadow: 0 30px 60px -30px rgba(15,23,42,.55);
  border: 1px solid #1e2b41;
}
.cs-phone-screen {
  background: #f4f7fb; border-radius: 24px; overflow: hidden; position: relative;
  height: 536px; display: flex; flex-direction: column;
}
.cs-phone-notch {
  position: absolute; left: 50%; transform: translateX(-50%); top: 6px;
  width: 74px; height: 17px; background: #0e1626; border-radius: 999px; z-index: 5;
}

/* ---------- 屏幕内部：Web ---------- */
.sc { width: 100%; aspect-ratio: 16 / 11.2; background: #f5f7fb; display: flex; overflow: hidden; font-size: 11px; color: #334155; }
.sc * { box-sizing: border-box; }
.sc-side { flex: 0 0 132px; background: linear-gradient(180deg, var(--ca-nav, #101d33) 0%, #0d1728 100%); color: #cbd5e1; padding: 10px 8px; display: flex; flex-direction: column; }
.sc-logo { display: flex; align-items: center; gap: 6px; padding: 3px 5px 11px; }
.sc-logo i { width: 18px; height: 18px; border-radius: 5px; background: var(--ca, #2563eb); display: grid; place-items: center; color: #fff; font-size: 9px; font-style: normal; font-weight: 800; }
.sc-logo b { font-size: 10.5px; color: #fff; font-weight: 700; letter-spacing: .2px; }
.sc-nav { display: flex; flex-direction: column; gap: 2px; }
.sc-nav a { display: flex; align-items: center; gap: 7px; padding: 6px 7px; border-radius: 5px; font-size: 10px; color: #a9b8cd; }
.sc-nav a i { width: 12px; height: 12px; border-radius: 3px; background: #2a3a52; flex: 0 0 auto; }
.sc-nav a.on { background: rgba(255,255,255,.10); color: #fff; font-weight: 600; }
.sc-nav a.on i { background: var(--ca, #2563eb); }
/* 分组菜单 */
.sc-nav-g { font-size: 7.5px; color: #5d6b82; letter-spacing: .6px; padding: 5px 7px 1px; font-weight: 600; }
.sc-nav.grp { gap: 1px; }
.sc-nav.grp a { padding: 3.2px 7px; font-size: 9px; }
.sc-nav.grp a i { width: 10px; height: 10px; }
.sc-side-foot { margin-top: auto; border-top: 1px solid rgba(255,255,255,.08); padding-top: 8px; display: flex; gap: 6px; align-items: center; }
.sc-side-foot .av { width: 18px; height: 18px; border-radius: 50%; background: var(--ca, #2563eb); color: #fff; font-size: 8px; display: grid; place-items: center; font-weight: 700; }
.sc-side-foot span { font-size: 9px; color: #93a4bd; }

.sc-main { flex: 1; min-width: 0; display: flex; flex-direction: column; padding: 10px 12px 12px; gap: 9px; overflow: hidden; }
.sc-top { display: flex; align-items: center; gap: 8px; min-width: 0; flex: 0 0 auto; }
.sc-top h4 { font-size: 12.5px; color: #0f172a; font-weight: 700; margin: 0; white-space: nowrap; flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.sc-top .sub { font-size: 9px; color: #8593a8; margin-left: 2px; white-space: nowrap; flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.sc-top .sp { flex: 1 1 auto; min-width: 4px; }
.sc-search { display: flex; align-items: center; gap: 5px; flex: 0 1 auto; overflow: hidden; white-space: nowrap; height: 19px; padding: 0 8px; background: #fff; border: 1px solid #e3e9f3; border-radius: 999px; font-size: 9px; color: #96a3b6; min-width: 88px; }
.sc-search::before { content: ""; width: 7px; height: 7px; border: 1.3px solid #a9b6c8; border-radius: 50%; }
.sc-ai { display: inline-flex; align-items: center; gap: 4px; flex: 0 0 auto; white-space: nowrap; height: 19px; padding: 0 8px; border-radius: 999px; background: var(--ca-soft, #eff6ff); color: var(--ca-ink, #1d4ed8); font-size: 8.5px; font-weight: 700; border: 1px solid var(--ca-line, #dbeafe); }
.sc-btn { height: 19px; padding: 0 9px; border-radius: 5px; background: var(--ca, #2563eb); color: #fff; font-size: 9px; font-weight: 600; display: inline-flex; align-items: center; flex: 0 0 auto; white-space: nowrap; }
.sc-avatar { flex: 0 0 auto; width: 19px; height: 19px; border-radius: 50%; background: #e2eaf6; color: #5a6b83; font-size: 8px; display: grid; place-items: center; font-weight: 700; }

.sc-insight { display: flex; align-items: center; gap: 7px; padding: 6px 9px; border-radius: 6px; background: var(--ca-soft, #eff6ff); border: 1px solid var(--ca-line, #dbeafe); font-size: 9px; color: var(--ca-ink, #1e40af); line-height: 1.45; }
.sc-insight b { font-weight: 700; flex: 0 0 auto; white-space: nowrap; }
.sc-insight span:not(.badge) { flex: 1; min-width: 0; }
.sc-insight .badge { margin-left: auto; flex: 0 0 auto; background: #fff; border: 1px solid var(--ca-line, #dbeafe); border-radius: 999px; padding: 0 6px; font-size: 8px; font-weight: 700; }

.sc-kpis { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 7px; }
.sc-kpis.k5 { grid-template-columns: repeat(5, minmax(0,1fr)); }

/* 页签 + 筛选条 */
.sc-sub { display: flex; align-items: center; gap: 8px; min-width: 0; }
.sc-tabs { display: flex; gap: 2px; background: #eef2f9; border-radius: 6px; padding: 2px; flex: 0 0 auto; }
.sc-tabs span { font-size: 8.5px; color: #64748b; padding: 2.5px 8px; border-radius: 4px; white-space: nowrap; }
.sc-tabs span.on { background: #fff; color: var(--ca-ink, #1d4ed8); font-weight: 700; box-shadow: 0 1px 2px rgba(15,23,42,.08); }
.sc-chips { display: flex; gap: 5px; margin-left: auto; min-width: 0; overflow: hidden; }
.sc-chips .chip { display: inline-flex; align-items: center; gap: 3px; height: 18px; padding: 0 7px; border-radius: 5px; background: #fff; border: 1px solid #e3e9f3; font-size: 8.5px; color: #5b6b83; white-space: nowrap; }
.sc-chips .chip b { font-weight: 400; color: #a9b6c8; font-size: 7px; }
.sc-chips .chip.on { border-color: var(--ca-line, #dbeafe); background: var(--ca-soft, #eff6ff); color: var(--ca-ink, #1d4ed8); }

/* 图例 */
.sc-lgd { margin-left: auto; display: flex; gap: 7px; flex: 0 1 auto; overflow: hidden; }
.sc-lgd span { display: inline-flex; align-items: center; gap: 3px; font-size: 7.5px; color: #8a97a9; white-space: nowrap; }
.sc-lgd i { width: 6px; height: 6px; border-radius: 2px; display: block; }
.sc-lgd i.k0, .sc-donut-lg i.k0 { background: var(--ca, #2563eb); }
.sc-lgd i.k1, .sc-donut-lg i.k1 { background: var(--ca, #2563eb); opacity: .6; }
.sc-lgd i.k2, .sc-donut-lg i.k2 { background: var(--ca, #2563eb); opacity: .38; }
.sc-lgd i.k3, .sc-donut-lg i.k3 { background: var(--ca, #2563eb); opacity: .2; }

/* 右侧堆叠 */
.sc-stack { display: flex; flex-direction: column; gap: 8px; min-height: 0; }
.sc-stack > .sc-panel { flex: 1 1 auto; min-height: 0; }
/* 环形图面板按内容自适应，避免大片空白 */
.sc-stack > .sc-panel:has(.sc-donut) { flex: 0 0 auto; }
.sc-stack > .sc-panel:has(.sc-donut) .sc-donut-wrap { flex: 0 0 auto; padding: 2px 0; }
.sc-stack .sc-list { gap: 3px; }
.sc-stack .sc-li { padding: 3px 6px; gap: 5px; }
/* 主区列表略收紧，保证多行能完整落进面板 */
.sc-cols > .sc-panel > .sc-list .sc-li { padding: 3px 6px; gap: 5px; }
.sc-cols > .sc-panel > .sc-list .sc-li .tx b { line-height: 1.3; }
.sc-cols > .sc-panel > .sc-list .sc-li .tx span { line-height: 1.3; }
.sc-stack .sc-li .tx b { font-size: 8.5px; line-height: 1.3; }
.sc-stack .sc-li .tx span { font-size: 7px; line-height: 1.35; }
.sc-stack .sc-li .val { font-size: 8px; }
.sc-stack .sc-li .ic { width: 13px; height: 13px; font-size: 7px; }

/* 环形占比 */
.sc-donut-wrap { display: flex; align-items: center; gap: 8px; flex: 1; min-height: 0; }
.sc-donut { flex: 0 0 62px; width: 62px; height: 62px; }
.sc-donut svg { width: 100%; height: 100%; display: block; transform: rotate(0deg); }
.sc-donut .dn { transform: rotate(-90deg); transform-origin: 18px 18px; }
.sc-donut .dn.k0 { stroke: var(--ca, #2563eb); }
.sc-donut .dn.k1 { stroke: var(--ca, #2563eb); opacity: .62; }
.sc-donut .dn.k2 { stroke: var(--ca, #2563eb); opacity: .4; }
.sc-donut .dn.k3 { stroke: var(--ca, #2563eb); opacity: .22; }
.sc-donut-lg { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.sc-donut-lg span { display: flex; align-items: center; gap: 4px; font-size: 8px; color: #64748b; }
.sc-donut-lg i { width: 5px; height: 5px; border-radius: 2px; flex: 0 0 auto; }
.sc-donut-lg b { margin-left: auto; color: #1e293b; font-weight: 700; font-size: 8.5px; }

/* 横向条形 */
.sc-barlist { display: flex; flex-direction: column; gap: 4px; flex: 1; min-height: 0; justify-content: flex-start; overflow: hidden; }
.sc-bl .r { display: flex; align-items: center; justify-content: space-between; margin-bottom: 2px; }
.sc-bl .r b { font-size: 8.5px; color: #46566c; font-weight: 600; }
.sc-bl .r span { font-size: 8px; color: #8593a8; }
.sc-bl .bar { height: 4px; border-radius: 3px; background: #eef3fb; overflow: hidden; }
.sc-bl .bar i { display: block; height: 100%; border-radius: 3px; background: var(--ca, #2563eb); }
.sc-bl .bar i.warn { background: #f59e0b; }
.sc-bl .bar i.err { background: #ef4444; }
.sc-bl { flex: 0 0 auto; }

/* 底部指标带 */
.sc-below { flex: 0 0 114px; min-height: 0; }
.sc-below .sc-panel { padding: 6px 8px 8px; }
.sc-below .sc-list { gap: 3px; }
.sc-below .sc-li { padding: 3.5px 6px; }
.sc-below .sc-li .tx b { font-size: 8.2px; line-height: 1.3; }
.sc-below .sc-li .tx span { font-size: 7px; line-height: 1.3; }
.sc-below .sc-bl .r { margin-bottom: 1.5px; }
.sc-below .sc-barlist { gap: 4px; }
.sc-below .sc-donut-wrap { gap: 6px; }
.sc-below .sc-donut { width: 62px; height: 62px; flex: 0 0 62px; }
.sc-below .sc-donut-lg span { font-size: 7.2px; }

/* 面板内列表 / 条形：有富余高度时纵向铺满，避免底部留大片空白 */
.sc-stack .sc-list, .sc-below .sc-list, .sc-cols > .sc-panel > .sc-list { flex: 1 1 auto; min-height: 0; }
.sc-stack .sc-li, .sc-below .sc-li, .sc-cols > .sc-panel > .sc-list .sc-li { flex: 1 0 auto; }
.sc-barlist { justify-content: flex-start; }
.sc-bl { flex: 1 0 auto; display: flex; flex-direction: column; justify-content: center; }
.sc-strip { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 0; border-top: 1px solid #eef3fa; padding-top: 7px; }
.sc-strip .it { display: flex; flex-direction: column; gap: 1px; padding: 0 8px; border-left: 1px solid #f1f5fa; }
.sc-strip .it:first-child { border-left: 0; padding-left: 0; }
.sc-strip span { font-size: 7.5px; color: #93a1b5; }
.sc-strip b { font-size: 11px; color: #0f172a; font-weight: 800; letter-spacing: -.2px; }
.sc-strip em { font-style: normal; font-size: 7.5px; color: #8494a7; margin-left: 3px; }

.sc-kpi { background: #fff; border: 1px solid #e8eef7; border-radius: 7px; padding: 6px 7px; min-width: 0; overflow: hidden; }
.sc-kpi .t { font-size: 8.5px; color: #8593a8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sc-kpi .v { font-size: 13px; font-weight: 800; color: #0f172a; letter-spacing: -.4px; line-height: 1.25; white-space: nowrap; }
.sc-kpi .v em { font-style: normal; font-size: 7.5px; font-weight: 600; margin-left: 2px; }
.sc-kpi .v em.up, .sc-kpi .v em.down { color: #8494a7; font-weight: 600; }
.sc-kpi .v em.up::before { content: "▲"; font-size: 6px; margin-right: 1px; vertical-align: 1px; }
.sc-kpi .v em.down::before { content: "▼"; font-size: 6px; margin-right: 1px; vertical-align: 1px; }

.sc-panel.grow { flex: 1; min-height: 0; }
/* 主区最后一块撑满高度，避免面板下方漏出页面底色 */
.sc-main > .sc-panel:last-child, .sc-main > .sc-cols:last-child { flex: 1; min-height: 0; }
.sc-panel { background: #fff; border: 1px solid #e8eef7; border-radius: 7px; padding: 8px 9px; min-width: 0; display: flex; flex-direction: column; overflow: hidden; }
.sc-panel-hd { display: flex; align-items: center; gap: 6px; margin-bottom: 6px; }
.sc-panel-hd b { font-size: 9.5px; color: #1e293b; font-weight: 700; flex: 0 0 auto; white-space: nowrap; }
.sc-panel-hd .lg { margin-left: auto; display: flex; gap: 8px; }
.sc-badge { margin-left: auto; flex: 0 0 auto; font-size: 7.5px; font-weight: 700; color: var(--ca-ink, #1d4ed8); background: var(--ca-soft, #eff6ff); border: 1px solid var(--ca-line, #dbeafe); border-radius: 999px; padding: 1px 6px; }
.sc-panel-hd .lg span { font-size: 7.5px; color: #8a97a9; display: inline-flex; align-items: center; gap: 3px; }
.sc-panel-hd .lg span::before { content: ""; width: 5px; height: 5px; border-radius: 2px; background: var(--ca, #2563eb); }
.sc-panel-hd .lg span:nth-child(2)::before { background: #cbd8e8; }

.sc-cols { flex: 1; min-height: 0; display: grid; gap: 8px; grid-auto-rows: minmax(0, 1fr); }
.sc-cols.c2 { grid-template-columns: minmax(0,1.7fr) minmax(0,1fr); }
.sc-cols.c3 { grid-template-columns: 1fr 1fr 1fr; }

/* 图表 */
.sc-chart { flex: 1; display: flex; align-items: flex-end; gap: 7px; padding-top: 4px; position: relative; min-height: 0; }
.sc-chart::before, .sc-chart::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1px; background: #eef3fa;
}
.sc-chart::before { top: 33%; }
.sc-chart::after { top: 66%; }
.sc-bar { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; height: 100%; justify-content: flex-end; position: relative; z-index: 1; min-width: 0; }
.sc-bar i {
  display: block; width: 74%; border-radius: 3px 3px 0 0; min-height: 4px;
  background: linear-gradient(180deg, var(--ca, #2563eb), var(--ca-lt, #60a5fa));
  opacity: .92;
}
.sc-bar:nth-child(even) i { opacity: .55; }
.sc-bar span { font-size: 7px; color: #8a97a9; white-space: nowrap; }

/* 折线图（SVG） */
.sc-line-wrap { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.sc-line { flex: 1; min-height: 0; position: relative; }
.sc-line-x { display: flex; justify-content: space-between; padding-top: 4px; font-size: 7.5px; color: #93a1b5; flex: 0 0 auto; }
.sc-line::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(#eef3fa 1px, transparent 1px); background-size: 100% 25%; }
.sc-line svg { width: 100%; height: 100%; display: block; overflow: visible; }

/* 表格 */
.sc-table-wrap { flex: 1; min-height: 0; display: flex; flex-direction: column; overflow: hidden; }
.sc-table-wrap .sc-table { flex: 0 0 auto; }
/* 行数偏少时让表格纵向铺满面板，避免末行与分页条之间留空 */
.sc-table-wrap > .sc-table { flex: 1 1 auto; height: 100%; }
.sc-page { margin-top: auto; display: flex; align-items: center; justify-content: space-between; padding-top: 5px; font-size: 7.5px; color: #93a1b5; }
.sc-page .pg { display: flex; gap: 3px; align-items: center; }
.sc-page .pg i { font-style: normal; min-width: 14px; height: 14px; padding: 0 3px; border-radius: 3px; border: 1px solid #e8eef7; display: grid; place-items: center; color: #6b7b91; background: #fff; }
.sc-page .pg i.on { background: var(--ca, #2563eb); border-color: var(--ca, #2563eb); color: #fff; font-weight: 700; }
.sc-table { width: 100%; border-collapse: collapse; font-size: 8px; table-layout: auto; }
.sc-table.fx { table-layout: fixed; }
.sc-table th { text-align: left; color: #8a97a9; font-weight: 600; padding: 3.4px 5px; border-bottom: 1px solid #eef3fa; white-space: nowrap; }
.sc-table td { padding: 4px 4px; border-bottom: 1px solid #f4f7fb; color: #334155; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sc-table tr:last-child td { border-bottom: 0; }
.sc-pill { display: inline-block; padding: 1px 5px; border-radius: 999px; font-size: 7.5px; font-weight: 600; background: #f1f5f9; color: #64748b; }
.sc-pill.ok { background: #ecfdf5; color: #047857; }
.sc-pill.warn { background: #fff7ed; color: #b45309; }
.sc-pill.err { background: #fef2f2; color: #b91c1c; }
.sc-pill.info { background: var(--ca-soft, #eff6ff); color: var(--ca-ink, #1d4ed8); }

/* 列表 */
.sc-list { display: flex; flex-direction: column; gap: 5px; }
.sc-li { display: flex; align-items: center; gap: 7px; padding: 6px 7px; border-radius: 5px; background: #fafcff; border: 1px solid #f0f4fa; }
.sc-li.on { background: var(--ca-soft, #eff6ff); border-color: var(--ca-line, #dbeafe); }
.sc-li .ic { width: 16px; height: 16px; border-radius: 4px; background: #eaf0f9; display: grid; place-items: center; font-size: 8px; color: #5b6b83; flex: 0 0 auto; }
.sc-li .tx { flex: 1; min-width: 0; }
.sc-li .tx b { display: block; font-size: 9px; color: #1e293b; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sc-li .tx span { display: block; font-size: 7.5px; color: #8a97a9; }
.sc-li .val { font-size: 9px; font-weight: 700; color: var(--ca-ink, #1d4ed8); flex: 0 0 auto; }

/* 看板 */
.sc-board { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 7px; flex: 1; min-height: 0; }
.sc-col { background: #f7f9fd; border: 1px solid #eef2f9; border-radius: 6px; padding: 6px; display: flex; flex-direction: column; gap: 5px; overflow: hidden; }
.sc-col-hd { display: flex; align-items: center; gap: 4px; font-size: 8.5px; font-weight: 700; color: #46566c; }
.sc-col-hd em { margin-left: auto; font-style: normal; font-size: 7.5px; color: #93a1b5; background: #fff; border-radius: 999px; padding: 0 5px; }
.sc-card { background: #fff; border: 1px solid #e8eef7; border-radius: 5px; padding: 5px 6px; }
.sc-card b { display: block; font-size: 8.5px; color: #1e293b; font-weight: 600; line-height: 1.35; }
.sc-card span { display: block; font-size: 7.5px; color: #93a1b5; margin-top: 2px; }
.sc-card .bar { height: 3px; border-radius: 2px; background: #eef3fb; margin-top: 4px; overflow: hidden; }
.sc-card .bar i { display: block; height: 100%; background: var(--ca, #2563eb); border-radius: 2px; }

/* 对话 */
.sc-chat-wrap { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 7px; }
.sc-chat { flex: 1; display: flex; flex-direction: column; gap: 6px; min-height: 0; overflow: hidden; }
.sc-chat-in { flex: 0 0 auto; display: flex; align-items: center; gap: 6px; height: 24px; padding: 0 3px 0 9px; border: 1px solid #e3e9f3; border-radius: 6px; background: #fbfcfe; }
.sc-chat-in .ph { flex: 1 1 auto; min-width: 0; font-size: 8px; color: #a8b4c6; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sc-chat-in .tools { display: flex; gap: 6px; color: #b3bfd0; font-size: 8px; flex: 0 0 auto; }
.sc-chat-in .send { flex: 0 0 auto; height: 18px; padding: 0 8px; border-radius: 4px; background: var(--ca, #2563eb); color: #fff; font-size: 8px; font-weight: 600; display: grid; place-items: center; }
.sc-msg { display: flex; gap: 6px; align-items: flex-start; }
.sc-msg .av { width: 15px; height: 15px; border-radius: 50%; background: #e2eaf6; color: #5a6b83; font-size: 7px; display: grid; place-items: center; flex: 0 0 auto; font-weight: 700; }
.sc-msg .bub { background: #f4f7fb; border: 1px solid #eef2f9; border-radius: 3px 7px 7px 7px; padding: 5px 7px; font-size: 8.5px; line-height: 1.55; color: #334155; max-width: 88%; }
.sc-msg.me { flex-direction: row-reverse; }
.sc-msg.me .av { background: var(--ca, #2563eb); color: #fff; }
.sc-msg.me .bub { background: var(--ca, #2563eb); border-color: var(--ca, #2563eb); color: #fff; border-radius: 7px 3px 7px 7px; }
.sc-msg .bub b { color: inherit; }
.sc-msg .bub .src { display: block; margin-top: 4px; font-size: 7px; opacity: .65; }

/* 地图 */
.sc-map { flex: 1; position: relative; border-radius: 6px; overflow: hidden; background: #eef4fb; min-height: 0;
  background-image: linear-gradient(rgba(37,99,235,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(37,99,235,.07) 1px, transparent 1px);
  background-size: 26px 26px; }
.sc-map::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 62% 42%, rgba(37,99,235,.12), transparent 40%);
}
.sc-zone {
  position: absolute; border-radius: 5px; border: 1px solid rgba(37,99,235,.14);
  background: rgba(37,99,235,.055); font-size: 6.5px; color: #93a6c0;
  padding: 1px 3px; overflow: hidden; white-space: nowrap;
}
.sc-zone:nth-child(2n) { background: rgba(14,116,144,.06); border-color: rgba(14,116,144,.15); }
.sc-zone:nth-child(3n) { background: rgba(100,116,139,.07); border-color: rgba(100,116,139,.14); }
.sc-pin { position: absolute; transform: translate(-50%, -100%); display: flex; flex-direction: column; align-items: center; gap: 2px; }
.sc-pin i { width: 9px; height: 9px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--ca, #2563eb); border: 1.5px solid #fff; box-shadow: 0 2px 5px rgba(15,23,42,.25); }
.sc-pin span { font-size: 7px; background: #fff; border-radius: 3px; padding: 0 4px; color: #46566c; border: 1px solid #e5ecf6; white-space: nowrap; }
.sc-pin.warn i { background: #f59e0b; }
.sc-map-tip { position: absolute; left: 8px; bottom: 8px; background: rgba(255,255,255,.94); border: 1px solid #e3eaf4; border-radius: 5px; padding: 4px 7px; font-size: 7.5px; color: #46566c; }

/* 流程 */
.sc-flow { flex: 1; display: flex; flex-direction: column; gap: 6px; justify-content: center; min-height: 0; }
.sc-flow-row { display: flex; align-items: center; gap: 5px; }
.sc-node { flex: 1; background: #fff; border: 1px solid #e5ecf6; border-radius: 5px; padding: 5px 6px; text-align: center; min-width: 0; }
.sc-node b { display: block; font-size: 8px; color: #1e293b; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sc-node span { display: block; font-size: 7px; color: #93a1b5; }
.sc-node.on { border-color: var(--ca, #2563eb); background: var(--ca-soft, #eff6ff); }
.sc-arrow { flex: 0 0 auto; color: #c3d0e2; font-size: 8px; }

/* ---------- 屏幕内部：手机 ---------- */
.sp { flex: 1; display: flex; flex-direction: column; background: #f5f8fc; font-size: 10px; color: #334155; overflow: hidden; }
.sp-status { display: flex; align-items: center; justify-content: space-between; padding: 7px 14px 3px; font-size: 8px; color: #0f172a; font-weight: 600; }
.sp-status .sig { display: flex; gap: 2px; align-items: flex-end; }
.sp-status .sig i { width: 2px; background: #0f172a; border-radius: 1px; }
.sp-hd { padding: 8px 13px 9px; display: flex; align-items: center; gap: 7px; }
.sp-hd b { font-size: 12px; color: #0f172a; font-weight: 700; }
.sp-hd .sp { flex: 1; }
.sp-hd .ic { width: 18px; height: 18px; border-radius: 6px; background: #fff; border: 1px solid #e6edf7; display: grid; place-items: center; font-size: 8px; }
.sp-hero { margin: 0 12px 8px; border-radius: 12px; padding: 11px 13px; color: #fff; background: linear-gradient(135deg, var(--ca, #2563eb), var(--ca-lt, #60a5fa)); position: relative; overflow: hidden; }
.sp-hero::after { content: ""; position: absolute; right: -22px; top: -22px; width: 74px; height: 74px; border-radius: 50%; background: rgba(255,255,255,.16); }
.sp-hero .t { font-size: 8.5px; opacity: .88; line-height: 1.35; }
.sp-hero .v { font-size: 21px; font-weight: 800; letter-spacing: -.6px; margin: 1px 0 2px; line-height: 1.15; }
.sp-hero .m { font-size: 8px; opacity: .82; line-height: 1.35; }
.sp-sec { padding: 0 12px; display: flex; align-items: center; gap: 5px; margin: 2px 0 4px; }
.sp-sec b { font-size: 10px; color: #0f172a; font-weight: 700; }
.sp-sec span { font-size: 7.5px; color: #93a1b5; margin-left: auto; }

/* 分段控件 */
.sp-seg { margin: 0 12px 8px; display: flex; gap: 2px; background: #e9eef7; border-radius: 8px; padding: 2px; }
.sp-seg span { flex: 1; text-align: center; font-size: 8px; color: #64748b; padding: 3.5px 0; border-radius: 6px; }
.sp-seg span.on { background: #fff; color: var(--ca-ink, #1d4ed8); font-weight: 700; box-shadow: 0 1px 3px rgba(15,23,42,.10); }

/* 顶部提示条 */
.sp-notice { margin: 0 12px 6px; display: flex; align-items: center; gap: 6px; padding: 6px 9px; border-radius: 8px; background: #fff7ed; border: 1px solid #fde7c7; }
.sp-notice b { font-size: 8px; color: #b45309; font-weight: 700; }
.sp-notice span { font-size: 8px; color: #92613a; flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sp-notice em { font-size: 7.5px; color: #b45309; font-weight: 700; font-style: normal; }

/* 功能宫格 */
.sp-acts { margin: 0 12px 7px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.sp-acts .a { background: #fff; border: 1px solid #eaf0f9; border-radius: 9px; padding: 7px 0 6px; text-align: center; }
.sp-acts .a i { display: grid; place-items: center; width: 20px; height: 20px; margin: 0 auto 3px; border-radius: 6px; background: var(--ca-soft, #eff6ff); color: var(--ca-ink, #1d4ed8); font-size: 9px; font-style: normal; font-weight: 700; }
.sp-acts .a span { font-size: 7.5px; color: #5b6b83; }

/* 卡片列表 */
.sp-cards { padding: 0 12px; display: flex; flex-direction: column; gap: 6px; flex: 1; min-height: 0; overflow: hidden; }
.sp-card { background: #fff; border: 1px solid #eaf0f9; border-radius: 10px; padding: 7px 10px 8px; }
.sp-card .hd { display: flex; align-items: center; gap: 6px; }
.sp-card .hd b { font-size: 9.5px; color: #1e293b; font-weight: 700; line-height: 1.3; }
.sp-card .tag { margin-left: auto; font-size: 7px; font-weight: 700; font-style: normal; padding: 1px 5px; border-radius: 999px; background: #ecfdf5; color: #047857; }
.sp-card .tag.warn { background: #fff7ed; color: #b45309; }
.sp-card .tag.err { background: #fef2f2; color: #b91c1c; }
.sp-card .sub { display: block; font-size: 7.5px; color: #93a1b5; margin-top: 1px; line-height: 1.35; }
.sp-card .ft { display: flex; align-items: baseline; gap: 4px; margin-top: 3px; }
.sp-card .ft .v { font-size: 11px; font-weight: 800; color: var(--ca-ink, #1d4ed8); letter-spacing: -.2px; line-height: 1.2; }
.sp-card .bar { height: 3.5px; border-radius: 3px; background: #eef3fb; margin-top: 4px; overflow: hidden; }
.sp-card .bar i { display: block; height: 100%; border-radius: 3px; background: var(--ca, #2563eb); }

/* 手机端三格指标 */
.sp-stats { margin: 0 12px 7px; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 5px; }
.sp-stats div { background: #fff; border: 1px solid #eaf0f9; border-radius: 8px; padding: 5px 7px; min-width: 0; }
.sp-stats b { display: block; font-size: 11px; font-weight: 800; color: #0f172a; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sp-stats span { display: block; font-size: 7px; color: #93a1b5; margin-top: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* 手机端时间轴 */
.sp-steps { padding: 0 13px; }
.sp-step { display: flex; gap: 8px; padding-bottom: 6px; position: relative; }
.sp-step::before { content: ""; position: absolute; left: 5px; top: 13px; bottom: 0; width: 1px; background: #e3ebf6; }
.sp-step:last-child::before { display: none; }
.sp-step i { width: 11px; height: 11px; border-radius: 50%; border: 2px solid var(--ca, #2563eb); background: #fff; flex: 0 0 auto; margin-top: 1px; z-index: 1; box-sizing: border-box; }
.sp-step.done i { background: var(--ca, #2563eb); }
.sp-step .tx { flex: 1; min-width: 0; }
.sp-step .tx b { display: block; font-size: 8.5px; color: #1e293b; font-weight: 600; line-height: 1.35; }
.sp-step .tx span { display: block; font-size: 7px; color: #93a1b5; line-height: 1.35; }

/* 主卡进度 */
.sp-prog { height: 4px; border-radius: 3px; background: rgba(255,255,255,.26); margin: 6px 0 2px; overflow: hidden; }
.sp-prog i { display: block; height: 100%; background: #fff; border-radius: 3px; }
.sp-prog-t { font-size: 7.5px; opacity: .84; }
.sp-hero-chips { display: flex; gap: 5px; margin-top: 5px; }
.sp-hero-chips span { font-size: 7.5px; padding: 2px 7px; border-radius: 999px; background: rgba(255,255,255,.18); }
.sp-list { padding: 0 12px; display: flex; flex-direction: column; gap: 6px; flex: 1; min-height: 0; overflow: hidden; }
.sp-item { background: #fff; border: 1px solid #eaf0f9; border-radius: 9px; padding: 8px 9px; display: flex; gap: 7px; align-items: center; }
.sp-item .ic { width: 22px; height: 22px; border-radius: 6px; background: var(--ca-soft, #eff6ff); color: var(--ca-ink, #1d4ed8); display: grid; place-items: center; font-size: 9px; flex: 0 0 auto; font-weight: 700; }
.sp-item .tx { flex: 1; min-width: 0; }
.sp-item .tx b { display: block; font-size: 9px; color: #1e293b; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sp-item .tx span { display: block; font-size: 7.5px; color: #93a1b5; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sp-item .val { font-size: 9px; font-weight: 700; color: var(--ca-ink, #1d4ed8); flex: 0 0 auto; }
.sp-tabs { display: flex; border-top: 1px solid #e8eef7; background: #fff; padding: 6px 0 4px; margin-top: auto; }
.sp-tabs div { flex: 1; text-align: center; font-size: 7px; color: #94a3b8; }
.sp-tabs div.on { color: var(--ca, #2563eb); font-weight: 700; }
.sp-tabs div i { display: block; width: 13px; height: 13px; margin: 0 auto 2px; border-radius: 4px; background: #eef2f9; }
.sp-tabs div.on i { background: var(--ca-soft, #eff6ff); }
.sp-chat-wrap { display: flex; flex-direction: column; gap: 8px; flex: 1; min-height: 0; }
.sp-chat { padding: 0 11px; display: flex; flex-direction: column; gap: 6px; }
.sp-chat-in { margin: auto 11px 0; display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 4px 0 10px; background: #fff; border: 1px solid #e6ecf6; border-radius: 16px; }
.sp-chat-in .ph { flex: 1; min-width: 0; font-size: 8.5px; color: #a8b4c6; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sp-chat-in .send { flex: 0 0 auto; height: 22px; padding: 0 10px; border-radius: 11px; background: var(--ca, #2563eb); color: #fff; font-size: 8.5px; font-weight: 600; display: grid; place-items: center; }
.sp-bub { max-width: 82%; padding: 7px 9px; border-radius: 10px; font-size: 8.5px; line-height: 1.55; background: #fff; border: 1px solid #eaf0f9; }
.sp-bub.me { align-self: flex-end; background: var(--ca, #2563eb); color: #fff; border-color: var(--ca, #2563eb); border-radius: 10px 4px 10px 10px; }
.sp-bub.ai { border-radius: 4px 10px 10px 10px; }
.sp-bub .src { display: block; margin-top: 3px; font-size: 7px; color: #93a1b5; }

/* 移动端适配 */
@media (max-width: 1000px) {
  .cs-shots { grid-template-columns: 1fr; }
  .cs-shot:first-child { margin-bottom: 8px; }
  .cs-phone { max-width: 240px; }
  .cs-meta { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .cs-meta > div:nth-child(2n) { border-right: 0; }
  .cs-meta > div { border-bottom: 1px solid #eef2f8; }
  .cs-meta > div:nth-last-child(-n+1) { border-bottom: 0; }
  .cs-chal { grid-template-columns: 1fr; gap: 26px; }
  .cs-pillars { grid-template-columns: 1fr; }
  .cs-phases { grid-template-columns: 1fr; gap: 22px; }
  .cs-phase::before { display: none; }
  .cs-scen-row { grid-template-columns: 1fr; }
  .cs-scen-row > div + div { border-left: 0; border-top: 1px solid #f1f5fa; }
  .cs-issue { grid-template-columns: 1fr 1fr; }
  .cs-issue > div:nth-child(3) { border-left: 0; }
  .cs-results { grid-template-columns: 1fr; }
  .cs-deliv { grid-template-columns: 1fr 1fr; }
  .cs-rel-grid { grid-template-columns: 1fr; }
  .cs-arch-k { flex-basis: 104px; }
  .cs-sec { padding: 56px 0; }
  .cs-cta { padding: 28px 24px; }
}
@media (max-width: 700px) {
  .cs-sec-hd .aside { display: none; }
  .cs-browser { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .cs-swipe { display: inline; }
  .cs-browser .sc { min-width: 660px; }
  .cs-browser-bar { position: sticky; left: 0; }
}
@media (max-width: 520px) {
  .cs-deliv { grid-template-columns: 1fr; }
  .cs-issue { grid-template-columns: 1fr; }
  .cs-issue > div + div { border-left: 0; }
  .cs-meta { grid-template-columns: 1fr; }
  .cs-meta > div { border-right: 0; }
  .sc-side { flex-basis: 106px; }
  .sc-top .sub, .sc-search { display: none; }
  .sc { font-size: 10px; }
}

/* ==========================================================================
   案例列表页
   ========================================================================== */
.cl-hero {
  position: relative; overflow: hidden; padding: 74px 0 56px;
  background:
    radial-gradient(760px 340px at 15% 0%, rgba(37,99,235,.12), transparent 60%),
    radial-gradient(620px 300px at 85% 10%, rgba(6,182,212,.12), transparent 62%),
    linear-gradient(180deg, #f7fbff, #fff);
  border-bottom: 1px solid var(--line);
}
.cl-hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(15,23,42,.05) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(180deg, #000, transparent 80%);
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 80%);
}
.cl-hero > .container { position: relative; z-index: 1; }
.cl-hero h1 { font-size: clamp(30px, 4vw, 46px); line-height: 1.2; letter-spacing: -.6px; max-width: 820px; }
.cl-hero .lead { margin-top: 14px; font-size: 16px; color: var(--ink-soft); max-width: 760px; line-height: 1.85; }
.cl-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 34px; max-width: 880px; }
.cl-stat { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.cl-stat b { display: block; font-size: 24px; font-weight: 800; color: var(--ink); letter-spacing: -.6px; line-height: 1.2; }
.cl-stat b em { font-style: normal; font-size: 13px; color: var(--muted); font-weight: 600; margin-left: 2px; }
.cl-stat span { font-size: 12px; color: var(--muted); }

.cl-filters { position: sticky; top: 68px; z-index: 30; background: rgba(255,255,255,.92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); padding: 14px 0; }
.cl-f { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.cl-f + .cl-f { margin-top: 8px; }
.cl-f > .lbl { font-size: 12px; color: #8a97a9; flex: 0 0 56px; letter-spacing: .5px; }
.cl-chip {
  font-size: 13px; padding: 5px 13px; border-radius: 999px; border: 1px solid var(--line);
  color: var(--ink-soft); background: #fff; transition: .18s; white-space: nowrap;
}
.cl-chip:hover { border-color: #c7d6ea; color: var(--ink); }
.cl-chip.on { background: var(--ink); border-color: var(--ink); color: #fff; font-weight: 600; }
.cl-filters .container { position: relative; }
.cl-count { position: absolute; right: 24px; top: 17px; font-size: 12.5px; color: var(--muted); }
.cl-count b { color: var(--ink); font-weight: 700; }

.cl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding: 34px 0 0; }
.cl-card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: 16px; overflow: hidden; transition: .24s; position: relative;
}
.cl-card:hover { transform: translateY(-5px); box-shadow: 0 24px 48px -26px rgba(15,23,42,.35); border-color: transparent; }
/* 封面：真实界面截图，按 3:2 满铺 */
.cl-thumb { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: #eef2f8; border-bottom: 1px solid #eef2f8; }
.cl-shot {
  display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center;
  transition: transform .5s cubic-bezier(.2,.7,.3,1);
}
.cl-card:hover .cl-shot { transform: scale(1.028); }
.cl-hit { position: absolute; inset: 0; z-index: 4; }
.cl-thumb .tag-abs { position: absolute; right: 12px; top: 12px; z-index: 2; }
.cl-card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.cl-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 9px; }
.cl-tags span { font-size: 11px; padding: 2px 8px; border-radius: 5px; background: #f4f7fb; color: #5b6b83; border: 1px solid #eaf0f8; }
.cl-tags span.ind { background: transparent; color: var(--ca, #2563eb); border-color: color-mix(in srgb, var(--ca, #2563eb) 34%, #fff); font-weight: 600; }
.cl-card h3 { font-size: 16.5px; line-height: 1.45; margin-bottom: 7px; min-height: 3em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cl-card h3 a:hover { color: var(--primary); }
.cl-card .profile { font-size: 12.5px; color: var(--muted); line-height: 1.65; margin-bottom: 12px; }
.cl-nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: auto; padding-top: 12px; border-top: 1px dashed #e8eef7; }
.cl-nums div b { display: block; font-size: 16px; font-weight: 800; color: var(--ca, #2563eb); letter-spacing: -.4px; line-height: 1.3; }
.cl-nums div span { font-size: 10.5px; color: #8a97a9; }
.cl-empty { grid-column: 1 / -1; text-align: center; padding: 70px 0; color: var(--muted); font-size: 14px; }

/* 方法论 */
.cl-method { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.cl-m { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 22px; }
.cl-m .n { font-family: ui-monospace, Menlo, monospace; font-size: 11px; color: #8a97a9; letter-spacing: .5px; }
.cl-m h3 { font-size: 15.5px; margin: 7px 0 6px; }
.cl-m p { font-size: 12.5px; color: var(--muted); line-height: 1.75; }
.cl-note { margin-top: 18px; display: flex; gap: 10px; align-items: flex-start; font-size: 12.5px; color: #6b7a8f; line-height: 1.8; background: #f8fafc; border: 1px dashed #dbe4f0; border-radius: 10px; padding: 14px 16px; }
.cl-note b { color: var(--ink-soft); }

@media (max-width: 1024px) {
  .cl-grid { grid-template-columns: repeat(2, 1fr); }
  .cl-method { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .cl-grid { grid-template-columns: 1fr; }
  .cl-stats { grid-template-columns: 1fr 1fr; }
  .cl-filters { position: static; }
  .cl-f > .lbl { flex-basis: 100%; margin-bottom: -2px; }
  .cl-thumb .tag-abs { left: 12px; right: auto; }
  .mini .m-side b { display: none; }
  .cl-count { position: static; display: block; text-align: left; margin-top: 4px; padding-left: 2px; }
  .cl-method { grid-template-columns: 1fr; }
  .cl-hero { padding: 52px 0 40px; }
}
