.pmr-qa{max-width:100%;margin:24px 0;color:inherit}.pmr-qa-toolbar{display:flex;gap:12px;justify-content:space-between;align-items:center;flex-wrap:wrap;margin:0 0 22px}.pmr-qa-toolbar form{display:flex;gap:8px;flex:1;min-width:220px}.pmr-qa input,.pmr-qa textarea,.pmr-qa select{box-sizing:border-box;max-width:100%;width:100%;padding:10px 12px;border:1px solid #cbd5e1;border-radius:6px;background:#fff;color:#1f2937}.pmr-qa button,.pmr-qa-button{display:inline-block;padding:9px 15px;border:0;border-radius:6px;background:#1769aa;color:#fff;text-decoration:none;cursor:pointer}.pmr-qa button:hover,.pmr-qa-button:hover{filter:brightness(.93);color:#fff}.pmr-qa-item,.pmr-qa-answer,.pmr-qa-form{padding:18px;margin:14px 0;border:1px solid #e2e8f0;border-radius:9px}.pmr-qa-item h3{margin:0 0 8px}.pmr-qa-meta{font-size:13px;color:#64748b;margin:0 0 10px}.pmr-qa-form label{display:block;margin:12px 0}.pmr-qa-form label input,.pmr-qa-form label textarea,.pmr-qa-form label select{display:block;margin-top:6px}.pmr-qa-notice{padding:12px;margin:12px 0;background:#eff6ff;border-left:4px solid #3b82f6}.pmr-qa-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-top:12px}.pmr-qa-inline{display:inline-block;margin:0}.pmr-qa-inline button{background:#eef2f7;color:#334155;padding:6px 10px}.pmr-qa-report{font-size:13px}.pmr-qa-report summary{cursor:pointer;color:#64748b}.pmr-qa-report form{display:grid;gap:8px;max-width:480px;margin:8px 0}.pmr-qa-best{padding:5px 9px;background:#dcfce7;color:#166534;border-radius:5px}.pmr-qa-pagination ul{display:flex;gap:6px;list-style:none;padding:0}.pmr-qa-pagination a,.pmr-qa-pagination span{padding:6px 10px;border:1px solid #ddd;border-radius:4px}.pmr-qa-single>.pmr-qa-form{margin-top:28px}.pmr-qa-answers{margin-top:30px}@media(max-width:600px){.pmr-qa-toolbar{align-items:stretch}.pmr-qa-toolbar form{min-width:100%}.pmr-qa-toolbar form button{white-space:nowrap}}

/* Reports: visible, accessible controls */
.pmr-qa-question-report{margin:18px 0 22px;padding:10px 14px;background:#fff8f1;border:1px solid #fed7aa;border-radius:8px}
.pmr-qa-report summary{display:inline-flex;align-items:center;gap:6px;padding:7px 11px;border:1px solid #d97706;border-radius:6px;color:#9a3412;font-weight:600;cursor:pointer;list-style:none}
.pmr-qa-report summary::-webkit-details-marker{display:none}
.pmr-qa-report[open]{padding:10px;background:#fffaf5;border-radius:8px}
.pmr-qa-report form{padding:10px 0}
.pmr-qa-report button{background:#a63b24}
.pmr-qa-report button:hover{background:#842d1b}
.pmr-qa-answer .pmr-qa-report{margin-left:4px}

/* Report control in question preview cards */
.pmr-qa-preview-actions{display:flex;justify-content:flex-end;align-items:center;margin-top:12px;padding-top:10px;border-top:1px solid #edf0f4}
.pmr-qa-preview-actions .pmr-qa-report{margin:0}
.pmr-qa-preview-actions .pmr-qa-report form{background:#fffaf5;border:1px solid #fed7aa;border-radius:7px;padding:10px}
.pmr-qa-preview-actions .pmr-qa-report summary{font-size:13px}


/* Основная навигация Q&A перед строкой поиска */
.pmr-qa-nav{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin:0 0 14px;padding:0 0 12px;border-bottom:1px solid #e5eaf0}
.pmr-qa-nav-link{display:inline-flex;align-items:center;justify-content:center;padding:8px 13px;border:1px solid #d7e0ea;border-radius:7px;background:#fff;color:#1769aa;text-decoration:none;font-size:14px;font-weight:600;line-height:1.35}
.pmr-qa-nav-link:hover,.pmr-qa-nav-link:focus{background:#f0f7fc;border-color:#1769aa;color:#12558b}
.pmr-qa-nav-primary{background:#1769aa;border-color:#1769aa;color:#fff}
.pmr-qa-nav-primary:hover,.pmr-qa-nav-primary:focus{background:#12558b;color:#fff}
.pmr-qa-meta a{color:inherit;text-decoration:underline;text-underline-offset:2px}
@media(max-width:600px){.pmr-qa-nav{gap:7px}.pmr-qa-nav-link{flex:1 1 auto;padding:8px 9px;font-size:13px}}

/* Ответить из карточки вопроса и голосование в превью ответов */
.pmr-qa-preview-actions{justify-content:space-between;gap:10px;flex-wrap:wrap}
.pmr-qa-answer-link{margin-right:auto}
.pmr-qa-answer-previews{margin-top:14px;padding:12px 14px;background:#f8fafc;border:1px solid #e5eaf0;border-radius:8px}
.pmr-qa-answer-previews-title{font-size:14px;font-weight:700;margin-bottom:8px;color:#334155}
.pmr-qa-answer-preview{padding:9px 0;border-top:1px solid #e5eaf0}
.pmr-qa-answer-preview:first-of-type{border-top:0}
.pmr-qa-answer-preview-text{font-size:14px;line-height:1.5}
.pmr-qa-preview-votes{display:flex;align-items:center;gap:7px;margin-top:7px}
.pmr-qa-preview-votes .pmr-qa-inline button{padding:4px 9px;font-size:13px}
.pmr-qa-preview-votes>span{font-size:13px;color:#64748b}

/* Голосование за вопросы: карточка списка и отдельная страница */
.pmr-qa-question-votes{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:12px 0 4px;padding:9px 11px;background:#f8fafc;border:1px solid #e5eaf0;border-radius:8px}
.pmr-qa-votes-label{font-size:13px;font-weight:600;color:#475569;margin-right:3px}
.pmr-qa-question-votes .pmr-qa-inline{display:inline-flex;margin:0}
.pmr-qa-question-votes .pmr-qa-inline button{padding:6px 11px;border:1px solid #d5dee8;border-radius:7px;background:#fff;color:#334155;cursor:pointer;font-size:14px}
.pmr-qa-question-votes .pmr-qa-inline button:hover{border-color:#1769aa;background:#eff6ff}
.pmr-qa-question-votes .pmr-qa-inline.is-active button{border-color:#1769aa;background:#e5f2fc;color:#12558b;font-weight:700}
.pmr-qa-vote-count{font-size:14px;color:#475569}
.pmr-qa-login-vote,.pmr-qa-vote-hint{font-size:12px;color:#64748b}
.pmr-qa-question-votes-single{margin:16px 0 22px}

/* Сортировка списка вопросов и пагинация */
.pmr-qa-toolbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.pmr-qa-toolbar .pmr-qa-search-form{display:flex;flex:1 1 360px;gap:8px;min-width:240px}
.pmr-qa-toolbar .pmr-qa-search-form input[type=search]{flex:1;min-width:0}
.pmr-qa-sort-form{display:flex;align-items:center;gap:8px;flex:0 1 auto}
.pmr-qa-sort-form label{font-size:14px;color:#475569;white-space:nowrap}
.pmr-qa-sort-form select{min-height:42px;max-width:190px;padding:7px 30px 7px 10px;border:1px solid #d5dee8;border-radius:7px;background:#fff;color:#334155}
.pmr-qa-pagination{margin:22px 0;display:flex;justify-content:center}
.pmr-qa-pagination .page-numbers{display:flex;align-items:center;justify-content:center;gap:6px;flex-wrap:wrap;list-style:none;margin:0;padding:0}
.pmr-qa-pagination .page-numbers li{margin:0}
.pmr-qa-pagination a,.pmr-qa-pagination span{display:inline-flex;align-items:center;justify-content:center;min-width:38px;min-height:38px;padding:6px 10px;border:1px solid #d7e0ea;border-radius:7px;text-decoration:none;color:#1769aa;background:#fff}
.pmr-qa-pagination .current{background:#1769aa;color:#fff;border-color:#1769aa}
.pmr-qa-pagination a:hover{background:#eff6ff;border-color:#1769aa}
@media(max-width:600px){.pmr-qa-sort-form{flex:1 1 100%;justify-content:flex-start}.pmr-qa-sort-form select{flex:1;max-width:none}}
