/* ==========================================================================
   BITBOSS · 页面级响应式覆盖（必须在各页内联样式之后加载才能生效）
   覆盖：多 Agent 工作台 / 带单 / 订阅 / 开通 / 登录 / 运营后台 等自定义栅格
   ========================================================================== */
@media (max-width:980px){
  .lead{grid-template-columns:1fr 1fr !important;gap:12px}
  .kpi4{grid-template-columns:repeat(2,minmax(0,1fr)) !important}
  .set{grid-template-columns:1fr !important}
  .deploy,.plan-big{grid-template-columns:1fr !important}
  .ws{grid-template-columns:minmax(0,1fr) !important}
}
@media (max-width:760px){
  .ws{grid-template-columns:1fr !important}
  .ws > .card{min-width:0}
  .lead{grid-template-columns:1fr !important}
  .credit{grid-template-columns:1fr !important}
  .plan-big{grid-template-columns:1fr !important}
  .deploy{grid-template-columns:1fr !important}
  .metric,.kpi4{grid-template-columns:repeat(2,minmax(0,1fr)) !important}
  .auth{grid-template-columns:1fr !important}
  .auth-left{display:none !important}
  .steps{display:flex !important;overflow-x:auto !important}
  .step{min-width:150px;flex:none}
  .tabs{overflow-x:auto;flex-wrap:nowrap !important}
  .tabs button{flex:none}
  .mkt{overflow-x:auto}
  .mkt .it{flex:none;width:128px}
  .pipe{overflow-x:auto}
  .pipe .n{flex:none;min-width:110px}
  .set-nav{flex-direction:row !important;overflow-x:auto}
  .set-nav a{border-left:0 !important;border-bottom:2px solid transparent;white-space:nowrap}
  .set-nav a.on{border-bottom-color:var(--cyan)}
  .credit > div{min-width:0}
  .lead > div{min-width:0}
  .thread{min-height:0 !important}
  .msg .bubble{min-width:0}
  .composer .row{flex-wrap:wrap}
  .tools{flex-wrap:wrap}
  .confirm .kv{grid-template-columns:1fr !important}
  .confirm .row{flex-wrap:wrap}
  .plan{padding:13px 13px !important}
  .onb{padding:16px 12px 40px !important}
  .onb .grid{gap:12px !important}
  .form-tabs{overflow-x:auto;flex-wrap:nowrap}
  .form-tabs button{flex:none}
  .mkt .p{font-size:13px}
}
@media (max-width:520px){
  .kpi4,.metric{grid-template-columns:1fr !important}
  .plan-big .row{justify-content:flex-start}
  .credit .stack{gap:7px !important}
  .hero-h{font-size:20px !important;line-height:1.45 !important}
  .onb .grid.g32{grid-template-columns:1fr !important}
}
