/* V2.11 HF static prototype stability patch: table priority contract, especially records self-check column */
.records-table .col-critical-selfcheck,
.records-table .col-selfcheck{width:104px!important;display:table-column!important;visibility:visible!important}
.records-table th.col-critical-selfcheck-head,
.records-table td.col-critical-selfcheck-cell,
.records-table td.selfcheck-cell{display:table-cell!important;visibility:visible!important;
opacity:1!important;white-space:nowrap!important;text-align:left!important;vertical-align:middle!important;
padding-left:12px!important;padding-right:12px!important;overflow:visible!important}
.records-table td.selfcheck-cell .badge{min-width:62px;justify-content:center;white-space:nowrap!important}
.records-table .col-status{width:108px!important}.records-table .col-last{width:100px!important}.records-table .col-mode{width:112px!important}.records-table .col-site{width:124px!important}
.records-table td[data-label="状态"]{padding-right:14px!important}
.records-table td[data-label="自检结果"]{padding-left:14px!important;padding-right:14px!important}
.records-table td[data-label="最近使用"]{padding-left:14px!important}
.records-table .table-select{width:92px!important;min-width:92px!important;max-width:92px!important}

@media (min-width:1280px){
.records-table .col-site{width:132px!important}.records-table .col-mode{width:116px!important}
.records-table .col-status{width:108px!important}.records-table .col-selfcheck{width:106px!important}
.records-table .col-last{width:100px!important}
  .records-table .col-main-action{width:128px!important}.records-table .col-more{width:68px!important}
}

/* 1100-1279: keep self-check, hide only lower-value site column and move site into topic subtitle already visible through topic text context */
@media (max-width:1279px) and (min-width:1100px){
  .records-table col.col-site,
  .records-table th:nth-child(2),
  .records-table td:nth-child(2){display:none!important}
  .records-table .col-mode{width:112px!important}.records-table .col-status{width:108px!important}.records-table .col-selfcheck{width:106px!important}.records-table .col-last{width:98px!important}
  .records-table .col-main-action{width:128px!important}.records-table .col-more{width:68px!important}
  .records-table th.col-critical-selfcheck-head,
  .records-table td.col-critical-selfcheck-cell,
  .records-table td.selfcheck-cell{display:table-cell!important}
}

/* 992-1099: compact desktop table; self-check remains visible, recent time goes into low-priority hiding before self-check */
@media (max-width:1099px) and (min-width:992px){
  .records-table col.col-site,
  .records-table th:nth-child(2),
  .records-table td:nth-child(2),
  .records-table col.col-last,
  .records-table th:nth-child(6),
  .records-table td:nth-child(6){display:none!important}
  .records-table .col-mode{width:108px!important}.records-table .col-status{width:108px!important}.records-table .col-selfcheck{width:106px!important}
  .records-table .col-main-action{width:128px!important}.records-table .col-more{width:68px!important}
  .records-table th.col-critical-selfcheck-head,
  .records-table td.col-critical-selfcheck-cell,
  .records-table td.selfcheck-cell{display:table-cell!important}
  .records-table .record-topic-cell{min-width:0!important}
}

/* Card mode: restore block display after desktop self-check override */
@media (max-width:991px){
  .records-table col.col-critical-selfcheck,
  .records-table col.col-selfcheck{display:none!important}
  .records-table th.col-critical-selfcheck-head{display:none!important}
  .records-table td.col-critical-selfcheck-cell,
.records-table td.selfcheck-cell{display:grid!important;grid-template-columns:96px minmax(0,1fr)!important;
gap:10px!important;text-align:left!important;padding:7px 0!important;white-space:normal!important;
overflow:visible!important}
  .records-table td.selfcheck-cell::before{content:attr(data-label);font-size:12px;color:var(--muted);font-weight:900}
  .records-table td.selfcheck-cell .badge{justify-self:start}
}

/* Final table rhythm: prevent visual collision between status / self-check / recent columns */
.ops-table td[data-label="状态"],.ops-table td[data-label="自检结果"],.ops-table td[data-label="最近使用"]{box-sizing:border-box!important}
.ops-table td[data-label="状态"] .table-select{display:inline-flex!important;vertical-align:middle!important}
