/* WXSSC V67.2-C5 Compact Price Center + On-demand Analysis */

/* 首屏压缩：让首次用户一眼看到查询入口 */
.wx-pc2-page{
  margin-top:14px !important;
  margin-bottom:54px !important;
}

.wx-pc2-hero{
  padding:18px 22px 16px !important;
  border-radius:24px !important;
}

.wx-pc2-hero h1{
  margin:8px 0 6px !important;
  font-size:28px !important;
  line-height:1.08 !important;
}

.wx-pc2-hero p{
  font-size:15px !important;
  line-height:1.45 !important;
}

.wx-pc2-badge{
  height:24px !important;
  font-size:12px !important;
}

.wx-pc2-hero-actions .wx-pc2-btn{
  min-height:36px !important;
  padding:0 14px !important;
  font-size:14px !important;
}

.wx-pc2-meta{
  margin-top:14px !important;
  padding:8px !important;
  border-radius:18px !important;
}

.wx-pc2-pill{
  height:36px !important;
  padding:0 13px !important;
  font-size:13px !important;
}

.wx-pc2-live-dot{
  width:12px !important;
  height:12px !important;
  box-shadow:0 0 0 8px rgba(95,209,118,.14) !important;
}

/* 查询工作台压缩 */
.wx-pc2-workbench{
  margin-top:18px !important;
  padding:22px !important;
  border-radius:24px !important;
}

.wx-pc2-workbench-head{
  margin-bottom:14px !important;
  align-items:center !important;
}

.wx-pc2-workbench h2{
  font-size:27px !important;
  margin-bottom:5px !important;
}

.wx-pc2-workbench p{
  font-size:15px !important;
}

.wx-pc2-filter-tip{
  min-height:36px !important;
  padding:0 14px !important;
  font-size:13px !important;
}

.wx-pc2-stats{
  gap:9px !important;
  padding:9px !important;
  margin-bottom:14px !important;
  border-radius:18px !important;
}

.wx-pc2-stat{
  min-width:96px !important;
  height:40px !important;
  padding:0 13px !important;
  font-size:13px !important;
}

.wx-pc2-stat b{
  font-size:17px !important;
}

.wx-pc2-search-row{
  grid-template-columns:1fr 280px 140px 170px !important;
  gap:10px !important;
  margin-bottom:12px !important;
}

.wx-pc2-input,
.wx-pc2-select{
  height:50px !important;
  border-radius:16px !important;
  padding:0 16px !important;
  font-size:15px !important;
}

.wx-pc2-btn.big{
  height:50px !important;
  min-width:160px !important;
  border-radius:16px !important;
  font-size:15px !important;
}

.wx-pc2-filter-row{
  padding:10px 0 !important;
}

.wx-pc2-filter-label{
  font-size:14px !important;
}

.wx-pc2-chip{
  height:37px !important;
  min-width:68px !important;
  padding:0 14px !important;
  font-size:14px !important;
}

/* 三个能力入口保留，但不默认展示结果 */
.wx-pc2-modes{
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  gap:12px !important;
  margin:14px 0 10px !important;
}

.wx-pc2-mode{
  padding:13px 16px !important;
  border-radius:18px !important;
}

.wx-pc2-mode i{
  width:36px !important;
  height:36px !important;
  font-size:14px !important;
}

.wx-pc2-mode b{
  font-size:15px !important;
}

.wx-pc2-mode span{
  font-size:12px !important;
}

.wx-pc2-status{
  min-height:38px !important;
  padding:0 14px !important;
  margin-bottom:10px !important;
  border-radius:14px !important;
  font-size:13px !important;
}

/* 表格更紧凑，避免日期列过高 */
.wx-pc2-table th{
  padding:12px 14px !important;
  font-size:13px !important;
}

.wx-pc2-table td{
  padding:13px 14px !important;
  font-size:14px !important;
}

.wx-pc2-product{
  font-size:18px !important;
}

.wx-pc2-sub{
  margin-top:4px !important;
  font-size:12px !important;
}

.wx-pc2-price{
  font-size:21px !important;
}

.wx-pc2-session{
  height:24px !important;
  margin-top:5px !important;
  padding:0 9px !important;
  font-size:11px !important;
}

/* 按需分析区：默认不显示，用户点击后才展开 */
.wx-pc2-analysis-demand{
  display:none;
  margin:12px 0 12px;
  border:1px solid #bad3ff;
  border-radius:20px;
  background:linear-gradient(180deg,#ffffff,#f8fbff);
  box-shadow:0 12px 28px rgba(49,91,232,.08);
  overflow:hidden;
}

.wx-pc2-analysis-demand.is-open{
  display:block;
}

.wx-pc2-analysis-demand-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
  padding:15px 16px 10px;
  border-bottom:1px solid #e5eefb;
}

.wx-pc2-analysis-demand-head h3{
  margin:0;
  color:#071126;
  font-size:18px;
  line-height:1.15;
  letter-spacing:-.03em;
}

.wx-pc2-analysis-demand-head p{
  margin:4px 0 0;
  color:#64748b;
  font-size:12px;
  line-height:1.5;
  font-weight:850;
}

.wx-pc2-analysis-demand-close{
  height:30px;
  padding:0 11px;
  border-radius:999px;
  border:1px solid #bad3ff;
  background:#fff;
  color:#2563eb;
  font-size:12px;
  font-weight:1000;
  cursor:pointer;
}

.wx-pc2-analysis-demand-tabs{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  padding:12px 16px 3px;
}

.wx-pc2-analysis-demand-tab{
  height:34px;
  padding:0 14px;
  border-radius:999px;
  border:1px solid #bad3ff;
  background:#fff;
  color:#315be8;
  font-size:13px;
  font-weight:1000;
  cursor:pointer;
}

.wx-pc2-analysis-demand-tab.active{
  background:linear-gradient(135deg,#315be8,#294bd2);
  border-color:#315be8;
  color:#fff;
  box-shadow:0 8px 18px rgba(49,91,232,.18);
}

.wx-pc2-analysis-demand-body{
  padding:12px 16px 16px;
}

.wx-pc2-demand-summary{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
  margin-bottom:12px;
}

.wx-pc2-demand-card{
  border:1px solid #dbeafe;
  border-radius:16px;
  background:#fff;
  padding:11px 12px;
}

.wx-pc2-demand-card span{
  display:block;
  color:#64748b;
  font-size:12px;
  font-weight:900;
}

.wx-pc2-demand-card b{
  display:block;
  margin-top:4px;
  color:#071126;
  font-size:20px;
  line-height:1;
  letter-spacing:-.04em;
}

.wx-pc2-demand-card em{
  display:block;
  margin-top:5px;
  color:#64748b;
  font-style:normal;
  font-size:12px;
  line-height:1.45;
  font-weight:800;
}

.wx-pc2-demand-table-wrap{
  border:1px solid #dbeafe;
  border-radius:16px;
  background:#fff;
  overflow:auto;
}

.wx-pc2-demand-table{
  width:100%;
  min-width:860px;
  border-collapse:collapse;
}

.wx-pc2-demand-table th{
  padding:10px 12px;
  background:#f8fbff;
  color:#64748b;
  font-size:12px;
  font-weight:1000;
  text-align:left;
  border-bottom:1px solid #dbeafe;
  white-space:nowrap;
}

.wx-pc2-demand-table td{
  padding:11px 12px;
  border-bottom:1px solid #edf4ff;
  color:#071126;
  font-size:13px;
  font-weight:880;
  vertical-align:middle;
}

.wx-pc2-demand-price{
  color:#dc2626;
  font-weight:1000;
  font-variant-numeric:tabular-nums;
}

.wx-pc2-demand-lock{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:26px;
  padding:0 9px;
  border-radius:999px;
  border:1px solid #dbeafe;
  background:#f8fafc;
  color:#64748b;
  font-size:12px;
  font-weight:1000;
}

.wx-pc2-demand-link{
  height:28px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0 11px;
  border-radius:999px;
  background:#eff6ff;
  color:#2563eb;
  text-decoration:none;
  font-size:12px;
  font-weight:1000;
}

.wx-pc2-demand-up{color:#dc2626!important;font-weight:1000}
.wx-pc2-demand-down{color:#16a34a!important;font-weight:1000}
.wx-pc2-demand-flat{color:#64748b!important;font-weight:1000}

.wx-pc2-demand-empty{
  padding:22px 14px;
  text-align:center;
  color:#64748b;
  font-size:13px;
  line-height:1.7;
  font-weight:850;
}

@media(max-width:960px){
  .wx-pc2-search-row{
    grid-template-columns:1fr !important;
  }
  .wx-pc2-modes,
  .wx-pc2-demand-summary{
    grid-template-columns:1fr !important;
  }
  .wx-pc2-hero,
  .wx-pc2-workbench{
    padding:16px !important;
  }
}
