.leadgen-actions {
    display: flex;
    gap: 8px;
}

.leadgen-runs-list {
    display: grid;
    gap: 10px;
}

.leadgen-run-row {
    display: flex;
    align-items: stretch;
    gap: 8px;
}

.leadgen-run-row__actions {
    display: flex;
    gap: 8px;
}

.leadgen-run-item {
    width: 100%;
    flex: 1;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 12px;
    background: var(--surface);
    text-align: left;
    cursor: pointer;
}

.leadgen-run-item.active {
    border-color: var(--brand-color);
    box-shadow: 0 0 0 2px rgba(185, 240, 64, 0.2);
}

.leadgen-run-item__title {
    display: block;
    font-weight: 700;
    font-size: 14px;
}

.leadgen-run-item__meta {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: 12px;
}

.leadgen-run-delete {
    border: 1px solid #fca5a5;
    background: #fff1f2;
    color: #b91c1c;
    border-radius: 10px;
    padding: 0 12px;
    min-width: 80px;
    cursor: pointer;
    font-weight: 600;
}

.leadgen-run-delete:hover {
    background: #ffe4e6;
}

.leadgen-run-studio {
    border: 1px solid #a3e635;
    background: #f7fee7;
    color: #365314;
    border-radius: 10px;
    padding: 0 12px;
    min-width: 80px;
    cursor: pointer;
    font-weight: 600;
    text-decoration: none;
    font-size: inherit;
    line-height: inherit;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.leadgen-run-studio:hover {
    background: #ecfccb;
}

.leadgen-run-rerun {
    border: 1px solid #93c5fd;
    background: #eff6ff;
    color: #1d4ed8;
    border-radius: 10px;
    padding: 0 12px;
    min-width: 80px;
    cursor: pointer;
    font-weight: 600;
}

.leadgen-run-rerun:hover {
    background: #dbeafe;
}

.leadgen-details {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 16px;
}

.leadgen-details__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.leadgen-json-output {
    background: #0f172a;
    color: #d1d5db;
    border-radius: 8px;
    padding: 12px;
    font-size: 12px;
    line-height: 1.5;
    max-height: 60vh;
    overflow: auto;
}
