/* 账号检测是高频表格工作区，使用稳定列宽和横向滚动保证状态文字不挤压。 */
.model-checker-shell { width: min(calc(100% - 48px), 1200px); max-width: none; }
.checker-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.checker-heading > p { max-width: 430px; margin: 0; color: var(--muted); font-size: 14px; text-align: right; }
.checker-config { display: grid; grid-template-columns: minmax(230px, 1.4fr) minmax(230px, 1.4fr) minmax(170px, .8fr) auto; align-items: end; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.checker-field { display: grid; min-width: 0; gap: 8px; font-size: 14px; font-weight: 750; }
.checker-field input, .checker-search input, .checker-pagination select { width: 100%; min-height: var(--tool-control-height); padding: var(--tool-control-padding) 12px; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 4px; font: inherit;
    font-size: var(--tool-input-font);
    line-height: 22px; }
.checker-field input:focus, .checker-search input:focus, .checker-pagination select:focus { border-color: var(--forest); outline: 3px solid var(--focus-ring); }
.checker-config-actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.checker-config-actions button { flex: 0 0 auto; white-space: nowrap; }
.checker-storage-status { min-height: 20px; margin: 8px 0 0; color: var(--muted); font-size: 13px; }
.token-control { display: grid; grid-template-columns: minmax(0, 1fr) auto; }
.token-control input { border-radius: 4px 0 0 4px; }
.token-control button { min-width: 58px; color: var(--forest); background: var(--surface-soft); border: 1px solid var(--line); border-left: 0; border-radius: 0 4px 4px 0; cursor: pointer; font-weight: 750; }
.checker-results { padding: 20px 0; border-bottom: 1px solid var(--line); }
.checker-results-heading { display: flex; align-items: start; justify-content: space-between; gap: 24px; }
.checker-results-heading h2 { margin: 0; font-size: 22px; }
.checker-results-heading p { margin: 6px 0 0; color: var(--muted); font-size: 13px; }
.checker-summary { display: grid; grid-template-columns: repeat(3, 74px); margin: 0; }
.checker-summary div { text-align: center; }
.checker-summary div + div { border-left: 1px solid var(--line); }
.checker-summary dt { color: var(--muted); font-size: 12px; }
.checker-summary dd { margin: 2px 0 0; font-size: 20px; font-weight: 800; }
.checker-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 24px; }
.checker-search { flex: 1 1 320px; max-width: 460px; }
.checker-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }
.checker-empty { display: grid; min-height: 210px; margin-top: 18px; place-content: center; gap: 6px; color: var(--muted); text-align: center; border-top: 1px solid var(--line); }
/* 作者样式的 grid 会覆盖浏览器默认 hidden 规则，必须显式关闭已完成的空状态。 */
.checker-empty[hidden] { display: none; }
.checker-empty strong { color: var(--ink); font-size: 18px; }
.checker-table-wrap { margin-top: 18px; overflow-x: auto; border-top: 1px solid var(--line); }
.checker-table-wrap table { width: 100%; min-width: 900px; border-collapse: collapse; font-size: 13px; }
.checker-table-wrap th, .checker-table-wrap td { padding: 11px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.checker-table-wrap th { color: var(--muted); font-size: 12px; }
.checker-table-wrap th:first-child { width: 44px; }
.checker-account-name { max-width: 210px; overflow: hidden; font-weight: 750; text-overflow: ellipsis; white-space: nowrap; }
.checker-secondary, .checker-message { margin-top: 3px; color: var(--muted); font-size: 12px; }
.checker-message { max-width: 260px; overflow-wrap: anywhere; }
.checker-tags { display: flex; max-width: 190px; flex-wrap: wrap; gap: 4px; }
.checker-tag, .checker-status { display: inline-block; padding: 3px 7px; border-radius: 4px; background: var(--surface-soft); font-size: 12px; font-weight: 750; }
.checker-status.success, .checker-status.ready { color: var(--forest); background: var(--surface-soft); }
.checker-status.failed, .checker-status.timeout { color: var(--error); background: var(--surface-soft); }
.checker-status.testing { color: var(--orange-dark); }
.checker-pagination { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 18px; color: var(--muted); font-size: 13px; }
.checker-pagination label, .checker-pagination > div { display: flex; align-items: center; gap: 10px; }
.checker-pagination select { width: 76px; min-height: var(--tool-control-height); }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
/* 平板统一在 920px 收起配置栏，和其他数据工具保持同一阅读节奏。 */
@media (max-width: 920px) { .checker-config { grid-template-columns: repeat(2, minmax(0, 1fr)); } .checker-config-actions { grid-column: 1 / -1; } }
@media (max-width: 640px) {
    .model-checker-shell { width: min(calc(100% - 32px), 1200px); }
    .checker-heading, .checker-results-heading, .checker-toolbar, .checker-pagination { align-items: stretch; flex-direction: column; }
    .checker-heading > p { text-align: left; }
    .checker-config { grid-template-columns: 1fr; }
    .checker-config-actions { display: grid; grid-template-columns: 1fr; }
    .checker-config-actions button { width: 100%; }
    .checker-summary { grid-template-columns: repeat(3, 1fr); }
    .checker-search { max-width: none; }
    .checker-actions { display: grid; grid-template-columns: 1fr; }
    .checker-actions button { width: 100%; }
    .checker-pagination > div { flex-wrap: wrap; }

    /* 账号表格保留选择、账号和两种状态；套餐与分组可在详情查询中再筛选。 */
    .checker-table-wrap { overflow-x: visible; }
    .checker-table-wrap table { min-width: 0; table-layout: fixed; }
    .checker-table-wrap th,
    .checker-table-wrap td { padding: 10px 6px; overflow-wrap: anywhere; }
    .checker-table-wrap th:nth-child(1),
    .checker-table-wrap td:nth-child(1) { width: 11%; }
    .checker-table-wrap th:nth-child(2),
    .checker-table-wrap td:nth-child(2),
    .checker-table-wrap th:nth-child(4),
    .checker-table-wrap td:nth-child(4),
    .checker-table-wrap th:nth-child(5),
    .checker-table-wrap td:nth-child(5) { display: none; }
    .checker-table-wrap th:nth-child(3),
    .checker-table-wrap td:nth-child(3) { width: 49%; }
    .checker-table-wrap th:nth-child(6),
    .checker-table-wrap td:nth-child(6),
    .checker-table-wrap th:nth-child(7),
    .checker-table-wrap td:nth-child(7) { width: 20%; }
    .checker-account-name { max-width: none; white-space: normal; }
    .checker-secondary, .checker-message { max-width: none; }
    .checker-status { white-space: normal; }
}
