/* Scoped reporting styles use the existing Vexel theme and modal system. */
.report-form .hint, .report-queue .hint, .report-detail .hint { color: var(--text-2); line-height: 1.5; }
.report-privacy { display: flex; align-items: flex-start; gap: 8px; padding: 12px; border: 1px solid var(--line); border-radius: 10px; color: var(--text-2); background: var(--bg-2); font-size: 13px; line-height: 1.5; }
.report-privacy svg { margin-top: 2px; flex: none; color: var(--gold); }
.report-preview { margin: 16px 0; padding: 10px 12px; border-left: 3px solid var(--gold); background: var(--bg-2); white-space: pre-wrap; overflow-wrap: anywhere; max-height: 160px; overflow-y: auto; }
.report-rules { border: 0; padding: 0; margin: 18px 0; min-width: 0; }
.report-rules legend { font-weight: 700; margin-bottom: 8px; }
.report-rules label { display: flex; align-items: flex-start; gap: 10px; padding: 10px; margin-bottom: 6px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; }
.report-rules label:has(input:checked) { border-color: var(--gold); background: var(--gold-soft); }
.report-rules input { margin-top: 5px; accent-color: var(--gold); }
.report-rules small { display: block; font-size: 11px; color: var(--text-2); margin-bottom: 3px; }
.report-submit { display: flex; justify-content: flex-end; gap: 8px; margin-top: 18px; }
.report-choices, .rq-items { display: grid; gap: 10px; }
.report-choice { display: flex; align-items: center; gap: 12px; padding: 12px; border: 1px solid var(--line); border-radius: 10px; text-align: left; background: var(--bg-2); }
.report-choice:hover, .rq-item:hover { border-color: var(--gold); }
.report-choice time { font-size: 11px; color: var(--text-2); flex: none; }
.report-choice span { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.report-queue { min-width: 0; }
.report-queue [hidden] { display: none !important; }
.rq-head { display: flex; gap: 16px; align-items: flex-start; justify-content: space-between; padding-right: 20px; }
.rq-head h2 { margin-bottom: 8px; }
.rq-head > .btn { flex: none; margin-top: 4px; }
.rq-head .hint { margin: 0 0 16px; max-width: 780px; }
.rq-tabs { margin: 8px 0 16px; }
.rq-item { padding: 14px; text-align: left; background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; min-width: 0; width: 100%; }
.rq-item-top { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; }
.rq-item-top span, .rq-item time, .rq-item > small { color: var(--text-2); font-size: 12px; }
.rq-item-top time { margin-left: auto; }
.rq-rule { display: flex; align-items: flex-start; gap: 6px; margin-top: 10px; color: var(--gold); font-size: 13px; overflow-wrap: anywhere; }
.rq-rule svg { flex: none; }
.rq-item p { margin: 8px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; color: var(--text-2); }
.rq-item > small { display: block; margin-top: 8px; }
.rq-empty { padding: 16px 0; color: var(--text-2); }
.rq-more { margin-top: 16px; }
.report-modal { width: min(940px, calc(100vw - 32px)); max-width: 940px; }
.report-detail { min-width: 0; min-height: 0; max-height: inherit; display: flex; flex-direction: column; }
.report-detail .modal-head, .report-detail .modal-foot { flex-shrink: 0; }
.report-detail .modal-head h3 { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.report-detail .modal-body { max-height: 68vh; min-height: 0; flex: 1; overflow-y: auto; }
.rp-reason { display: grid; gap: 6px; padding: 14px; margin-bottom: 12px; background: var(--gold-soft); border: 1px solid var(--line); border-radius: 10px; }
.rp-reason > small { color: var(--text-2); }
.rp-content { white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.6; }
.rp-evidence-head { margin-top: 22px; }
.rp-evidence-head h4 { margin: 0 0 6px; }
.rp-note, .rp-resolution { padding: 12px; background: var(--bg-3); border: 1px solid var(--line); border-radius: 10px; margin: 12px 0; font-size: 13px; line-height: 1.5; }
.rp-resolution p { margin: 6px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.rp-timeline { display: grid; gap: 10px; margin-top: 14px; }
.rp-message { border: 1px solid var(--line); border-radius: 12px; padding: 14px; background: var(--bg-2); scroll-margin: 15px; min-width: 0; }
.rp-message.rp-selected { border-color: var(--gold); box-shadow: inset 3px 0 var(--gold); }
.rp-message header { display: flex; gap: 4px 10px; align-items: baseline; flex-wrap: wrap; margin-bottom: 8px; }
.rp-message header span, .rp-message header time, .rp-message header small { color: var(--text-2); font-size: 11px; overflow-wrap: anywhere; }
.rp-message header time { margin-left: auto; }
.rp-markers { display: flex; gap: 5px; flex-wrap: wrap; margin-bottom: 8px; }
.rp-markers:empty { display: none; }
.rp-marker { display: inline-block; padding: 3px 7px; border-radius: 6px; background: var(--bg-4); color: var(--text-2); font-size: 11px; font-weight: 600; }
.rp-marker.selected { background: var(--gold-soft); color: var(--gold); }
.rp-reply { display: flex; gap: 5px; align-items: center; margin-top: 8px; font-size: 12px; }
.rp-media-list { display: flex; flex-wrap: wrap; gap: 8px; }
.rp-media { display: inline-flex; flex-direction: column; gap: 5px; max-width: 100%; margin-top: 8px; font-size: 12px; overflow-wrap: anywhere; }
.rp-media img { width: auto; height: auto; max-width: 100%; max-height: 300px; object-fit: contain; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); }
.rp-embed { padding: 10px; border-left: 3px solid var(--line); margin-top: 10px; display: grid; gap: 6px; }
.rp-revisions { margin-top: 12px; border-top: 1px solid var(--line); padding-top: 10px; }
.rp-revisions summary { cursor: pointer; color: var(--gold); font-size: 12px; }
.rp-version { padding: 12px; background: var(--bg-1); margin-top: 8px; border-radius: 8px; }
.rp-version > small { display: block; color: var(--text-2); margin-bottom: 6px; }
.rp-actions { flex-wrap: wrap; gap: 8px; }
.report-form .field { margin-top: 16px; }
.report-form [hidden] { display: none !important; }
.report-form .field > .hint { display: block; margin-top: 6px; }
.report-form input[type=file] { max-width: 100%; font-size: 12px; }
.report-form select, .report-form input, .report-form textarea { max-width: 100%; }
.rq-priority-filter { display: flex; align-items: center; gap: 12px; margin: 12px 0; font-size: 13px; }
.rq-priority-filter .select { width: auto; }
.rp-priority { display: inline-block; flex: none; border: 1px solid currentColor; border-radius: 6px; padding: 2px 6px; font-size: 11px; font-weight: 700; line-height: 1.5; }
.rp-priority-critical { color: #ff8b92; background: #ff57601a; }
.rp-priority-high { color: #ffbd7b; background: #ff9c381a; }
.rp-priority-medium { color: var(--gold); background: var(--gold-soft); }
.rp-priority-normal { color: var(--text-2); background: var(--bg-3); }
@media (max-width: 760px) {
  .report-modal { width: 100%; max-width: 100%; }
  .report-detail .modal-body { max-height: 65vh; }
  .rq-head { flex-direction: column; gap: 4px; }
  .rq-item-top time, .rp-message header time { margin-left: 0; }
  .report-choice { flex-wrap: wrap; }
  .rp-actions .btn { flex: 1 1 auto; }
}
