.listing-report-page #main-content {
  padding-top: var(--header-height);
}

.report-main {
  padding-block: clamp(38px, 5vw, 68px) clamp(58px, 7vw, 92px);
}

.report-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(0, 1fr);
  gap: clamp(28px, 3.2vw, 38px);
  align-items: start;
}

.report-context,
.report-form-panel {
  min-width: 0;
}

.report-context {
  display: grid;
  gap: 24px;
}

.report-context h2,
.report-form-panel h2 {
  margin: 0;
  color: #0c2f49;
  font-size: clamp(1.42rem, 2.2vw, 1.85rem);
  letter-spacing: -0.025em;
  line-height: 1.18;
  text-wrap: balance;
}

.report-notice {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 14px;
  padding: 20px;
  border: 1px solid #b9dce2;
  border-radius: 14px;
  background: #f0f9fa;
}

.report-notice__icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: #fff;
  border-radius: 50%;
  background: #08786f;
  font-weight: 850;
}

.report-notice h2 {
  font-size: 1.08rem;
}

.report-notice p {
  margin: 8px 0 0;
  color: #4d6474;
  font-size: 0.9rem;
  line-height: 1.58;
}

.report-notice a,
.report-listing__link,
.report-privacy-note a,
.report-result a {
  color: #066b70;
  font-weight: 740;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.report-notice a:focus-visible,
.report-listing__link:focus-visible,
.report-privacy-note a:focus-visible,
.report-result a:focus-visible {
  outline: 3px solid rgba(8, 120, 111, 0.25);
  outline-offset: 3px;
}

.report-listing,
.report-next {
  padding: 22px;
  border: 1px solid #dbe7ec;
  border-radius: 14px;
  background: #fff;
}

.report-listing.is-hidden {
  display: none;
}

.report-listing__card {
  display: grid;
  grid-template-columns: minmax(105px, 0.44fr) minmax(0, 1fr);
  gap: 16px;
  margin-top: 17px;
}

.report-listing__media {
  overflow: hidden;
  min-height: 112px;
  border-radius: 10px;
  background: #e8eff3;
}

.report-listing__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.report-listing__body {
  min-width: 0;
}

.report-listing__body h3 {
  margin: 0 0 10px;
  overflow-wrap: anywhere;
  color: #153a53;
  font-size: 1.02rem;
  line-height: 1.32;
}

.report-listing dl {
  display: grid;
  gap: 6px;
  margin: 0 0 12px;
}

.report-listing dl div {
  display: grid;
  grid-template-columns: minmax(76px, 0.46fr) minmax(0, 1fr);
  gap: 8px;
  font-size: 0.8rem;
  line-height: 1.4;
}

.report-listing dt {
  color: #6a7d8b;
  font-weight: 650;
}

.report-listing dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
  color: #2e485a;
}

.report-listing__link {
  font-size: 0.84rem;
}

.report-next ol {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
  counter-reset: report-next;
  list-style: none;
}

.report-next li {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 11px;
  align-items: start;
  color: #4c6272;
  font-size: 0.9rem;
  line-height: 1.52;
  counter-increment: report-next;
}

.report-next li::before {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  color: #075e60;
  border-radius: 50%;
  background: #ddf6f3;
  content: counter(report-next);
  font-weight: 820;
}

.report-form-panel {
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid #dbe6eb;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(13, 52, 78, 0.07);
}

.report-form-panel__heading > p {
  margin: 12px 0 0;
  color: #4d6374;
  line-height: 1.68;
}

.report-form {
  display: grid;
  gap: 19px;
  margin-top: 27px;
}

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

.report-field {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.report-field label,
.report-declaration label {
  color: #173a52;
  font-size: 0.88rem;
  font-weight: 760;
  line-height: 1.4;
}

.report-field label > span[aria-hidden="true"],
.report-declaration label > span[aria-hidden="true"] {
  color: #b42318;
}

.report-field__optional {
  color: #738594;
  font-size: 0.79rem;
  font-weight: 560;
}

.report-field__control {
  box-sizing: border-box;
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  color: #16364d;
  border: 1px solid #cbdce5;
  border-radius: 10px;
  background: #fff;
  font: inherit;
  line-height: 1.35;
  outline: none;
  transition: border-color 150ms ease, box-shadow 150ms ease, background-color 150ms ease;
}

select.report-field__control {
  padding-right: 38px;
}

.report-reason-control {
  position: relative;
  min-width: 0;
}

.report-reason-custom {
  display: none;
}

.report-reason-trigger {
  box-sizing: border-box;
  width: 100%;
  min-height: 50px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  color: #16364d;
  border: 1px solid #cbdce5;
  border-radius: 10px;
  background: #fff;
  font: inherit;
  line-height: 1.35;
  text-align: left;
  cursor: pointer;
  outline: none;
  touch-action: manipulation;
  transition: border-color 150ms ease, box-shadow 150ms ease, background-color 150ms ease;
}

.report-reason-trigger:hover {
  border-color: #9db7c4;
}

.report-reason-trigger:focus-visible,
.report-reason-trigger[aria-expanded="true"] {
  border-color: #08786f;
  box-shadow: 0 0 0 4px rgba(8, 120, 111, 0.16);
}

.report-reason-trigger__icon {
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  margin: -4px 3px 0 0;
  border-right: 2px solid #416275;
  border-bottom: 2px solid #416275;
  transform: rotate(45deg);
  transition: transform 150ms ease, margin 150ms ease;
}

.report-reason-trigger[aria-expanded="true"] .report-reason-trigger__icon {
  margin-top: 4px;
  transform: rotate(225deg);
}

.report-reason-listbox {
  position: absolute;
  z-index: 40;
  top: calc(100% + 7px);
  right: 0;
  left: 0;
  max-height: min(56vh, 360px);
  overflow-x: hidden;
  overflow-y: auto;
  padding: 6px;
  border: 1px solid #b9ced9;
  border-radius: 11px;
  background: #fff;
  box-shadow: 0 14px 30px rgba(13, 52, 78, 0.16);
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}

.report-reason-listbox[hidden] {
  display: none;
}

.report-reason-option {
  display: block;
  box-sizing: border-box;
  width: 100%;
  padding: 10px 12px;
  color: #244558;
  border: 0;
  border-radius: 7px;
  background: transparent;
  font: inherit;
  font-size: 0.86rem;
  line-height: 1.38;
  text-align: left;
  white-space: normal;
  overflow-wrap: anywhere;
  cursor: pointer;
  touch-action: manipulation;
}

.report-reason-option:hover,
.report-reason-option:focus-visible {
  color: #083e4b;
  background: #eaf7f6;
  outline: none;
}

.report-reason-option[aria-selected="true"] {
  color: #064f55;
  background: #dff4f2;
  font-weight: 760;
}

.report-field.has-error .report-reason-trigger {
  border-color: #d92d20;
  background: #fffafa;
}

textarea.report-field__control {
  min-height: 176px;
  resize: vertical;
}

.report-field__control::placeholder {
  color: #8495a2;
  opacity: 1;
}

.report-field__control:hover {
  border-color: #9db7c4;
}

.report-field__control:focus-visible {
  border-color: #08786f;
  box-shadow: 0 0 0 4px rgba(8, 120, 111, 0.16);
}

.report-field.has-error .report-field__control,
.report-declaration.has-error .report-declaration__input {
  border-color: #d92d20;
  background: #fffafa;
}

.report-field__help,
.report-field__counter {
  margin: 0;
  color: #687b89;
  font-size: 0.78rem;
  line-height: 1.5;
}

.report-field__counter {
  justify-self: end;
  font-variant-numeric: tabular-nums;
}

.report-field__errors {
  grid-column: 1 / -1;
  display: grid;
  gap: 3px;
  margin: 0;
  padding: 0;
  color: #a61b13;
  font-size: 0.82rem;
  font-weight: 650;
  list-style: none;
}

.report-declaration {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 15px;
  border: 1px solid #dbe6eb;
  border-radius: 10px;
  background: #f8fbfc;
}

.report-declaration__input {
  width: 19px;
  height: 19px;
  margin: 1px 0 0;
  accent-color: #08786f;
}

.report-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.report-turnstile {
  min-height: 66px;
  overflow: hidden;
}

.report-privacy-note {
  margin: -2px 0 0;
  color: #667988;
  font-size: 0.82rem;
  line-height: 1.58;
}

.report-submit {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  justify-self: start;
  padding: 12px 25px;
  color: #061d2b;
  border: 1px solid #35d5d0;
  border-radius: 10px;
  background: #35d5d0;
  box-shadow: 0 8px 18px rgba(8, 120, 111, 0.14);
  font: inherit;
  font-weight: 820;
  cursor: pointer;
  transition: background-color 150ms ease, border-color 150ms ease, transform 150ms ease;
}

.report-submit:hover {
  border-color: #61e4df;
  background: #61e4df;
}

.report-submit:active {
  transform: translateY(1px);
}

.report-submit:focus-visible {
  outline: 3px solid #08786f;
  outline-offset: 3px;
}

.report-submit[disabled] {
  cursor: wait;
  opacity: 0.7;
}

.report-error-summary,
.report-result {
  padding: 15px 17px;
  border-radius: 11px;
  font-size: 0.9rem;
  line-height: 1.55;
}

.report-error-summary {
  color: #8b1e17;
  border: 1px solid #efb8b4;
  background: #fff5f4;
}

.report-error-summary h3,
.report-result h3 {
  margin: 0;
  font-size: 1rem;
}

.report-error-summary p,
.report-error-summary ul,
.report-result p {
  margin: 8px 0 0;
}

.report-error-summary ul {
  padding-left: 1.25rem;
}

.report-error-summary a {
  color: inherit;
  font-weight: 700;
}

.report-result {
  margin-top: 25px;
}

.report-result--success {
  color: #075c46;
  border: 1px solid #a5dfcc;
  background: #effaf6;
}

.report-result--error {
  color: #8f211a;
  border: 1px solid #efb8b4;
  background: #fff5f4;
}

.report-result--preview {
  margin: 0;
  color: #155167;
  border: 1px solid #b8d9e5;
  background: #f1f8fb;
}

.report-result__icon {
  display: grid;
  width: 36px;
  height: 36px;
  margin-bottom: 12px;
  place-items: center;
  color: #fff;
  border-radius: 50%;
  background: #08786f;
  font-weight: 850;
}

.report-result__reference {
  overflow-wrap: anywhere;
  font-variant-numeric: tabular-nums;
}

.report-result .report-return-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  margin-top: 15px;
  padding: 9px 16px;
  color: #063f48;
  border: 1px solid #84c9c7;
  border-radius: 9px;
  background: #fff;
  text-decoration: none;
}

.report-result .report-return-button:hover {
  background: #e8f7f5;
}

@media (max-width: 1100px) {
  .report-reason-control.is-custom-ready > select.report-field__control {
    display: none;
  }

  .report-reason-control.is-custom-ready .report-reason-custom {
    display: block;
  }

  .report-reason-control.is-custom-ready .report-reason-trigger {
    display: flex;
  }
}

@media (max-width: 900px) {
  .report-layout {
    grid-template-columns: 1fr;
  }

  .report-context {
    display: contents;
  }

  .report-notice {
    order: 1;
  }

  .report-listing {
    order: 2;
  }

  .report-form-panel {
    order: 3;
  }

  .report-next {
    order: 4;
  }
}

@media (max-width: 620px) {
  .report-main {
    width: min(100% - 28px, 880px);
    padding-block: 28px 48px;
  }

  .report-form__row {
    grid-template-columns: 1fr;
  }

  .report-notice {
    grid-column: auto;
    grid-template-columns: 32px minmax(0, 1fr);
    padding: 17px;
  }

  .report-notice__icon {
    width: 32px;
    height: 32px;
  }

  .report-listing,
  .report-next {
    padding: 18px 16px;
  }

  .report-listing__card {
    grid-template-columns: 1fr;
  }

  .report-listing__media {
    aspect-ratio: 16 / 9;
  }

  .report-form-panel {
    padding: 22px 17px;
    border-radius: 14px;
  }

  .report-submit {
    width: 100%;
    justify-self: stretch;
  }

  .report-reason-listbox {
    max-height: min(52vh, 320px);
    padding: 5px;
  }

  .report-reason-option {
    padding: 8px 10px;
    font-size: 0.8125rem;
    line-height: 1.36;
  }
}

@media (prefers-reduced-motion: reduce) {
  .report-field__control,
  .report-reason-trigger,
  .report-reason-trigger__icon,
  .report-submit {
    transition: none;
  }
}

@media print {
  .report-form-panel {
    box-shadow: none;
  }

  .report-submit,
  .report-turnstile,
  .report-result--preview {
    display: none !important;
  }
}
