.feedback-page-title-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.feedback-review-products-list {
    overflow-x: auto;
    margin: 8px 0;
    border: 1px solid #e4e7ec;
    border-radius: 8px;
    background: #fff;
}

.feedback-find-product-button {
    min-height: 30px;
    margin: 0 0 10px 6px;
    padding: 4px 9px;
    font-size: 11px;
}

.feedback-coverage-note {
    margin: 0 0 8px;
    color: #667085;
    font-size: 10px;
    line-height: 1.35;
}

.feedback-review-products-table {
    width: 100%;
    min-width: 1050px;
    border-collapse: collapse;
    font-size: 12px;
}

.feedback-review-products-table th,
.feedback-review-products-table td {
    padding: 8px 9px;
    border-bottom: 1px solid #edf0f3;
    text-align: left;
    vertical-align: middle;
}

.feedback-review-products-table th {
    color: #667085;
    background: #f8fafc;
    font-size: 10px;
    font-weight: 600;
    white-space: nowrap;
}

.feedback-coverage-row {
    cursor: pointer;
    transition: background-color .12s ease;
}

.feedback-coverage-row:hover,
.feedback-coverage-row:focus-visible {
    background: #f7f9fc;
}

.feedback-coverage-row:focus-visible {
    outline: 2px solid #84adff;
    outline-offset: -2px;
}

.feedback-coverage-row > td:first-child { border-left: 3px solid transparent; }
.feedback-coverage-row--ozon > td:first-child { border-left-color: #005bff; }
.feedback-coverage-row--wildberries > td:first-child { border-left-color: #cb11ab; }
.feedback-coverage-row--yandex > td:first-child { border-left-color: #ffcc00; }

.feedback-coverage-product {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 210px;
    max-width: 300px;
}

.feedback-coverage-product img {
    position: relative;
    z-index: 1;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    border-radius: 5px;
    object-fit: cover;
    transition: transform .16s ease, box-shadow .16s ease;
    cursor: zoom-in;
}

.feedback-coverage-product img:hover {
    z-index: 20;
    transform: scale(2.8);
    border: 2px solid #fff;
    box-shadow: 0 5px 20px rgba(16, 24, 40, .28);
}

.feedback-coverage-account {
    white-space: nowrap;
}

.feedback-coverage-account .marketplace-badge {
    margin-right: 5px;
}

.feedback-coverage-marketplace-link {
    margin: 2px;
    vertical-align: middle;
}

.feedback-coverage-product strong {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-height: 1.3;
}

.feedback-coverage-actions {
    white-space: nowrap;
}

.feedback-coverage-actions button {
    min-height: 28px;
    margin: 2px;
    padding: 4px 7px;
    font-size: 10px;
}

.feedback-product-scope {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin: 8px 0;
    padding: 8px 10px;
    border: 1px solid #cbd5e1;
    border-radius: 7px;
    color: #334155;
    background: #f8fafc;
    font-size: 11px;
}

.feedback-product-scope button {
    min-height: 26px;
    padding: 3px 7px;
    font-size: 10px;
}

.feedback-coverage-stock > span:last-child {
    display: flex;
    align-items: center;
    gap: 5px;
    min-height: 34px;
    color: #475569;
    font-size: 11px;
}

.feedback-coverage-stock input {
    width: auto;
    margin: 0;
}

.feedback-tabs {
    display: inline-flex;
    gap: 4px;
    margin: 0 0 12px;
    padding: 3px;
    background: #eef1f4;
    border-radius: 7px;
}

.feedback-tab {
    min-height: 30px;
    padding: 4px 12px;
    background: transparent;
    border: 0;
    font-size: 12px;
}

.feedback-tab.active {
    color: #111827;
    background: #fff;
    box-shadow: 0 1px 3px rgba(17, 24, 39, .08);
    font-weight: 600;
}

.feedback-filters {
    display: grid;
    grid-template-columns: 150px minmax(180px, 1fr) 140px 110px minmax(230px, 1.5fr) 92px;
    gap: 8px;
    align-items: end;
    margin-bottom: 10px;
}

.feedback-filters label {
    min-width: 0;
}

.feedback-filters select,
.feedback-filters input {
    width: 100%;
}

.feedback-rating-filter.hidden-slot {
    visibility: hidden;
}

.feedback-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 8px 0;
    color: #737e8f;
    font-size: 12px;
}

.feedback-list {
    display: grid;
    gap: 8px;
}

.feedback-card {
    display: grid;
    grid-template-columns: minmax(165px, .7fr) minmax(210px, 1fr) minmax(300px, 2fr) minmax(165px, .7fr);
    gap: 14px;
    padding: 13px 14px;
    background: #fff;
    border: 1px solid #e2e5e9;
    border-radius: 7px;
}

.feedback-card:hover {
    border-color: #d4d9e0;
}

.feedback-meta,
.feedback-product,
.feedback-body,
.feedback-side {
    min-width: 0;
}

.feedback-meta,
.feedback-product,
.feedback-side {
    display: grid;
    align-content: start;
    gap: 5px;
    font-size: 12px;
}

.feedback-provider-line {
    display: flex;
    align-items: center;
    gap: 7px;
}

.feedback-account {
    overflow: hidden;
    color: #586273;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.feedback-product strong {
    overflow: hidden;
    color: #283241;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.feedback-product-id,
.feedback-author,
.feedback-date {
    color: #7a8495;
    font-size: 11px;
}

.feedback-body {
    display: grid;
    gap: 8px;
}

.feedback-text {
    margin: 0;
    color: #303947;
    font-size: 13px;
    line-height: 1.45;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.feedback-answer {
    padding: 8px 9px;
    color: #536174;
    background: #f6f8fa;
    border-left: 2px solid #cbd5df;
    border-radius: 0 5px 5px 0;
    font-size: 12px;
    line-height: 1.4;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.feedback-stars {
    color: #9a6d12;
    letter-spacing: 1px;
    font-size: 13px;
}

.feedback-status {
    width: fit-content;
}

.feedback-status.pending {
    color: #8a5a13;
    background: #fff6dd;
}

.feedback-reply-button {
    width: fit-content;
    min-height: 40px;
    margin-top: 5px;
    padding: 8px 14px;
    font-weight: 700;
    box-shadow: 0 2px 6px rgba(17, 24, 39, .14);
}

.feedback-reply-button:hover:not(:disabled) {
    filter: brightness(.96);
}

.feedback-reply-button:focus-visible {
    outline: 3px solid currentColor;
    outline-offset: 2px;
}

.feedback-reply-button:disabled {
    opacity: .6;
    box-shadow: none;
}

.feedback-reply-editor {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(180px, .65fr) minmax(320px, 2fr) auto;
    align-items: end;
    gap: 10px;
    padding-top: 12px;
    border-top: 1px solid #edf0f3;
}

.feedback-reply-editor label {
    min-width: 0;
    display: grid;
    gap: 5px;
    color: #596474;
    font-size: 11px;
}

.feedback-reply-editor select,
.feedback-reply-editor textarea {
    width: 100%;
}

.feedback-reply-editor textarea {
    min-height: 86px;
    resize: vertical;
    font: inherit;
}

.feedback-reply-actions {
    display: flex;
    align-items: center;
    gap: 7px;
    padding-bottom: 1px;
}

.feedback-reply-actions button {
    white-space: nowrap;
}

.feedback-empty {
    padding: 28px 16px;
    color: #7a8495;
    background: #fff;
    border: 1px solid #e2e5e9;
    border-radius: 7px;
    text-align: center;
}

.feedback-pagination {
    margin-top: 10px;
}

@media (max-width: 1100px) {
    .feedback-filters {
        grid-template-columns: repeat(3, minmax(150px, 1fr));
    }

    .feedback-card {
        grid-template-columns: minmax(150px, .7fr) minmax(200px, 1fr) minmax(280px, 1.7fr);
    }

    .feedback-side {
        grid-column: 1 / -1;
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .feedback-reply-editor {
        grid-template-columns: 1fr 2fr;
    }

    .feedback-reply-actions {
        grid-column: 1 / -1;
        justify-content: flex-end;
    }
}

@media (max-width: 760px) {
    .feedback-filters {
        grid-template-columns: repeat(2, minmax(140px, 1fr));
    }

    .feedback-card {
        grid-template-columns: 1fr;
    }

    .feedback-side {
        grid-column: auto;
        display: grid;
    }

    .feedback-reply-button {
        width: 100%;
    }

    .feedback-reply-editor {
        grid-template-columns: 1fr;
    }

    .feedback-reply-actions {
        grid-column: auto;
        justify-content: flex-start;
    }
}

/* Compact feedback workspace with product media and stable AI editor layout. */

.feedback-card {
    grid-template-columns: 120px minmax(260px, .9fr) minmax(360px, 1.5fr) 190px;
    gap: 12px;
    padding: 12px;
    border-radius: 10px;
}

.feedback-product {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
}

.feedback-product-image-button,
.feedback-product-image-placeholder {
    width: 58px;
    height: 58px;
    grid-row: 1;
    display: grid;
    place-items: center;
    padding: 0;
    overflow: hidden;
    border: 1px solid #e2e7ed;
    border-radius: 8px;
    background: #f7f8fa;
}

.feedback-product-image-button {
    cursor: zoom-in;
}

.feedback-product-image-button:hover {
    border-color: #b8c1cc;
}

.feedback-product-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    background: #fff;
}

.feedback-product-image-placeholder {
    color: #98a2b3;
    font-size: 9px;
    text-align: center;
}

.feedback-product-details {
    min-width: 0;
    display: grid;
    gap: 5px;
    align-content: start;
    padding: 2px 0;
    border: 0;
    background: transparent;
    color: inherit;
    text-align: left;
    font: inherit;
}

.feedback-product-details.is-clickable {
    cursor: pointer;
}

.feedback-product-details.is-clickable:hover strong {
    color: #155eef;
}

.feedback-product-details.is-clickable:focus-visible {
    outline: 2px solid #84adff;
    outline-offset: 3px;
    border-radius: 4px;
}

.feedback-product-details strong {
    display: -webkit-box;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-height: 1.35;
}

.feedback-side {
    justify-items: start;
}

.feedback-reply-button {
    width: 100%;
    min-height: 36px;
    margin-top: 2px;
    padding: 7px 10px;
    box-shadow: none;
}

.feedback-reply-editor {
    grid-template-columns: 170px minmax(0, 1fr);
    align-items: start;
    gap: 9px 12px;
    padding: 12px;
    margin-top: 2px;
    border: 1px solid #e7eaee;
    border-radius: 9px;
    background: #fbfcfd;
}

.feedback-reply-editor textarea {
    min-height: 78px;
}

.feedback-reply-editor .feedback-ai-loading,
.feedback-reply-editor .feedback-ai-preview {
    grid-column: 1 / -1;
    margin-top: 0;
}

.feedback-reply-editor .feedback-ai-preview {
    gap: 7px;
    padding: 10px 11px;
    border-radius: 8px;
    background: #f7f9fb;
}

.feedback-reply-editor .feedback-ai-preview-text {
    padding: 0;
    border: 0;
    background: transparent;
    font-size: 12px;
    line-height: 1.45;
}

.feedback-reply-editor .feedback-ai-confidence-reasons,
.feedback-reply-editor .feedback-ai-preview-note {
    display: none;
}

.feedback-reply-editor .feedback-ai-preview-actions {
    gap: 6px;
}

.feedback-reply-editor .feedback-ai-preview-actions button {
    min-height: 28px;
    padding: 4px 8px;
}

.feedback-reply-actions {
    grid-column: 1 / -1;
    justify-content: flex-end;
    padding: 0;
}

.feedback-image-modal {
    width: min(92vw, 1100px);
    max-width: 1100px;
    max-height: 92vh;
    padding: 14px;
    border: 0;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 24px 80px rgba(15, 23, 42, .28);
}

.feedback-image-modal::backdrop {
    background: rgba(15, 23, 42, .72);
}

.feedback-image-modal-content {
    display: block;
    max-width: 100%;
    max-height: calc(92vh - 28px);
    margin: auto;
    object-fit: contain;
}

.feedback-image-modal-close {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 1;
    width: 34px;
    height: 34px;
    min-height: 0;
    padding: 0;
    border: 1px solid #d7dce3;
    border-radius: 999px;
    background: rgba(255, 255, 255, .96);
    font-size: 22px;
    line-height: 1;
}

@media (max-width: 1180px) {
    .feedback-card {
        grid-template-columns: 110px minmax(230px, .9fr) minmax(300px, 1.3fr);
    }

    .feedback-side {
        grid-column: 1 / -1;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .feedback-reply-button {
        width: auto;
        margin-left: auto;
    }
}

@media (max-width: 760px) {
    .feedback-card {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .feedback-product {
        grid-template-columns: 56px minmax(0, 1fr);
    }

    .feedback-side {
        grid-column: auto;
        display: grid;
    }

    .feedback-reply-button {
        width: 100%;
        margin-left: 0;
    }

    .feedback-reply-editor {
        grid-template-columns: 1fr;
        padding: 10px;
    }

    .feedback-reply-editor .feedback-ai-loading,
    .feedback-reply-editor .feedback-ai-preview,
    .feedback-reply-actions {
        grid-column: auto;
    }
}


/* Feedback workspace minimal layout v0204. */
.feedback-card {
    grid-template-columns: 96px minmax(230px, .8fr) minmax(340px, 1.8fr) 132px;
    gap: 10px;
    padding: 10px 11px;
    border-radius: 8px;
}

.feedback-meta,
.feedback-product,
.feedback-side {
    gap: 4px;
    font-size: 11px;
}

.feedback-account,
.feedback-product-id,
.feedback-author,
.feedback-date {
    font-size: 10px;
}

.feedback-product {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 8px;
}

.feedback-product-image-button,
.feedback-product-image-placeholder {
    width: 48px;
    height: 48px;
    border-radius: 7px;
}

.feedback-product-image-button {
    cursor: zoom-in;
}

.feedback-product-details {
    gap: 3px;
    padding: 0;
}

.feedback-product-details strong {
    font-size: 12px;
    line-height: 1.3;
}

.feedback-body {
    gap: 5px;
}

.feedback-text {
    font-size: 12px;
    line-height: 1.4;
}

.feedback-answer {
    padding: 6px 8px;
    font-size: 11px;
}

.feedback-side {
    justify-items: end;
    text-align: right;
}

.feedback-stars {
    font-size: 12px;
}

.feedback-status,
.feedback-ai-card-status {
    font-size: 10px;
    line-height: 1.2;
}

.feedback-reply-button {
    width: auto;
    min-height: 30px;
    margin-top: 1px;
    padding: 5px 9px;
    font-size: 11px;
    font-weight: 600;
}

.feedback-reply-editor {
    grid-column: 3 / -1;
    display: grid;
    grid-template-columns: 138px minmax(0, 1fr);
    align-items: stretch;
    gap: 7px 8px;
    margin: 0;
    padding: 8px 0 0;
    border: 0;
    border-top: 1px solid #edf0f3;
    border-radius: 0;
    background: transparent;
}

.feedback-reply-editor label {
    gap: 0;
}

.feedback-reply-template,
.feedback-reply-text {
    display: block;
}

.feedback-reply-editor select,
.feedback-reply-editor textarea {
    min-height: 32px;
    border-radius: 7px;
    font-size: 12px;
}

.feedback-reply-editor textarea {
    min-height: 64px;
    max-height: 150px;
    padding: 8px 10px;
    resize: vertical;
}

.feedback-reply-editor .feedback-ai-loading {
    grid-column: 1 / -1;
    display: grid;
    gap: 5px;
    margin: 0;
    padding: 6px 8px;
    border-radius: 6px;
    font-size: 11px;
}

.feedback-ai-loading-label {
    overflow: hidden;
    color: #667085;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.feedback-ai-progress {
    width: 100%;
    height: 4px;
    overflow: hidden;
    border-radius: 999px;
    background: #e5e7eb;
}

.feedback-ai-progress-bar {
    width: 5%;
    height: 100%;
    border-radius: inherit;
    background: #64748b;
    transition: width .45s linear;
}

.feedback-reply-editor .feedback-ai-preview {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin: 0;
    padding: 5px 7px;
    border: 1px solid #e5e9ef;
    border-radius: 7px;
    background: #f8fafc;
}

.feedback-reply-editor .feedback-ai-preview-head {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    font-size: 11px;
}

.feedback-reply-editor .feedback-ai-preview-text,
.feedback-reply-editor .feedback-ai-preview-meta,
.feedback-reply-editor .feedback-ai-confidence-reasons,
.feedback-reply-editor .feedback-ai-preview-note {
    display: none;
}

.feedback-reply-editor .feedback-ai-confidence {
    padding: 2px 5px;
    font-size: 9px;
}

.feedback-reply-editor .feedback-ai-preview-actions {
    display: flex;
    flex-wrap: nowrap;
    gap: 4px;
    margin: 0;
}

.feedback-reply-editor .feedback-ai-preview-actions button,
.feedback-reply-editor .feedback-ai-draft-button,
.feedback-reply-actions button {
    min-height: 27px;
    padding: 4px 7px;
    font-size: 10px;
    font-weight: 500;
}

.feedback-reply-actions {
    grid-column: 1 / -1;
    display: flex;
    justify-content: flex-end;
    gap: 5px;
    padding: 0;
}

@media (max-width: 1180px) {
    .feedback-card {
        grid-template-columns: 92px minmax(210px, .8fr) minmax(300px, 1.5fr);
    }

    .feedback-side {
        grid-column: 1 / -1;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 8px;
        text-align: left;
    }

    .feedback-reply-editor {
        grid-column: 2 / -1;
    }
}

@media (max-width: 760px) {
    .feedback-card {
        grid-template-columns: 1fr;
    }

    .feedback-side {
        grid-column: auto;
        justify-content: flex-start;
    }

    .feedback-reply-editor {
        grid-column: auto;
        grid-template-columns: 1fr;
    }

    .feedback-reply-editor .feedback-ai-loading,
    .feedback-reply-editor .feedback-ai-preview,
    .feedback-reply-actions {
        grid-column: auto;
    }

    .feedback-reply-editor .feedback-ai-preview {
        align-items: flex-start;
        flex-direction: column;
    }
}


/* Feedback compact editor v0205. */
.feedback-list {
    gap: 4px;
}

.feedback-card {
    grid-template-columns: 86px minmax(210px, .9fr) minmax(320px, 2.2fr) 118px;
    gap: 8px;
    align-items: start;
    padding: 7px 8px;
    border-radius: 7px;
}

.feedback-meta,
.feedback-product,
.feedback-side {
    gap: 2px;
}

.feedback-meta {
    padding-top: 1px;
}

.feedback-account,
.feedback-product-id,
.feedback-author,
.feedback-date {
    font-size: 9px;
    line-height: 1.25;
}

.feedback-product {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 7px;
}

.feedback-product-image-button,
.feedback-product-image-placeholder {
    width: 44px;
    height: 44px;
    border-radius: 6px;
}

.feedback-product-details strong {
    -webkit-line-clamp: 2;
    font-size: 11px;
    line-height: 1.28;
}

.feedback-product-id {
    margin-top: 1px;
}

.feedback-body {
    gap: 4px;
    align-self: start;
}

.feedback-text {
    font-size: 11px;
    line-height: 1.35;
}

.feedback-answer {
    padding: 5px 7px;
    font-size: 10px;
    line-height: 1.35;
}

.feedback-side {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
    text-align: right;
}

.feedback-stars {
    font-size: 11px;
    line-height: 1;
}

.feedback-status {
    min-height: 18px;
    padding: 2px 6px;
    font-size: 9px;
}

.feedback-reply-button {
    width: auto;
    min-height: 27px;
    margin-top: 2px;
    padding: 4px 8px;
    font-size: 10px;
    font-weight: 600;
    box-shadow: none;
}

.feedback-reply-editor {
    grid-column: 3 / -1;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 5px;
    margin: -1px 0 0;
    padding: 5px 0 0;
    border: 0;
    border-top: 1px solid #edf0f3;
    border-radius: 0;
    background: transparent;
}

.feedback-reply-text {
    display: block;
    min-width: 0;
}

.feedback-reply-editor textarea {
    width: 100%;
    min-height: 64px;
    max-height: 160px;
    padding: 7px 9px;
    border-radius: 6px;
    box-sizing: border-box;
    resize: none;
    overflow-y: hidden;
    font-size: 11px;
    line-height: 1.35;
}

.feedback-reply-actions {
    grid-column: auto;
    display: flex;
    align-items: center;
    gap: 5px;
    min-width: 0;
    padding: 0;
}

.feedback-reply-actions select,
.feedback-reply-actions button {
    min-height: 27px;
    padding: 3px 7px;
    border-radius: 6px;
    font-size: 10px;
    line-height: 1.2;
}

.feedback-reply-template {
    width: 128px;
    max-width: 28%;
    flex: 0 1 128px;
}

.feedback-ai-inline-status {
    display: inline-flex;
    align-items: center;
    min-height: 20px;
    padding: 2px 6px;
    border-radius: 999px;
    background: #f1f5f9;
    color: #667085;
    font-size: 9px;
    line-height: 1;
    white-space: nowrap;
}

.feedback-ai-inline-status.hidden {
    display: none;
}

.feedback-ai-regenerate-button {
    flex: 0 0 auto;
    background: #fff;
}

.feedback-reply-cancel {
    margin-left: auto;
}

.feedback-reply-send {
    min-width: 70px;
}

.feedback-reply-editor .feedback-ai-loading {
    grid-column: auto;
    gap: 4px;
    margin: 0;
    padding: 3px 0 1px;
    border: 0;
    background: transparent;
    font-size: 9px;
}

.feedback-ai-loading-label {
    font-size: 9px;
}

.feedback-ai-progress {
    height: 3px;
}

.feedback-ai-preview,
.feedback-ai-draft-button {
    display: none !important;
}

.feedback-card .feedback-ai-card-status {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    min-height: 17px;
    padding: 2px 5px;
    border-radius: 999px;
    color: #1d4ed8;
    background: #dbeafe;
    font-size: 8.5px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
}

@media (max-width: 1440px) {
    .feedback-card {
        grid-template-columns: 82px minmax(200px, .9fr) minmax(300px, 2fr) 112px;
        gap: 7px;
    }

    .feedback-product {
        grid-template-columns: 42px minmax(0, 1fr);
    }

    .feedback-product-image-button,
    .feedback-product-image-placeholder {
        width: 42px;
        height: 42px;
    }
}

@media (max-width: 1180px) {
    .feedback-card {
        grid-template-columns: 80px minmax(190px, .9fr) minmax(280px, 1.8fr);
    }

    .feedback-side {
        grid-column: 1 / -1;
        flex-direction: row;
        align-items: center;
        justify-content: flex-end;
        gap: 6px;
        text-align: left;
    }

    .feedback-reply-editor {
        grid-column: 2 / -1;
    }
}

@media (max-width: 760px) {
    .feedback-card {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .feedback-product {
        grid-template-columns: 44px minmax(0, 1fr);
    }

    .feedback-side,
    .feedback-reply-editor {
        grid-column: auto;
    }

    .feedback-side {
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .feedback-reply-actions {
        flex-wrap: wrap;
    }

    .feedback-reply-template {
        width: min(180px, 100%);
        max-width: 100%;
        flex-basis: 160px;
    }

    .feedback-reply-cancel {
        margin-left: 0;
    }
}


/* Review complaint capability/fallback v0208. */
.feedback-complaint-button {
    width: auto;
    min-height: 25px;
    margin-top: 2px;
    padding: 3px 7px;
    border: 1px solid #d6dbe2;
    background: #fff;
    color: #596474;
    font-size: 9px;
    font-weight: 600;
}

.feedback-complaint-status {
    color: #475569;
    background: #eef2f6;
    font-size: 8.5px;
}

.feedback-complaint-panel {
    grid-column: 3 / -1;
    display: grid;
    gap: 6px;
    margin: -1px 0 0;
    padding: 7px 0 0;
    border-top: 1px solid #edf0f3;
    color: #4b5563;
    font-size: 10px;
    line-height: 1.35;
}

.feedback-complaint-panel strong {
    color: #283241;
    font-size: 11px;
}

.feedback-complaint-note,
.feedback-complaint-policy,
.feedback-complaint-loading,
.feedback-complaint-error {
    display: block;
}

.feedback-complaint-note.ok {
    color: #166534;
}

.feedback-complaint-policy {
    color: #7a8495;
}

.feedback-complaint-error {
    color: #991b1b;
}

.feedback-complaint-reason {
    display: grid;
    gap: 3px;
    max-width: 520px;
}

.feedback-complaint-reason select {
    min-height: 30px;
    font-size: 10px;
}

.feedback-complaint-confirm {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    max-width: 720px;
    color: #475569;
}

.feedback-complaint-confirm input {
    flex: 0 0 auto;
    width: auto;
    margin-top: 2px;
}

.feedback-complaint-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.feedback-complaint-actions button,
.feedback-complaint-actions .button-like {
    min-height: 27px;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 10px;
    line-height: 1.2;
}

.feedback-complaint-actions .button-like {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    border: 1px solid #cbd5e1;
    text-decoration: none;
}

.feedback-complaint-actions .button-like.primary {
    border-color: #1f2937;
    color: #fff;
    background: #1f2937;
}

@media (max-width: 1180px) {
    .feedback-complaint-panel {
        grid-column: 2 / -1;
    }
}

@media (max-width: 760px) {
    .feedback-complaint-panel {
        grid-column: auto;
    }
}
