.agents-scoped-workspace {
    display: grid;
    gap: 1rem;
}

.agents-scoped-controls {
    display: grid;
    gap: 1rem;
}

.agents-scoped-inline-action {
    display: flex;
    align-items: end;
}

.agents-scoped-inline-action .agents-btn {
    width: 100%;
}

.agents-scoped-selector-panel {
    display: grid;
    gap: 0.85rem;
}

.agents-scoped-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.agents-scoped-table th:first-child,
.agents-scoped-table td:first-child {
    width: 84px;
}

.agents-scoped-table td {
    vertical-align: top;
}

.agents-scoped-summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.agents-scoped-summary-card {
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 12px;
    padding: 0.85rem 0.95rem;
    background: rgba(2, 6, 23, 0.42);
    display: grid;
    gap: 0.25rem;
}

.agents-scoped-summary-card strong {
    color: #f8fafc;
    font-size: 0.95rem;
}

.agents-scoped-summary-card span {
    color: #cbd5e1;
    font-size: 0.82rem;
}

.agents-scoped-card-grid .agents-report-card p {
    white-space: nowrap;
}

.agents-scoped-checkbox {
    width: 18px;
    height: 18px;
    accent-color: #53fc18;
}

@media (max-width: 768px) {
    .agents-scoped-inline-action {
        align-items: stretch;
    }

    .agents-scoped-table th,
    .agents-scoped-table td {
        font-size: 0.82rem;
    }
}
