.nevv-news-chat-panel-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
}

.nfp-section-head > .nevv-news-chat-panel-actions + .nfp-button,
.nfp-section-head > .nfp-button + .nevv-news-chat-panel-actions {
    margin-left: 0;
}

.nevv-news-chat-open-button {
    white-space: nowrap;
}

.nevv-news-chat-toolbar {
    box-sizing: border-box;
    width: calc(100% - 24px);
    margin: 0 auto;
    min-height: 58px;
    padding: 9px 16px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
        "info actions"
        "status status";
    gap: 5px 14px;
    align-items: center;
    background: #fff;
    border-bottom: 1px solid rgba(0,0,0,.12);
    box-shadow: 0 2px 10px rgba(0,0,0,.06);
    position: relative;
    z-index: 20;
}

.nevv-news-chat-toolbar[hidden] {
    display: none !important;
}

.nevv-news-chat-toolbar__info {
    grid-area: info;
    min-width: 0;
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.nevv-news-chat-toolbar__info strong,
.nevv-news-chat-toolbar__info span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nevv-news-chat-toolbar__info span {
    opacity: .68;
    font-size: 13px;
}

.nevv-news-chat-toolbar__actions {
    grid-area: actions;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nevv-news-chat-toolbar__button {
    border: 0;
    border-radius: 7px;
    padding: 9px 14px;
    background: #1d6fd8;
    color: #fff;
    text-decoration: none;
    font: inherit;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
    white-space: nowrap;
}

.nevv-news-chat-toolbar__button:hover,
.nevv-news-chat-toolbar__button:focus {
    color: #fff;
    filter: brightness(.96);
}

.nevv-news-chat-toolbar__button.is-secondary {
    background: #eef2f7;
    color: #182230;
}

.nevv-news-chat-toolbar__button.is-secondary:hover,
.nevv-news-chat-toolbar__button.is-secondary:focus {
    color: #182230;
}

.nevv-news-chat-toolbar__button:disabled {
    opacity: .6;
    cursor: wait;
}

.nevv-news-chat-toolbar__status {
    grid-area: status;
    min-height: 0;
    font-size: 12px;
    color: #28733f;
}

.nevv-news-chat-toolbar__status.is-error {
    color: #b42318;
}

@media (max-width: 720px) {
    .nevv-news-chat-panel-actions {
        width: 100%;
        order: 3;
    }

    .nevv-news-chat-open-button {
        width: 100%;
    }

    .nevv-news-chat-toolbar {
        grid-template-columns: 1fr;
        grid-template-areas:
            "info"
            "actions"
            "status";
        width: calc(100% - 12px);
        padding: 9px 10px;
    }

    .nevv-news-chat-toolbar__info {
        display: block;
    }

    .nevv-news-chat-toolbar__info strong,
    .nevv-news-chat-toolbar__info span {
        display: block;
    }

    .nevv-news-chat-toolbar__actions {
        width: 100%;
    }

    .nevv-news-chat-toolbar__button {
        flex: 1 1 0;
        text-align: center;
    }
}
