:root{
  --wx-side:#101827;
  --wx-side2:#172033;
  --wx-blue:#2563eb;
  --wx-blue2:#1d4ed8;
  --wx-bg:#edf7fb;
  --wx-card:#ffffff;
  --wx-line:#dfe8f0;
  --wx-title:#0f172a;
  --wx-text:#1e293b;
  --wx-sub:#64748b;
  --wx-green:#16a34a;
  --wx-red:#dc2626;
  --wx-gold:#c78b22;
}

*{box-sizing:border-box}
html,body{
  margin:0;
  min-height:100%;
  background:linear-gradient(180deg,#edf7fb 0%,#f7fafc 100%);
  color:var(--wx-text);
  font-family:"PingFang SC","Microsoft YaHei","Inter","SF Pro Text",-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  -webkit-font-smoothing:antialiased;
}
body{padding-left:196px;min-width:1180px;}

.wx-shell-side{
  position:fixed;
  left:0;
  top:0;
  bottom:0;
  width:196px;
  z-index:999;
  display:flex;
  flex-direction:column;
  background:linear-gradient(180deg,var(--wx-side2),var(--wx-side));
  color:#cbd5e1;
  box-shadow:8px 0 24px rgba(15,23,42,.22);
}
.wx-side-brand{
  min-height:80px;
  display:flex;
  align-items:center;
  gap:10px;
  padding:0 14px;
  border-bottom:1px solid rgba(255,255,255,.08);
}
.wx-side-logo{
  width:38px;
  height:38px;
  border-radius:12px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(135deg,#2563eb,#1e40af);
  color:#fff;
  font-size:18px;
  font-weight:950;
  box-shadow:0 8px 20px rgba(37,99,235,.24);
}
.wx-side-name b{display:block;color:#fff;font-size:17px;line-height:1.1;font-weight:950;}
.wx-side-name span{display:block;margin-top:4px;color:#94a3b8;font-size:11px;font-weight:700;}

.wx-side-nav{flex:1;overflow:auto;padding:10px 9px;}
.wx-nav-group{margin:8px 8px 7px;color:#64748b;font-size:11px;font-weight:900;letter-spacing:.5px;}
.wx-nav-item{
  height:39px;
  display:flex;
  align-items:center;
  gap:10px;
  padding:0 10px;
  margin-bottom:5px;
  border-radius:10px;
  border:1px solid transparent;
  color:#cbd5e1;
  text-decoration:none;
  font-size:13px;
  font-weight:850;
  white-space:nowrap;
}
.wx-nav-item:hover{background:rgba(255,255,255,.07);color:#fff;}
.wx-nav-item.active{
  background:var(--wx-blue);
  border-color:rgba(255,255,255,.16);
  color:#fff;
  box-shadow:0 8px 18px rgba(37,99,235,.24);
}
.wx-nav-ico{
  width:23px;
  height:23px;
  min-width:23px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:7px;
  background:rgba(255,255,255,.08);
  font-size:13px;
}
.wx-nav-item.active .wx-nav-ico{background:rgba(255,255,255,.18);}
.wx-side-footer{padding:10px 12px 14px;border-top:1px solid rgba(255,255,255,.08);}
.wx-side-status{
  min-height:44px;
  padding:8px;
  border-radius:10px;
  background:rgba(255,255,255,.06);
  color:#94a3b8;
  font-size:11px;
  line-height:1.45;
  font-weight:700;
}
.wx-dot{
  width:7px;
  height:7px;
  display:inline-block;
  border-radius:50%;
  background:var(--wx-green);
  margin-right:6px;
  box-shadow:0 0 0 4px rgba(22,163,74,.10);
}

.wx-main{width:100%;min-height:100vh;padding:14px 20px 30px 22px;}
.wx-top{
  width:min(1320px,100%);
  min-height:68px;
  margin:0 0 12px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:14px 16px;
  border-radius:14px;
  border:1px solid var(--wx-line);
  background:linear-gradient(90deg,#fff 0%,#f8fbff 100%);
  box-shadow:0 8px 22px rgba(15,23,42,.035);
}
.wx-top h1{margin:0;color:var(--wx-title);font-size:23px;line-height:1.2;font-weight:950;letter-spacing:-.45px;}
.wx-top h1 b{color:var(--wx-blue);margin-right:6px;}
.wx-top p{margin:5px 0 0;color:var(--wx-sub);font-size:12px;font-weight:720;}
.wx-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap;justify-content:flex-end;}

.wx-btn,
button,
input[type="submit"]{
  height:31px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0 13px;
  border-radius:999px;
  border:1px solid #bfdbfe;
  background:#eff6ff;
  color:var(--wx-blue);
  text-decoration:none;
  font-size:12px;
  font-weight:850;
  cursor:pointer;
}
.wx-btn.primary,
button.primary{
  background:var(--wx-blue);
  border-color:var(--wx-blue);
  color:#fff;
}
.wx-btn.red,
button.red{background:var(--wx-red);border-color:var(--wx-red);color:#fff;}
.wx-btn.ghost{background:#fff;color:var(--wx-blue);}
.wx-btn:hover,button:hover{filter:brightness(.98);}

.wx-card{
  width:min(1320px,100%);
  margin:0 0 12px;
  border-radius:14px;
  border:1px solid var(--wx-line);
  background:#fff;
  box-shadow:0 8px 22px rgba(15,23,42,.035);
  overflow:hidden;
}
.wx-card-head{
  min-height:43px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:0 14px;
  border-bottom:1px solid var(--wx-line);
  background:#fff;
}
.wx-card-title{color:var(--wx-title);font-size:15px;font-weight:950;}
.wx-card-sub{color:var(--wx-sub);font-size:12px;font-weight:750;}
.wx-card-body{padding:14px;}

.wx-grid{display:grid;gap:10px;}
.wx-grid.cols-4{grid-template-columns:repeat(4,minmax(0,1fr));}
.wx-grid.cols-3{grid-template-columns:repeat(3,minmax(0,1fr));}
.wx-stat{
  min-height:72px;
  border:1px solid var(--wx-line);
  border-radius:12px;
  background:#fff;
  padding:12px;
}
.wx-stat span{display:block;color:var(--wx-sub);font-size:12px;font-weight:750;}
.wx-stat b{display:block;margin-top:8px;color:var(--wx-title);font-size:24px;line-height:1;font-weight:950;}

.wx-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}
.wx-field.full{grid-column:1 / -1;}
.wx-field label{display:block;margin-bottom:6px;color:var(--wx-sub);font-size:12px;font-weight:850;}
input,select,textarea{
  width:100%;
  min-height:36px;
  border-radius:10px;
  border:1px solid #dbeafe;
  background:#fff;
  padding:8px 10px;
  color:var(--wx-text);
  font-size:13px;
  outline:none;
}
textarea{min-height:76px;resize:vertical;}
input:focus,select:focus,textarea:focus{border-color:#93c5fd;box-shadow:0 0 0 3px rgba(37,99,235,.08);}

.wx-table-wrap{overflow:auto;border:1px solid var(--wx-line);border-radius:12px;}
table{width:100%;border-collapse:collapse;background:#fff;}
th{
  background:#f8fafc;
  color:#64748b;
  font-size:12px;
  font-weight:900;
  text-align:left;
  padding:10px;
  border-bottom:1px solid #e2e8f0;
  white-space:nowrap;
}
td{
  color:#1e293b;
  font-size:12.5px;
  padding:10px;
  border-bottom:1px solid #f1f5f9;
  vertical-align:middle;
}
tr:hover td{background:#f8fbff;}
.wx-ops{display:flex;gap:6px;flex-wrap:wrap;}
.wx-badge{display:inline-flex;align-items:center;height:22px;padding:0 8px;border-radius:999px;background:#eff6ff;color:var(--wx-blue);font-size:11px;font-weight:850;}
.wx-badge.green{background:#f0fdf4;color:var(--wx-green);}
.wx-badge.red{background:#fef2f2;color:var(--wx-red);}
.wx-empty{padding:18px;color:var(--wx-sub);font-size:13px;font-weight:700;text-align:center;}

.wx-layout-2{display:grid;grid-template-columns:280px minmax(0,1fr);gap:12px;}
.wx-slot-list{display:flex;flex-direction:column;gap:8px;}
.wx-slot{
  min-height:46px;
  padding:10px;
  border-radius:10px;
  border:1px solid var(--wx-line);
  background:#fff;
  cursor:pointer;
}
.wx-slot.active{border-color:#bfdbfe;background:#eff6ff;}
.wx-slot b{display:block;color:var(--wx-title);font-size:13px;font-weight:950;}
.wx-slot span{display:block;margin-top:4px;color:var(--wx-sub);font-size:11px;font-weight:700;}

.wx-toast{
  position:fixed;
  right:18px;
  bottom:18px;
  z-index:999999;
  max-width:320px;
  display:none;
  padding:10px 12px;
  border-radius:12px;
  background:#0f172a;
  color:#fff;
  font-size:13px;
  font-weight:800;
  box-shadow:0 14px 30px rgba(15,23,42,.25);
}
.wx-toast.show{display:block;}

@media(max-width:980px){
  body{padding-left:0;min-width:0;padding-top:58px;}
  .wx-shell-side{right:0;bottom:auto;width:100%;height:56px;flex-direction:row;overflow:hidden;}
  .wx-side-brand{min-height:56px;width:150px;border-bottom:0;border-right:1px solid rgba(255,255,255,.08);}
  .wx-side-nav{display:flex;align-items:center;overflow:auto;padding:8px;}
  .wx-nav-group,.wx-side-footer{display:none;}
  .wx-nav-item{min-width:max-content;margin-bottom:0;height:36px;}
  .wx-main{padding:10px;}
  .wx-top{display:block;}
  .wx-actions{justify-content:flex-start;margin-top:8px;}
  .wx-grid.cols-4,.wx-grid.cols-3,.wx-form-grid,.wx-layout-2{grid-template-columns:1fr;}
}





/* WXSSC_ADMIN_UPLOAD_AI_ASSISTANT_V220A21192 START */
.wx-upload-ai{
  border:1px solid rgba(37,99,235,.16);
  background:linear-gradient(90deg,rgba(37,99,235,.06),rgba(14,165,233,.035));
}

.wx-upload-ai-body{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:14px;
  align-items:center;
}

.wx-upload-ai-title{
  display:flex;
  align-items:center;
  gap:8px;
  color:#0f172a;
  font-size:16px;
  font-weight:950;
}

.wx-upload-ai-title span{
  width:28px;
  height:28px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:10px;
  background:#2563eb;
  color:#fff;
  box-shadow:0 8px 18px rgba(37,99,235,.22);
}

.wx-upload-ai-desc{
  margin-top:7px;
  color:#475569;
  font-size:13px;
  font-weight:760;
  line-height:1.55;
}

.wx-upload-ai-desc b{
  color:#2563eb;
  font-weight:950;
}

.wx-upload-ai-desc .danger{
  color:#dc2626;
}

.wx-upload-ai-desc .ok{
  color:#16a34a;
}

.wx-upload-ai-kpis{
  margin-top:10px;
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}

.wx-upload-ai-kpi{
  height:28px;
  display:inline-flex;
  align-items:center;
  gap:5px;
  padding:0 10px;
  border-radius:999px;
  border:1px solid rgba(37,99,235,.16);
  background:#fff;
  color:#334155;
  font-size:12px;
  font-weight:850;
}

.wx-upload-ai-kpi b{
  color:#0f172a;
  font-weight:950;
}

.wx-upload-ai-actions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:8px;
  flex-wrap:wrap;
}

.wx-upload-ai-actions .primary{
  height:36px;
  padding:0 18px;
  font-size:13px;
  box-shadow:0 8px 18px rgba(37,99,235,.18);
}

.wx-upload-sticky{
  position:sticky;
  top:10px;
  z-index:20;
}

.wx-upload-mini-actions{
  margin-top:10px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:10px 12px;
  border:1px solid #dbeafe;
  border-radius:14px;
  background:rgba(255,255,255,.94);
  backdrop-filter:blur(10px);
}

.wx-upload-mini-actions b{
  color:#0f172a;
  font-size:13px;
  font-weight:950;
}

.wx-upload-mini-actions span{
  color:#64748b;
  font-size:12px;
  font-weight:760;
}

@media(max-width:980px){
  .wx-upload-ai-body{
    grid-template-columns:1fr;
  }
  .wx-upload-ai-actions{
    justify-content:flex-start;
  }
  .wx-upload-sticky{
    position:relative;
    top:auto;
  }
  .wx-upload-mini-actions{
    display:block;
  }
  .wx-upload-mini-actions .wx-actions{
    margin-top:8px;
    justify-content:flex-start;
  }
}
/* WXSSC_ADMIN_UPLOAD_AI_ASSISTANT_V220A21192 END */



/* WXSSC_ADMIN_UPLOAD_AI_LAYOUT_V220A21193 START */
/* A21.19.3：AI 发布助手不再遮挡表格，原始返回压缩显示 */
.wx-upload-sticky{
  position: relative !important;
  top: auto !important;
  z-index: auto !important;
}

.wx-upload-ai{
  margin-bottom: 12px !important;
}

.wx-upload-ai .wx-card-body{
  padding-top: 12px !important;
  padding-bottom: 12px !important;
}

.wx-upload-ai-body{
  align-items: flex-start !important;
}

.wx-upload-ai-title{
  font-size: 15px !important;
}

.wx-upload-ai-desc{
  margin-top: 5px !important;
  font-size: 12px !important;
}

.wx-upload-ai-kpis{
  margin-top: 8px !important;
}

.wx-upload-ai-kpi{
  height: 26px !important;
  font-size: 12px !important;
}

.wx-upload-ai-actions{
  min-width: 360px !important;
}

.wx-upload-ai-actions button,
.wx-upload-ai-actions .wx-btn{
  height: 32px !important;
  padding: 0 12px !important;
  font-size: 12px !important;
}

.wx-upload-mini-actions{
  position: sticky !important;
  top: 8px !important;
  z-index: 12 !important;
  box-shadow: 0 10px 24px rgba(15,23,42,.08) !important;
}

#rawBox{
  max-height: 260px !important;
  overflow: auto !important;
  min-height: 86px !important;
  font-size: 12px !important;
  line-height: 1.55 !important;
}

@media(max-width:980px){
  .wx-upload-ai-actions{
    min-width: 0 !important;
  }

  .wx-upload-mini-actions{
    position: relative !important;
    top: auto !important;
  }

  #rawBox{
    max-height: 220px !important;
  }
}
/* WXSSC_ADMIN_UPLOAD_AI_LAYOUT_V220A21193 END */



/* WXSSC_ADMIN_UPLOAD_COMPACT_V220A21195 START */
/* A21.19.5：价格上传页紧凑化，只影响 admin-upload 页面 */
body:has(.wx-upload-ai) .wx-page-head{
  margin-bottom: 10px !important;
}

body:has(.wx-upload-ai) .wx-card{
  margin-bottom: 10px !important;
}

body:has(.wx-upload-ai) .wx-card-head{
  min-height: 42px !important;
  padding: 10px 14px !important;
}

body:has(.wx-upload-ai) .wx-card-title{
  font-size: 15px !important;
}

body:has(.wx-upload-ai) .wx-card-sub{
  font-size: 12px !important;
}

body:has(.wx-upload-ai) .wx-card-body{
  padding: 12px 14px !important;
}

body:has(.wx-upload-ai) .wx-grid.cols-4{
  gap: 10px !important;
}

body:has(.wx-upload-ai) .wx-stat{
  min-height: 58px !important;
  padding: 11px 12px !important;
}

body:has(.wx-upload-ai) .wx-stat span{
  font-size: 12px !important;
}

body:has(.wx-upload-ai) .wx-stat b{
  font-size: 22px !important;
  line-height: 1.05 !important;
}

.wx-upload-ai .wx-card-head{
  min-height: 36px !important;
  padding: 8px 14px !important;
}

.wx-upload-ai .wx-card-body{
  padding: 10px 14px !important;
}

.wx-upload-ai-title{
  font-size: 14px !important;
  gap: 7px !important;
}

.wx-upload-ai-title span{
  width: 24px !important;
  height: 24px !important;
  border-radius: 8px !important;
}

.wx-upload-ai-desc{
  margin-top: 4px !important;
  font-size: 12px !important;
  line-height: 1.42 !important;
}

.wx-upload-ai-kpis{
  margin-top: 7px !important;
  gap: 6px !important;
}

.wx-upload-ai-kpi{
  height: 24px !important;
  padding: 0 8px !important;
  font-size: 11px !important;
}

.wx-upload-ai-actions{
  gap: 6px !important;
  min-width: 340px !important;
}

.wx-upload-ai-actions button,
.wx-upload-ai-actions .wx-btn{
  height: 30px !important;
  padding: 0 10px !important;
  font-size: 12px !important;
  border-radius: 999px !important;
}

.wx-upload-ai-actions .primary{
  height: 32px !important;
  padding: 0 15px !important;
}

body:has(.wx-upload-ai) .wx-field label{
  margin-bottom: 5px !important;
  font-size: 12px !important;
}

body:has(.wx-upload-ai) input,
body:has(.wx-upload-ai) select,
body:has(.wx-upload-ai) textarea{
  min-height: 32px !important;
  height: 32px !important;
  border-radius: 10px !important;
  font-size: 12px !important;
  padding: 0 10px !important;
}

body:has(.wx-upload-ai) textarea{
  height: 64px !important;
  padding-top: 8px !important;
  padding-bottom: 8px !important;
}

body:has(.wx-upload-ai) .wx-actions{
  gap: 7px !important;
}

body:has(.wx-upload-ai) .wx-actions button,
body:has(.wx-upload-ai) .wx-actions .wx-btn,
body:has(.wx-upload-ai) .wx-ops button{
  height: 30px !important;
  min-height: 30px !important;
  padding: 0 10px !important;
  font-size: 12px !important;
  border-radius: 999px !important;
}

body:has(.wx-upload-ai) .wx-table-wrap table{
  font-size: 12px !important;
}

body:has(.wx-upload-ai) .wx-table-wrap th{
  height: 34px !important;
  padding: 7px 8px !important;
  font-size: 12px !important;
}

body:has(.wx-upload-ai) .wx-table-wrap td{
  height: 44px !important;
  padding: 7px 8px !important;
  font-size: 12px !important;
}

body:has(.wx-upload-ai) .wx-table-wrap td input,
body:has(.wx-upload-ai) .wx-table-wrap td select{
  height: 30px !important;
  min-height: 30px !important;
  font-size: 12px !important;
  border-radius: 9px !important;
  padding: 0 9px !important;
}

body:has(.wx-upload-ai) .wx-badge{
  height: 22px !important;
  padding: 0 8px !important;
  font-size: 11px !important;
}

.wx-upload-mini-actions{
  padding: 8px 10px !important;
  border-radius: 12px !important;
  margin-bottom: 8px !important;
}

.wx-upload-mini-actions b{
  font-size: 12px !important;
}

.wx-upload-mini-actions span{
  font-size: 11px !important;
}

#rawBox{
  max-height: 210px !important;
  min-height: 70px !important;
  font-size: 11px !important;
  line-height: 1.48 !important;
  border-radius: 10px !important;
}

@media(max-width:980px){
  .wx-upload-ai-actions{
    min-width: 0 !important;
  }

  body:has(.wx-upload-ai) .wx-card-body{
    padding: 10px !important;
  }

  body:has(.wx-upload-ai) .wx-table-wrap{
    overflow-x: auto !important;
  }
}
/* WXSSC_ADMIN_UPLOAD_COMPACT_V220A21195 END */



/* WXSSC_ADMIN_FLASH_AI_WORKSPACE_V220A2120 START */
/* A21.20：资讯管理页 AI 工作台，只影响 admin-flash-news */
body:has(.wx-flash-ai) .wx-card{
  margin-bottom: 10px !important;
}

body:has(.wx-flash-ai) .wx-card-head{
  min-height: 42px !important;
  padding: 10px 14px !important;
}

body:has(.wx-flash-ai) .wx-card-body{
  padding: 12px 14px !important;
}

body:has(.wx-flash-ai) .wx-card-title{
  font-size: 15px !important;
}

body:has(.wx-flash-ai) .wx-card-sub{
  font-size: 12px !important;
}

.wx-flash-ai{
  border:1px solid rgba(37,99,235,.16) !important;
  background:linear-gradient(90deg,rgba(37,99,235,.06),rgba(14,165,233,.035)) !important;
}

.wx-flash-ai-body{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:14px;
}

.wx-flash-ai-title{
  display:flex;
  align-items:center;
  gap:8px;
  color:#0f172a;
  font-size:15px;
  font-weight:950;
}

.wx-flash-ai-title span{
  width:26px;
  height:26px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:9px;
  background:#2563eb;
  color:#fff;
  box-shadow:0 8px 18px rgba(37,99,235,.20);
}

.wx-flash-ai-desc{
  margin-top:5px;
  color:#475569;
  font-size:12px;
  font-weight:760;
  line-height:1.45;
}

.wx-flash-ai-desc b{
  color:#2563eb;
  font-weight:950;
}

.wx-flash-ai-desc .danger{
  color:#dc2626;
}

.wx-flash-ai-desc .ok{
  color:#16a34a;
}

.wx-flash-ai-kpis{
  margin-top:8px;
  display:flex;
  flex-wrap:wrap;
  gap:7px;
}

.wx-flash-ai-kpi{
  height:25px;
  display:inline-flex;
  align-items:center;
  gap:5px;
  padding:0 9px;
  border-radius:999px;
  border:1px solid rgba(37,99,235,.16);
  background:#fff;
  color:#334155;
  font-size:11px;
  font-weight:850;
}

.wx-flash-ai-kpi b{
  color:#0f172a;
  font-weight:950;
}

.wx-flash-ai-actions{
  min-width:420px;
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:7px;
  flex-wrap:wrap;
}

.wx-flash-ai-actions button,
.wx-flash-ai-actions .wx-btn{
  height:31px !important;
  min-height:31px !important;
  padding:0 11px !important;
  border-radius:999px !important;
  font-size:12px !important;
}

.wx-flash-ai-actions .primary{
  height:33px !important;
  padding:0 15px !important;
  box-shadow:0 8px 18px rgba(37,99,235,.18);
}

body:has(.wx-flash-ai) input,
body:has(.wx-flash-ai) select,
body:has(.wx-flash-ai) textarea{
  min-height:32px !important;
  border-radius:10px !important;
  font-size:12px !important;
}

body:has(.wx-flash-ai) textarea{
  min-height:70px !important;
}

body:has(.wx-flash-ai) .wx-table-wrap th{
  height:34px !important;
  padding:7px 8px !important;
  font-size:12px !important;
}

body:has(.wx-flash-ai) .wx-table-wrap td{
  height:42px !important;
  padding:7px 8px !important;
  font-size:12px !important;
}

body:has(.wx-flash-ai) .wx-ops button{
  height:28px !important;
  min-height:28px !important;
  padding:0 9px !important;
  border-radius:999px !important;
  font-size:11px !important;
}

body:has(.wx-flash-ai) .wx-badge{
  height:22px !important;
  padding:0 8px !important;
  font-size:11px !important;
}

.wx-flash-list-toolbar{
  padding:9px 10px !important;
  border:1px solid #dbeafe !important;
  border-radius:13px !important;
  background:rgba(255,255,255,.92) !important;
  margin-bottom:10px !important;
}

@media(max-width:980px){
  .wx-flash-ai-body{
    grid-template-columns:1fr;
  }
  .wx-flash-ai-actions{
    min-width:0;
    justify-content:flex-start;
  }
}
/* WXSSC_ADMIN_FLASH_AI_WORKSPACE_V220A2120 END */



/* WXSSC_ADMIN_FLASH_FULL_WORKBENCH_V220A2138 START */
.wx-flash-workbench .wx-card{
  margin-bottom:10px !important;
}

.wx-flash-workbench .wx-card-head{
  min-height:42px !important;
  padding:10px 14px !important;
}

.wx-flash-workbench .wx-card-body{
  padding:12px 14px !important;
}

.wx-flash-workbench .wx-card-title{
  font-size:15px !important;
  font-weight:950 !important;
}

.wx-flash-workbench .wx-card-sub{
  font-size:12px !important;
}

.wx-flash-radar-panel{
  border:1px solid rgba(37,99,235,.16) !important;
  background:
    radial-gradient(circle at 16% 0%, rgba(37,99,235,.08), transparent 28%),
    linear-gradient(90deg, rgba(37,99,235,.055), rgba(14,165,233,.035)) !important;
}

.wx-flash-radar-body{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:14px;
  align-items:center;
}

.wx-flash-radar-title{
  display:flex;
  align-items:center;
  gap:8px;
  color:#0f172a;
  font-size:15px;
  font-weight:950;
}

.wx-flash-radar-logo{
  width:28px;
  height:28px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:10px;
  background:linear-gradient(135deg,#2563eb,#0891b2);
  color:#fff;
  font-size:12px;
  font-weight:950;
  box-shadow:0 8px 18px rgba(37,99,235,.18);
}

.wx-flash-radar-desc{
  margin-top:6px;
  color:#475569;
  font-size:12px;
  line-height:1.6;
  font-weight:760;
}

.wx-flash-radar-desc b{
  color:#1d4ed8;
  font-weight:950;
}

.wx-flash-radar-kpis{
  margin-top:8px;
  display:flex;
  flex-wrap:wrap;
  gap:7px;
}

.wx-flash-radar-kpi{
  height:25px;
  display:inline-flex;
  align-items:center;
  gap:5px;
  padding:0 9px;
  border-radius:999px;
  border:1px solid rgba(37,99,235,.16);
  background:rgba(255,255,255,.92);
  color:#334155;
  font-size:11px;
  font-weight:850;
}

.wx-flash-radar-kpi b{
  color:#0f172a;
  font-weight:950;
}

.wx-flash-radar-actions{
  min-width:380px;
  display:flex;
  justify-content:flex-end;
  gap:7px;
  flex-wrap:wrap;
}

.wx-flash-radar-actions button,
.wx-flash-radar-actions .wx-btn{
  height:31px !important;
  min-height:31px !important;
  padding:0 11px !important;
  border-radius:999px !important;
  font-size:12px !important;
}

.wx-flash-toolbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:9px 10px;
  border:1px solid #dbeafe;
  border-radius:13px;
  background:rgba(255,255,255,.92);
}

.wx-flash-toolbar .left,
.wx-flash-toolbar .right{
  display:flex;
  align-items:center;
  gap:7px;
  flex-wrap:wrap;
}

.wx-flash-status-tabs{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
}

.wx-flash-status-tabs button{
  height:30px !important;
  min-height:30px !important;
  padding:0 11px !important;
  border-radius:999px !important;
  font-size:12px !important;
}

.wx-flash-status-tabs button.active{
  background:#2563eb !important;
  color:#fff !important;
  border-color:#2563eb !important;
}

.wx-flash-workbench input,
.wx-flash-workbench select,
.wx-flash-workbench textarea{
  min-height:32px !important;
  border-radius:10px !important;
  font-size:12px !important;
}

.wx-flash-workbench textarea{
  min-height:82px !important;
}

.wx-flash-workbench .wx-table-wrap th{
  height:34px !important;
  padding:7px 8px !important;
  font-size:12px !important;
}

.wx-flash-workbench .wx-table-wrap td{
  height:42px !important;
  padding:7px 8px !important;
  font-size:12px !important;
  vertical-align:middle !important;
}

.wx-flash-workbench .flash-title-cell{
  max-width:420px;
}

.wx-flash-workbench .flash-title-main{
  color:#0f172a;
  font-size:13px;
  font-weight:900;
  line-height:1.42;
}

.wx-flash-workbench .flash-content-sub{
  margin-top:3px;
  color:#64748b;
  font-size:11px;
  line-height:1.45;
  max-height:34px;
  overflow:hidden;
}

.wx-flash-workbench .wx-ops button{
  height:28px !important;
  min-height:28px !important;
  padding:0 8px !important;
  border-radius:999px !important;
  font-size:11px !important;
}

.wx-flash-workbench .wx-badge{
  height:22px !important;
  padding:0 8px !important;
  font-size:11px !important;
}

#wxFlashRawA2138{
  max-height:220px;
  overflow:auto;
  min-height:78px;
  padding:10px;
  border-radius:10px;
  border:1px solid #e2e8f0;
  background:#f8fafc;
  color:#334155;
  font-size:11px;
  line-height:1.5;
  white-space:pre-wrap;
}

@media(max-width:980px){
  .wx-flash-radar-body{
    grid-template-columns:1fr;
  }
  .wx-flash-radar-actions{
    min-width:0;
    justify-content:flex-start;
  }
  .wx-flash-toolbar{
    display:block;
  }
  .wx-flash-toolbar .right{
    margin-top:8px;
  }
  .wx-flash-workbench .wx-table-wrap{
    overflow-x:auto;
  }
  .wx-flash-workbench table{
    min-width:980px;
  }
}
/* WXSSC_ADMIN_FLASH_FULL_WORKBENCH_V220A2138 END */



/* WXSSC_ADMIN_FLASH_LAYOUT_FIX_V220A21381 START */
/* A21.38.1：资讯管理页总览横向修复 + 雷达区紧凑优化 */

/* 只影响资讯工作台 */
.wx-flash-workbench .wx-grid.cols-6{
  display:grid !important;
  grid-template-columns:repeat(6, minmax(0, 1fr)) !important;
  gap:10px !important;
}

.wx-flash-workbench .wx-stat{
  min-height:58px !important;
  padding:11px 12px !important;
  border-radius:13px !important;
}

.wx-flash-workbench .wx-stat span{
  font-size:12px !important;
  color:#64748b !important;
  font-weight:850 !important;
}

.wx-flash-workbench .wx-stat b{
  margin-top:4px !important;
  display:block !important;
  font-size:22px !important;
  line-height:1.05 !important;
  font-weight:950 !important;
  color:#0f172a !important;
}

/* 雷达主卡片压缩 */
.wx-flash-radar-panel .wx-card-head{
  min-height:38px !important;
  padding:9px 14px !important;
}

.wx-flash-radar-panel .wx-card-body{
  padding:10px 14px !important;
}

.wx-flash-radar-body{
  grid-template-columns:minmax(0,1fr) 330px !important;
  gap:12px !important;
}

.wx-flash-radar-title{
  font-size:14px !important;
}

.wx-flash-radar-logo{
  width:25px !important;
  height:25px !important;
  border-radius:9px !important;
}

.wx-flash-radar-desc{
  margin-top:5px !important;
  font-size:12px !important;
  line-height:1.5 !important;
  max-width:980px !important;
}

.wx-flash-radar-kpis{
  margin-top:7px !important;
  gap:6px !important;
}

.wx-flash-radar-kpi{
  height:23px !important;
  padding:0 8px !important;
  font-size:11px !important;
}

.wx-flash-radar-actions{
  min-width:0 !important;
  width:330px !important;
  justify-content:flex-end !important;
  align-content:center !important;
}

.wx-flash-radar-actions button,
.wx-flash-radar-actions .wx-btn{
  height:30px !important;
  min-height:30px !important;
  padding:0 10px !important;
  font-size:12px !important;
}

/* 卡片间距再收紧 */
.wx-flash-workbench .wx-card{
  margin-bottom:9px !important;
}

.wx-flash-workbench .wx-card-head{
  min-height:40px !important;
  padding:9px 14px !important;
}

.wx-flash-workbench .wx-card-body{
  padding:11px 14px !important;
}

/* 采集区域 textarea 不要太高 */
.wx-flash-workbench textarea#collectUrls{
  min-height:58px !important;
}

/* 表格更紧凑 */
.wx-flash-workbench .wx-table-wrap th{
  height:32px !important;
  padding:6px 8px !important;
}

.wx-flash-workbench .wx-table-wrap td{
  height:40px !important;
  padding:6px 8px !important;
}

@media(max-width:1280px){
  .wx-flash-workbench .wx-grid.cols-6{
    grid-template-columns:repeat(3, minmax(0, 1fr)) !important;
  }

  .wx-flash-radar-body{
    grid-template-columns:1fr !important;
  }

  .wx-flash-radar-actions{
    width:auto !important;
    justify-content:flex-start !important;
  }
}

@media(max-width:760px){
  .wx-flash-workbench .wx-grid.cols-6{
    grid-template-columns:repeat(2, minmax(0, 1fr)) !important;
  }
}
/* WXSSC_ADMIN_FLASH_LAYOUT_FIX_V220A21381 END */

