.report-dialog {
  width: min(31rem, 100% - 2rem);
  max-height: calc(100% - 2rem);
  padding: clamp(1rem, 4vw, 1.75rem);
  border: 1px solid #cbd9ea;
  border-radius: 14px;
  color: var(--ink);
  background: #f0f5fb;
  box-shadow: 0 18px 60px #172a4340;
}

.report-dialog::backdrop {
  background: #172a4366;
}

.report-dialog h2 {
  margin: 0;
  font-size: clamp(1.3rem, 5vw, 1.65rem);
  letter-spacing: -.035em;
}

.report-deal-title {
  margin: .4rem 0 1rem;
  color: var(--muted);
  font-size: .875rem;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.report-fields {
  display: grid;
  gap: .85rem;
}

.report-reasons {
  display: grid;
  gap: .35rem;
  margin: 0;
  padding: 0;
  border: 0;
}

.report-reasons label {
  display: flex;
  align-items: center;
  gap: .65rem;
  min-height: 41px;
  padding: .45rem .7rem;
  border: 1px solid var(--border);
  border-radius: 7px;
  background: #fff;
  font-size: .9375rem;
  cursor: pointer;
}

.report-reasons label:has(input:checked) {
  border-color: #93afd1;
  background: #e8f1fc;
}

.report-reasons input {
  width: 1.05rem;
  height: 1.05rem;
  flex: none;
  margin: 0;
  accent-color: #285d9f;
}

.report-field {
  display: grid;
  gap: .3rem;
  min-width: 0;
  font-size: .875rem;
  font-weight: 650;
}

.report-optional, .report-storage-note {
  color: var(--muted);
  font-weight: 400;
}

.report-field input, .report-field textarea {
  width: 100%;
  padding: .65rem .7rem;
  border: 1px solid #aebfd3;
  border-radius: 7px;
  color: var(--ink);
  background: #fff;
  font: inherit;
  font-size: max(1rem, 16px);
  font-weight: 400;
}

.report-field textarea {
  display: block;
  resize: vertical;
}

.report-storage-note {
  margin: 0;
  font-size: .8125rem;
  line-height: 1.5;
}

.report-status {
  margin: .8rem 0 0;
  color: #22583d;
  font-size: .875rem;
  font-weight: 650;
  line-height: 1.35;
}

.report-status:empty {
  margin: 0;
}

.report-status.has-error {
  color: var(--accent);
}

.report-controls {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 1rem;
}

.report-controls button {
  min-height: 44px;
  padding: .55rem 1rem;
  border: 1px solid transparent;
  border-radius: 7px;
  font: inherit;
  font-size: .875rem;
  font-weight: 700;
  cursor: pointer;
}

.report-controls .report-submit {
  color: #fff;
  background: var(--accent);
}

.report-controls .report-submit:hover {
  background: #88291f;
}

.report-controls .report-cancel {
  border-color: #aebfd3;
  color: var(--ink);
  background: #fff;
}

.report-controls .report-cancel:hover {
  background: #f5f8fc;
}
