.tool-section {
    padding: 3rem 0 5rem;
    background: #f8f9fa;
}
.tool-search-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.5rem;
}
.tool-search-card .form-control {
    font-size: 0.9rem;
    padding: 0.6rem 0.75rem;
    border-color: #e2e8f0;
    height: 42px;
}
.tool-search-card .input-group-text {
    padding: 0.6rem 0.5rem 0.6rem 1rem;
    border-radius: 10px 0 0 10px;
    border-color: #e2e8f0;
}
.tool-quick-tags {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    height: 42px;
}
.tool-quick-tag {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    font-size: 0.72rem;
    color: #64748b;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}
.tool-quick-tag:hover {
    background: #e0e7ff;
    color: #4f46e5;
    border-color: #c7d2fe;
}
.tool-result-area {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.5rem;
}

/* 检测类型 - 单选 */
.probe-type-radios {
    display: flex;
    gap: 4px;
    height: 42px;
    align-items: center;
}
.probe-radio-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    font-size: 0.78rem;
    font-weight: 500;
    color: #475569;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    user-select: none;
    margin: 0;
}
.probe-radio-item:hover {
    border-color: #93c5fd;
    background: #eff6ff;
}
.probe-radio-item:has(input:checked) {
    background: #eff6ff;
    border-color: #2563eb;
    color: #1d4ed8;
    box-shadow: 0 0 0 2px rgba(37,99,235,0.12);
}
.probe-radio-item input[type="radio"] {
    accent-color: #2563eb;
    width: 13px;
    height: 13px;
    margin: 0;
}

/* 节点列表 - 可折叠面板 */
.probe-node-count {
    font-size: 0.75rem;
    color: #64748b;
}
.probe-node-count strong {
    color: #2563eb;
}
/* 已选标签 */
.probe-selected-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    min-height: 28px;
    align-items: center;
}
.probe-selected-tag {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 2px 8px;
    font-size: 0.72rem;
    color: #1d4ed8;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 4px;
}
.probe-selected-tag .remove-node {
    cursor: pointer;
    font-size: 0.7rem;
    opacity: 0.5;
    line-height: 1;
}
.probe-selected-tag .remove-node:hover {
    opacity: 1;
}
/* 折叠面板 */
.probe-node-picker {
    margin-top: 8px;
    background: #fafbfc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 12px 14px;
}
.probe-node-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px 16px;
}
.probe-node-group-col {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.probe-node-group-title {
    font-size: 0.72rem;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    padding-bottom: 4px;
    margin-bottom: 2px;
    border-bottom: 1px solid #e2e8f0;
}
.probe-node-row {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 3px 6px;
    font-size: 0.78rem;
    color: #475569;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.15s;
    margin: 0;
}
.probe-node-row:hover {
    background: #e2e8f0;
}
.probe-node-row input[type="checkbox"] {
    accent-color: #2563eb;
    width: 13px;
    height: 13px;
    margin: 0;
}

/* 概览卡片 */
.probe-summary-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    text-align: center;
    transition: all 0.2s;
}
.probe-summary-card:hover {
    border-color: #93c5fd;
    background: #eff6ff;
}
.probe-summary-card.active {
    border-color: #2563eb;
    background: #eff6ff;
    box-shadow: 0 0 0 2px rgba(37,99,235,0.15);
}
.probe-summary-card .probe-summary-value {
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.2;
}
.probe-summary-card .probe-summary-label {
    font-size: 0.7rem;
    color: #94a3b8;
    margin-top: 0.15rem;
}

/* 类型徽章 */
.probe-type-badge {
    display: inline-block;
    padding: 3px 10px;
    font-size: 0.72rem;
    font-weight: 600;
    border-radius: 6px;
    background: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #bfdbfe;
}

/* 结果表格 */
.probe-result-table-wrap {
    overflow-x: auto;
}
.probe-result-table {
    font-size: 0.85rem;
}
.probe-result-table thead th {
    font-size: 0.72rem;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    padding: 10px 12px;
    border-bottom: 2px solid #e2e8f0;
    background: #fafbfc;
}
.probe-result-table tbody td {
    padding: 10px 12px;
    vertical-align: middle;
    border-bottom: 1px solid #f1f5f9;
}
.probe-result-table tbody tr:hover {
    background: #f8fafc;
}
.probe-node-cell .node-name {
    font-weight: 600;
    font-size: 0.82rem;
    color: #1e293b;
}
.probe-node-cell .node-isp {
    font-size: 0.7rem;
    color: #94a3b8;
}
.probe-region-badge {
    display: inline-block;
    padding: 2px 8px;
    font-size: 0.7rem;
    font-weight: 500;
    border-radius: 4px;
    background: #f1f5f9;
    color: #64748b;
}

/* 状态分隔行 */
.probe-region-divider td {
    padding: 8px 12px !important;
    background: #fafbfc !important;
    border-bottom: 1px solid #e2e8f0 !important;
}
.probe-region-divider .divider-label {
    font-size: 0.78rem;
    font-weight: 700;
    color: #334155;
}
.probe-region-divider .divider-summary {
    font-size: 0.7rem;
    color: #94a3b8;
    margin-left: 6px;
}
.probe-region-divider .divider-ok {
    font-size: 0.7rem;
    color: #22c55e;
    font-weight: 600;
    margin-left: auto;
}

@media (max-width: 991px) {
    .probe-node-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 767px) {
    .probe-node-grid {
        grid-template-columns: 1fr;
    }
}
