.report-page {
  display: grid;
  gap: 18px;
  max-width: 1080px;
  padding-top: 28px;
}

.report-hero {
  display: grid;
  gap: 10px;
  max-width: 720px;
  padding: 16px 0 8px;
}

.report-back {
  width: fit-content;
  color: #007782;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.report-kicker {
  width: fit-content;
  margin: 0;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(0, 119, 130, 0.08);
  color: #007782;
  font-size: 12px;
  font-weight: 900;
}

.report-hero h1 {
  margin: 0;
  font-size: clamp(32px, 6vw, 58px);
  line-height: 0.98;
  letter-spacing: -0.07em;
}

.report-hero p:last-child {
  max-width: 660px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.report-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 14px;
  align-items: start;
}

.report-card,
.report-side-card {
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.055);
}

.report-card {
  display: grid;
  gap: 16px;
  padding: 22px;
}

.report-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.report-card label {
  display: grid;
  gap: 8px;
  color: var(--text);
  font-size: 13px;
  font-weight: 850;
}

.report-card input,
.report-card select,
.report-card textarea {
  width: 100%;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 16px;
  background: #fff;
  color: var(--text);
  font: inherit;
  font-weight: 600;
}

.report-card textarea {
  resize: vertical;
}

.report-optional-fields {
  display: grid;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.025);
}

.report-optional-fields summary {
  cursor: pointer;
  color: var(--text);
  font-size: 13px;
  font-weight: 850;
}

.report-legal-context {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(0, 119, 130, 0.12);
  border-radius: 18px;
  background:
    radial-gradient(circle at top right, rgba(0, 119, 130, 0.1), transparent 34%),
    rgba(0, 119, 130, 0.045);
}

.report-legal-context strong {
  color: var(--text);
  font-size: 14px;
  letter-spacing: -0.02em;
}

.report-legal-context p {
  max-width: 640px;
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.report-legal-links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.report-legal-links a {
  display: inline-flex;
  padding: 7px 10px;
  border: 1px solid rgba(0, 119, 130, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: #007782;
  font-size: 12px;
  font-weight: 850;
  text-decoration: none;
}

.report-check {
  grid-template-columns: auto minmax(0, 1fr) !important;
  align-items: start;
  padding: 14px;
  border-radius: 18px;
  background: rgba(0, 119, 130, 0.06);
}

.report-check input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
}

.report-actions {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}

.report-actions p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.report-side-card {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 12px;
  padding: 22px;
}

.report-side-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 11px;
  align-items: start;
}

.report-side-item span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: rgba(0, 119, 130, 0.08);
  color: #007782;
  font-size: 11px;
  font-weight: 900;
}

.report-side-card strong {
  font-size: 15px;
  letter-spacing: -0.03em;
}

.report-side-card p {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

body.dark .report-card,
body.dark .report-side-card {
  border-color: rgba(244, 241, 232, 0.1);
  background: rgba(244, 241, 232, 0.04);
  box-shadow: none;
}

body.dark .report-card input,
body.dark .report-card select,
body.dark .report-card textarea,
body.dark .report-optional-fields {
  border-color: rgba(244, 241, 232, 0.12);
  background: rgba(15, 23, 42, 0.45);
}

body.dark .report-legal-context {
  border-color: rgba(71, 196, 184, 0.16);
  background: rgba(71, 196, 184, 0.07);
}

body.dark .report-legal-links a {
  border-color: rgba(71, 196, 184, 0.18);
  background: rgba(244, 241, 232, 0.05);
  color: #8ee3d8;
}

body.dark .report-side-item span {
  background: rgba(71, 196, 184, 0.12);
  color: #8ee3d8;
}

@media (max-width: 860px) {
  .report-shell,
  .report-grid,
  .report-legal-context {
    grid-template-columns: 1fr;
  }

  .report-card,
  .report-side-card {
    border-radius: 22px;
  }

  .report-side-card {
    position: static;
  }

  .report-legal-links {
    justify-content: flex-start;
  }
}
