.review-panel {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid #e1e8eb;
}

.review-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.review-summary strong {
    display: block;
    color: #17232b;
}

.review-summary span,
.review-empty,
.review-locked,
.review-item small {
    color: #63737b;
    font-size: 0.86rem;
}

.review-toggle,
.review-submit,
.review-account-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 36px;
    padding: 8px 12px;
    border: 0;
    border-radius: 6px;
    color: #fff;
    background: #176d6a;
    font: inherit;
    font-size: 0.88rem;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
}

.review-toggle:hover,
.review-submit:hover,
.review-account-link:hover {
    background: #105653;
}

.review-form {
    display: grid;
    gap: 10px;
    margin-top: 12px;
    padding: 12px;
    background: #f6faf9;
    border: 1px solid #dce8e8;
    border-radius: 6px;
}

.review-form[hidden] {
    display: none !important;
}

.review-form label {
    display: grid;
    gap: 6px;
    color: #31424c;
    font-size: 0.86rem;
    font-weight: 800;
}

.review-form select,
.review-form textarea {
    width: 100%;
    border: 1px solid #cbd7dc;
    border-radius: 6px;
    padding: 10px;
    color: #17232b;
    background: #fff;
    font: inherit;
}

.review-form textarea {
    resize: vertical;
}

.review-list {
    display: grid;
    gap: 10px;
    margin-top: 12px;
}

.review-item {
    padding: 12px;
    background: #fff;
    border: 1px solid #e1e8eb;
    border-radius: 6px;
}

.review-item-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.review-item-header span {
    color: #b45309;
    font-weight: 900;
    white-space: nowrap;
}

.review-item p {
    margin: 8px 0 6px;
    color: #33454e;
    line-height: 1.45;
}

.review-locked {
    margin: 0;
}

@media (max-width: 560px) {
    .review-summary,
    .review-item-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .review-toggle,
    .review-submit,
    .review-account-link {
        width: 100%;
    }
}
