.batch-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px
}

.batch-head h2 {
    margin-bottom: 5px
}

.batch-head .help {
    margin: 0
}

.batch-head>.button {
    padding: 10px 14px;
    border-color: var(--accent);
    color: var(--accent);
    white-space: nowrap
}

.batch-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px
}

.batch-actions .button {
    padding: 10px 14px;
    white-space: nowrap
}

.batch-actions .button:last-child {
    border-color: var(--accent);
    color: var(--accent)
}

.batch-actions .button.primary {
    background: var(--accent);
    border-color: var(--accent);
    color: #08130f
}

.batch-actions .button.primary:disabled {
    background: #263044;
    border-color: #44516a;
    color: #f6f7fb;
    opacity: 1;
    cursor: default
}

.batch-progress {
    display: grid;
    gap: 8px;
    padding: 14px;
    margin: 14px 0;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: #101722
}

.batch-progress[hidden] {
    display: none
}

.batch-progress>div {
    height: 7px;
    border-radius: 99px;
    background: #283041;
    overflow: hidden
}

.batch-progress>div span {
    display: block;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--accent), #8b7cff);
    transition: width .3s
}

.batch-progress small {
    color: var(--muted)
}

@media(max-width:760px) {
    .batch-head {
        display: grid
    }

    .batch-actions {
        display: grid;
        justify-content: stretch
    }

    .batch-actions .button {
        width: 100%
    }
}