/* =====================================================
   数据可视化大屏 · 深空毛玻璃风
   1920x1080 优先, 自适应缩放
   ===================================================== */
:root {
  --brand: #2E6FFF;
  --bgc: #0B1226;
  --blink: #FFD60A;
  --glass: rgba(20, 28, 54, .55);
  --glass-brd: rgba(120, 160, 255, .16);
  --txt: #E8EEFF;
  --txt2: #8FA3D8;
  --red: #FF453A;
  --orange: #FF9500;
  --green: #30D158;
  --blue: #0A84FF;
  --yellow: #FFD60A;
  --gray: #6E7BA0;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { height: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  background:
    radial-gradient(1200px 600px at 15% -10%, rgba(46,111,255,.18), transparent 60%),
    radial-gradient(1000px 500px at 90% 110%, rgba(94,92,230,.16), transparent 60%),
    var(--bgc);
  color: var(--txt);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
svg.ic { width: 1.15em; height: 1.15em; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; vertical-align: -.2em; }
.ic-lg { width: 2em; height: 2em; }

.screen { display: flex; flex-direction: column; height: 100vh; min-height: 700px; }

/* 头部 */
.sc-head { display: flex; align-items: center; padding: 14px 26px 10px; gap: 20px; }
.sc-title { flex: 1; text-align: center; position: relative; }
.sc-title h1 { font-size: 1.7rem; font-weight: 800; letter-spacing: .06em;
  background: linear-gradient(180deg, #FFFFFF, #9DB8FF); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.sc-title small { display: block; color: var(--txt2); font-size: .78rem; letter-spacing: .3em; margin-top: 3px; }
.brand-icon { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px;
  background: linear-gradient(135deg, var(--brand), #5E5CE6); color: #fff; box-shadow: 0 6px 20px rgba(46,111,255,.5); margin-right: 10px; vertical-align: middle; }
.chip { padding: 6px 14px; border-radius: 999px; background: var(--glass); border: 1px solid var(--glass-brd);
  font-size: .76rem; color: var(--txt2); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.chip.time { font-variant-numeric: tabular-nums; font-size: .95rem; color: var(--txt); font-weight: 700; }

/* 主区 */
.sc-main { flex: 1; display: grid; grid-template-columns: 1fr 1.55fr 1fr; gap: 14px; padding: 6px 26px 20px; min-height: 0; }
.col { display: flex; flex-direction: column; gap: 14px; min-height: 0; }

.panel {
  background: var(--glass);
  border: 1px solid var(--glass-brd);
  border-radius: 20px;
  padding: 16px 18px;
  backdrop-filter: blur(24px) saturate(1.3);
  -webkit-backdrop-filter: blur(24px) saturate(1.3);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 10px 40px rgba(0,0,0,.35);
  display: flex; flex-direction: column; min-height: 0;
  animation: panelIn .6s cubic-bezier(.32,.72,.3,1) backwards;
}
.panel:nth-child(1) { animation-delay: .05s; } .panel:nth-child(2) { animation-delay: .12s; } .panel:nth-child(3) { animation-delay: .19s; }
@keyframes panelIn { from { opacity: 0; transform: translateY(18px); } }
.panel h3 { font-size: .92rem; font-weight: 700; letter-spacing: .04em; display: flex; align-items: center; gap: 7px; margin-bottom: 10px; color: var(--txt); }
.panel h3 svg.ic { color: var(--brand); }
.panel h3 .hint { font-size: .66rem; font-weight: 400; color: var(--txt2); margin-left: auto; letter-spacing: 0; }
.chart { flex: 1; min-height: 0; }

/* 男女比例 */
.gender { display: flex; gap: 14px; }
.gender .g { flex: 1; display: flex; flex-direction: column; align-items: center; padding: 14px 0; border-radius: 16px; background: rgba(255,255,255,.03); }
.g-ico { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 8px; }
.g-ico.male { background: rgba(10,132,255,.18); color: #6FB1FF; }
.g-ico.female { background: rgba(255,110,180,.16); color: #FF9DC8; }
.gender b { font-size: 1.5rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.gender i { font-style: normal; color: var(--txt2); font-size: .74rem; }

/* 疾病词云 */
.cloud { display: flex; flex-wrap: wrap; gap: 8px 14px; align-content: flex-start; flex: 1; overflow: hidden; padding-top: 6px; }
.cloud span { color: var(--txt2); font-weight: 600; line-height: 1.3; transition: color .3s; }
.cloud span:hover { color: #fff; }

/* 中间 */
.hero { flex: 1.05; justify-content: flex-end; position: relative; overflow: hidden; padding-bottom: 4px; }
.hero-img { position: absolute; inset: 0; display: grid; place-items: center; opacity: .12; font-size: 8rem; color: var(--brand); }
.hero-img img { max-width: 100%; max-height: 100%; opacity: .3; }

/* ===== 百度地球 / 内置SVG地球 ===== */
.earth-wrap { position: absolute; inset: 4px 0 0 0; display: grid; place-items: center; overflow: hidden; }
.baidu-earth { position: absolute; inset: 0; z-index: 1; }
.baidu-earth.hidden { display: none; }
.svg-earth { position: absolute; inset: 0; display: grid; place-items: center; z-index: 1; }
.svg-earth.hidden { display: none; }
.globe { position: relative; width: min(280px, 68%); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 38% 32%, #1E3A72, #0A1730 68%, #050B1A 100%);
  box-shadow: inset 0 0 60px rgba(46,111,255,.25), 0 0 60px rgba(46,111,255,.18); animation: globeFloat 8s ease-in-out infinite; }
@keyframes globeFloat { 50% { transform: translateY(-10px); } }
.globe-grid { position: absolute; inset: 0; border-radius: 50%; overflow: hidden;
  background-image: repeating-linear-gradient(0deg, transparent 0 20px, rgba(90,168,255,.12) 20px 21px), repeating-linear-gradient(90deg, transparent 0 20px, rgba(90,168,255,.1) 20px 21px);
  -webkit-mask-image: radial-gradient(circle, #000 62%, transparent 72%); mask-image: radial-gradient(circle, #000 62%, transparent 72%);
  animation: gridSpin 28s linear infinite; }
@keyframes gridSpin { to { background-position: 0 21px, 21px 0; } }
.globe-land { position: absolute; inset: 6%; width: 88%; height: 88%; animation: landSpin 24s linear infinite; }
@keyframes landSpin { 0%,100% { transform: translateX(-6%); } 50% { transform: translateX(6%); } }
.globe-glow { position: absolute; inset: -6%; border-radius: 50%; border: 1px solid rgba(90,168,255,.18); box-shadow: 0 0 0 8px rgba(46,111,255,.05), 0 0 0 18px rgba(46,111,255,.03); }
.globe-points { position: absolute; inset: 0; }
.globe-points .gp { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: #FFD60A; box-shadow: 0 0 12px #FFD60A; animation: gpulse 2s ease-in-out infinite; }
.globe-points .gp::after { content:""; position:absolute; inset:-5px; border-radius:50%; border:1px solid #FFD60A; opacity:.5; }
@keyframes gpulse { 50% { transform: scale(1.5); opacity: .6; } }
.earth-label { position: absolute; top: 8px; left: 50%; transform: translateX(-50%); font-size: .6rem; letter-spacing: .2em; color: var(--txt2); z-index: 2; white-space: nowrap; }

.big-nums { position: absolute; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; z-index: 3; padding: 0 2px; }
.bn { text-align: center; padding: 8px 4px; border-radius: 12px; background: rgba(10,20,45,.55); border: 1px solid rgba(120,160,255,.14); backdrop-filter: blur(8px); }
.bn b { display: block; font-size: 1.9rem; font-weight: 800; font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, #fff, #9DB8FF); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.bn i { font-style: normal; font-size: .72rem; color: var(--txt2); }

/* 呼叫监控 */
.call-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(108px, 1fr)); gap: 9px; flex: 1; align-content: flex-start; overflow-y: auto; }
.cc { border-radius: 13px; padding: 9px 6px; text-align: center; cursor: pointer; border: 1px solid transparent;
  background: rgba(255,255,255,.045); transition: transform .2s; position: relative; }
.cc:hover { transform: translateY(-2px); }
.cc b { display: block; font-size: .82rem; margin-bottom: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cc i { font-style: normal; font-size: .66rem; opacity: .85; }
.cc .sn { font-size: .58rem; opacity: .6; display: block; }
.cc.normal { color: var(--green); }
.cc.calling { color: var(--blink); border-color: var(--blink); animation: callBlink .8s infinite; }
.cc.lowbattery, .cc.fault { color: var(--red); border-color: rgba(255,69,58,.4); animation: callBlink 1.6s infinite; }
.cc.offline { color: var(--gray); }
@keyframes callBlink { 50% { opacity: .25; box-shadow: 0 0 18px currentColor; } }

/* 时间线 */
.tl { flex: 1; overflow-y: auto; font-size: .78rem; }
.tl .t { display: flex; gap: 8px; padding: 5px 0; border-bottom: 1px dashed rgba(140,170,255,.1); }
.tl .t time { color: var(--brand); font-variant-numeric: tabular-nums; flex: none; }
.tl .t .op { color: var(--txt2); margin-left: auto; flex: none; }

/* 工单专题 */
.wo-levels { display: flex; gap: 10px; margin-bottom: 8px; }
.wo-levels .wl { flex: 1; border-radius: 14px; padding: 10px 6px; text-align: center; }
.wo-levels .wl b { display: block; font-size: 1.4rem; font-weight: 800; }
.wo-levels .wl i { font-style: normal; font-size: .68rem; }
.wo-levels .wl.red { background: rgba(255,69,58,.14); color: #FF8A80; }
.wo-levels .wl.yellow { background: rgba(255,149,0,.14); color: #FFC77D; }
.wo-levels .wl.blue { background: rgba(10,132,255,.15); color: #7FC0FF; }
.flow-marquee { flex: 1; overflow: hidden; }
.flow-marquee .f { display: flex; align-items: center; gap: 8px; padding: 6px 0; font-size: .78rem; border-bottom: 1px dashed rgba(140,170,255,.1); animation: flowIn .5s backwards; }
@keyframes flowIn { from { opacity: 0; transform: translateX(20px); } }
.flow-marquee .f .lv { font-size: .62rem; padding: 2px 8px; }
.lv { display: inline-block; padding: 2px 9px; border-radius: 999px; color: #fff; font-weight: 700; }
.lv.red { background: var(--red); } .lv.yellow { background: var(--orange); } .lv.blue { background: var(--blue); }

/* 设备专题 */
.dev-stat { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.dev-stat .ds { text-align: center; padding: 10px 4px; border-radius: 12px; background: rgba(255,255,255,.04); }
.dev-stat .ds b { display: block; font-size: 1.2rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.dev-stat .ds i { font-style: normal; font-size: .64rem; color: var(--txt2); }

/* 新闻/服务 */
.news { flex: 1; overflow: hidden; font-size: .8rem; }
.news .n { padding: 6px 0; border-bottom: 1px dashed rgba(140,170,255,.1); display: flex; gap: 8px; }
.news .n time { color: var(--txt2); flex: none; font-variant-numeric: tabular-nums; }
.news .n span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.svcs { flex: 1; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; gap: 6px; font-size: .8rem; scrollbar-width: thin; }
.svcs .s { display: flex; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 10px; background: rgba(255,255,255,.04); }
.svcs .s b { color: var(--txt); font-weight: 600; }
.svcs .s span { margin-left: auto; color: var(--brand); font-variant-numeric: tabular-nums; font-weight: 700; }

/* 呼叫处理弹窗 */
.call-modal { position: fixed; inset: 0; background: rgba(4,8,20,.6); backdrop-filter: blur(8px); display: none; place-items: center; z-index: 50; }
.call-modal.show { display: grid; }
.cm-box { width: min(420px, 92vw); border-radius: 22px; background: rgba(22,30,56,.92); border: 1px solid var(--glass-brd); box-shadow: 0 30px 80px rgba(0,0,0,.5); animation: popIn .3s cubic-bezier(.32,.72,.3,1.1); }
@keyframes popIn { from { opacity: 0; transform: scale(.94) translateY(12px); } }
.cm-head { display: flex; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--glass-brd); font-size: 1rem; }
.cm-head span { margin-left: auto; cursor: pointer; color: var(--txt2); }
.cm-body { padding: 18px 20px; font-size: .88rem; line-height: 2; color: var(--txt2); }
.cm-body b { color: var(--txt); }
.cm-foot { display: flex; gap: 10px; padding: 0 20px 18px; }
.cm-btn { flex: 1; padding: 11px; border-radius: 13px; border: 1px solid var(--glass-brd); background: rgba(255,255,255,.06); color: var(--txt); font-size: .9rem; font-weight: 700; cursor: pointer; font-family: inherit; transition: .2s; }
.cm-btn.ok { background: linear-gradient(135deg, var(--green), #28B04B); border: none; color: #fff; box-shadow: 0 6px 18px rgba(48,209,88,.35); }
.cm-btn:hover { transform: translateY(-1px); }

::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-thumb { background: rgba(140,170,255,.25); border-radius: 5px; }

/* ===================== 多页签 ===================== */
.sc-head { padding: 12px 26px 8px; }
.sc-brand { display: flex; align-items: center; gap: 12px; flex: none; }
.sc-title-txt h1 { font-size: 1.32rem; font-weight: 800; letter-spacing: .05em; white-space: nowrap;
  background: linear-gradient(180deg, #FFFFFF, #9DB8FF); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.sc-title-txt small { display: block; color: var(--txt2); font-size: .62rem; letter-spacing: .22em; margin-top: 2px; white-space: nowrap; }
.sc-tabs { display: flex; gap: 8px; align-items: center; flex: 1; justify-content: center; }
.sc-tab { display: inline-flex; align-items: center; gap: 6px; padding: 8px 18px; border-radius: 999px; font-size: .84rem; font-weight: 600;
  color: var(--txt2); cursor: pointer; background: rgba(255,255,255,.04); border: 1px solid var(--glass-brd); transition: .25s; letter-spacing: .04em; white-space: nowrap; }
.sc-tab svg.ic { width: 1em; height: 1em; }
.sc-tab:hover { color: var(--txt); background: rgba(255,255,255,.08); }
.sc-tab.on { color: #fff; background: linear-gradient(135deg, var(--brand), #5E5CE6); border-color: transparent; box-shadow: 0 6px 18px rgba(46,111,255,.35); }

.sc-body { flex: 1; min-height: 0; display: flex; overflow: hidden; }
.tab-panel { flex: 1; min-height: 0; display: none; flex-direction: column; }
.tab-panel.on { display: flex; }
.tab-panel[data-panel="health"].on { flex-direction: row; }
.tab-panel .sc-main { flex: 1; }

/* 筛选条 */
.filter-bar { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; padding: 0 26px 10px; flex: none; }
.fb-label { display: inline-flex; align-items: center; gap: 5px; font-size: .74rem; color: var(--txt2); }
.fb-label svg.ic { color: var(--brand); }
.fb-chip { padding: 5px 14px; border-radius: 999px; font-size: .74rem; color: var(--txt2); background: rgba(255,255,255,.05);
  border: 1px solid var(--glass-brd); cursor: pointer; transition: .2s; white-space: nowrap; user-select: none; }
.fb-chip:hover { color: var(--txt); }
.fb-chip.on { color: #fff; background: linear-gradient(135deg, var(--brand), #5E5CE6); border-color: transparent; box-shadow: 0 4px 14px rgba(46,111,255,.3); }
.fb-select { padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.05); border: 1px solid var(--glass-brd); color: var(--txt); font-size: .74rem; outline: none; font-family: inherit; }
.fb-select option { background: #14204a; color: var(--txt); }
.grow { flex: 1; }

/* 卡片网格 */
.grid-wrap { flex: 1; min-height: 0; overflow-y: auto; padding: 2px 26px 16px; }
.elder-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(248px, 1fr)); gap: 12px; }
.elder-card { position: relative; border-radius: 16px; padding: 14px 16px; background: var(--glass); border: 1px solid var(--glass-brd);
  border-top: 3px solid var(--c, var(--brand)); backdrop-filter: blur(16px); transition: transform .2s; animation: panelIn .5s backwards; }
.elder-card:hover { transform: translateY(-3px); }
.elder-card .ec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.elder-card .ec-head b { font-size: 1.02rem; font-weight: 800; }
.elder-card .ec-bd { font-size: .66rem; color: var(--txt2); font-variant-numeric: tabular-nums; }
.elder-card .ec-lv { display: inline-block; padding: 3px 12px; border-radius: 999px; font-size: .68rem; font-weight: 700;
  background: color-mix(in srgb, var(--c) 18%, transparent); color: var(--c); margin-bottom: 9px; }
.elder-card .ec-row { font-size: .74rem; color: var(--txt2); line-height: 1.75; display: flex; gap: 6px; align-items: center; }
.elder-card .ec-row b { color: var(--txt); font-weight: 600; }
.elder-card .ec-dis { font-size: .7rem; color: #FFC77D; margin-top: 5px; line-height: 1.5; }
.elder-card .ec-phone { margin-left: auto; color: var(--brand); font-variant-numeric: tabular-nums; font-weight: 600; }

/* 健康监控 */
.hb-list { width: 292px; flex: none; display: flex; flex-direction: column; gap: 10px; padding: 2px 0 2px 26px; min-height: 0; }
.hb-search { display: flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 14px; background: var(--glass); border: 1px solid var(--glass-brd); flex: none; }
.hb-search svg.ic { color: var(--brand); }
.hb-search input { flex: 1; background: transparent; border: none; outline: none; color: var(--txt); font-size: .8rem; font-family: inherit; }
.hb-items { flex: 1; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; gap: 7px; padding-right: 4px; }
.hb-item { padding: 10px 13px; border-radius: 13px; background: var(--glass); border: 1px solid var(--glass-brd); cursor: pointer; transition: .2s; }
.hb-item:hover { background: rgba(46,111,255,.12); }
.hb-item.on { background: linear-gradient(135deg, color-mix(in srgb, var(--brand) 26%, transparent), rgba(94,92,230,.18)); border-color: color-mix(in srgb, var(--brand) 55%, transparent); }
.hb-item b { font-size: .88rem; }
.hb-item i { font-style: normal; font-size: .68rem; color: var(--txt2); margin-left: 8px; }
.hb-item small { display: block; font-size: .64rem; color: var(--txt2); margin-top: 4px; }
.hb-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 12px; padding: 2px 26px 14px 14px; min-height: 0; }
.hb-row1 { flex: 1.15; min-height: 0; display: flex; gap: 12px; }
.hb-row2 { flex: 1; min-height: 0; display: flex; gap: 12px; }
.hb-row2 .chart { min-height: 0; }
.hb-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 7px 22px; font-size: .8rem; line-height: 1.6; overflow-y: auto; flex: 1; align-content: start; }
.hb-detail .d { display: flex; gap: 8px; }
.hb-detail .d i { font-style: normal; color: var(--txt2); flex: none; width: 5.4em; }
.hb-detail .d span { color: var(--txt); overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.hb-detail .d span.tag-g { color: #30D158; }
.hb-detail .d span.tag-r { color: #FF8A80; }
.rings { flex: 1; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 8px; }
.rings .chart { min-height: 0; height: 100%; }

/* 呼叫监控卡片 */
.call-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
.cc2 { position: relative; border-radius: 16px; padding: 15px 18px; background: var(--c-bg, rgba(255,255,255,.04));
  border: 1px solid var(--c-bd, var(--glass-brd)); transition: transform .2s; animation: panelIn .5s backwards; overflow: hidden; }
.cc2:hover { transform: translateY(-3px); }
.cc2 .c2-head { display: flex; align-items: center; gap: 10px; margin-bottom: 7px; }
.cc2 .c2-head b { font-size: 1.18rem; font-weight: 800; }
.cc2 .c2-lv { font-size: .62rem; padding: 2px 9px; border-radius: 999px; background: rgba(255,255,255,.1); color: var(--txt2); }
.cc2 .c2-st { margin-left: auto; font-size: .68rem; font-weight: 700; padding: 3px 11px; border-radius: 999px; }
.cc2 .c2-row { font-size: .74rem; color: var(--txt2); line-height: 1.8; display: flex; gap: 7px; align-items: center; }
.cc2 .c2-row b { color: var(--txt); font-weight: 600; }
.cc2 .c2-row .tel { margin-left: auto; color: #7FC0FF; font-variant-numeric: tabular-nums; font-weight: 600; }
.cc2 .c2-bat { display: flex; align-items: center; gap: 8px; margin-top: 8px; font-size: .66rem; color: var(--txt2); }
.cc2 .c2-bat .bar { flex: 1; height: 6px; border-radius: 4px; background: rgba(255,255,255,.08); overflow: hidden; }
.cc2 .c2-bat .bar i { display: block; height: 100%; border-radius: 4px; }
.cc2.calling { animation: callBlink 1s infinite; }

/* 残疾人监控 */
.dis-top { display: flex; gap: 12px; padding: 2px 26px 10px; flex: none; height: 210px; }
.dis-kpi { justify-content: center; }
.dis-gender { display: flex; gap: 10px; flex: 1; }
.dis-gender .dg { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  border-radius: 14px; background: rgba(255,255,255,.04); border: 1px solid rgba(140,170,255,.08); }
.dis-gender .dg svg.ic { width: 20px; height: 20px; }
.dis-gender .dg.male svg.ic { color: #5E8BFF; }
.dis-gender .dg.female svg.ic { color: #FF9DC8; }
.dis-gender .dg b { font-size: 1.7rem; font-weight: 800; background: linear-gradient(180deg, #fff, #9DB8FF); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.dis-gender .dg i { font-style: normal; font-size: .7rem; color: var(--txt2); }
.dis-tags { display: flex; gap: 6px; margin-bottom: 6px; flex-wrap: wrap; }
.dis-tags .ec-lv { padding: 3px 12px; border-radius: 999px; font-size: .68rem; font-weight: 700;
  background: color-mix(in srgb, var(--c) 18%, transparent); color: var(--c); border: 1px solid color-mix(in srgb, var(--c) 35%, transparent); }
.dis-tags .ec-lv.soft { background: rgba(255,255,255,.05); color: var(--txt2); border-color: rgba(140,170,255,.12); font-weight: 500; }
.dis-big { display: flex; align-items: baseline; gap: 6px; }
.dis-big b { font-size: 3.2rem; font-weight: 800; background: linear-gradient(180deg, #fff, #9DB8FF); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.dis-big i { font-style: normal; color: var(--txt2); }
.dis-sub { font-size: .76rem; color: var(--txt2); margin-top: 8px; }
.dis-sub b { color: #FFC77D; }

/* 调查数据 */
.sv-chips { flex: none; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; padding: 8px 26px 0; }
.sv-chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 15px; border-radius: 999px; font-size: .78rem;
  color: var(--txt2); background: rgba(255,255,255,.05); border: 1px solid rgba(140,170,255,.14); cursor: pointer;
  transition: .2s; max-width: 300px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.sv-chip svg.ic { width: 13px; height: 13px; flex: none; }
.sv-chip i { font-style: normal; font-size: .66rem; font-weight: 700; color: #FFC77D;
  background: rgba(255,199,125,.12); padding: 1px 7px; border-radius: 999px; }
.sv-chip:hover { color: var(--txt); border-color: rgba(140,170,255,.4); transform: translateY(-1px); }
.sv-chip.on { color: #fff; font-weight: 700; background: linear-gradient(135deg, rgba(94,139,255,.85), rgba(46,111,255,.6));
  border-color: rgba(127,192,255,.6); box-shadow: 0 4px 14px rgba(46,111,255,.35); }
.sv-form { margin-bottom: 16px; animation: panelIn .5s backwards; }
.sv-form.solo { margin-bottom: 0; border-radius: 18px; background: var(--glass); border: 1px solid var(--glass-brd); overflow: hidden; }
.sv-form.solo .sv-head { border-radius: 0; padding: 15px 20px; }
.sv-form.solo .sv-head b { font-size: 1.2rem; }
.sv-form.solo .sv-charts { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 14px; padding: 16px 18px 6px; }
.sv-form.solo .sv-chart { min-height: clamp(300px, 40vh, 520px); }
.sv-form.solo .sv-nums { padding: 10px 0; }
.sv-form.solo .sv-records { padding: 0 18px 14px; }
.sv-form.solo .sv-notes { padding: 0 18px; }
.sv-head { display: flex; align-items: center; gap: 14px; padding: 13px 18px; border-radius: 18px 18px 0 0; background: rgba(46,111,255,.14);
  border: 1px solid var(--glass-brd); border-bottom: none; }
.sv-head b { font-size: 1rem; }
.sv-head .sv-intro { font-size: .74rem; color: var(--txt2); flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sv-head .sv-count { font-size: .8rem; color: #FFC77D; font-weight: 700; flex: none; }
.sv-body { border-radius: 0 0 18px 18px; background: var(--glass); border: 1px solid var(--glass-brd); padding: 14px; }
.sv-charts { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; }
.sv-chart { min-height: 215px; border-radius: 14px; background: rgba(255,255,255,.03); border: 1px solid rgba(140,170,255,.1); padding: 10px; display: flex; flex-direction: column; }
.sv-chart h4 { font-size: .76rem; color: var(--txt2); font-weight: 600; padding: 2px 4px 6px; }
.sv-chart .chart { flex: 1; min-height: 0; }
.sv-nums { display: flex; gap: 12px; flex-wrap: wrap; }
.sv-num { padding: 12px 18px; border-radius: 13px; background: rgba(255,255,255,.04); border: 1px solid rgba(140,170,255,.12); text-align: center; }
.sv-num b { display: block; font-size: 1.4rem; font-weight: 800; color: #7FC0FF; }
.sv-num i { font-style: normal; font-size: .66rem; color: var(--txt2); }
.sv-records { margin-top: 12px; }
.sv-records h4 { font-size: .78rem; color: var(--txt2); font-weight: 600; margin-bottom: 7px; }
.sv-rec { display: flex; align-items: flex-start; gap: 10px; padding: 7px 4px; border-bottom: 1px dashed rgba(140,170,255,.1); font-size: .74rem; }
.sv-rec .nm { color: #7FC0FF; font-weight: 700; flex: none; }
.sv-rec .tm { color: var(--txt2); flex: none; font-variant-numeric: tabular-nums; }
.sv-rec .ct { color: var(--txt2); flex: 1; line-height: 1.6; word-break: break-all; }
.sv-notes { margin-top: 10px; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 8px; }
.sv-note { padding: 10px 13px; border-radius: 12px; background: rgba(255,209,90,.07); border: 1px solid rgba(255,209,90,.18); font-size: .72rem; line-height: 1.7; }
.sv-note b { color: #FFD60A; font-size: .7rem; display: block; margin-bottom: 3px; }
.sv-note em { font-style: normal; color: #FFC77D; margin-right: 6px; }

@media (max-width: 1200px) {
  .sc-main { grid-template-columns: 1fr 1fr; }
  .col.mid { grid-column: 1 / -1; order: -1; }
  .sc-tabs { order: 3; flex-basis: 100%; overflow-x: auto; padding-bottom: 4px; }
  .sc-head { flex-wrap: wrap; }
  .hb-list { width: 220px; }
}
