.thefayth-forum-report-action {
  display: flex;
  justify-content: flex-end;
  margin: 0.75rem 0 0;
}

.thefayth-forum-report-button,
.thefayth-forum-report-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.4rem;
  padding: 0.45rem 0.85rem;
  border: 1px solid rgba(57, 36, 23, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink, #291f1a);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.thefayth-forum-report-button:hover,
.thefayth-forum-report-button:focus-visible,
.thefayth-forum-report-submit:hover,
.thefayth-forum-report-submit:focus-visible {
  border-color: rgba(186, 93, 49, 0.34);
  background: rgba(255, 255, 255, 0.94);
}

.thefayth-forum-report-form,
.thefayth-forum-report-notice {
  border: 1px solid var(--line, #d8cdc1);
  border-radius: var(--radius-lg, 18px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(252, 246, 239, 0.72)),
    rgba(255, 251, 245, 0.9);
  box-shadow: var(--shadow, 0 18px 38px rgba(57, 36, 23, 0.1));
}

.thefayth-forum-report-form {
  display: grid;
  gap: 1rem;
  margin: 0 0 1.25rem;
  padding: 1.25rem;
}

.thefayth-forum-report-form__header h2 {
  margin: 0 0 0.5rem;
  font-family: var(--display, Georgia, serif);
  font-size: clamp(1.35rem, 1.1rem + 1vw, 2rem);
}

.thefayth-forum-report-form__header p {
  margin: 0;
  color: var(--muted, #6f625a);
}

.thefayth-forum-report-kicker {
  margin: 0 0 0.45rem;
  color: var(--accent, #ba5d31);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.thefayth-forum-report-urgent {
  padding: 0.9rem 1rem;
  border: 1px solid rgba(167, 40, 40, 0.24);
  border-radius: 12px;
  background: #fff5f2;
  color: #5f1e1e;
}

.thefayth-forum-report-urgent a {
  display: inline-flex;
  margin-left: 0.35rem;
  color: #8f2424;
  font-weight: 800;
}

.thefayth-forum-report-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.95rem;
}

.thefayth-forum-report-field {
  display: grid;
  gap: 0.35rem;
  margin: 0;
}

.thefayth-forum-report-field--full {
  grid-column: 1 / -1;
}

.thefayth-forum-report-field label {
  font-size: 0.86rem;
  font-weight: 800;
}

.thefayth-forum-report-field span {
  color: var(--muted, #6f625a);
  font-size: 0.84rem;
}

.thefayth-forum-report-field input,
.thefayth-forum-report-field select,
.thefayth-forum-report-field textarea {
  width: 100%;
  min-height: 2.55rem;
  border: 1px solid rgba(57, 36, 23, 0.14);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--ink, #291f1a);
  font: inherit;
}

.thefayth-forum-report-field textarea {
  min-height: 8.5rem;
  resize: vertical;
}

.thefayth-forum-report-notice {
  margin: 0 0 1rem;
  padding: 0.9rem 1rem;
  font-weight: 800;
}

.thefayth-forum-report-notice--success {
  border-color: rgba(14, 106, 59, 0.22);
  background: #effaf4;
  color: #0e6a3b;
}

.thefayth-forum-report-notice--error {
  border-color: rgba(167, 40, 40, 0.22);
  background: #fff5f2;
  color: #8f2424;
}

.post-type-tf_forum_report .thefayth-moderation-desk,
.post-type-tf_forum_report .thefayth-moderation-guidance,
.post-type-tf_forum_report .thefayth-moderation-audit {
  color: #1d2327;
}

.post-type-tf_forum_report .thefayth-moderation-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.post-type-tf_forum_report .thefayth-moderation-badge {
  display: inline-flex;
  align-items: center;
  width: max-content;
  max-width: 100%;
  padding: 5px 9px;
  border-radius: 999px;
  background: #f2ece6;
  color: #4f453e;
  font-size: 12px;
  font-weight: 700;
}

.post-type-tf_forum_report .thefayth-moderation-badge--urgent,
.post-type-tf_forum_report .thefayth-moderation-badge--urgent_escalation {
  background: #fff0ed;
  color: #9a2424;
}

.post-type-tf_forum_report .thefayth-moderation-badge--high,
.post-type-tf_forum_report .thefayth-moderation-badge--triage,
.post-type-tf_forum_report .thefayth-moderation-badge--reviewing {
  background: #fff4dd;
  color: #8d5a00;
}

.post-type-tf_forum_report .thefayth-moderation-badge--action_taken,
.post-type-tf_forum_report .thefayth-moderation-badge--closed_no_action,
.post-type-tf_forum_report .thefayth-moderation-badge--closed_duplicate {
  background: #e6f5ed;
  color: #0e6a3b;
}

.post-type-tf_forum_report .thefayth-moderation-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.post-type-tf_forum_report .thefayth-moderation-field {
  display: grid;
  gap: 5px;
  margin: 0;
}

.post-type-tf_forum_report .thefayth-moderation-field--full {
  grid-column: 1 / -1;
}

.post-type-tf_forum_report .thefayth-moderation-field label,
.post-type-tf_forum_report .thefayth-moderation-field strong {
  font-weight: 700;
}

.post-type-tf_forum_report .thefayth-moderation-field select,
.post-type-tf_forum_report .thefayth-moderation-field textarea {
  width: 100%;
}

.post-type-tf_forum_report .thefayth-moderation-report-text,
.post-type-tf_forum_report .thefayth-moderation-sensitive-note {
  margin: 0;
  padding: 12px;
  border: 1px solid #d8cdc1;
  border-radius: 8px;
  background: #fffdfa;
}

.post-type-tf_forum_report .thefayth-moderation-sensitive-note {
  border-color: #efc0b8;
  background: #fff5f2;
  color: #8f2424;
  font-weight: 700;
}

.post-type-tf_forum_report .thefayth-moderation-guidance ul,
.post-type-tf_forum_report .thefayth-moderation-audit-log {
  margin-left: 18px;
}

.post-type-tf_forum_report .thefayth-moderation-audit dl {
  display: grid;
  gap: 4px;
  margin: 0;
}

.post-type-tf_forum_report .thefayth-moderation-audit dt {
  margin-top: 8px;
  font-weight: 700;
}

.post-type-tf_forum_report .thefayth-moderation-audit dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.post-type-tf_forum_report .thefayth-moderation-audit code {
  white-space: normal;
}

.post-type-tf_forum_report .thefayth-moderation-audit-log li {
  margin-bottom: 7px;
}

.post-type-tf_forum_report .thefayth-moderation-audit-log span {
  display: block;
  color: #646970;
}

@media (max-width: 782px) {
  .thefayth-forum-report-grid,
  .post-type-tf_forum_report .thefayth-moderation-grid {
    grid-template-columns: 1fr;
  }

  .thefayth-forum-report-field--full,
  .post-type-tf_forum_report .thefayth-moderation-field--full {
    grid-column: auto;
  }
}
