/* WXSSC V67.2-C6 Trader High-frequency Price Workbench */

/* 产品定位：交易员每天高频使用的市场价格查询工作台 */
body.wx-price-trader-v672c6-ready .wx-pc2-page{
  width:min(1260px, calc(100vw - 36px)) !important;
  margin-top:10px !important;
}

body.wx-price-trader-v672c6-ready .wx-pc2-hero{
  padding:14px 18px 12px !important;
  border-radius:22px !important;
}

body.wx-price-trader-v672c6-ready .wx-pc2-hero h1{
  font-size:25px !important;
  margin:6px 0 4px !important;
}

body.wx-price-trader-v672c6-ready .wx-pc2-hero p{
  font-size:14px !important;
  line-height:1.35 !important;
}

body.wx-price-trader-v672c6-ready .wx-pc2-meta{
  margin-top:10px !important;
  padding:7px !important;
  gap:8px !important;
}

body.wx-price-trader-v672c6-ready .wx-pc2-pill{
  height:32px !important;
  padding:0 11px !important;
  font-size:12px !important;
}

body.wx-price-trader-v672c6-ready .wx-pc2-workbench{
  margin-top:14px !important;
  padding:18px !important;
  border-radius:22px !important;
}

body.wx-price-trader-v672c6-ready .wx-pc2-workbench-head{
  margin-bottom:10px !important;
}

body.wx-price-trader-v672c6-ready .wx-pc2-workbench h2{
  font-size:24px !important;
  margin-bottom:4px !important;
}

body.wx-price-trader-v672c6-ready .wx-pc2-workbench p{
  font-size:14px !important;
  line-height:1.35 !important;
}

/* 交易员优先：搜索框占最大面积，打开就能查价 */
body.wx-price-trader-v672c6-ready .wx-pc2-search-row{
  grid-template-columns:minmax(360px,1fr) 250px 132px 150px !important;
  gap:8px !important;
  margin-bottom:8px !important;
}

body.wx-price-trader-v672c6-ready .wx-pc2-input,
body.wx-price-trader-v672c6-ready .wx-pc2-select{
  height:44px !important;
  border-radius:14px !important;
  padding:0 14px !important;
  font-size:14px !important;
}

body.wx-price-trader-v672c6-ready .wx-pc2-input{
  font-size:15px !important;
  font-weight:950 !important;
  border-color:#9fc1ff !important;
}

body.wx-price-trader-v672c6-ready .wx-pc2-input:focus{
  border-color:#2455e6 !important;
  box-shadow:0 0 0 4px rgba(37,99,235,.13) !important;
}

body.wx-price-trader-v672c6-ready .wx-pc2-btn.big{
  height:44px !important;
  min-width:142px !important;
  border-radius:14px !important;
  font-size:14px !important;
}

/* 交易员快捷动作条 */
.wx-pc2-trader-actions{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  flex-wrap:wrap;
  padding:9px 10px;
  margin:6px 0 10px;
  border:1px solid #bad3ff;
  border-radius:16px;
  background:linear-gradient(180deg,#f8fbff,#fff);
}

.wx-pc2-trader-left,
.wx-pc2-trader-right{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
}

.wx-pc2-trader-action{
  height:34px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0 12px;
  border-radius:999px;
  border:1px solid #bad3ff;
  background:#fff;
  color:#2455e6;
  font-size:13px;
  font-weight:1000;
  cursor:pointer;
}

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

.wx-pc2-trader-action.warn{
  color:#b45309;
  border-color:#fde68a;
  background:#fffbeb;
}

.wx-pc2-trader-hint{
  color:#64748b;
  font-size:12px;
  font-weight:850;
  white-space:nowrap;
}

.wx-pc2-trader-hotkey{
  display:inline-flex;
  align-items:center;
  height:22px;
  padding:0 7px;
  margin:0 2px;
  border-radius:7px;
  border:1px solid #dbeafe;
  background:#fff;
  color:#334155;
  font-size:11px;
  font-weight:1000;
}

/* 筛选和统计继续压缩 */
body.wx-price-trader-v672c6-ready .wx-pc2-stats{
  padding:7px !important;
  gap:7px !important;
  margin-bottom:10px !important;
}

body.wx-price-trader-v672c6-ready .wx-pc2-stat{
  min-width:86px !important;
  height:34px !important;
  padding:0 10px !important;
  font-size:12px !important;
}

body.wx-price-trader-v672c6-ready .wx-pc2-stat b{
  font-size:15px !important;
}

body.wx-price-trader-v672c6-ready .wx-pc2-filter-row{
  padding:8px 0 !important;
  grid-template-columns:58px 1fr !important;
}

body.wx-price-trader-v672c6-ready .wx-pc2-filter-label{
  font-size:13px !important;
}

body.wx-price-trader-v672c6-ready .wx-pc2-chip{
  height:32px !important;
  min-width:58px !important;
  padding:0 12px !important;
  font-size:13px !important;
}

/* 三个模式保持可点，不默认展开分析结果 */
body.wx-price-trader-v672c6-ready .wx-pc2-modes{
  margin:10px 0 8px !important;
  gap:9px !important;
}

body.wx-price-trader-v672c6-ready .wx-pc2-mode{
  padding:10px 13px !important;
  border-radius:16px !important;
}

body.wx-price-trader-v672c6-ready .wx-pc2-mode i{
  width:31px !important;
  height:31px !important;
  font-size:13px !important;
}

body.wx-price-trader-v672c6-ready .wx-pc2-mode b{
  font-size:14px !important;
}

body.wx-price-trader-v672c6-ready .wx-pc2-mode span{
  font-size:11px !important;
}

/* 表格密度：交易员看得快 */
body.wx-price-trader-v672c6-ready .wx-pc2-status{
  min-height:34px !important;
  padding:0 12px !important;
  margin-bottom:8px !important;
  font-size:12px !important;
}

body.wx-price-trader-v672c6-ready .wx-pc2-table{
  min-width:1080px !important;
}

body.wx-price-trader-v672c6-ready .wx-pc2-table th{
  padding:9px 12px !important;
  font-size:12px !important;
}

body.wx-price-trader-v672c6-ready .wx-pc2-table td{
  padding:10px 12px !important;
  font-size:13px !important;
}

body.wx-price-trader-v672c6-ready .wx-pc2-product{
  font-size:16px !important;
}

body.wx-price-trader-v672c6-ready .wx-pc2-sub{
  font-size:11px !important;
  margin-top:3px !important;
}

body.wx-price-trader-v672c6-ready .wx-pc2-price{
  font-size:19px !important;
}

body.wx-price-trader-v672c6-ready .wx-pc2-change-pill{
  min-width:42px !important;
  height:26px !important;
  font-size:12px !important;
}

/* 日期盘次压成一行，避免列表右侧过高 */
body.wx-price-trader-v672c6-ready .wx-pc2-table th:nth-child(7),
body.wx-price-trader-v672c6-ready .wx-pc2-table td:nth-child(7){
  width:185px !important;
  white-space:nowrap !important;
}

body.wx-price-trader-v672c6-ready .wx-pc2-table td:nth-child(7) br{
  display:none !important;
}

body.wx-price-trader-v672c6-ready .wx-pc2-session{
  height:22px !important;
  margin-top:0 !important;
  margin-left:8px !important;
  padding:0 8px !important;
  font-size:11px !important;
  vertical-align:middle !important;
}

/* 按需分析区保持紧凑，默认隐藏 */
body.wx-price-trader-v672c6-ready .wx-pc2-analysis-demand{
  margin:8px 0 !important;
  border-radius:18px !important;
}

body.wx-price-trader-v672c6-ready .wx-pc2-analysis-demand-head{
  padding:12px 14px 8px !important;
}

body.wx-price-trader-v672c6-ready .wx-pc2-analysis-demand-head h3{
  font-size:16px !important;
}

body.wx-price-trader-v672c6-ready .wx-pc2-analysis-demand-tabs{
  padding:10px 14px 2px !important;
}

body.wx-price-trader-v672c6-ready .wx-pc2-analysis-demand-body{
  padding:10px 14px 14px !important;
}

@media(max-width:980px){
  body.wx-price-trader-v672c6-ready .wx-pc2-search-row{
    grid-template-columns:1fr !important;
  }
  .wx-pc2-trader-actions{
    align-items:flex-start;
  }
}
