.ql-screen-promql {
    width: 100%;
    height: 100%;

    overflow-y: auto;
    padding-bottom: 100px;

    &__query-editor {
        display: block;
        border: 1px solid var(--g-color-line-generic);
        width: calc(100%);

        height: 100%;
        min-height: 60px;
    }

    &__add-query-btn {
        margin: 10px 0 0 20px;
    }

    &__hide-query-btn {
        display: inline-block;
    }

    &__query-row {
        display: block;
        padding: 10px 20px;
        border-bottom: 1px solid var(--g-color-line-generic);
    }

    &__query-row-tabs {
        position: relative;
        width: 175px;
        float: left;

        box-shadow: none;

        .gc-adaptive-tabs {
            &__tab {
                height: 33px;
            }
        }
    }

    &__query-row-title {
        height: 100%;
        max-width: 150px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    &__editor-wrapper {
        resize: vertical;
        overflow: hidden;

        min-height: 62px;
        height: 100%;

        .monaco-editor {
            min-height: 60px;
        }
    }

    &__query-param-name {
        width: calc(50% - 6px - 14px - 12px);
        margin-right: 12px;
        margin-bottom: 20px;
        display: inline-flex;
    }

    &__query-param-default-value {
        width: calc(50% - 6px - 14px);
        margin-bottom: 20px;
        display: inline-flex;
    }

    &__query-remove-param-btn {
        float: right;
        display: block;
    }

    &__query-row-collapse {
        .dl-collapse__header {
            display: flex;
            justify-content: space-between;
            align-items: center;

            line-height: 35px;
        }
    }

    &__query-more-btn {
        margin-right: 10px;
    }

    .dl-lazy-monaco__fallback {
        justify-content: center;
        height: 100%;
    }
}
