/* 检测工具共用布局；公共头尾不受影响。 */
.wc-tool { --wc-home-radius: 4px; }
.wc-tool > .container { width: 100%; max-width: 1040px; padding-left: 24px; padding-right: 24px; }
.wc-tool .wc-pghead { padding-top: 36px; padding-bottom: 24px; margin-bottom: 0; }
.wc-tool .wc-pghead__title { margin: 0 0 4px; font: 600 var(--wc-fs-24)/1.5 var(--wc-font-sans); }
.wc-tool .wc-pghead__sub { margin: 0; font-size: var(--wc-fs-13); line-height: 1.8; }
.wc-tool .wc-pghead__count { display: block; margin: 8px 0 0; padding: 0; border: 0; border-radius: 0; font-size: var(--wc-fs-12); line-height: 1.8; }
.wc-tool .wc-pghead__count i { display: none; }
.wc-tool .wc-tabs { display: flex; justify-content: flex-start; align-items: stretch; gap: 28px; min-height: 46px; margin: 0; padding: 0 20px; border: 1px solid var(--wc-border-strong); border-bottom-color: var(--wc-border); border-radius: 4px 4px 0 0; background: var(--wc-tint); }
.wc-tool .wc-tab { display: inline-flex; align-items: center; min-height: 44px; padding: 12px 0; font-size: var(--wc-fs-14); line-height: 1.5; }
.wc-tool .wc-detect-grid { display: grid; grid-template-columns: minmax(0,1fr); gap: 0; }
.wc-tool .wc-detect-card { min-width: 0; padding: 16px 20px 0; border: 1px solid var(--wc-border-strong); border-top: 0; border-radius: 0 0 4px 4px; box-shadow: none; }
.wc-tool .wc-detect-card__labelrow { margin-bottom: 12px; }
.wc-tool .wc-detect-card__label { font-size: var(--wc-fs-14); font-weight: 500; }
.wc-tool .wc-detect-card__categorywrap { font-size: var(--wc-fs-12); }
.wc-tool .wc-detect-card__category[hidden] { display: none; }
.wc-tool .wc-up { min-height: 205px; border-radius: 4px; }
.wc-tool .wc-up__empty { padding: 24px 12px; }
.wc-tool .wc-up__icon { width: auto; height: auto; margin-bottom: 8px; padding: 0; background: transparent; border-radius: 0; }
.wc-tool .wc-up__main { font-size: var(--wc-fs-16); font-weight: 500; }
.wc-tool .wc-up__hint { font-size: var(--wc-fs-13); }
.wc-tool .wc-up__preview img, .wc-tool .wc-up__preview video { max-height: 360px; }
.wc-tool .wc-detect-card__hint:empty { display: none; }
.wc-tool .wc-detect-card__foot { min-height: 68px; margin-top: 12px; padding: 12px 0; border-top: 1px solid var(--wc-border); gap: 12px; }
.wc-tool .wc-detect-card__btns { margin-left: auto; }
.wc-tool .wc-btn { min-height: 44px; border-radius: 4px; font-size: var(--wc-fs-14); }
.wc-tool .wc-btn .fa-search { display: none; }
.wc-tool .wc-media-chipbar { margin: 12px 0 0; padding: 0; }
.wc-tool .wc-media-chip { display: inline; padding: 0; border: 0; border-radius: 0; background: transparent; font-size: var(--wc-fs-12); line-height: 1.8; }
.wc-tool .wc-result-card { min-height: 0; margin-top: 16px; margin-bottom: 32px; padding: 0; border: 0; border-radius: 0; box-shadow: none; }
.wc-tool .wc-result-empty { display: block; min-height: 0; padding: 0; text-align: left; }
.wc-tool .wc-result-empty__icon, .wc-tool .wc-result-empty__title { display: none; }
.wc-tool .wc-result-empty__sub { margin: 0; font-size: var(--wc-fs-12); }
.wc-tool .wc-result-loading { min-height: 0; padding: 12px 0; font-size: var(--wc-fs-14); }
.wc-tool .wc-result-card__textwrap { border-top: 1px solid var(--wc-border); padding-top: 16px; }
.wc-tool .wc-batch { margin-top: 0; }
.wc-tool .wc-batch__modes { display: flex; gap: 4px; margin: 0; padding: 12px 20px; border-left: 1px solid var(--wc-border-strong); border-right: 1px solid var(--wc-border-strong); }
.wc-tool .wc-batch__mode { min-height: 36px; padding: 4px 12px; border: 1px solid transparent; border-radius: 4px; background: transparent; color: var(--wc-text-2); font-size: var(--wc-fs-13); }
.wc-tool .wc-batch__mode--active { border-color: var(--wc-border); background: var(--wc-tint); color: var(--wc-primary); }
.wc-tool .wc-batch__actions { display: flex; align-items: center; justify-content: flex-end; gap: 12px; padding: 12px 0; }
.wc-tool .wc-batch__seginfo { margin-right: auto; font-size: var(--wc-fs-12); }
.wc-tool #docActions { margin: 0; padding: 12px 20px; border: 1px solid var(--wc-border-strong); border-top: 0; }
.wc-tool #batchText { min-height: 205px; border: 0; border-radius: 0; padding: 12px 0; font-size: var(--wc-fs-16); }
.wc-tool #batchResult { margin: 24px 0 32px; }
.wc-tool-help { margin: 24px 0 32px; padding: 16px 0; border-top: 1px solid var(--wc-border); color: var(--wc-text-2); font-size: var(--wc-fs-13); line-height: 1.8; }
.wc-tool-help summary { cursor: pointer; color: var(--wc-primary); min-height: 44px; }
@media (max-width:767px) {
 .wc-tool > .container { padding-left:16px; padding-right:16px; }
 .wc-tool .wc-pghead { padding-top:24px; padding-bottom:20px; }
 .wc-tool .wc-pghead__title { font-size:var(--wc-fs-20); }
 .wc-tool .wc-tabs { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:0; padding:0 4px; }
 .wc-tool .wc-tab { justify-content:center; min-width:0; font-size:var(--wc-fs-13); white-space:nowrap; }
 .wc-tool .wc-detect-card { padding-left:16px; padding-right:16px; }
 .wc-tool .wc-detect-card__foot { flex-wrap:wrap; }
 .wc-tool .wc-detect-card__btns { display:flex; width:100%; }
 .wc-tool .wc-detect-card__btns .wc-btn--primary { flex:1; }
 .wc-tool .wc-up { min-height:195px; }
 .wc-tool .wc-batch__actions { flex-wrap:wrap; }
 .wc-tool .wc-batch__actions .wc-btn--primary { flex:1; }
 .wc-tool .wc-batch__mode { min-height:44px; }
}
