@supports (field-sizing: content) {
    textarea.s-input-enum-other,
    textarea.text-input-length-counter {
        field-sizing: content;
        /* Theme presets fix height; their minimum height still defines the empty field. */
        height: auto !important;
        min-height: 2lh;
        resize: none;
    }
}

.kq-wait-dialog {
    box-sizing: border-box;
    width: 300px;
    max-width: calc(100vw - 24px);
    padding: 1em;
    border: 1px solid #aaa;
    border-radius: 4px;
    background: #fff;
    color: #222;
    font: 1.1em Verdana, Arial, sans-serif;
    text-align: center;
}

.kq-wait-dialog::backdrop {
    background: rgb(170 170 170 / 30%);
}

.kq-wait-dialog img {
    margin-top: 10px;
}

.kq-scroll-table {
    max-height: 200px;
    overflow: auto;
}

.kq-scroll-table table {
    width: 100%;
    border-collapse: collapse;
}

.kq-scroll-table thead {
    position: sticky;
    top: 0;
    background: #fff;
}
