.pq-wrapper {
    margin: 32px 0;
    padding: 24px;
    border: 1px solid #e4e7ec;
    border-radius: 18px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    color: #1f2937;
}

.pq-wrapper_context-tab {
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
}

.pq-heading {
    margin: 0 0 16px;
    font-size: 28px;
    line-height: 1.2;
}

.pq-intro {
    margin-bottom: 20px;
    color: #4b5563;
    line-height: 1.55;
}

.pq-list {
    display: grid;
    gap: 16px;
}

.pq-item {
    padding: 20px;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.035);
}

.pq-question-row,
.pq-answer__row {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.pq-avatar {
    display: block;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    border-radius: 50%;
    object-fit: cover;
}

.pq-message {
    min-width: 0;
    flex: 1 1 auto;
}

.pq-item__meta,
.pq-answer__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px 12px;
    margin-bottom: 8px;
    font-size: 14px;
    line-height: 1.35;
}

.pq-item__author,
.pq-answer__title {
    font-weight: 700;
    color: #111827;
}

.pq-item__date,
.pq-answer__date {
    color: #8a94a3;
}

.pq-question,
.pq-answer__text {
    line-height: 1.65;
    overflow-wrap: anywhere;
}

.pq-answer {
    margin: 18px 0 0 62px;
    padding: 16px;
    border: 1px solid #e3e9f5;
    border-radius: 14px;
    background: #f6f8fd;
}

.pq-answer__title {
    color: #163f98;
}

.pq-empty {
    padding: 18px;
    border-radius: 16px;
    background: #ffffff;
    border: 1px dashed #cbd5e1;
    color: #64748b;
}

.pq-form-section {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #dbe3ec;
}

.pq-form {
    display: grid;
    gap: 16px;
}

.pq-field {
    display: grid;
    gap: 8px;
}

.pq-field_checkbox {
    gap: 6px;
}

.pq-label {
    font-weight: 600;
    color: #111827;
}

.pq-input,
.pq-textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    background: #ffffff;
    box-sizing: border-box;
    font: inherit;
    color: #111827;
}

.pq-textarea {
    min-height: 140px;
    resize: vertical;
}

.pq-checkbox {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    line-height: 1.5;
}

.pq-checkbox a {
    color: #0f766e;
}

.pq-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 180px;
    padding: 12px 18px;
    border: 0;
    border-radius: 999px;
    background: #0f766e;
    color: #ffffff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.pq-submit:disabled {
    opacity: 0.6;
    cursor: default;
}

.pq-error,
.pq-form-status {
    color: #b91c1c;
    font-size: 14px;
    line-height: 1.4;
}

.pq-success {
    margin-top: 14px;
    padding: 12px 14px;
    border-radius: 12px;
    background: #ecfdf5;
    color: #065f46;
}

.pq-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.pq-captcha {
    min-height: 78px;
}

@media (max-width: 767px) {
    .pq-wrapper {
        padding: 18px;
        border-radius: 14px;
    }

    .pq-heading {
        font-size: 24px;
    }

    .pq-item {
        padding: 16px;
    }

    .pq-question-row,
    .pq-answer__row {
        gap: 11px;
    }

    .pq-avatar {
        width: 42px;
        height: 42px;
        flex-basis: 42px;
    }

    .pq-answer {
        margin-left: 0;
        padding: 14px;
    }

    .pq-submit {
        width: 100%;
    }
}
