/* ============================================================
   运维智能体 · 手机端演示（H5）
   手机优先；桌面打开时自动包一层手机外框，方便投屏演示
   ============================================================ */

:root {
  --bg: #f4f7fb;
  --card: #ffffff;
  --ink: #0f1b2d;
  --ink-2: #33445c;
  --muted: #7c8a9c;
  --faint: #a3b0c0;
  --line: #e6ecf4;
  --line-2: #d8e3f0;

  --accent: #0ea5e9;
  --accent-2: #22d3ee;
  --deep: #0369a1;
  --soft: #eaf7ff;
  --soft-line: #bfe5fb;

  --nav: #0a1526;
  --nav-2: #10233c;
  --nav-text: rgba(214, 231, 248, 0.78);

  --green: #047857; --green-soft: #ecfdf5; --green-line: #b7ebd2;
  --red: #b91c1c; --red-soft: #fef2f2; --red-line: #fbcfcf;
  --amber: #b45309; --amber-soft: #fffbeb; --amber-line: #fbe3b3;

  --r: 14px;
  --r-sm: 10px;
  --shadow: 0 1px 2px rgba(15,27,45,.04), 0 8px 22px -14px rgba(15,27,45,.28);
  --tab-h: 56px;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { height: 100%; margin: 0; }
body {
  font-family: -apple-system, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overscroll-behavior-y: none;
}
button { font: inherit; color: inherit; border: none; background: none; padding: 0; cursor: pointer; }
input, textarea { font: inherit; color: inherit; }
p { margin: 0 0 10px; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding-left: 18px; }
li { margin-bottom: 4px; }
.mono { font-family: "SFMono-Regular", Consolas, monospace; font-size: .86em; }

/* ---------- 手机外框（仅桌面） ---------- */
.app {
  height: 100dvh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
@media (min-width: 560px) {
  body {
    display: grid;
    place-items: center;
    background:
      radial-gradient(900px 520px at 20% -10%, rgba(34,211,238,.16), transparent 60%),
      radial-gradient(700px 420px at 100% 100%, rgba(99,102,241,.14), transparent 60%),
      #0b1626;
  }
  .app {
    width: 420px;
    height: min(872px, calc(100vh - 48px));
    min-height: 0;
    border-radius: 40px;
    border: 9px solid #0a1526;
    box-shadow: 0 40px 90px -30px rgba(0,0,0,.7), 0 0 0 1px rgba(148,197,255,.14);
  }
}

/* ---------- 通用 ---------- */
.screen { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.scroll { flex: 1; min-height: 0; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 14px 14px calc(var(--tab-h) + 22px); }
.scroll.no-tab { padding-bottom: 22px; }

.topbar {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 14px;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 20;
}
.topbar h1 { margin: 0; font-size: 16px; font-weight: 650; letter-spacing: -.01em; }
.topbar .sub { font-size: 11px; color: var(--muted); margin-top: 1px; }
.topbar .grow { flex: 1; min-width: 0; }
.topbar .back {
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  background: #f1f5fa; flex: 0 0 auto; font-size: 17px; color: var(--ink-2);
}
.topbar .back:active { background: #e6edf6; }

.card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r); padding: 14px; margin-bottom: 10px;
  box-shadow: var(--shadow);
}
.card.flat { box-shadow: none; }
.card-t { font-size: 13px; font-weight: 650; margin: 0 0 8px; display: flex; align-items: center; gap: 6px; }
.card-t .hint-x { font-weight: 400; font-size: 11px; color: var(--muted); margin-left: auto; }
.note { font-size: 11.5px; color: var(--muted); line-height: 1.65; }
.note b { color: var(--ink-2); }

.tag {
  display: inline-block; padding: 1px 7px; border-radius: 999px;
  font-size: 9.5px; font-weight: 700; letter-spacing: .04em;
  background: #eef3f9; color: var(--muted); border: 1px solid transparent;
  vertical-align: 1px;
}
.tag.pass { background: var(--green-soft); color: var(--green); border-color: var(--green-line); }
.tag.reject { background: var(--red-soft); color: var(--red); border-color: var(--red-line); }
.tag.review { background: var(--amber-soft); color: var(--amber); border-color: var(--amber-line); }
.tag.clause { background: var(--soft); color: var(--deep); border-color: var(--soft-line); }

.btn {
  display: block; width: 100%; padding: 13px;
  border-radius: 12px; font-size: 15px; font-weight: 650;
  background: linear-gradient(135deg, #0ea5e9, #0284c7);
  color: #fff; box-shadow: 0 8px 20px -10px rgba(2,132,199,.8);
}
.btn:active { transform: translateY(1px); }
.btn.ghost { background: #fff; color: var(--deep); border: 1px solid var(--soft-line); box-shadow: none; }
.btn.sm { padding: 9px; font-size: 13px; border-radius: 10px; }

/* ---------- 登录 ---------- */
.login {
  flex: 1; display: flex; flex-direction: column; justify-content: center;
  padding: 32px 26px; color: #eaf4ff;
  background:
    radial-gradient(520px 380px at 12% 0%, rgba(34,211,238,.22), transparent 62%),
    radial-gradient(460px 340px at 100% 100%, rgba(99,102,241,.22), transparent 60%),
    linear-gradient(165deg, #0a1526, #0d1f36 60%, #0a1526);
}
.login .mark {
  width: 56px; height: 56px; border-radius: 17px;
  display: grid; place-items: center; font-size: 26px; font-weight: 700;
  background: linear-gradient(140deg, #22d3ee, #0ea5e9); color: #04202f;
  box-shadow: 0 12px 30px -12px rgba(34,211,238,.8);
  margin-bottom: 18px;
}
.login h1 { margin: 0; font-size: 25px; letter-spacing: -.02em; }
.login .sl { font-size: 12.5px; color: var(--nav-text); margin: 6px 0 30px; }
.login .fld { margin-bottom: 12px; }
.login .fld label { display: block; font-size: 11px; color: rgba(190,214,240,.7); margin-bottom: 5px; }
.login .fld input {
  width: 100%; padding: 13px 14px; border-radius: 12px;
  border: 1px solid rgba(148,197,255,.22);
  background: rgba(255,255,255,.07); color: #eaf4ff; font-size: 15px;
}
.login .fld input:focus { outline: none; border-color: rgba(34,211,238,.7); background: rgba(255,255,255,.11); }
.login .btn { margin-top: 8px; }
.login .hint { font-size: 11.5px; color: rgba(170,199,230,.65); margin-top: 14px; text-align: center; }
.login .hint code { color: #67e8f9; }
.login .foot { margin-top: 34px; font-size: 10.5px; color: rgba(150,180,215,.5); text-align: center; }

/* ---------- 底部 Tab ---------- */
.tabbar {
  height: calc(var(--tab-h) + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  display: grid; grid-template-columns: repeat(5, 1fr);
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  flex: 0 0 auto;
  z-index: 30;
}
.tab {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px; font-size: 10px; color: var(--faint);
  position: relative;
}
.tab svg { width: 21px; height: 21px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.tab.on { color: var(--accent); }
.tab.on::before {
  content: ""; position: absolute; top: 0; width: 22px; height: 2.5px; border-radius: 2px;
  background: linear-gradient(90deg, var(--accent-2), var(--accent));
}
.tab .dot { position: absolute; top: 9px; right: calc(50% - 15px); width: 6px; height: 6px; border-radius: 50%; background: #f97316; }

/* ---------- 对话 ---------- */
.hello {
  border-radius: var(--r); padding: 14px; margin-bottom: 12px;
  background: linear-gradient(150deg, #0d2135, #11304c); color: #e6f3ff;
  box-shadow: 0 14px 30px -20px rgba(10,21,38,.9);
}
.hello b { font-size: 14.5px; }
.hello p { font-size: 11.5px; color: rgba(206,228,248,.8); margin-top: 6px; line-height: 1.7; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 2px 0 12px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: 0 0 auto; padding: 9px 13px; border-radius: 999px;
  background: #fff; border: 1px solid var(--soft-line); color: var(--deep);
  font-size: 12px; max-width: 260px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.chip:active { background: var(--soft); }

.msg { display: flex; flex-direction: column; margin-bottom: 14px; }
.msg.me { align-items: flex-end; }
.msg .who { font-size: 10px; color: var(--faint); margin-bottom: 4px; padding: 0 4px; }
.bubble {
  max-width: 88%; padding: 11px 13px; border-radius: 14px;
  background: #fff; border: 1px solid var(--line);
  font-size: 13px; color: var(--ink-2); line-height: 1.72;
  box-shadow: 0 1px 2px rgba(15,27,45,.03);
}
.msg.me .bubble {
  background: linear-gradient(135deg, #0ea5e9, #0284c7); color: #fff;
  border-color: transparent; border-bottom-right-radius: 5px;
}
.bubble.typing { color: var(--muted); font-size: 12.5px; }

.vcard {
  margin-top: 9px; border-radius: 12px; border: 1px solid var(--line);
  background: #fbfdff; overflow: hidden;
}
.vcard .vh { display: flex; align-items: center; gap: 7px; padding: 9px 11px; border-bottom: 1px solid var(--line); }
.vcard .vh b { font-size: 12px; font-weight: 650; flex: 1; line-height: 1.45; }
.vcard .vb { padding: 9px 11px; font-size: 11.5px; color: var(--ink-2); }
.vcard .vf { display: flex; gap: 6px; padding: 8px 11px; border-top: 1px solid var(--line); background: #fff; }

.composer {
  display: flex; gap: 8px; align-items: flex-end;
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.97); border-top: 1px solid var(--line);
  flex: 0 0 auto;
}
.composer textarea {
  flex: 1; resize: none; border: 1px solid var(--line-2); border-radius: 12px;
  padding: 10px 12px; font-size: 13.5px; background: #f8fbff; max-height: 92px;
}
.composer textarea:focus { outline: none; border-color: var(--accent); background: #fff; }
.composer .send {
  width: 44px; height: 42px; border-radius: 12px; flex: 0 0 auto;
  background: linear-gradient(135deg,#0ea5e9,#0284c7); color: #fff;
  font-size: 12px; font-weight: 650;
}
.composer .send:disabled { background: #dbe6f2; color: #9fb0c4; }

/* ---------- 批次 ---------- */
.bcard { cursor: pointer; }
.bcard .bh { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.bcard .bh .id { font-size: 10px; color: var(--faint); font-family: "SFMono-Regular", Consolas, monospace; }
.bcard .bh .tag { margin-left: auto; }
.bcard .bt { font-size: 13.5px; font-weight: 620; line-height: 1.45; }
.bcard .bm { font-size: 10.5px; color: var(--muted); margin-top: 3px; }
.bstats { display: grid; grid-template-columns: repeat(3,1fr); gap: 6px; margin-top: 11px; }
.bstats div { background: #f7faff; border-radius: 9px; padding: 7px 8px; }
.bstats b { display: block; font-size: 16px; line-height: 1.2; }
.bstats span { font-size: 9.5px; color: var(--muted); }
.bstats .p b { color: var(--green); }
.bstats .r b { color: var(--red); }
.bstats .w b { color: var(--amber); }

.segs { display: flex; gap: 6px; margin-bottom: 12px; overflow-x: auto; scrollbar-width: none; }
.segs::-webkit-scrollbar { display: none; }
.seg {
  flex: 0 0 auto; padding: 7px 12px; border-radius: 999px; font-size: 12px;
  background: #fff; border: 1px solid var(--line); color: var(--muted);
}
.seg.on { background: var(--nav); border-color: var(--nav); color: #fff; font-weight: 600; }

.item {
  display: grid; grid-template-columns: 1fr auto; gap: 6px 10px;
  padding: 12px 13px; background: #fff; border: 1px solid var(--line);
  border-radius: 12px; margin-bottom: 8px; cursor: pointer;
  box-shadow: 0 1px 2px rgba(15,27,45,.03);
}
.item:active { background: #fbfdff; }
.item .t { font-size: 13px; font-weight: 600; line-height: 1.45; }
.item .m { font-size: 10.5px; color: var(--muted); margin-top: 2px; }
.item .clc { font-size: 9.5px; color: var(--faint); font-family: "SFMono-Regular", Consolas, monospace; }

/* ---------- 单册证据链 ---------- */
.vbanner {
  border-radius: var(--r); padding: 14px; margin-bottom: 12px;
  border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow);
}
.vbanner .row { display: flex; align-items: center; gap: 8px; }
.vbanner .big { font-size: 17px; font-weight: 700; letter-spacing: -.01em; }
.vbanner .meta { font-size: 10.5px; color: var(--muted); margin-top: 6px; }
.vbanner.pass { background: linear-gradient(150deg,#f0fdf7,#fff 65%); border-color: var(--green-line); }
.vbanner.reject { background: linear-gradient(150deg,#fff5f5,#fff 65%); border-color: var(--red-line); }
.vbanner.review { background: linear-gradient(150deg,#fffbf0,#fff 65%); border-color: var(--amber-line); }

.facts2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; margin: 10px 0 4px; }
.facts2 div { font-size: 11.5px; }
.facts2 label { display: block; font-size: 9.5px; color: var(--faint); }
.facts2 span { color: var(--ink-2); }

.rail { position: relative; padding-left: 18px; }
.rail::before {
  content: ""; position: absolute; left: 5px; top: 6px; bottom: 6px;
  width: 2px; background: linear-gradient(180deg, var(--soft-line), #eef3f9);
}
.stage { position: relative; margin-bottom: 10px; }
.stage::before {
  content: ""; position: absolute; left: -16px; top: 15px;
  width: 9px; height: 9px; border-radius: 50%;
  background: #fff; border: 2px solid var(--accent);
}
.stage.hit::before { border-color: var(--red); }
.stage .box { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 11px 12px; }
.stage .st { display: flex; align-items: center; gap: 7px; margin-bottom: 5px; }
.stage .st b { font-size: 12px; font-weight: 650; }
.stage .st span { font-size: 10.5px; color: var(--deep); margin-left: auto; text-align: right; }
.stage .txt { font-size: 11.5px; color: var(--ink-2); line-height: 1.7; }
.stage ul { margin: 6px 0 0; padding-left: 15px; }
.stage li { font-size: 11px; color: var(--ink-2); line-height: 1.65; margin-bottom: 3px; }
.stage .src { font-size: 9.5px; color: var(--faint); margin-top: 6px; }

.actions { display: flex; gap: 8px; margin-top: 4px; }
.actions .btn { flex: 1; }

/* ---------- 书单 ---------- */
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-bottom: 12px; }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 11px 12px; }
.kpi label { font-size: 10px; color: var(--muted); }
.kpi b { display: block; font-size: 21px; line-height: 1.35; letter-spacing: -.02em; }
.kpi i { display: block; font-style: normal; font-size: 9.5px; color: var(--faint); }

.src {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 11px 12px; background: #fff; border: 1px solid var(--line);
  border-radius: 12px; margin-bottom: 8px;
}
.src .ico {
  width: 32px; height: 32px; border-radius: 9px; flex: 0 0 auto;
  display: grid; place-items: center; font-size: 13px; font-weight: 700;
  background: var(--soft); color: var(--deep); border: 1px solid var(--soft-line);
}
.src b { display: block; font-size: 12.5px; font-weight: 620; line-height: 1.4; }
.src small { display: block; font-size: 10.5px; color: var(--muted); margin-top: 2px; }
.src .r { margin-left: auto; text-align: right; flex: 0 0 auto; }
.src .r em { font-style: normal; display: block; font-size: 14px; font-weight: 700; color: var(--deep); font-family: "SFMono-Regular", Consolas, monospace; }
.src .r span { font-size: 9px; color: var(--faint); }

/* ---------- 设备 ---------- */
.tk {
  background: #fff; border: 1px solid var(--line); border-radius: 13px;
  padding: 12px 13px; margin-bottom: 9px; border-left: 3px solid var(--soft-line);
  box-shadow: 0 1px 2px rgba(15,27,45,.03);
}
.tk.late { border-left-color: #ef4444; }
.tk .th { display: flex; align-items: center; gap: 7px; margin-bottom: 5px; }
.tk .th .id { font-size: 9.5px; color: var(--faint); font-family: "SFMono-Regular", Consolas, monospace; margin-right: auto; }
.tk .sla { font-size: 9.5px; color: var(--muted); font-family: "SFMono-Regular", Consolas, monospace; }
.tk .sla.late { color: var(--red); }
.tk .dev { font-size: 13.5px; font-weight: 630; }
.tk .dev small { display: block; font-size: 10.5px; font-weight: 400; color: var(--muted); margin-top: 2px; }
.tk .quote { font-size: 11.5px; color: var(--ink-2); margin: 8px 0; padding: 8px 10px; background: #f8fbff; border-radius: 8px; line-height: 1.6; }
.tk .ai { display: flex; align-items: center; gap: 7px; font-size: 10.5px; color: var(--muted); flex-wrap: wrap; }
.tk .ai .lv { padding: 1px 6px; border-radius: 5px; background: var(--soft); color: var(--deep); font-weight: 700; }
.tk .ai b { color: var(--deep); }

.tl { list-style: none; padding: 0; margin: 0; }
.tl li { display: grid; grid-template-columns: 44px 1fr; gap: 8px; padding: 7px 0; border-bottom: 1px dashed var(--line); font-size: 11px; }
.tl li:last-child { border-bottom: none; }
.tl .t { color: var(--faint); font-family: "SFMono-Regular", Consolas, monospace; font-size: 9.5px; }
.tl .x { color: var(--ink-2); line-height: 1.6; }
.tl .w { color: var(--deep); font-weight: 600; }

/* ---------- 扫码上报 ---------- */
.scan-head {
  border-radius: var(--r); padding: 14px; margin-bottom: 12px; color: #eaf6ff;
  background: linear-gradient(150deg, #0d2135, #12334f);
}
.scan-head b { font-size: 16px; }
.scan-head p { font-size: 11px; color: rgba(206,228,248,.78); margin-top: 3px; }
.slabel { font-size: 11.5px; font-weight: 650; margin: 14px 0 7px; display: flex; align-items: center; gap: 6px; }
.slabel em { font-style: normal; font-size: 9.5px; color: var(--red); background: var(--red-soft); padding: 1px 6px; border-radius: 999px; }
.slabel i { font-style: normal; color: var(--faint); font-weight: 400; font-size: 10px; margin-left: auto; }
.shotbox {
  border: 1.5px dashed var(--line-2); border-radius: 12px; background: #fafcff;
  height: 132px; display: grid; place-items: center; text-align: center; color: var(--muted);
}
.shotbox .plus { font-size: 26px; color: var(--faint); line-height: 1; }
.shotbox i { font-style: normal; font-size: 11px; display: block; margin-top: 6px; }
.shotbox.filled { border-style: solid; border-color: var(--soft-line); background: #0f1b2d; color: #cfe6f8; }
.shotbox .fake { font-size: 12px; }
.shotbox .fake small { display: block; font-size: 10px; color: #7fb6d8; margin-top: 4px; font-family: "SFMono-Regular", Consolas, monospace; }
.syms { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.sym {
  padding: 11px 8px; border-radius: 11px; border: 1px solid var(--line);
  background: #fff; font-size: 12px; color: var(--ink-2);
}
.sym.on { border-color: var(--accent); background: var(--soft); color: var(--deep); font-weight: 650; }
.sinput {
  width: 100%; border: 1px solid var(--line-2); border-radius: 11px;
  padding: 11px 12px; font-size: 13px; background: #fff; resize: none;
}
.sinput:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(14,165,233,.1); }

.done { flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 26px; }
.done .ok {
  width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center;
  font-size: 30px; color: #fff; margin-bottom: 16px;
  background: linear-gradient(140deg,#10b981,#059669);
  box-shadow: 0 14px 30px -12px rgba(5,150,105,.7);
}
.done h3 { margin: 0 0 6px; font-size: 18px; }
.done p { font-size: 12.5px; color: var(--muted); }
.done .box { width: 100%; margin: 18px 0 12px; }
.done .box div { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 12px; }
.done .box div:last-child { border-bottom: none; }
.done .box span { color: var(--muted); }

/* ---------- 我的 ---------- */
.me-card { display: flex; align-items: center; gap: 12px; }
.me-card .av {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(140deg,#22d3ee,#0ea5e9); color: #04202f; font-weight: 700; font-size: 17px;
}
.me-card b { font-size: 15px; }
.me-card small { display: block; font-size: 11px; color: var(--muted); }
.rows { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; margin-bottom: 12px; }
.row-i { display: flex; align-items: center; gap: 10px; padding: 13px 14px; border-bottom: 1px solid var(--line); font-size: 13px; }
.row-i:last-child { border-bottom: none; }
.row-i span { color: var(--muted); margin-left: auto; font-size: 12px; }

.toast {
  position: absolute; left: 50%; bottom: 96px; transform: translateX(-50%);
  background: rgba(15,27,45,.92); color: #fff; font-size: 12.5px;
  padding: 9px 16px; border-radius: 999px; z-index: 100; white-space: nowrap;
  animation: tin .2s ease;
}
@keyframes tin { from { opacity: 0; transform: translate(-50%, 6px); } }

.page-in { animation: pin .18s ease; }
@keyframes pin { from { opacity: .4; transform: translateX(14px); } }

@media (max-width: 360px) {
  body { font-size: 14px; }
  .grid2 { gap: 7px; }
}

/* ============================================================
   运维智能体 · 追加组件
   ============================================================ */

.tag.warn { background: var(--amber-soft); color: var(--amber); border-color: var(--amber-line); }
.tag.info { background: var(--soft); color: var(--deep); border-color: var(--soft-line); }
.tag.purple { background: #f5f3ff; color: #6d28d9; border-color: #ddd6fe; }

.quote {
  font-size: 12px; color: var(--ink-2); line-height: 1.7;
  background: #f8fbff; border-radius: 9px; padding: 9px 11px;
}

/* 五级阶梯 */
.ladder { margin-top: 2px; }
.ladder .lv {
  display: grid; grid-template-columns: 32px 1fr; gap: 9px; align-items: start;
  padding: 9px 0; border-bottom: 1px dashed var(--line);
}
.ladder .lv:last-child { border-bottom: none; }
.ladder .k {
  font-style: normal; font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 10.5px; font-weight: 700; color: var(--deep);
  background: var(--soft); border: 1px solid var(--soft-line); border-radius: 6px;
  height: 20px; display: grid; place-items: center; margin-top: 1px;
}
.ladder .m b { display: flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 620; }
.ladder .nm { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ladder .pp { flex: 0 0 auto; }
.ladder .pp {
  font-style: normal; font-size: 9.5px; font-weight: 700; color: var(--deep);
  background: var(--soft); border-radius: 999px; padding: 1px 6px;
}
.ladder .m small { display: block; font-size: 10.5px; color: var(--muted); margin-top: 2px; }

/* 14 天柱状 */
.bars { display: flex; align-items: flex-end; gap: 3px; height: 58px; margin-top: 6px; }
.bars i {
  flex: 1; min-height: 4px; border-radius: 3px 3px 0 0;
  background: linear-gradient(180deg, #22d3ee, #0ea5e9);
}
.barx { display: flex; justify-content: space-between; font-size: 9px; color: var(--faint); margin-top: 6px; }

/* 迷你待办 */
.mini {
  padding: 10px 11px; border: 1px solid var(--line); border-radius: 10px;
  margin-bottom: 7px; background: #fbfdff; cursor: pointer;
}
.mini:active { background: var(--soft); }
.mini b { display: block; font-size: 12.5px; font-weight: 620; }
.mini small { display: block; font-size: 10.5px; color: var(--muted); margin-top: 2px; }

/* 普通列表 */
ul.plain, ol.plain { margin: 0; }
ul.plain { list-style: none; padding-left: 0; }
ul.plain li {
  font-size: 11.5px; color: var(--ink-2); line-height: 1.7;
  margin-bottom: 5px; padding-left: 12px; position: relative;
}
ul.plain li::before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 4px; height: 4px; border-radius: 50%; background: var(--accent-2);
}
ol.plain { padding-left: 17px; }
ol.plain li { font-size: 11.5px; color: var(--ink-2); line-height: 1.75; margin-bottom: 5px; }

/* 责任矩阵 */
.matrix { padding: 9px 0; border-bottom: 1px dashed var(--line); }
.matrix:last-child { border-bottom: none; }
.matrix b { display: block; font-size: 12px; font-weight: 620; }
.matrix span { font-size: 11.5px; color: var(--deep); }
.matrix em { font-style: normal; font-size: 11px; color: var(--muted); margin-left: 6px; }
.matrix small { display: block; font-size: 10px; color: var(--faint); margin-top: 2px; }

/* 初判块 */
.aibox { background: #f7faff; border-radius: 9px; padding: 9px 11px; }
.ailine { display: flex; font-size: 11.5px; padding: 3px 0; }
.ailine b { width: 66px; font-weight: 400; color: var(--muted); flex: 0 0 auto; }
.ailine span { color: var(--ink-2); font-weight: 600; }

/* 二维码 */
.qrbox {
  width: 92px; height: 92px; flex: 0 0 auto; padding: 7px;
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
}
.qr { width: 100%; height: 100%; fill: #0f1b2d; display: block; }

/* ============================================================
   空间物联智能体 · 追加组件
   ============================================================ */

.tabbar { grid-template-columns: repeat(6, 1fr); }
.tab { font-size: 9.5px; }
.tab svg { width: 20px; height: 20px; }

/* 实时在馆 */
.live {
  border-radius: var(--r); padding: 15px 16px; margin-bottom: 10px; color: #eaf6ff;
  background: linear-gradient(150deg, #0b1d31, #11334f 62%, #0d2438);
  box-shadow: 0 16px 34px -24px rgba(10,21,38,.9);
}
.live.slim { padding: 13px 15px; }
.live .lh { display: flex; align-items: center; font-size: 11.5px; color: rgba(196,222,244,.8); }
.live .lh i { margin-left: auto; font-style: normal; font-size: 10px; color: rgba(150,190,225,.62); font-family: var(--mono, monospace); }
.live .lv { font-size: 38px; font-weight: 700; letter-spacing: -.03em; line-height: 1.16; margin-top: 4px; }
.live .lv span { font-size: 13px; font-weight: 400; color: rgba(196,222,244,.72); margin-left: 4px; }
.live .lbar { height: 5px; border-radius: 3px; background: rgba(148,197,255,.18); margin: 10px 0 7px; overflow: hidden; }
.live .lbar i { display: block; height: 100%; border-radius: 3px; background: linear-gradient(90deg, #22d3ee, #0ea5e9); }
.live .lf { font-size: 10.5px; color: rgba(170,203,230,.72); }

/* 楼层切换小段 */
.segs.wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; overflow: visible; }
.segs.wrap .seg { text-align: center; }
.fsegs { display: flex; align-items: center; gap: 6px; margin-bottom: 8px; }
.fseg {
  width: 34px; height: 26px; border-radius: 8px; font-size: 11px; font-weight: 600;
  background: #f2f6fb; color: var(--muted); border: 1px solid transparent;
}
.fseg.on { background: var(--nav); color: #fff; }
.fnote { margin-left: auto; font-size: 10px; color: var(--faint); }

/* 平面图 */
.plan { width: 100%; height: auto; display: block; margin: 2px 0 7px; }
.plan .room { fill: #f7faff; stroke: #e2ebf6; stroke-width: .8; }
.plan .rlabel { font-size: 9px; fill: #61758c; font-family: -apple-system, "PingFang SC", sans-serif; }
.dotg { cursor: pointer; }

.legend { display: flex; flex-wrap: wrap; gap: 4px 10px; margin-top: 2px; }
.lgi { display: inline-flex; align-items: center; gap: 4px; font-size: 9.5px; color: var(--muted); }
.swatch { width: 7px; height: 7px; border-radius: 50%; display: inline-block; }
.swatch.alarm { background: #ef4444; }
.swatch.off { background: #94a3b8; }

/* 事件行 */
.evt { padding: 10px 0; border-bottom: 1px dashed var(--line); cursor: pointer; }
.evt:last-child { border-bottom: none; }
.evt:active { opacity: .72; }
.evt .et { display: flex; align-items: center; gap: 6px; }
.evt .et b { font-size: 11px; font-family: var(--mono, monospace); color: var(--ink-2); }
.evt .ek { margin-left: auto; font-size: 9.5px; color: var(--faint); }
.evt .ed { font-size: 12.5px; color: var(--ink); line-height: 1.55; margin-top: 3px; }
.evt .em { font-size: 10px; color: var(--muted); margin-top: 2px; }
.evt .em em { font-style: normal; float: right; color: var(--deep); }

/* 今日结论 */
.insight { border-color: var(--soft-line); background: linear-gradient(160deg, #f4fbff, #fff 70%); }
.insight ul.plain li { margin-bottom: 7px; }
.insight .mini { margin-top: 8px; margin-bottom: 0; text-align: center; color: var(--deep); font-size: 11.5px; font-weight: 600; }

/* 案例 */
.case { background: linear-gradient(160deg, #0b1d31, #123650); color: #e8f4ff; border: none; }
.case .card-t { color: #dceeff; }
.case .note { color: rgba(180,210,236,.76); }
.cstats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 8px; margin-top: 12px; }
.cstats b { display: block; font-size: 17px; letter-spacing: -.02em; color: #7dd3fc; }
.cstats span { font-size: 9.5px; color: rgba(170,203,230,.7); }

/* 区域列表 */
.arows { margin-top: 2px; }
.arow { display: grid; grid-template-columns: 1fr 64px 48px; align-items: center; gap: 8px; padding: 9px 0; border-bottom: 1px dashed var(--line); cursor: pointer; }
.arow:last-child { border-bottom: none; }
.arow .an b { font-size: 12.5px; font-weight: 600; }
.arow .an span { display: block; font-size: 9.5px; color: var(--muted); margin-top: 1px; }
.arow .an em { font-style: normal; }
.arow .av { font-size: 11.5px; font-family: var(--mono, monospace); color: var(--ink-2); text-align: right; }
.arow .ap { font-size: 11px; color: var(--muted); text-align: right; }
.red { color: var(--red) !important; }
.green { color: var(--green) !important; }
.amber { color: var(--amber) !important; }

/* 感知三卡 */
.sensecard {
  border-radius: var(--r); padding: 14px 15px; margin-bottom: 10px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); cursor: pointer;
}
.sensecard:active { background: #fbfdff; }
.sensecard .sh { display: flex; align-items: center; gap: 8px; }
.sensecard .sh b { font-size: 13.5px; font-weight: 650; }
.sensecard .sh .tag { margin-left: auto; }
.sensecard .sv { font-size: 30px; font-weight: 700; letter-spacing: -.03em; line-height: 1.25; margin-top: 6px; }
.sensecard .sv span { font-size: 12px; font-weight: 400; color: var(--muted); margin-left: 5px; }
.sensecard .sd { font-size: 10.5px; color: var(--muted); margin-top: 2px; }
.sensecard .sf { font-size: 11px; color: var(--deep); margin-top: 9px; font-weight: 600; }

/* 横条排名 */
.bar-row { padding: 8px 0; border-bottom: 1px dashed var(--line); }
.bar-row:last-child { border-bottom: none; }
.bar-t { display: flex; align-items: baseline; gap: 6px; }
.bar-t b { font-size: 12px; font-weight: 600; }
.bar-t span { font-size: 9.5px; color: var(--faint); }
.bar-t em { margin-left: auto; font-style: normal; font-size: 11px; font-weight: 700; font-family: var(--mono, monospace); }
.bar-b { position: relative; height: 5px; border-radius: 3px; background: #f0f5fa; margin-top: 6px; }
.bar-b i { position: absolute; left: 0; top: 0; height: 100%; border-radius: 3px; }
.bar-b i.red { background: #ef4444; }
.bar-b i.amber { background: #f59e0b; }
.bar-b i.green { background: #10b981; }
.bar-b s { position: absolute; top: -3px; width: 1.5px; height: 11px; background: #c3d2e2; }

.spark { width: 100%; height: auto; display: block; margin-top: 4px; }
.axis { display: flex; justify-content: space-between; font-size: 9px; color: var(--faint); margin-top: 3px; }
.thrline { display: flex; align-items: center; gap: 5px; font-size: 9.5px; color: var(--muted); margin-top: 8px; }
.thrline i { width: 12px; height: 0; border-top: 2px dashed #cbd8e6; }

/* 行为分布 */
.vbars { display: flex; align-items: flex-end; gap: 10px; height: 92px; padding-top: 6px; }
.vb { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; }
.vb b { font-size: 12px; font-weight: 700; color: var(--deep); }
.vb span { font-size: 9.5px; color: var(--muted); order: 3; margin-top: 5px; }
.vb i { width: 100%; max-width: 26px; border-radius: 4px 4px 0 0; background: linear-gradient(180deg, #a78bfa, #7c3aed); order: 2; margin-top: 5px; }

/* 行为事件卡 */
.casecard { background: #fff; border: 1px solid var(--line); border-radius: 13px; padding: 12px 13px; margin-bottom: 9px; box-shadow: var(--shadow); }
.casecard .ch { display: flex; align-items: center; gap: 7px; }
.casecard .ch b { font-size: 12.5px; font-weight: 620; }
.casecard .ch em { margin-left: auto; font-style: normal; font-size: 9.5px; color: var(--deep); }
.casecard .cm { font-size: 10.5px; color: var(--muted); margin-top: 3px; }
.casecard .snap { display: flex; align-items: center; gap: 4px; margin: 9px 0; padding: 6px; background: #0f1b2d; border-radius: 8px; }
.casecard .snap i { width: 34px; height: 26px; border-radius: 4px; background: linear-gradient(135deg, #1e3a52, #16304a); display: block; }
.casecard .snap span { font-size: 9px; color: #7fb6d8; margin-left: auto; padding-right: 4px; }
.casecard .cn { font-size: 11px; color: var(--ink-2); line-height: 1.6; }
.casecard .actions { margin-top: 9px; }
.casecard .actions .btn { padding: 7px; font-size: 11.5px; }

/* 业务数字 */
.biznums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 10px; }
.biznums div { background: #f7faff; border-radius: 9px; padding: 7px 8px; }
.biznums b { display: block; font-size: 16px; letter-spacing: -.02em; }
.biznums span { font-size: 9.5px; color: var(--muted); }

/* 链路卡 */
.linkcard { border: 1px solid var(--line); border-radius: 12px; margin-bottom: 8px; overflow: hidden; background: #fff; }
.linkcard.open { border-color: var(--soft-line); }
.lc-h { display: flex; align-items: center; gap: 9px; padding: 11px 12px; cursor: pointer; }
.lc-h .k {
  width: 22px; height: 22px; border-radius: 7px; flex: 0 0 auto;
  display: grid; place-items: center; font-size: 11px; font-weight: 700;
  background: var(--soft); color: var(--deep); border: 1px solid var(--soft-line);
}
.lc-h b { font-size: 12.5px; font-weight: 620; line-height: 1.4; flex: 1; }
.lc-h i { font-style: normal; font-size: 14px; color: var(--faint); }
.lc-b { padding: 0 12px 12px; }
.lc-row { display: grid; grid-template-columns: 58px 1fr; gap: 8px; padding: 5px 0; font-size: 11.5px; }
.lc-row label { font-size: 10px; color: var(--faint); }
.lc-row span { color: var(--ink-2); line-height: 1.6; }
.lc-sample { margin-top: 7px; padding: 8px 10px; background: #f7faff; border-radius: 8px; font-size: 11px; color: var(--ink-2); line-height: 1.65; }

/* 架位表 */
.shead, .srow { display: grid; grid-template-columns: 1.4fr .7fr .7fr .8fr; gap: 6px; align-items: center; }
.shead { font-size: 9.5px; color: var(--faint); padding: 4px 0 6px; border-bottom: 1px solid var(--line); }
.shead span:not(:first-child) { text-align: right; }
.srow { padding: 8px 0; border-bottom: 1px dashed var(--line); }
.srow:last-child { border-bottom: none; }
.sc b { font-size: 11.5px; font-family: var(--mono, monospace); color: var(--deep); }
.sc span { display: block; font-size: 9.5px; color: var(--muted); }
.sl, .sb, .sr { text-align: right; font-size: 12px; font-family: var(--mono, monospace); }
.sl i, .sb i, .sr i { display: block; font-style: normal; font-size: 8.5px; color: var(--faint); font-family: -apple-system, sans-serif; }

/* 活动 */
.actcard { padding: 10px 0; border-bottom: 1px dashed var(--line); }
.actcard:last-child { border-bottom: none; }
.actcard .ah { display: flex; align-items: baseline; gap: 8px; }
.actcard .ah b { font-size: 12.5px; font-weight: 620; }
.actcard .ah i { margin-left: auto; font-style: normal; font-size: 9.5px; color: var(--faint); }
.actcard .am { font-size: 10px; color: var(--muted); margin-top: 2px; }
.actcard .an { font-size: 11px; color: var(--ink-2); margin-top: 4px; line-height: 1.6; }
.actcard .at { font-size: 10px; color: var(--muted); margin-top: 4px; }
.actcard .at b { color: var(--green); font-size: 11.5px; }

/* 对话回答分段 */
.ans { padding: 6px 0; border-bottom: 1px dashed var(--line); }
.ans:last-child { border-bottom: none; }
.ans label { display: block; font-size: 9px; color: var(--faint); letter-spacing: .04em; margin-bottom: 1px; }
.ans p { font-size: 12.5px; color: var(--ink-2); line-height: 1.7; }
.ans.bound p { color: var(--muted); font-size: 11.5px; }

.clegend { display: flex; gap: 14px; margin-top: 6px; }
.clegend span { display: inline-flex; align-items: center; gap: 5px; font-size: 9.5px; color: var(--muted); }
.clegend i { width: 12px; height: 2px; border-radius: 2px; display: inline-block; }
.clegend i.dash { background: repeating-linear-gradient(90deg,#94a3b8 0 4px,transparent 4px 7px); }

/* ============================================================
   闭馆日报 · 责任分派
   ============================================================ */
.rep {
  border-radius: var(--r); padding: 15px 16px; margin-bottom: 10px; color: #eaf6ff;
  background: linear-gradient(150deg, #0d2136, #143a56 60%, #0e2a40);
  box-shadow: 0 16px 34px -24px rgba(10,21,38,.9);
}
.rep.empty { background: linear-gradient(150deg, #1a2330, #26313f 60%, #1c2735); }
.rep .rh { display: flex; align-items: center; gap: 8px; }
.rep .rh span { font-size: 15px; font-weight: 650; letter-spacing: -.01em; }
.rep .rh .tag { margin-left: auto; }
.rep .rn { font-family: var(--mono, monospace); font-size: 11px; color: #7dd3fc; margin-top: 6px; letter-spacing: .02em; }
.rep .rm { font-size: 10.5px; color: rgba(178,205,230,.72); margin-top: 3px; line-height: 1.55; }

.rgather { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 10px; }
.rgather div { background: #f7faff; border-radius: 9px; padding: 8px 6px; text-align: center; }
.rgather b { display: block; font-size: 17px; letter-spacing: -.02em; color: var(--deep); }
.rgather span { font-size: 9px; color: var(--muted); }

.loadline { height: 4px; border-radius: 2px; background: #eef4fa; overflow: hidden; margin-top: 10px; }
.loadline i { display: block; height: 100%; width: 40%; border-radius: 2px; background: linear-gradient(90deg, #22d3ee, #0ea5e9); animation: ldmove 1.1s ease-in-out infinite; }
@keyframes ldmove { 0% { transform: translateX(-100%); } 100% { transform: translateX(260%); } }

.rgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; margin: 10px 0 4px; }
.rgrid div { background: #f7faff; border-radius: 9px; padding: 8px 7px; }
.rgrid b { display: block; font-size: 18px; letter-spacing: -.03em; line-height: 1.2; color: var(--ink); }
.rgrid span { font-size: 9px; color: var(--muted); }

.plist { margin-top: 8px; }
.prow { display: flex; align-items: center; gap: 8px; padding: 8px 0; border-bottom: 1px dashed var(--line); }
.prow:last-child { border-bottom: none; }
.prow .pn { flex: 1; min-width: 0; }
.prow .pn b { font-size: 12px; font-weight: 600; }
.prow .pn span { display: block; font-size: 9.5px; color: var(--muted); margin-top: 1px; }
.prow .pv { text-align: right; flex: 0 0 auto; }
.prow .pv b { display: block; font-size: 12px; font-family: var(--mono, monospace); color: var(--ink-2); }
.prow .pv span { font-size: 8.5px; color: var(--faint); }
.prow .pn .pd {
  display: inline-block; margin-left: 6px; font-style: normal; font-weight: 400;
  font-size: 8.5px; color: #5b7f99; background: #eef6fc; border-radius: 4px;
  padding: 1px 5px; vertical-align: 2px; letter-spacing: 0;
}

.sect { display: flex; align-items: baseline; gap: 6px; margin: 16px 0 8px; font-size: 12px; font-weight: 650; color: var(--ink); }
.sect b { font-size: 15px; color: var(--deep); letter-spacing: -.02em; }
.sect span { margin-left: auto; font-size: 10px; font-weight: 400; color: var(--muted); }

.dsp { border: 1px solid var(--line); border-radius: 13px; background: #fff; padding: 12px 12px 4px; margin-bottom: 9px; box-shadow: var(--shadow); }
.dsp .dh { display: flex; align-items: center; gap: 7px; padding-bottom: 9px; border-bottom: 1px solid var(--line); }
.dsp .dh b { font-size: 13px; font-weight: 650; }
.dsp .dh span { font-size: 9.5px; color: var(--faint); }
.dsp .dh .tag { margin-left: auto; }

.dspi { padding: 11px 0; border-bottom: 1px dashed var(--line); cursor: pointer; transition: opacity .15s; }
.dspi:last-child { border-bottom: none; }
.dspi.off { opacity: .42; }
.dspi .dt { display: flex; align-items: flex-start; gap: 7px; }
.dspi .dt b { font-size: 12.5px; font-weight: 620; line-height: 1.5; }
.chk { flex: 0 0 auto; width: 14px; height: 14px; border-radius: 4px; border: 1.4px solid #c9d6e4; margin-top: 2px; position: relative; }
.chk.on { background: var(--deep); border-color: var(--deep); }
.chk.on::after { content: ""; position: absolute; left: 4px; top: 1px; width: 4px; height: 7px; border-right: 1.6px solid #fff; border-bottom: 1.6px solid #fff; transform: rotate(42deg); }

.dspi .dl { display: grid; grid-template-columns: 26px 1fr; gap: 6px; margin-top: 6px; }
.dspi .dl label { font-size: 9px; color: var(--faint); padding-top: 1px; }
.dspi .dl span { font-size: 11.5px; color: var(--ink-2); line-height: 1.62; }
.dspi .dmeta { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 7px; font-size: 9.5px; color: var(--muted); }
.dspi .dmeta b { color: var(--ink-2); font-weight: 600; }
.dspi .dmeta .warnc { color: #c2410c; }
.dspi .dbasis { margin-top: 7px; padding: 5px 8px; background: #f7faff; border-radius: 7px; font-size: 9px; color: var(--faint); line-height: 1.55; }

.selfi { padding: 9px 0; border-bottom: 1px dashed var(--line); }
.selfi:last-child { border-bottom: none; }
.selfi b { display: block; font-size: 12px; font-weight: 600; }
.selfi span { display: block; font-size: 10.5px; color: var(--muted); line-height: 1.6; margin-top: 3px; }

.repc {
  display: flex; align-items: center; gap: 10px; padding: 11px 13px; margin-bottom: 10px;
  border-radius: 13px; cursor: pointer;
  background: linear-gradient(135deg, #eef7ff, #f6fbff);
  border: 1px solid #cfe6f8;
}
.repc:active { opacity: .8; }
.repc .rc-l { flex: 1; min-width: 0; }
.repc .rc-l b { display: block; font-size: 12.5px; font-weight: 650; color: #0b4a6f; }
.repc .rc-l span { display: block; font-size: 9.5px; color: #5b87a3; margin-top: 2px; line-height: 1.5; }
.repc .rc-b { flex: 0 0 auto; font-style: normal; font-size: 10.5px; font-weight: 600; color: #fff; background: #0e7490; border-radius: 999px; padding: 6px 11px; }

.notice { margin-top: 12px; border: 1px solid var(--line); border-radius: 13px; background: #fff; overflow: hidden; box-shadow: var(--shadow); }
.notice .nh { display: flex; align-items: center; gap: 8px; padding: 11px 13px; border-bottom: 1px solid var(--line); background: #fbfdff; }
.notice .nh b { font-size: 12.5px; font-weight: 650; }
.notice .nh span { margin-left: auto; font-size: 9.5px; color: var(--muted); }
.notice .npaper { padding: 13px 13px 4px; }
.notice .npaper pre {
  white-space: pre-wrap; word-break: break-word;
  font-family: -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 11px; line-height: 1.9; color: #33475b; margin: 0;
}
.notice .nact { display: flex; gap: 8px; padding: 4px 13px 13px; }
.notice .nact .btn { flex: 1; }

/* ============================================================
   2.5D 等距视图
   ============================================================ */
.iso { width: 100%; height: auto; display: block; margin: 4px 0 5px; }
.iso .ilabel {
  font-size: 10.5px; fill: #4d6b88; font-weight: 500;
  font-family: -apple-system, "PingFang SC", sans-serif;
  paint-order: stroke; stroke: #fff; stroke-width: 2.2px; stroke-linejoin: round; stroke-opacity: .72;
}
.iso .ilabel.big { font-size: 11.5px; fill: #2b5175; font-weight: 650; }
.iso .inum { font-size: 9px; fill: #7c93aa; font-family: var(--mono, monospace); }
.iso .fll {
  font-size: 11.5px; fill: #2c5177; font-weight: 650; font-family: -apple-system, "PingFang SC", sans-serif;
  paint-order: stroke; stroke: #fff; stroke-width: 2.6px; stroke-linejoin: round;
}
.iso .fln {
  font-size: 9.6px; fill: #7b90a6; font-family: -apple-system, "PingFang SC", sans-serif;
  paint-order: stroke; stroke: #fff; stroke-width: 2.2px; stroke-linejoin: round;
}
.isofl { cursor: pointer; }
.isofl:active { opacity: .78; }

.isolegend { display: flex; align-items: center; gap: 3px; margin: 2px 0 6px; }
.isolegend span { font-size: 9px; color: var(--faint); }
.isolegend i { width: 15px; height: 7px; display: inline-block; border-radius: 1.5px; }

.isocap { font-size: 9.5px; color: var(--faint); line-height: 1.6; margin-top: 2px; }
.lnk3d {
  display: inline-block; margin-top: 9px; font-size: 11.5px; font-weight: 600;
  color: var(--deep); text-decoration: none;
  border: 0; background: none; padding: 0; font-family: inherit; cursor: pointer;
}
.lnk3d:active { opacity: .7; }

.vswitch { display: flex; gap: 6px; margin: 0 0 9px; }
.vswitch button {
  padding: 5px 13px; font-size: 11px; border-radius: 8px; border: 1px solid #e6eef7;
  background: #f4f8fc; color: var(--muted); font-weight: 500;
}
.vswitch button.on { background: var(--nav); color: #fff; border-color: var(--nav); }

.flz { cursor: pointer; }
.flz:active rect { opacity: 1; }

/* ---------- 内嵌 3D ---------- */
.v3dBox {
  position: relative; height: 190px; margin: 2px 0 5px; border-radius: 12px;
  overflow: hidden; background: #0b1a29;
  box-shadow: inset 0 0 0 1px rgba(28,95,134,.35);
}
.v3dc { display: block; width: 100%; height: 100%; touch-action: none; }
.v3dLoading {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-size: 11px; color: #7fa6c4; background: #0b1a29; letter-spacing: .02em;
}
.v3dFull {
  position: absolute; right: 8px; top: 8px; z-index: 2;
  padding: 4px 9px; border-radius: 7px; font-size: 10px; color: #dff2ff;
  text-decoration: none; background: rgba(16,44,66,.82); border: 1px solid rgba(90,160,205,.42);
}
.v3dFull:active { opacity: .78; }
.v3dHint { font-size: 9.5px; color: var(--faint); margin: 0 0 7px; }
.v3dFail { padding: 26px 16px; text-align: center; color: #cfe3f4; }
.v3dFail b { display: block; font-size: 12px; margin-bottom: 5px; }
.v3dFail span { display: block; font-size: 10px; color: #8fb0c9; line-height: 1.6; margin-bottom: 10px; }
.v3dFail .seg { border: 1px solid rgba(90,160,205,.4); background: rgba(20,50,74,.7); color: #dff2ff; padding: 5px 12px; border-radius: 8px; font-size: 11px; }

/* ============================================================
   概览 · 空间管控台（v1.8 重做）
   ============================================================ */

/* ---------- 入场节奏 ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(11px); } to { opacity: 1; transform: none; } }
.scroll > * { animation: rise .5s cubic-bezier(.22,.68,.28,1) both; }
.scroll > *:nth-child(1) { animation-delay: .02s; }
.scroll > *:nth-child(2) { animation-delay: .07s; }
.scroll > *:nth-child(3) { animation-delay: .12s; }
.scroll > *:nth-child(4) { animation-delay: .17s; }
.scroll > *:nth-child(5) { animation-delay: .22s; }
.scroll > *:nth-child(6) { animation-delay: .27s; }
.scroll > *:nth-child(7) { animation-delay: .32s; }
.scroll > *:nth-child(n+8) { animation-delay: .37s; }

/* ---------- 顶部管控态势 ---------- */
.hv {
  position: relative; overflow: hidden; margin-bottom: 10px;
  border-radius: var(--r); padding: 14px 16px 0; color: #eaf6ff;
  background:
    radial-gradient(420px 240px at 88% 0%, rgba(34,211,238,.2), transparent 62%),
    radial-gradient(360px 220px at -10% 100%, rgba(99,102,241,.18), transparent 60%),
    linear-gradient(152deg, #08182a, #10344f 58%, #0a1e33);
  box-shadow: 0 18px 38px -26px rgba(8,22,38,.95), inset 0 0 0 1px rgba(120,190,240,.14);
}
.hv-scan {
  position: absolute; top: 0; left: -45%; width: 45%; height: 100%; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(103,232,249,.16), transparent);
  animation: scanX 5.6s ease-in-out infinite;
}
@keyframes scanX { 0% { left: -45%; } 55%, 100% { left: 105%; } }

.hv-top { display: flex; align-items: center; font-size: 10.5px; }
.hv-live { display: inline-flex; align-items: center; gap: 6px; color: rgba(196,226,248,.9); letter-spacing: .02em; }
.hv-live i {
  width: 6px; height: 6px; border-radius: 50%; background: #34d399;
  box-shadow: 0 0 0 0 rgba(52,211,153,.6); animation: liveDot 2s infinite;
}
@keyframes liveDot {
  0% { box-shadow: 0 0 0 0 rgba(52,211,153,.6); }
  70% { box-shadow: 0 0 0 7px rgba(52,211,153,0); }
  100% { box-shadow: 0 0 0 0 rgba(52,211,153,0); }
}
.hv-time { margin-left: auto; font-family: var(--mono, monospace); color: rgba(148,190,224,.6); }

.hv-mid { display: flex; align-items: center; gap: 10px; margin: 7px 0 2px; }
.hv-l { flex: 1; min-width: 0; }
.hv-lbl { font-size: 10px; color: rgba(160,198,228,.72); letter-spacing: .06em; }
.hv-num {
  font-size: 40px; font-weight: 750; letter-spacing: -.035em; line-height: 1.1;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, #ffffff, #a9dcf6);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow: 0 0 26px rgba(103,232,249,.22);
}
.hv-num i { font-size: 12px; font-weight: 500; color: rgba(180,214,240,.7); margin-left: 4px; vertical-align: 3px; -webkit-text-fill-color: rgba(180,214,240,.7); }
.hv-sub { font-size: 10px; color: rgba(168,203,232,.78); margin-top: 1px; }
.hv-sub b { color: #cfeaff; font-weight: 650; }
.hv-sub b.warn { color: #fbbf24; }

/* 环形在线率 */
.hv-ring { position: relative; width: 84px; height: 84px; flex: 0 0 auto; }
.hv-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
.hr-bg { fill: none; stroke: rgba(148,197,255,.16); stroke-width: 6; }
.hr-num {
  fill: none; stroke: #22d3ee; stroke-width: 6; stroke-linecap: round;
  stroke-dasharray: var(--circ); stroke-dashoffset: var(--off);
  filter: drop-shadow(0 0 5px rgba(34,211,238,.65));
  animation: dashIn 1.3s cubic-bezier(.2,.7,.3,1) both;
}
@keyframes dashIn { from { stroke-dashoffset: var(--circ); } to { stroke-dashoffset: var(--off); } }
.hr-rot {
  fill: none; stroke: rgba(103,232,249,.32); stroke-width: 1;
  stroke-dasharray: 2 9; transform-origin: 42px 42px;
  animation: spinSlow 11s linear infinite;
}
@keyframes spinSlow { to { transform: rotate(360deg); } }
.hr-t { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; line-height: 1.1; }
.hr-t b { font-size: 15px; font-weight: 750; font-variant-numeric: tabular-nums; }
.hr-t b i { font-size: 8px; font-style: normal; font-weight: 500; color: rgba(180,214,240,.7); margin-left: 1px; }
.hr-t span { display: block; font-size: 8.5px; color: rgba(160,198,228,.66); margin-top: 2px; }
.hv-ring::before, .hv-ring::after {
  content: ""; position: absolute; inset: 3px; border-radius: 50%;
  border: 1px solid rgba(34,211,238,.4); animation: ping 3.2s ease-out infinite;
}
.hv-ring::after { animation-delay: 1.6s; }
@keyframes ping { 0% { transform: scale(.86); opacity: .55; } 100% { transform: scale(1.24); opacity: 0; } }

/* 四格口径 */
.hv-lines { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 10px 0 0; }
.hv-lines div {
  padding: 6px 2px 7px; text-align: center; border-radius: 9px;
  background: rgba(120,190,240,.07); border: 1px solid rgba(120,190,240,.12);
}
.hv-lines b { display: block; font-size: 14px; font-weight: 700; color: #e8f6ff; font-variant-numeric: tabular-nums; }
.hv-lines span { display: block; font-size: 8.5px; color: rgba(160,198,228,.66); margin-top: -1px; }

/* 心跳滚动条 */
.hv-tick {
  position: relative; margin: 11px -16px 0; padding: 8px 0; overflow: hidden;
  border-top: 1px solid rgba(120,190,240,.13); background: rgba(4,16,28,.36);
}
.hv-tick::before, .hv-tick::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 20px; z-index: 2; pointer-events: none;
}
.hv-tick::before { left: 0; background: linear-gradient(90deg, rgba(5,17,29,.95), rgba(5,17,29,0)); }
.hv-tick::after { right: 0; background: linear-gradient(270deg, rgba(5,17,29,.95), rgba(5,17,29,0)); }
.hv-tick-t { display: flex; width: max-content; animation: marq 34s linear infinite; }
.tk-h { display: flex; gap: 24px; padding-left: 18px; }
.hv-tick-t span {
  position: relative; padding-left: 10px; white-space: nowrap;
  font-size: 9.5px; color: rgba(172,206,234,.82);
}
.hv-tick-t span::before {
  content: ""; position: absolute; left: 0; top: 50%; width: 3px; height: 3px;
  border-radius: 50%; background: #22d3ee; transform: translateY(-50%); opacity: .8;
}
@keyframes marq { to { transform: translateX(-50%); } }

/* ---------- 三条管控线 ---------- */
.dutys { display: grid; gap: 8px; }
.du { padding: 9px 10px; border-radius: 11px; background: #f8fbff; border: 1px solid #e9f1fa; }
.du-h { display: flex; align-items: center; gap: 6px; }
.du-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); flex: 0 0 auto; }
.du-dot.warn { background: var(--amber); animation: blip 2.2s ease-in-out infinite; }
.du-h b { font-size: 12px; font-weight: 650; }
.du-h em {
  margin-left: auto; font-style: normal; font-size: 12.5px; font-weight: 700;
  color: var(--deep); font-variant-numeric: tabular-nums;
  font-family: var(--mono, monospace);
}
.du-b { display: flex; align-items: flex-end; gap: 8px; margin-top: 2px; }
.du-b > span { flex: 1; min-width: 0; font-size: 9.5px; color: var(--muted); line-height: 1.5; }
.du-b .spark { flex: 0 0 auto; width: 58px; height: 16px; opacity: .95; }
.du-w { font-size: 9px; color: var(--faint); margin-top: 3px; }
.du-w.warn { color: var(--amber); }

/* ---------- 楼层管控 ---------- */
.frs { display: grid; gap: 7px; }
.fr {
  display: flex; align-items: center; gap: 10px; width: 100%; text-align: left;
  padding: 9px 10px; border-radius: 11px; border: 1px solid var(--line); background: #fff;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.fr:active { transform: scale(.986); background: #f6fbff; border-color: var(--soft-line); }
.fr-l { width: 46px; flex: 0 0 auto; }
.fr-l b { display: block; font-size: 13.5px; font-weight: 720; font-family: var(--mono, monospace); letter-spacing: -.02em; }
.fr-l span { display: block; font-size: 8.5px; color: var(--faint); margin-top: -2px; }
.fr-m { flex: 1; min-width: 0; }
.fr-bar { height: 4px; border-radius: 2px; background: #eef3f9; overflow: hidden; }
.fr-bar i {
  display: block; height: 100%; border-radius: 2px;
  background: linear-gradient(90deg, #22d3ee, #0ea5e9);
  transform-origin: left; animation: barIn 1.1s cubic-bezier(.2,.7,.3,1) both;
}
@keyframes barIn { from { transform: scaleX(0); } }
.fr-m em { display: block; font-style: normal; font-size: 9px; color: var(--muted); margin-top: 3px; font-family: var(--mono, monospace); }
.fr-r { flex: 0 0 auto; display: flex; align-items: center; gap: 2px; font-size: 9.5px; font-weight: 650; color: var(--green); }
.fr-r i { font-style: normal; font-size: 14px; color: var(--faint); margin-top: -1px; }
.fr-r.bad { color: var(--red); }

/* ---------- 自动执行 ---------- */
.next {
  position: relative; overflow: hidden; display: flex; align-items: center; gap: 10px;
  padding: 10px 11px; border-radius: 11px; margin-bottom: 6px; color: #e7f4ff;
  background: linear-gradient(133deg, #0a1c2f, #123a56);
  box-shadow: inset 0 0 0 1px rgba(120,190,240,.16);
}
.next::after {
  content: ""; position: absolute; top: 0; left: -40%; width: 40%; height: 100%; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(103,232,249,.18), transparent);
  animation: scanX 4.4s ease-in-out infinite;
}
.nx-l { flex: 1; min-width: 0; }
.nx-l > span { font-size: 8.5px; letter-spacing: .1em; color: rgba(150,200,232,.66); }
.nx-l b { display: block; font-size: 12.5px; font-weight: 650; margin-top: 1px; }
.nx-l em { display: block; font-style: normal; font-size: 9px; color: rgba(170,205,232,.72); margin-top: 2px; line-height: 1.5; }
.nx-r { flex: 0 0 auto; text-align: right; }
.nx-r i { display: block; font-style: normal; font-size: 9px; color: #67e8f9; font-family: var(--mono, monospace); margin-bottom: 5px; }
.nx-b {
  padding: 5px 9px; border-radius: 7px; font-size: 9.5px; font-weight: 700;
  color: #04202f; background: linear-gradient(135deg, #67e8f9, #22d3ee);
}
.aus { display: grid; }
.au { display: flex; align-items: center; gap: 8px; padding: 8px 0; border-bottom: 1px dashed var(--line); }
.au:last-child { border-bottom: none; }
.au-d { width: 7px; height: 7px; border-radius: 50%; flex: 0 0 auto; background: var(--green); box-shadow: 0 0 0 3px rgba(4,120,87,.1); }
.au-d.info { background: var(--accent); box-shadow: 0 0 0 3px rgba(14,165,233,.12); animation: blip 2.4s ease-in-out infinite; }
.au-m { flex: 1; min-width: 0; }
.au-m b { display: block; font-size: 11.5px; font-weight: 600; }
.au-m span { display: block; font-size: 9px; color: var(--muted); }
.au em { flex: 0 0 auto; font-style: normal; font-size: 10px; font-family: var(--mono, monospace); color: var(--deep); }

@keyframes blip { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .45; transform: scale(.82); } }

/* ---------- 待处置 ---------- */
.nds { display: grid; gap: 7px; margin-bottom: 10px; }
.nd {
  display: flex; align-items: center; gap: 9px; padding: 9px 10px;
  border-radius: 11px; background: #fbfdff; border: 1px solid var(--line); cursor: pointer;
  transition: transform .16s ease, background .16s ease;
}
.nd:active { transform: scale(.988); background: #f4faff; }
.nd-d { width: 3px; align-self: stretch; border-radius: 2px; background: var(--amber); flex: 0 0 auto; }
.nd-d.late { background: #ef4444; animation: blip 2s ease-in-out infinite; }
.nd-m { flex: 1; min-width: 0; }
.nd-m b {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  font-size: 11.5px; font-weight: 600; line-height: 1.45;
}
.nd-m span { display: block; font-size: 9px; color: var(--faint); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nd em { flex: 0 0 auto; display: flex; align-items: center; gap: 1px; font-style: normal; font-size: 9.5px; color: var(--amber); }
.nd em.late { color: var(--red); font-weight: 650; }
.nd em i { font-style: normal; color: var(--faint); }

/* ---------- 案例（首页压缩条） ---------- */
.caseSlim {
  display: flex; align-items: center; gap: 10px; border: none; color: #e8f4ff;
  background: linear-gradient(133deg, #0a1c2f, #123650);
}
.cs-l { flex: 1; min-width: 0; }
.cs-l b { display: block; font-size: 11.5px; font-weight: 650; }
.cs-l span { display: block; font-size: 9px; color: rgba(170,203,230,.72); margin-top: 2px; }
.caseSlim em { flex: 0 0 auto; font-style: normal; font-size: 10.5px; font-weight: 700; color: #7dd3fc; }

/* ---------- 全局动效：登录 / 顶栏 / 底栏 ---------- */
.login { position: relative; overflow: hidden; isolation: isolate; }
.login::before {
  content: ""; position: absolute; inset: -30%; z-index: 0; pointer-events: none; opacity: .5;
  background-image:
    linear-gradient(rgba(120,190,255,.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120,190,255,.12) 1px, transparent 1px);
  background-size: 42px 42px;
  animation: gridFlow 14s linear infinite;
}
@keyframes gridFlow { to { background-position: 0 42px, 42px 0; } }
.login::after {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  width: 540px; height: 540px; left: -170px; top: -190px; border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(34,211,238,.22), transparent 32%, rgba(99,102,241,.2) 58%, transparent 82%, rgba(34,211,238,.22));
  filter: blur(26px); animation: spinSlow 28s linear infinite;
}
.login > * { position: relative; z-index: 1; }
.login .mark { animation: breathe 4.6s ease-in-out infinite; }
@keyframes breathe {
  0%, 100% { box-shadow: 0 12px 30px -12px rgba(34,211,238,.8); transform: translateY(0); }
  50% { box-shadow: 0 16px 38px -12px rgba(34,211,238,.95); transform: translateY(-2px); }
}

.topbar::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(14,165,233,.34), transparent);
}
.tab.on svg { animation: tabPop .42s cubic-bezier(.2,.7,.3,1); }
@keyframes tabPop { 0% { transform: scale(.82); } 60% { transform: scale(1.1); } 100% { transform: scale(1); } }
.tab.on::before { animation: tabLine .36s cubic-bezier(.2,.7,.3,1) both; }
@keyframes tabLine { from { transform: scaleX(.2); opacity: 0; } }
.tab .dot { animation: blip 2s ease-in-out infinite; }

/* 减少动态偏好 */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* 2.5D 沙盘：楼层轻浮 + 告警点呼吸 */
@keyframes isoFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.iso .isofl { animation: isoFloat 7s ease-in-out infinite; }
.iso .isofl:nth-of-type(2) { animation-delay: .7s; }
.iso .isofl:nth-of-type(3) { animation-delay: 1.4s; }
.iso .flz { cursor: pointer; }
.iso .flz:nth-of-type(4) { animation: isoFloat 7s ease-in-out infinite; }
.iso .flz:nth-of-type(5) { animation: isoFloat 7s ease-in-out .7s infinite; }
.iso .flz:nth-of-type(6) { animation: isoFloat 7s ease-in-out 1.4s infinite; }
.iso .ap { animation: apPulse 2.3s ease-in-out infinite; }
@keyframes apPulse {
  0%, 100% { opacity: .18; stroke-width: .6; }
  50% { opacity: .9; stroke-width: 1.3; }
}

/* ---------- 运维子模块头 ---------- */
.omhead {
  position: relative; overflow: hidden; display: flex; align-items: center; gap: 9px;
  padding: 11px 12px; margin-bottom: 9px; border-radius: 11px; color: #e8f5ff;
  background: linear-gradient(133deg, #0a1c2f, #123a56);
  box-shadow: inset 0 0 0 1px rgba(120,190,240,.16);
}
.omhead::after {
  content: ""; position: absolute; top: 0; left: -40%; width: 40%; height: 100%; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(103,232,249,.16), transparent);
  animation: scanX 4.6s ease-in-out infinite;
}
.omh-t { display: flex; align-items: center; gap: 7px; flex: 1; min-width: 0; }
.omh-t b { font-size: 13.5px; font-weight: 720; letter-spacing: -.01em; }
.omh-t span {
  font-size: 8.5px; color: #8fd0ee; border-radius: 999px; padding: 2px 7px;
  border: 1px solid rgba(103,232,249,.34); background: rgba(34,211,238,.1); white-space: nowrap;
}
.omh-r { flex: 0 0 auto; text-align: right; line-height: 1.15; }
.omh-r b { display: block; font-size: 15px; font-weight: 750; font-variant-numeric: tabular-nums; }
.omh-r span { display: block; font-size: 8.5px; color: rgba(160,205,235,.72); }
