.reporter-main {
  display: grid;
  width: min(1000px, calc(100% - 40px));
  gap: 16px;
  margin: 30px auto 56px;
}

.reporter-intro {
  padding: 12px 0 4px;
}

.reporter-eyebrow {
  color: #ae7657;
  font-family: Arial, sans-serif;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.reporter-intro h1 {
  margin: 8px 0;
  color: #252e3d;
  font-family: Arial, sans-serif;
  font-size: clamp(27px, 5vw, 40px);
  letter-spacing: -0.045em;
}

.reporter-intro p,
.reporter-card-copy {
  max-width: 670px;
  margin: 0;
  color: #7d8492;
  font-size: 12px;
  line-height: 1.65;
}

.reporter-card {
  display: grid;
  min-width: 0;
  align-content: start;
  gap: 13px;
  padding: clamp(16px, 3vw, 23px);
  border: 1px solid #e7eaf0;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 7px 20px rgb(24 36 59 / 4%);
}

.reporter-card h2 {
  margin: 0;
  color: #27334a;
  font-size: 18px;
}

.reporter-card h3 {
  margin: 0;
  color: #27334a;
  font-size: 13px;
}

#reporter-application {
  width: min(100%, 920px);
  justify-self: center;
  box-sizing: border-box;
}

.reporter-form-grid {
  display: grid;
  width: 100%;
  min-width: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 14px;
}

.reporter-form-progress {
  display: grid;
  grid-column: 1 / -1;
  width: 100%;
  min-width: 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.reporter-form-progress li {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 7px;
  padding: 7px 9px;
  border-bottom: 2px solid #e5e8ee;
  border-radius: 8px 8px 0 0;
  background: #f8f9fb;
  color: #8a93a2;
  font-size: 10px;
}

.reporter-form-progress li strong {
  overflow: hidden;
  font-size: inherit;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.reporter-form-progress li > span {
  display: grid;
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: #eef0f4;
  font-size: 10px;
  font-weight: 800;
}

.reporter-form-progress li.is-active,
.reporter-form-progress li.is-complete {
  border-color: var(--orange);
  background: #fff7f2;
  color: #27334a;
}

.reporter-form-progress li.is-active > span,
.reporter-form-progress li.is-complete > span {
  background: #fff0e7;
  color: #b95c2d;
}

.reporter-form-step {
  display: grid;
  width: 100%;
  min-width: 0;
  min-inline-size: 0;
  grid-column: 1 / -1;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px 14px;
  margin: 0;
  padding: 0;
  border: 0;
  box-sizing: border-box;
}

.reporter-form-step[hidden] {
  display: none;
}

.reporter-form-step legend {
  grid-column: 1 / -1;
  width: 100%;
  margin-bottom: 0;
  color: #27334a;
  font-size: 15px;
  font-weight: 800;
}

.reporter-form-steps {
  grid-column: 1 / -1;
  width: 100%;
  min-width: 0;
}

.reporter-form-step > * {
  min-width: 0;
}

.reporter-field-full {
  grid-column: 1 / -1;
}

.reporter-preferred-locations {
  display: grid;
  gap: 8px;
}

.reporter-preferred-locations > span {
  color: #334155;
  font-size: 12px;
  font-weight: 700;
}

.reporter-preferred-location-fields {
  display: grid;
  gap: 8px;
}

.reporter-preferred-location-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.reporter-preferred-location-row .reporter-button,
.reporter-preferred-locations > .reporter-button {
  margin: 0;
}

.reporter-form-navigation {
  display: flex;
  grid-column: 1 / -1;
  width: 100%;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 2px;
}

.reporter-form-navigation > button:not(.secondary) {
  margin-left: auto;
}

.reporter-account-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.reporter-field-help {
  color: #818a99;
  font-size: 10px;
  font-weight: 400;
  line-height: 1.5;
}

.reporter-sensitive-data-note {
  margin: 0;
  padding: 10px 12px;
  border: 1px solid #f0d8a8;
  border-radius: 8px;
  background: #fff9e9;
  color: #765919;
  font-size: 11px;
  line-height: 1.6;
}

.reporter-photo-crop {
  display: grid;
  grid-template-columns: minmax(220px, 320px) minmax(180px, 1fr);
  align-items: center;
  gap: 14px;
  margin-top: 8px;
}

.reporter-photo-crop-viewport {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid #dce1e9;
  border-radius: 8px;
  background: #f4f5f7;
}

.reporter-photo-crop-viewport cropper-canvas {
  width: 100%;
  height: 100%;
}

.reporter-photo-crop-controls {
  display: flex;
  flex-wrap: wrap;
  align-self: end;
  gap: 8px;
}

.reporter-photo-crop-button {
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid #dce1e9;
  border-radius: 7px;
  background: #fff;
  color: #35445c;
  font: inherit;
  cursor: pointer;
}

.reporter-photo-crop-button:disabled {
  cursor: wait;
  opacity: 0.6;
}

.reporter-application-review,
.reporter-review-note,
.reporter-next-step {
  display: grid;
  grid-column: 1 / -1;
  gap: 6px;
  margin: 0;
  padding: 12px;
  border: 1px solid #f0dfd2;
  border-radius: 8px;
  background: #fffaf6;
  color: #67574d;
  font-size: 12px;
  line-height: 1.6;
}

.reporter-review-requested {
  padding: 8px;
  border: 1px solid #efc084;
  border-radius: 7px;
  background: #fffaf0;
}

.reporter-review-request-inline {
  color: #9a4d22;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.5;
}

.reporter-review-request-list {
  display: grid;
  gap: 6px;
  margin: 0;
  padding-left: 20px;
  color: #67574d;
  font-size: 12px;
  line-height: 1.6;
}

.reporter-application-review[hidden] {
  display: none;
}

.reporter-form-grid > .full-width {
  grid-column: 1 / -1;
}

.reporter-next-step.success {
  border-color: #cde9da;
  background: #f0fbf5;
  color: #208357;
}

.reporter-onboarding-step {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid #e7eaf0;
  border-radius: 9px;
  background: #fcfcfd;
}

.reporter-onboarding-step h3 {
  margin: 0;
}

.reporter-onboarding-step > a {
  width: fit-content;
  color: #ba5b2c;
  font-size: 12px;
  font-weight: 700;
}

.reporter-service-agreement-form {
  display: grid;
  gap: 12px;
}

.reporter-timeline {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.reporter-timeline li {
  display: grid;
  gap: 6px;
  padding: 10px;
  border-top: 3px solid #e3e7ed;
  color: #8993a4;
  font-size: 10px;
  font-weight: 800;
}

.reporter-timeline li.is-complete {
  border-color: #4d9c70;
  color: #27334a;
}

.reporter-timeline li span {
  color: #8993a4;
  font-size: 9px;
  font-weight: 500;
}

.reporter-field {
  display: grid;
  min-width: 0;
  align-content: start;
  gap: 4px;
  color: #596579;
  font-size: 11px;
  font-weight: 700;
}

.reporter-field > span {
  line-height: 1.4;
}

.reporter-field.full-width {
  grid-column: 1 / -1;
}

.reporter-field input,
.reporter-field select,
.reporter-field textarea {
  width: 100%;
  min-height: 40px;
  padding: 8px 10px;
  border: 1px solid #dce1e9;
  border-radius: 6px;
  background: #fff;
  color: #27334a;
  font: inherit;
  font-size: 12px;
  line-height: 1.4;
  transition: border-color 140ms ease, box-shadow 140ms ease, background-color 140ms ease;
}

.reporter-field select {
  padding-right: 34px;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%237d8492' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-position: right 10px center;
  background-repeat: no-repeat;
  cursor: pointer;
}

.reporter-field input[type="file"] {
  min-height: 52px;
  padding: 8px;
  border-style: dashed;
  border-color: #d7dce5;
  background: #fafbfc;
  color: #687386;
  cursor: pointer;
}

.reporter-field input[type="file"]:hover {
  border-color: #e4a27d;
  background: #fffaf7;
}

.reporter-field input[type="file"]::file-selector-button {
  min-height: 32px;
  margin: 0 10px 0 0;
  padding: 0 11px;
  border: 1px solid #ead6c8;
  border-radius: 5px;
  background: #fff3eb;
  color: #9e4e27;
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  transition: background-color 140ms ease, border-color 140ms ease;
}

.reporter-field input[type="file"]::file-selector-button:hover {
  border-color: #e8b99e;
  background: #ffeadc;
}

.reporter-field textarea {
  min-height: 76px;
  line-height: 1.55;
  resize: vertical;
}

.reporter-field input[type="range"] {
  width: 100%;
  min-height: 22px;
  padding: 0;
  border: 0;
  background: transparent;
  accent-color: var(--orange);
  cursor: pointer;
}

.reporter-field input:focus,
.reporter-field select:focus,
.reporter-field textarea:focus {
  border-color: var(--orange);
  outline: none;
  box-shadow: 0 0 0 3px rgb(255 105 11 / 13%);
}

.reporter-field input[type="range"]:focus {
  box-shadow: none;
  outline: 2px solid rgb(255 105 11 / 30%);
  outline-offset: 3px;
}

.reporter-field input:disabled,
.reporter-field select:disabled,
.reporter-field textarea:disabled {
  background-color: #f3f5f7;
  color: #8993a4;
  cursor: not-allowed;
}

.reporter-field input::placeholder,
.reporter-field textarea::placeholder {
  color: #a1a8b3;
  font-weight: 400;
}

.reporter-agreement {
  display: grid;
  gap: 9px;
  padding: 12px;
  border: 1px solid #f0e0d5;
  border-radius: 9px;
  background: #fffaf6;
  color: #5e5a56;
  font-size: 11px;
  line-height: 1.7;
}

.reporter-agreement a {
  overflow-wrap: anywhere;
}

.reporter-agreement-draft {
  border-color: #ead6a8;
  background: #fff9e9;
}

.reporter-agreement-draft strong {
  color: #8a5a13;
}

.reporter-check {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #46536a;
  font-size: 11px;
  line-height: 1.6;
}

.reporter-check input {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  margin: 1px 0 0;
  accent-color: var(--orange);
  cursor: pointer;
}

.reporter-button {
  justify-self: start;
  min-height: 40px;
  padding: 0 14px;
  border: 0;
  border-radius: 6px;
  background: var(--orange);
  color: #fff;
  cursor: pointer;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.3;
  transition: background-color 140ms ease, box-shadow 140ms ease, transform 140ms ease;
}

.reporter-button:hover {
  background: var(--orange-dark);
}

.reporter-button:active:not(:disabled) {
  transform: translateY(1px);
}

.reporter-button:focus-visible {
  outline: 3px solid rgb(255 105 11 / 28%);
  outline-offset: 2px;
}

.reporter-button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.reporter-button.secondary {
  border: 1px solid #e5e8ee;
  background: white;
  color: #596579;
}

.reporter-button.secondary:hover {
  border-color: #cbd2dc;
  background: #f8f9fb;
}

#reporter-application a,
.reporter-onboarding-step a {
  width: fit-content;
  color: #a94f27;
  font-size: 11px;
  font-weight: 700;
  text-underline-offset: 3px;
}

#reporter-application a:hover,
.reporter-onboarding-step a:hover {
  color: #783719;
}

#reporter-application a[aria-disabled="true"] {
  color: #9aa2ad;
  cursor: not-allowed;
  text-decoration: none;
}

.reporter-message {
  padding: 12px 14px;
  border: 1px solid #f2cccc;
  border-radius: 8px;
  background: #fff5f4;
  color: #9a2424;
  font-size: 12px;
  line-height: 1.6;
}

.reporter-message.success {
  border-color: #cde9da;
  background: #f0fbf5;
  color: #208357;
}

.reporter-status-pill {
  display: inline-flex;
  width: fit-content;
  padding: 5px 10px;
  border-radius: 30px;
  background: #fff0e7;
  color: #b95c2d;
  font-size: 10px;
  font-weight: 800;
  text-transform: capitalize;
}

.reporter-status-pill.approved,
.reporter-status-pill.active,
.reporter-status-pill.needs_information {
  background: #eaf8ef;
  color: #258552;
}

.reporter-status-pill.needs_information {
  background: #fff4db;
  color: #8b6417;
}

.reporter-status-pill.rejected,
.reporter-status-pill.revoked,
.reporter-status-pill.expired {
  background: #fff0ef;
  color: #b8403b;
}

.reporter-status-pill.not_yet_valid,
.reporter-status-pill.pending_acceptance {
  background: #fff4db;
  color: #8b6417;
}

.reporter-data-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.reporter-data-item {
  padding: 12px;
  border: 1px solid #edf0f4;
  border-radius: 8px;
  background: #fcfcfd;
}

.reporter-data-item span,
.reporter-data-item strong {
  display: block;
}

.reporter-data-item span {
  margin-bottom: 5px;
  color: #8993a4;
  font-size: 9px;
  text-transform: uppercase;
}

.reporter-data-item strong {
  overflow-wrap: anywhere;
  color: #27334a;
  font-size: 12px;
}

.reporter-code {
  font-family: Consolas, monospace;
  font-size: 17px !important;
  letter-spacing: 0.04em;
}

.reporter-credential {
  display: grid;
  gap: 12px;
  padding: 15px;
  border: 1px solid #e7eaf0;
  border-radius: 9px;
  background: #fff;
}

.reporter-credential-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.reporter-credential-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.reporter-credential-actions a {
  color: #ba5b2c;
  font-size: 11px;
}

.reporter-loading,
.reporter-empty {
  color: #8993a4;
  font-size: 12px;
}

[hidden] {
  display: none !important;
}

@media (max-width: 620px) {
  .reporter-main {
    width: calc(100% - 24px);
    gap: 12px;
    margin-top: 18px;
    margin-bottom: 36px;
  }

  .reporter-intro {
    padding-top: 6px;
  }

  .reporter-card {
    gap: 12px;
    padding: 15px;
  }

  .reporter-form-grid,
  .reporter-form-step,
  .reporter-data-grid {
    grid-template-columns: 1fr;
  }

  .reporter-form-step > *,
  .reporter-form-step .reporter-field-full {
    grid-column: 1;
  }

  .reporter-form-progress {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  .reporter-form-progress li {
    padding: 6px 7px;
    font-size: 9px;
  }

  .reporter-account-summary {
    grid-template-columns: 1fr;
  }

  .reporter-photo-crop {
    grid-template-columns: 1fr;
  }

  .reporter-photo-crop-viewport {
    max-width: 320px;
  }

  .reporter-form-navigation {
    display: flex;
  }

  .reporter-form-navigation > button {
    min-width: 0;
    flex: 1 1 0;
    padding-inline: 10px;
  }

  .reporter-form-navigation > button:not(.secondary) {
    margin-left: 0;
  }

  .reporter-timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
