.search-progress-dashboard {
    margin: 12px 0 16px;
}

.debug-summary-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    align-items: start;
}

.debug-summary-group {
    min-width: 0;
}

.debug-summary-group h3 {
    margin: 0 0 8px;
    color: #93c5fd;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.debug-summary-group-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.debug-metric-tile {
    min-width: 0;
    min-height: 76px;
    overflow: hidden;
    border: 1px solid rgba(48, 57, 70, 0.95);
    border-radius: 8px;
    padding: 12px;
    background: #15191f;
}

.debug-metric-tile-button {
    width: 100%;
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.debug-metric-tile-button:hover {
    background: #15191f;
}

.debug-metric-tile-button:focus-visible {
    outline: 2px solid #93c5fd;
    outline-offset: 2px;
}

.debug-metric-tile span {
    display: block;
    color: #9ca3af;
    font-size: 12px;
    font-weight: 700;
}

.debug-metric-tile strong {
    display: block;
    margin-top: 8px;
    color: #f3f4f6;
    font-size: 18px;
    line-height: 1.15;
    overflow-wrap: anywhere;
}

.debug-node-details {
    margin-top: 8px;
    overflow: hidden;
    border: 1px solid rgba(48, 57, 70, 0.95);
    border-radius: 8px;
    background: #15191f;
}

.debug-node-details[hidden] {
    display: none;
}

.debug-node-detail-row {
    display: grid;
    grid-template-columns: minmax(100px, 1.2fr) minmax(90px, 1fr) minmax(110px, 1fr);
    gap: 10px;
    align-items: center;
    padding: 9px 12px;
    border-top: 1px solid rgba(48, 57, 70, 0.72);
}

.debug-node-detail-row.debug-parallel-job-detail-row {
    grid-template-columns: minmax(100px, 1.2fr) repeat(2, minmax(90px, 1fr));
}

.debug-node-detail-row:first-child {
    border-top: 0;
}

.debug-node-detail-row span {
    min-width: 0;
    color: #e5e7eb;
    font-size: 12px;
    overflow-wrap: anywhere;
}

.debug-node-detail-header span {
    color: #9ca3af;
    font-weight: 700;
}

.debug-node-detail-empty {
    padding: 12px;
    color: #9ca3af;
    font-size: 12px;
}

.parallel-job-prefix-section {
    border-top: 1px solid rgba(48, 57, 70, 0.95);
}

.parallel-job-prefix-heading {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 6px 12px;
    padding: 12px;
}

.parallel-job-prefix-heading strong {
    color: #f3f4f6;
    font-size: 13px;
}

.parallel-job-prefix-heading span {
    color: #9ca3af;
    font-size: 11px;
}

.parallel-job-prefix-pager {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    padding: 0 12px 10px;
}

.parallel-job-prefix-pager button {
    min-width: 48px;
    border: 1px solid rgba(75, 85, 99, 0.92);
    border-radius: 5px;
    padding: 4px 8px;
    background: #11151b;
    color: #e5e7eb;
    font: inherit;
    font-size: 11px;
    cursor: pointer;
}

.parallel-job-prefix-pager button:disabled {
    color: #6b7280;
    cursor: default;
}

.parallel-job-prefix-pager span {
    min-width: 42px;
    color: #9ca3af;
    font-size: 11px;
    text-align: center;
}

.parallel-job-prefix-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(175px, 1fr));
    gap: 8px;
    padding: 0 12px 12px;
}

.parallel-job-prefix-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(48, 57, 70, 0.95);
    border-radius: 6px;
    background: #11151b;
}

.parallel-job-prefix-card.is-expanded {
    grid-column: 1 / -1;
}

.parallel-job-prefix-card-button {
    display: grid;
    grid-template-columns: minmax(52px, 1fr) auto auto;
    gap: 8px;
    align-items: center;
    width: 100%;
    border: 0;
    padding: 9px 10px;
    background: transparent;
    color: #e5e7eb;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.parallel-job-prefix-card-button:hover {
    background: rgba(31, 41, 55, 0.68);
}

.parallel-job-prefix-card-button:focus-visible {
    outline: 2px solid #93c5fd;
    outline-offset: -2px;
}

.parallel-job-prefix-card-button strong {
    min-width: 0;
    font-size: 12px;
}

.parallel-job-prefix-status,
.parallel-job-prefix-count {
    color: #9ca3af;
    font-size: 10px;
    white-space: nowrap;
}

.parallel-job-prefix-status.is-complete {
    color: #d1d5db;
}

.parallel-job-prefix-routes {
    display: grid;
    gap: 7px;
    border-top: 1px solid rgba(48, 57, 70, 0.72);
    padding: 10px;
}

.parallel-job-prefix-route {
    display: grid;
    grid-template-columns: 62px minmax(0, 1fr);
    gap: 8px;
    align-items: center;
}

.parallel-job-prefix-route-label {
    color: #9ca3af;
    font-size: 10px;
    font-weight: 700;
}

.parallel-job-prefix-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px;
    min-width: 0;
}

.parallel-job-prefix-skill-icon {
    display: inline-flex;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid rgba(75, 85, 99, 0.95);
    border-radius: 6px;
    background: #1f2937;
    color: #e5e7eb;
    font-size: 12px;
    font-weight: 700;
}

.parallel-job-prefix-skill-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.parallel-job-prefix-action-chip,
.parallel-job-prefix-empty {
    border: 1px solid rgba(75, 85, 99, 0.92);
    border-radius: 999px;
    padding: 4px 7px;
    color: #d1d5db;
    font-size: 10px;
    white-space: nowrap;
}

.parallel-job-prefix-arrow {
    color: #6b7280;
    font-size: 15px;
    line-height: 1;
}

.bnb-depth-probe-section {
    margin: 0 0 14px;
    border: 1px solid rgba(48, 57, 70, 0.95);
    border-radius: 8px;
    padding: 12px;
    background: #15191f;
}

.bnb-depth-probe-section[hidden] {
    display: none;
}

.bnb-depth-probe-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.bnb-depth-probe-heading h3 {
    margin: 0;
    color: #f3f4f6;
    font-size: 14px;
}

.bnb-depth-probe-heading p {
    margin: 5px 0 0;
    color: #9ca3af;
    font-size: 11px;
    line-height: 1.45;
}

.bnb-depth-probe-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.bnb-depth-probe-filters label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #9ca3af;
    font-size: 11px;
}

.bnb-depth-probe-filters select {
    min-width: 112px;
    border: 1px solid rgba(48, 57, 70, 0.95);
    border-radius: 6px;
    padding: 6px 28px 6px 8px;
    background: #11151b;
    color: #d1d5db;
    font-size: 11px;
}

.bnb-depth-probe-cases {
    display: grid;
    gap: 8px;
    margin-top: 10px;
}

.bnb-depth-probe-case {
    overflow: hidden;
    border: 1px solid rgba(48, 57, 70, 0.95);
    border-radius: 6px;
    background: #11151b;
}

.bnb-depth-probe-case > summary {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 6px 12px;
    padding: 10px 12px;
    color: #e5e7eb;
    cursor: pointer;
}

.bnb-depth-probe-case > summary strong {
    font-size: 12px;
}

.bnb-depth-probe-case > summary span {
    color: #9ca3af;
    font-size: 11px;
}

.bnb-depth-probe-case-body {
    display: grid;
    gap: 12px;
    border-top: 1px solid rgba(48, 57, 70, 0.72);
    padding: 12px;
}

.bnb-depth-probe-block h4 {
    margin: 0 0 6px;
    color: #d1d5db;
    font-size: 11px;
}

.bnb-depth-probe-formula,
.bnb-depth-probe-route,
.bnb-depth-probe-empty {
    color: #d1d5db;
    font-size: 11px;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.bnb-depth-probe-table-wrap {
    overflow-x: auto;
}

.bnb-depth-probe-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 11px;
}

.bnb-depth-probe-table th,
.bnb-depth-probe-table td {
    border-top: 1px solid rgba(48, 57, 70, 0.72);
    padding: 6px 8px;
    color: #d1d5db;
    text-align: left;
    white-space: nowrap;
}

.bnb-depth-probe-table th {
    color: #9ca3af;
    font-weight: 700;
}

@media (max-width: 900px) {
    .debug-summary-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .debug-summary-group-grid {
        grid-template-columns: 1fr;
    }

    .debug-node-detail-row {
        grid-template-columns: minmax(80px, 1fr) minmax(82px, 1fr) minmax(96px, 1fr);
        gap: 6px;
        padding-inline: 10px;
    }

    .debug-node-detail-row.debug-parallel-job-detail-row {
        grid-template-columns: minmax(80px, 1.2fr) repeat(2, minmax(72px, 1fr));
    }

    .parallel-job-prefix-grid {
        grid-template-columns: 1fr;
    }

    .parallel-job-prefix-route {
        grid-template-columns: 1fr;
        gap: 5px;
    }
}
