/* Task-modal Materials / Output rows: icon, name, info button, qty pill */
.task-io-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    width: 100%;
}

.task-io-row {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 10px 14px;
    background: rgba(197, 160, 89, 0.02);
    border: 1px solid rgba(197, 160, 89, 0.1);
    border-radius: 6px;
}

.task-io-row--short {
    border-color: rgba(200, 60, 60, 0.35);
}

.task-io-row__icon {
    display: grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    flex-shrink: 0;
}

.task-io-row__icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.task-io-row__name {
    font-size: var(--font-size-md);
    font-weight: 600;
    color: var(--text-primary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.task-io-row__info {
    display: grid;
    place-items: center;
    width: 1.6rem;
    height: 1.6rem;
    padding: 0;
    flex-shrink: 0;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    color: var(--text-muted);
    cursor: pointer;
}

.task-io-row__info:hover {
    color: var(--text-primary);
    border-color: rgba(255, 255, 255, 0.3);
}

.task-io-row__info svg {
    width: 0.95rem;
    height: 0.95rem;
}

.task-io-row__pill {
    margin-left: auto;
    flex-shrink: 0;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: var(--font-size-sm);
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    border: 1px solid transparent;
}

.task-io-row__pill--ok {
    color: var(--text-success);
    background: color-mix(in srgb, var(--text-success) 14%, transparent);
    border-color: color-mix(in srgb, var(--text-success) 30%, transparent);
}

.task-io-row__pill--short {
    color: var(--text-danger);
    background: color-mix(in srgb, var(--text-danger) 14%, transparent);
    border-color: color-mix(in srgb, var(--text-danger) 35%, transparent);
}

.task-io-row__pill--output {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.08);
}
