.vv-title.xnv-vts-title-row {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    position: relative;
}

.vv-title.xnv-vts-title-row h1 {
    flex: 1 1 220px;
    min-width: 0;
}

.vv-title.xnv-vts-title-row.xnv-vts-editing h1 {
    display: none;
}

.xnv-vts-widget {
    flex: 0 0 auto;
    margin-left: auto;
    min-width: 0;
    position: relative;
}

.xnv-vts-widget.xnv-vts-is-editing {
    flex: 1 1 100%;
    margin-left: 0;
    width: 100%;
}

html[dir="rtl"] .xnv-vts-widget {
    margin-left: 0;
    margin-right: auto;
}

html[dir="rtl"] .xnv-vts-widget.xnv-vts-is-editing {
    margin-right: 0;
}

.xnv-vts-hp,
.xnv-vts-sr-only {
    clip: rect(0 0 0 0) !important;
    clip-path: inset(50%) !important;
    height: 1px !important;
    overflow: hidden !important;
    position: absolute !important;
    white-space: nowrap !important;
    width: 1px !important;
}

.xnv-vts-edit,
.xnv-vts-pending {
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: 0;
    color: #bdbdbd;
    display: inline-flex;
    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
    gap: 6px;
    line-height: 1.25;
    margin: 0;
    min-height: 34px;
    padding: 4px 0;
    text-align: left;
    text-decoration: none;
}

html[dir="rtl"] .xnv-vts-edit,
html[dir="rtl"] .xnv-vts-pending {
    text-align: right;
}

.xnv-vts-edit {
    cursor: pointer;
}

.xnv-vts-edit:hover,
.xnv-vts-edit:focus-visible {
    color: #fff;
    outline: 0;
}

.xnv-vts-is-editing .xnv-vts-edit {
    display: none;
}

.xnv-vts-action-icon {
    align-items: center;
    display: inline-flex;
    flex: 0 0 18px;
    height: 18px;
    justify-content: center;
    width: 18px;
}

.xnv-vts-action-icon svg {
    fill: none;
    height: 15px;
    stroke: currentColor;
    stroke-linecap: square;
    stroke-linejoin: miter;
    stroke-width: 1.7;
    width: 15px;
}

.xnv-vts-action-text {
    max-width: 125px;
}

.xnv-vts-pending {
    color: #d0d0d0;
    cursor: default;
}

.xnv-vts-inline-form[hidden] {
    display: none !important;
}

.xnv-vts-inline-form {
    box-sizing: border-box;
    width: 100%;
}

.xnv-vts-input-wrap {
    position: relative;
}

.xnv-vts-inline-form .textfield {
    appearance: none;
    background: transparent;
    border: 0;
    border-bottom: 1px solid #5b5b5d;
    border-radius: 0;
    box-sizing: border-box;
    color: #fff;
    font-family: inherit;
    font-size: 20px;
    font-weight: 400;
    height: 42px;
    line-height: 1.25;
    padding: 0 70px 6px 0;
    width: 100%;
}

html[dir="rtl"] .xnv-vts-inline-form .textfield {
    padding-left: 70px;
    padding-right: 0;
    text-align: right;
}

.xnv-vts-inline-form .textfield:focus {
    border-bottom-color: #fff;
    box-shadow: none;
    outline: 0;
}

.xnv-vts-count {
    bottom: 10px;
    color: #777;
    font-size: 10px;
    line-height: 1;
    pointer-events: none;
    position: absolute;
    right: 0;
}

html[dir="rtl"] .xnv-vts-count {
    left: 0;
    right: auto;
}

.xnv-vts-inline-form .field-error,
.xnv-vts-inline-form .generic-error {
    color: #d8d8d8;
    font-size: 11px;
    line-height: 1.4;
    margin: 6px 0;
}

.xnv-vts-inline-meta {
    align-items: flex-start;
    display: flex;
    gap: 12px;
    justify-content: space-between;
    margin-top: 8px;
}

.xnv-vts-help {
    color: #8d8d8d;
    flex: 1 1 auto;
    font-size: 10px;
    line-height: 1.45;
    margin: 2px 0 0;
}

.xnv-vts-actions {
    display: flex;
    flex: 0 0 auto;
    gap: 7px;
}

.xnv-vts-cancel,
.xnv-vts-inline-form .xnv-vts-submit {
    appearance: none;
    border-radius: 0;
    cursor: pointer;
    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
    min-height: 32px;
    padding: 7px 12px;
    width: auto;
}

.xnv-vts-cancel {
    background: transparent;
    border: 1px solid #444;
    color: #bbb;
}

.xnv-vts-inline-form .xnv-vts-submit {
    background: #f2f2f2;
    border: 1px solid #f2f2f2;
    color: #111;
}

.xnv-vts-cancel:hover,
.xnv-vts-cancel:focus-visible {
    border-color: #777;
    color: #fff;
    outline: 0;
}

.xnv-vts-inline-form .xnv-vts-submit:hover,
.xnv-vts-inline-form .xnv-vts-submit:focus-visible {
    background: #fff;
    border-color: #fff;
    outline: 1px solid #777;
    outline-offset: 2px;
}

@media (max-width: 767px) {
    .vv-title.xnv-vts-title-row {
        align-items: center;
        flex-wrap: nowrap;
        gap: 8px;
    }

    .vv-title.xnv-vts-title-row h1 {
        flex: 1 1 auto;
    }

    .vv-title.xnv-vts-title-row.xnv-vts-editing {
        display: block;
    }

    .xnv-vts-widget {
        margin-left: auto;
        max-width: 46%;
    }

    html[dir="rtl"] .xnv-vts-widget {
        margin-left: 0;
        margin-right: auto;
    }

    .xnv-vts-widget.xnv-vts-is-editing {
        max-width: none;
        width: 100%;
    }

    .xnv-vts-edit,
    .xnv-vts-pending {
        font-size: 11px;
        gap: 5px;
        max-width: 140px;
        min-height: 34px;
    }

    .xnv-vts-action-text {
        max-width: 105px;
    }

    .xnv-vts-inline-form .textfield {
        font-size: 17px;
        height: 40px;
        padding-bottom: 5px;
    }

    .xnv-vts-inline-meta {
        align-items: stretch;
        display: block;
        margin-top: 7px;
    }

    .xnv-vts-help {
        margin: 0 0 8px;
    }

    .xnv-vts-actions {
        justify-content: flex-end;
    }

    html[dir="rtl"] .xnv-vts-actions {
        justify-content: flex-start;
    }

    .xnv-vts-cancel,
    .xnv-vts-inline-form .xnv-vts-submit {
        min-height: 32px;
        padding: 7px 11px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .xnv-vts-edit,
    .xnv-vts-inline-form .textfield,
    .xnv-vts-cancel,
    .xnv-vts-inline-form .xnv-vts-submit {
        transition: none !important;
    }
}
