/* The surrounding article uses Quark 2's standard .content-item, exactly like /datenschutz. */
.upg-report-page {
  font: inherit;
}

/* UPGRAIT Abuse – unified legal-page styling v0.1 */
.upg-report-copy {
  margin-bottom: 2rem;
}

.upg-report-root {
  position: relative;
}

.upg-report-editor,
.upg-report-review {
  display: grid;
  gap: 1.25rem;
}

.upg-report-field {
  display: grid;
  gap: .45rem;
}

.upg-report-field > label {
  font-weight: 600;
}

.upg-report-required {
  opacity: .75;
}

.upg-report-field input[type="text"],
.upg-report-field select,
.upg-report-field textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid rgba(20,24,28,.15);
  border-radius: 10px;
  padding: .78rem .9rem;
  background: rgba(255,255,255,.8);
  color: inherit;
  font: inherit;
}

html[data-theme="dark"] .upg-report-field input[type="text"],
html[data-theme="dark"] .upg-report-field select,
html[data-theme="dark"] .upg-report-field textarea {
  border-color: rgba(255,255,255,.12);
  background: rgba(255,255,255,.035);
}

.upg-report-field textarea {
  min-height: 8rem;
  resize: vertical;
}

.upg-report-help,
.upg-report-note,
.upg-report-wait {
  margin: 0;
  opacity: .72;
  font-size: .9rem;
  line-height: 1.55;
}

.upg-report-field-error {
  margin: 0;
  font-size: .88rem;
  line-height: 1.45;
}

.upg-report-field-error:not([hidden]) {
  color: #b42318;
}

.upg-report-check {
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: .65rem;
}

.upg-report-check input {
  margin-top: .3rem;
}

.upg-report-check label {
  font-weight: 400;
}

.upg-report-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  align-items: center;
}

.upg-report-actions button:disabled {
  opacity: .5;
  cursor: not-allowed;
}

.upg-report-summary {
  display: grid;
  grid-template-columns: minmax(140px, .35fr) 1fr;
  gap: .75rem 1.25rem;
  margin: 0;
}

.upg-report-summary dt {
  font-weight: 600;
}

.upg-report-summary dd {
  margin: 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.upg-report-notice {
  display: grid;
  gap: .55rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(20,24,28,.12);
  border-radius: 10px;
}

.upg-report-notice p {
  margin: 0;
}

.upg-report-notice--success {
  border-color: rgba(30,130,80,.28);
}

.upg-report-notice--error {
  border-color: rgba(190,65,65,.35);
}

.upg-report-decoy {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

@media (max-width: 640px) {
  .upg-report-copy {
    margin-bottom: 1.5rem;
  }

  .upg-report-editor,
  .upg-report-review {
    gap: 1rem;
  }

  .upg-report-summary {
    grid-template-columns: 1fr;
    gap: .3rem;
  }

  .upg-report-summary dd {
    margin-bottom: .8rem;
  }

  .upg-report-actions {
    align-items: stretch;
  }

  .upg-report-actions .button {
    width: 100%;
  }
}
