.reports-shell {
  min-height: calc(100vh - 64px);
  padding: clamp(32px, 6vw, 76px) 20px 80px;
  background: #f7f8f7;
}

.reports-inner {
  width: min(920px, 100%);
  margin: 0 auto;
}

.report-back {
  padding: 9px 13px;
  color: #36554b;
  font: inherit;
  font-weight: 700;
  background: #fff;
  border: 1px solid #d5e1db;
  border-radius: 9px;
  cursor: pointer;
}

.report-back:hover {
  border-color: #007a5c;
  color: #004f3f;
}

.reports-screen-title {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.reports-picker-title {
  margin: 14px 0 14px;
  font-size: 1.35rem;
}

.reports-picker-header {
  margin-bottom: 14px;
}

.report-list-back,
.report-list-retry {
  padding: 9px 13px;
  color: #36554b;
  font: inherit;
  font-weight: 700;
  background: #fff;
  border: 1px solid #d5e1db;
  border-radius: 9px;
  cursor: pointer;
}

.report-list-back:hover,
.report-list-retry:hover {
  border-color: #007a5c;
  color: #004f3f;
}

.reports-list-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.reports-list-header h2 {
  margin: 0;
  font-size: clamp(1.5rem, 4vw, 2rem);
}

.reports-list-header p {
  margin: 7px 0 0;
  color: #52605c;
}

.reports-list-header .button {
  flex: 0 0 auto;
  min-height: 44px;
  padding: 10px 18px;
  border: 0;
  cursor: pointer;
}

.reports-list-message {
  margin: 0;
  padding: 18px;
  color: #52605c;
  background: #fff;
  border: 1px solid #dce7e1;
  border-radius: 12px;
}

.reports-list-message a {
  color: #006348;
  font-weight: 700;
}

.reports-list-message.is-error {
  margin-bottom: 12px;
  color: #a52b23;
}

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

.lost-report-card {
  min-width: 0;
  padding: 18px;
  background: #fff;
  border: 1px solid #dce7e1;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(16, 24, 40, .035);
}

.lost-report-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.lost-report-heading h3 {
  margin: 0;
  color: #173d32;
  font-family: var(--font-display, sans-serif);
  font-size: 1.08rem;
}

.lost-report-heading span {
  flex: 0 0 auto;
  padding: 4px 8px;
  color: #36554b;
  background: #edf4f0;
  border-radius: 99px;
  font-size: .76rem;
  font-weight: 700;
}

.lost-report-card > p {
  margin: 10px 0 0;
  color: #61716b;
  font-size: .92rem;
}

.lost-report-card > .lost-report-description {
  color: #334a40;
  overflow-wrap: anywhere;
}

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

.lost-report-detail {
  min-width: 0;
}

.lost-report-detail dt {
  color: #61716b;
  font-size: .77rem;
  font-weight: 750;
}

.lost-report-detail dd {
  margin: 2px 0 0;
  color: #334a40;
  font-size: .92rem;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.lost-report-photos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.lost-report-photo {
  min-width: 0;
  margin: 0;
}

.lost-report-photo a {
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #f3f7f5;
  border-radius: 9px;
}

.lost-report-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lost-report-photo figcaption,
.lost-report-published {
  margin-top: 5px;
  color: #61716b;
  font-size: .8rem;
  overflow-wrap: anywhere;
}

.lost-report-published {
  margin-bottom: 0;
}

.reports-list-load-error {
  color: #a52b23;
}

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

.report-choice {
  display: grid;
  gap: 5px;
  min-height: 108px;
  padding: 20px;
  text-align: left;
  color: #152d26;
  background: #fff;
  border: 1px solid #dce7e1;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(16, 24, 40, .045);
  cursor: pointer;
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.report-choice:hover,
.report-choice:focus-visible {
  border-color: #009b73;
  box-shadow: 0 12px 28px rgba(0, 79, 63, .1);
  transform: translateY(-2px);
}

.report-choice span {
  color: #004f3f;
  font-family: var(--font-display, sans-serif);
  font-size: 1.13rem;
  font-weight: 800;
}

.report-choice small {
  color: #61716b;
  font-size: .95rem;
}

.report-form {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.report-group {
  min-width: 0;
  margin: 0;
  padding: clamp(16px, 3vw, 24px);
  background: #fff;
  border: 1px solid #e0e8e4;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(16, 24, 40, .035);
}

.report-group legend {
  padding: 0 8px;
  color: #173d32;
  font-family: var(--font-display, sans-serif);
  font-size: 1.14rem;
  font-weight: 800;
}

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

.report-field {
  display: grid;
  align-content: start;
  gap: 6px;
  min-width: 0;
  color: #263a33;
  font-size: .94rem;
  font-weight: 700;
}

.report-field > span:first-child {
  display: block;
}

.report-field-wide {
  grid-column: 1 / -1;
}

.report-field input,
.report-field select,
.report-field textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  color: #14251f;
  font: inherit;
  font-weight: 450;
  background: #fff;
  border: 1px solid #cfdcd5;
  border-radius: 9px;
}

.report-field textarea {
  min-height: 108px;
  resize: vertical;
}

.report-field input:focus,
.report-field select:focus,
.report-field textarea:focus {
  outline: 3px solid rgba(0, 122, 92, .14);
  border-color: #007a5c;
}

.report-field small {
  color: #64746e;
  font-size: .82rem;
  font-weight: 450;
}

.report-upload input {
  padding: 9px;
  background: #f8fbf9;
}

.report-file-status {
  color: #007a5c !important;
}

.report-check {
  display: flex;
  grid-column: 1 / -1;
  align-items: flex-start;
  gap: 11px;
  color: #30453d;
  font-weight: 550;
}

.report-check input {
  width: 19px;
  height: 19px;
  margin: 2px 0 0;
  accent-color: #007a5c;
  flex: 0 0 auto;
}

.report-alert {
  margin: 0;
  padding: 14px 17px;
  color: #704a10;
  background: #fff7e7;
  border: 1px solid #f0ddb6;
  border-radius: 10px;
}

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

.report-form-actions .button {
  min-height: 46px;
  padding-inline: 20px;
  border: 0;
  cursor: pointer;
}

.report-form-actions .button:disabled {
  cursor: wait;
  opacity: .7;
}

.report-private-submit {
  flex: 1 0 100%;
  margin: 0;
  color: #557067;
  font-size: .88rem;
}

.report-result {
  margin: 0;
  font-weight: 650;
}

.report-result:empty {
  display: none;
}

.report-result.is-error {
  color: #a52b23;
}

.report-result.is-success {
  color: #006348;
}

.report-result a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.reports-shell :focus-visible {
  outline: 3px solid rgba(0, 122, 92, .35);
  outline-offset: 2px;
}

@media (max-width: 540px) {
  .reports-shell {
    padding-top: 28px;
    padding-inline: 16px;
  }

  .report-choice-grid,
  .report-grid,
  .lost-report-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .reports-list-header {
    align-items: stretch;
    flex-direction: column;
  }

  .reports-list-header .button {
    width: 100%;
    justify-content: center;
  }

  .lost-report-heading {
    flex-wrap: wrap;
  }

  .lost-report-details {
    grid-template-columns: minmax(0, 1fr);
  }

  .lost-report-photos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .report-field-wide,
  .report-check {
    grid-column: auto;
  }

  .report-form-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .report-form-actions > * {
    width: 100%;
    justify-content: center;
  }
}

/* Perdidos e achados — editorial green, with a distinct report shelf. */
.reports-shell {
  min-height: calc(100dvh - 64px);
  padding: clamp(24px, 4vw, 48px) 20px 76px;
  background:
    radial-gradient(ellipse at 86% 0%, rgba(0, 122, 92, .07), transparent 30rem),
    #f7f8f7;
}

.reports-inner {
  width: min(1080px, 100%);
}

.reports-list {
  display: grid;
  gap: 22px;
}

.reports-page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 13px;
  margin: 0 0 2px;
}

.reports-page-heading h2 {
  margin: 0;
  color: #173d32;
  font-size: clamp(1.55rem, 3.2vw, 2.2rem);
  font-weight: 850;
  line-height: 1.1;
  letter-spacing: -.045em;
}

.reports-shell .reports-search-row .reports-filter-toggle {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  padding: 0;
  color: #075a46;
  background: #e5f1eb;
  border: 1px solid #cfe1d8;
  border-radius: 13px;
  cursor: pointer;
  transition: border-color 180ms ease, background-color 180ms ease;
}

.reports-shell .reports-search-row .reports-filter-toggle:hover,
.reports-shell .reports-search-row .reports-filter-toggle[aria-pressed="true"] {
  background: #d7eae0;
  border-color: #a9cdbc;
}

.reports-shell .reports-search-row .reports-filter-toggle svg {
  width: 21px;
  height: 21px;
}

.reports-list-header {
  align-items: center;
  min-height: 116px;
  margin: 0;
  padding: clamp(22px, 4vw, 34px);
  color: #fff;
  background:
    radial-gradient(circle at 88% 18%, rgba(139, 208, 174, .2), transparent 15rem),
    linear-gradient(116deg, #064f3e 0%, #007a5c 68%, #118566 100%);
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 18px;
  box-shadow: 0 16px 36px rgba(0, 79, 63, .13);
}

.reports-list-header h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.35rem, 2.4vw, 1.8rem);
  line-height: 1.15;
  letter-spacing: -.035em;
}

.reports-list-header .button.button-primary {
  min-height: 48px;
  padding: 0 21px;
  color: #075441;
  background: #f5fbf7;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 11px;
  box-shadow: 0 8px 18px rgba(0, 43, 31, .16);
  transition: transform 180ms ease, background-color 180ms ease;
}

.reports-list-header .button.button-primary:hover {
  color: #064633;
  background: #fff;
  transform: translateY(-2px);
}

.reports-list-message {
  padding: 22px;
  background: #fff;
  border-color: #d9e7df;
  border-radius: 14px;
}

.report-list-retry {
  justify-self: start;
}

.lost-report-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 16px;
  background: #e6f0ea;
  border: 1px solid #d9e7df;
  border-radius: 18px;
}

.lost-report-card {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 16px;
  align-content: start;
  padding: 14px;
  background: #fff;
  border: 1px solid #d9e5de;
  border-radius: 13px;
  box-shadow: 0 6px 18px rgba(16, 51, 39, .045);
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.lost-report-card:hover {
  border-color: #b5d3c3;
  box-shadow: 0 10px 24px rgba(16, 51, 39, .085);
  transform: translateY(-2px);
}

.lost-report-thumb-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  align-self: start;
  background: #e8f4ed;
  border-radius: 10px;
}

.lost-report-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lost-report-content {
  min-width: 0;
}

.lost-report-heading {
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 7px 10px;
}

.lost-report-heading h3 {
  min-width: 0;
  color: #173d32;
  font-size: 1.03rem;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.lost-report-heading span {
  padding: 4px 8px;
  color: #075a46;
  background: #e8f3ec;
  font-size: .72rem;
  line-height: 1.25;
}

.lost-report-published {
  margin-top: 7px !important;
  color: #65776e !important;
  font-size: .79rem !important;
  line-height: 1.35;
}

.lost-report-expanded {
  margin-top: 11px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
}

.lost-report-expanded summary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 0;
  color: #087254;
  font-size: .84rem;
  line-height: 1.3;
  list-style: none;
}

.lost-report-expanded summary::after {
  content: "+";
  color: #087254;
  font-size: 1.05rem;
  font-weight: 700;
}

.lost-report-expanded[open] summary::after {
  content: "−";
}

.lost-report-expanded .lost-report-details {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 13px;
  margin: 9px 0 0;
}

.lost-report-expanded .lost-report-detail dt {
  color: #718179;
  font-size: .72rem;
}

.lost-report-expanded .lost-report-detail dd {
  color: #304b3f;
  font-size: .86rem;
  line-height: 1.4;
}

.lost-report-photos {
  margin-top: 13px;
}

.lost-report-photo a {
  background: #e8f3ec;
  border-radius: 8px;
}

.lost-report-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reports-list-load-error {
  margin: 0;
  color: #9f3328;
}

.reports-pagination {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.reports-page-control {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 8px 12px;
  color: #075a46;
  background: #fff;
  border: 1px solid #cfe1d8;
  border-radius: 10px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.reports-page-control span {
  white-space: nowrap;
}

.reports-page-control svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.reports-page-number {
  color: #36554b;
  font-size: .9rem;
  font-weight: 700;
}

.reports-pagination[aria-busy="true"] .reports-page-control {
  opacity: .6;
  pointer-events: none;
}

.reports-page-control:focus-visible {
  outline: 3px solid rgba(0, 122, 92, .42);
  outline-offset: 3px;
}

.reports-shell :focus-visible {
  outline: 3px solid rgba(0, 122, 92, .42);
  outline-offset: 3px;
}

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

@media (max-width: 640px) {
  .reports-shell {
    min-height: calc(100dvh - 64px);
    padding: 23px 14px 48px;
  }

  .reports-list {
    gap: 16px;
  }

  .reports-page-heading {
    gap: 10px;
  }

  .reports-page-heading {
    gap: 8px;
  }

  .reports-shell .reports-page-heading h2 {
    font-size: clamp(1.15rem, 5.2vw, 1.3rem);
    letter-spacing: -.025em;
  }

  .reports-shell .reports-search-row .reports-filter-toggle {
    width: 46px;
    height: 46px;
    flex-basis: 46px;
  }

  .reports-list-header {
    min-height: 0;
    align-items: stretch;
    flex-direction: column;
    gap: 17px;
    padding: 20px;
    border-radius: 15px;
  }

  .reports-list-header .button {
    width: 100%;
    min-height: 46px;
  }

  .lost-report-grid {
    gap: 10px;
    padding: 10px;
    border-radius: 15px;
  }

  .lost-report-card {
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 12px;
    padding: 10px;
    border-radius: 11px;
  }

  .lost-report-thumb-wrap {
    border-radius: 8px;
  }

  .lost-report-heading h3 {
    font-size: .97rem;
  }

  .lost-report-heading span {
    max-width: 100%;
    font-size: .68rem;
  }

  .lost-report-published {
    font-size: .75rem !important;
  }

  .lost-report-expanded {
    margin-top: 7px;
  }

  .lost-report-expanded .lost-report-details {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }

  .lost-report-photos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.lost-report-details-trigger {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
  padding: 10px 0 0;
  color: #075a46;
  text-align: left;
  font: inherit;
  font-size: .88rem;
  font-weight: 800;
  background: transparent;
  border: 0;
  border-top: 1px solid #e8efeb;
  cursor: pointer;
}

.lost-report-details-trigger svg {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  margin-left: auto;
  stroke-width: 2;
  transition: transform 160ms ease;
}

.lost-report-details-trigger:hover svg {
  transform: translateX(3px);
}

.lost-report-details-trigger:focus-visible,
.report-details-close:focus-visible {
  outline: 3px solid rgba(0, 122, 92, .35);
  outline-offset: 3px;
}

.report-details-dialog {
  position: fixed;
  inset: 0;
  width: min(820px, calc(100vw - 32px));
  max-width: none;
  max-height: min(88dvh, 900px);
  margin: auto;
  padding: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  color: #173d32;
  background: #fbfdfb;
  border: 1px solid #d6e4dc;
  border-radius: 20px;
  box-shadow: 0 24px 80px rgba(7, 42, 30, .24);
}

.report-details-dialog::backdrop {
  background: rgba(11, 32, 25, .5);
  animation: report-details-backdrop-in 180ms ease both;
}

.report-details-dialog[open] {
  animation: report-details-dialog-in 200ms ease both;
}

.report-details-header {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 24px 18px;
  background: #fbfdfb;
  border-bottom: 1px solid #e0ebe5;
}

.report-details-heading {
  min-width: 0;
}

.report-details-category {
  margin: 0 0 5px;
  color: #087454;
  font-size: .84rem;
  font-weight: 800;
}

.report-details-header h2 {
  margin: 0;
  color: #173d32;
  font-family: var(--font-display, sans-serif);
  font-size: clamp(1.35rem, 3.2vw, 1.8rem);
  line-height: 1.18;
  overflow-wrap: anywhere;
}

.report-details-document-type {
  margin: 5px 0 0;
  color: #4d655b;
  font-weight: 700;
}

.report-details-close {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  place-items: center;
  color: #245347;
  background: transparent;
  border: 0;
  border-radius: 12px;
  cursor: pointer;
}

.report-details-close:hover {
  color: #064f3f;
  background: transparent;
}

.report-details-close svg {
  width: 20px;
  height: 20px;
  stroke-width: 2.2;
}

.report-details-body {
  padding: 20px 24px 26px;
}

.report-details-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.report-details-location {
  display: grid;
  gap: 3px;
  min-width: 0;
  margin: 0;
  padding: 9px 12px;
  background: #f0f6f2;
  border-radius: 10px;
}

.report-details-location span {
  color: #61716b;
  font-size: .75rem;
  font-weight: 700;
}

.report-details-location strong {
  color: #294b3f;
  font-size: .9rem;
  overflow-wrap: anywhere;
}

.report-details-dialog .lost-report-details {
  margin: 0;
}

.report-details-photo-section {
  margin-top: 24px;
}

.report-details-photo-section h3 {
  margin: 0 0 12px;
  color: #173d32;
  font-size: 1.05rem;
}

.report-details-dialog .lost-report-photos {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 14px;
  margin-top: 0;
}

@keyframes report-details-dialog-in {
  from {
    opacity: 0;
    transform: translateY(10px) scale(.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes report-details-backdrop-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (max-width: 640px) {
  .report-details-dialog {
    inset: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    max-height: none;
    margin: 0;
    border: 0;
    border-radius: 0;
  }

  .report-details-dialog[open] {
    animation: report-details-slide-in 260ms cubic-bezier(.22, 1, .36, 1) both;
  }

  .report-details-header {
    padding: calc(12px + env(safe-area-inset-top, 0px)) 18px 14px;
  }

  .report-details-body {
    padding: 18px 18px calc(24px + env(safe-area-inset-bottom, 0px));
  }

  .report-details-dialog .lost-report-details {
    grid-template-columns: minmax(0, 1fr);
  }

  .report-details-dialog .lost-report-photos {
    grid-template-columns: minmax(0, 1fr);
  }
}

@keyframes report-details-slide-in {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}

@media (prefers-reduced-motion: reduce) {
  .lost-report-details-trigger svg,
  .report-details-dialog[open],
  .report-details-dialog::backdrop {
    animation-duration: .01ms;
    transition-duration: .01ms;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reports-shell *,
  .reports-shell *::before,
  .reports-shell *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}

/* Report detail dialog: photo-led, calm, and easy to scan on a small screen. */
.report-details-dialog {
  width: min(760px, calc(100vw - 36px));
  max-height: min(90dvh, 920px);
  color: #183c31;
  background: #f9fcfa;
  border-color: #d3e3d9;
  border-radius: 22px;
  box-shadow: 0 28px 90px rgba(8, 47, 34, .28);
}

.report-details-header {
  align-items: center;
  padding: 20px 26px 17px;
  background: rgba(249, 252, 250, .97);
  border-bottom-color: #e1ebe5;
  backdrop-filter: blur(14px);
}

.report-details-category {
  margin-bottom: 7px;
  color: #087454;
  font-size: .78rem;
  letter-spacing: .055em;
  text-transform: uppercase;
}

.report-details-header h2 {
  font-size: clamp(1.45rem, 3vw, 1.9rem);
  letter-spacing: -.035em;
}

.reports-shell .report-details-dialog .report-details-header h2 {
  max-width: none;
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.25;
}

.report-details-document-type {
  margin-top: 7px;
  color: #5b7066;
  font-size: .94rem;
  font-weight: 600;
}

.report-details-body {
  display: grid;
  gap: 18px;
  padding: 20px 26px 28px;
}

.report-details-hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 190px;
  margin: 0;
  overflow: hidden;
  background: #e8f2ec;
  border: 1px solid #dce9e1;
  border-radius: 16px;
}

.report-details-hero.has-photo {
  height: clamp(230px, 36vw, 340px);
  background: #e6eee9;
}

.report-details-hero-image {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 340px;
  object-fit: contain;
}

.report-details-hero.has-photo .report-details-hero-image {
  object-fit: contain;
}

.report-details-hero.is-illustration .report-details-hero-image {
  width: min(240px, 65%);
  height: 170px;
  padding: 9px;
}

.report-details-hero figcaption {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 6px 10px;
  color: #174b39;
  background: rgba(249, 252, 250, .94);
  border: 1px solid rgba(210, 229, 218, .9);
  border-radius: 99px;
  font-size: .78rem;
  font-weight: 750;
}

.report-details-summary {
  align-items: stretch;
  gap: 10px;
  margin: 0;
}

.report-details-hero > .report-status-chip {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 1;
  display: inline-flex;
  padding: 6px 11px;
  color: #075a46;
  background: #e1efe7;
  border-radius: 99px;
  font-size: .85rem;
  font-weight: 750;
  line-height: 1.2;
}

.report-details-hero > .report-status-chip.is-lost {
  color: #743c36;
  background: #f8e9e6;
}

.report-details-location {
  flex: 1 1 260px;
  padding: 11px 14px;
  background: #edf5f0;
  border: 1px solid #deebe3;
  border-radius: 12px;
}

.report-details-location span {
  font-size: .74rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.report-details-location strong {
  font-size: .95rem;
  line-height: 1.4;
}

.report-details-field-group {
  min-width: 0;
  padding: 15px 17px 16px;
  background: #fff;
  border: 1px solid #e0eae4;
  border-radius: 14px;
}

.report-details-field-group > h3,
.report-details-photo-section > h3 {
  margin: 0 0 12px;
  color: #1c4a3a;
  font-family: var(--font-display, sans-serif);
  font-size: .98rem;
  font-weight: 800;
  letter-spacing: -.015em;
}

.report-details-field-group .lost-report-details {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 20px;
}

.report-details-field-group .lost-report-detail dt {
  color: #63766c;
  font-size: .76rem;
  line-height: 1.3;
}

.report-details-field-group .lost-report-detail dd {
  margin-top: 3px;
  color: #203f33;
  font-size: .96rem;
  line-height: 1.5;
}

.report-details-record {
  padding-block: 12px;
  background: #f0f6f2;
}

.report-details-record .lost-report-details {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.report-details-photo-section {
  margin-top: 0;
  padding-top: 2px;
}

.report-details-photo-section > h3 {
  font-size: 1.08rem;
}

.report-details-dialog .lost-report-photos {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr));
  gap: 12px;
}

.report-details-dialog .lost-report-photo a {
  aspect-ratio: 4 / 3;
  border: 1px solid #dce9e1;
  border-radius: 12px;
}

.report-details-dialog .lost-report-photo figcaption {
  margin-top: 6px;
  color: #64776c;
  font-size: .8rem;
}

@media (max-width: 640px) {
  .report-details-dialog {
    width: 100%;
    max-height: none;
    border-radius: 0;
    background: #f8fbf9;
  }

  .report-details-header {
    padding: calc(11px + env(safe-area-inset-top, 0px)) 17px 13px;
  }

  .report-details-close {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }

  .report-details-body {
    gap: 14px;
    padding: 15px 16px calc(24px + env(safe-area-inset-bottom, 0px));
  }

  .report-details-hero {
    min-height: 178px;
    border-radius: 13px;
  }

  .report-details-hero.has-photo {
    height: clamp(220px, 72vw, 310px);
  }

  .report-details-hero.is-illustration .report-details-hero-image {
    height: 150px;
  }

  .report-details-field-group {
    padding: 14px;
  }

  .report-details-field-group .lost-report-details,
  .report-details-record .lost-report-details {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .report-details-dialog .lost-report-photos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Report search filters: a native top-layer drawer, independent of page stacking contexts. */
.report-filter-dialog {
  position: fixed;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  color: #173d32;
  background: transparent;
  border: 0;
}

.report-filter-dialog::backdrop {
  background: rgba(11, 32, 25, .42);
  animation: report-filter-backdrop-in 220ms ease both;
}

.report-filter-backdrop {
  position: absolute;
  inset: 0;
  background: transparent;
}

.report-filter-drawer {
  position: absolute;
  inset: 0 0 0 auto;
  display: flex;
  flex-direction: column;
  width: min(460px, 100%);
  height: 100%;
  height: 100dvh;
  min-height: 0;
  overflow: hidden;
  background: #fbfdfb;
  box-shadow: -18px 0 46px rgba(14, 47, 35, .16);
  animation: report-filter-slide-in 260ms cubic-bezier(.22, 1, .36, 1) both;
}

.report-filter-header {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 76px;
  padding: 13px 24px 13px 27px;
  background: #fff;
  border-bottom: 1px solid #eceeec;
}

#report-filter-title {
  margin: 0;
  color: #07392f;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 750;
  letter-spacing: -.02em;
  line-height: 1.3;
}

.report-filter-close {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  padding: 0;
  color: #234a3d;
  background: transparent;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
}

.report-filter-close:hover {
  background: #f0f6f2;
}

.report-filter-close svg {
  width: 19px;
  height: 19px;
  stroke-width: 2.2;
}

.report-filter-form {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-height: 0;
}

.report-filter-fields {
  display: grid;
  align-content: start;
  gap: 16px;
  flex: 1 1 auto;
  min-height: 0;
  padding: 25px 27px 30px;
  overflow: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.report-filter-search {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
  min-height: 60px;
  padding: 0 15px;
  background: #f1f7f3;
  border: 1px solid #e4eee8;
  border-radius: 13px;
}

.report-filter-search:focus-within {
  border-color: #58a88a;
  box-shadow: 0 0 0 3px rgba(0, 122, 92, .1);
}

.report-filter-search svg {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  color: #075a46;
  stroke-width: 2;
}

.report-filter-search input {
  width: 100%;
  min-width: 0;
  min-height: 46px;
  padding: 0;
  color: #173d32;
  background: transparent;
  border: 0;
  outline: 0;
  font: inherit;
  font-size: 1rem;
  font-weight: 500;
}

.report-filter-search input::placeholder {
  color: #788980;
  opacity: 1;
}

.report-filter-status {
  display: grid;
  gap: 10px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.report-filter-status-options {
  display: grid;
  gap: 9px;
}

.report-filter-status-option {
  width: 100%;
  min-height: 56px;
  padding: 12px 16px;
  color: #175646;
  background: #fff;
  border: 1px solid #cbdcd3;
  border-radius: 13px;
  box-shadow: 0 1px 2px rgba(24, 58, 44, .04);
  font: inherit;
  font-size: .98rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}

.report-filter-status-option[aria-pressed="true"] {
  color: #fff;
  background: #005c4b;
  border-color: #005c4b;
}

.report-filter-status-option:focus-visible {
  outline: 3px solid rgba(0, 122, 92, .28);
  outline-offset: 2px;
}

.report-filter-field {
  display: grid;
  gap: 7px;
  min-width: 0;
  color: #315347;
  font-size: .9rem;
  font-weight: 750;
}

.report-filter-field > span,
.report-filter-group-label {
  display: block;
}

.report-filter-field input,
.report-filter-field select {
  width: 100%;
  min-height: 49px;
  padding: 10px 13px;
  color: #173d32;
  background: #fff;
  border: 1px solid #cfdfd5;
  border-radius: 11px;
  font: inherit;
  font-size: .98rem;
  font-weight: 500;
}

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

.report-filter-field input::placeholder {
  color: #8b9a92;
  font-weight: 450;
}

.report-filter-field input:focus-visible,
.report-filter-field select:focus-visible,
.report-filter-close:focus-visible,
.report-filter-clear:focus-visible,
.report-filter-apply:focus-visible {
  outline: 3px solid rgba(0, 122, 92, .27);
  outline-offset: 2px;
  border-color: #007a5c;
}

.report-filter-date-group {
  display: grid;
  gap: 9px;
}

.report-filter-group-label {
  color: #315347;
  font-size: .9rem;
  font-weight: 750;
}

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

.report-filter-date-fields .report-filter-field > span {
  min-height: 2.5em;
  font-size: .82rem;
  line-height: 1.25;
}

.report-filter-date-fields input {
  min-width: 0;
  padding-inline: 9px;
}

.report-filter-error {
  min-height: 0;
  margin: 0;
  color: #9c3028;
  font-size: .88rem;
  font-weight: 650;
}

.report-filter-error:empty {
  display: none;
}

.report-filter-footer {
  display: flex;
  flex: 0 0 auto;
  gap: 12px;
  padding: 15px 27px calc(17px + env(safe-area-inset-bottom, 0px));
  background: #fff;
  border-top: 1px solid #e0eae4;
  box-shadow: 0 -8px 20px rgba(17, 54, 40, .045);
}

.report-filter-footer button {
  min-height: 50px;
  border-radius: 12px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.report-filter-clear {
  flex: 0 0 auto;
  padding: 0 15px;
  color: #075a46;
  background: #fff;
  border: 1px solid #cfe1d8;
}

.report-filter-clear:hover {
  background: #f0f7f3;
}

.report-filter-apply {
  flex: 1 1 auto;
  padding: 0 20px;
  color: #fff;
  background: linear-gradient(135deg, #087a5d, #064f3e);
  border: 1px solid #087a5d;
  box-shadow: 0 6px 15px rgba(0, 79, 63, .16);
}

.report-filter-apply:hover {
  background: #064f3e;
}

@keyframes report-filter-slide-in {
  from { opacity: .7; transform: translateX(28px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes report-filter-backdrop-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (max-width: 640px) {
  .report-filter-drawer {
    width: 100%;
    box-shadow: none;
  }

  .report-filter-header {
    min-height: 69px;
    padding: 10px 18px;
  }

  .report-filter-fields {
    gap: 17px;
    padding: 21px 18px 25px;
  }

  .report-filter-footer {
    gap: 9px;
    padding: 12px 18px calc(14px + env(safe-area-inset-bottom, 0px));
  }

  .report-filter-clear {
    padding-inline: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .report-filter-dialog::backdrop,
  .report-filter-drawer {
    animation-duration: .01ms;
  }
}

/* Public report shelf — faithful to Nsokoti's recovery-first reference layout. */
.reports-shell {
  min-height: calc(100dvh - 64px);
  padding: clamp(22px, 4vw, 42px) 20px 72px;
  background:
    radial-gradient(ellipse at 82% 3%, rgba(28, 151, 112, .09), transparent 31rem),
    #f7f8f7;
}

.reports-inner {
  width: min(1120px, 100%);
}

.reports-list {
  display: grid;
  gap: 17px;
  min-width: 0;
}

.reports-shell .reports-page-heading {
  margin: 0 0 1px;
}

.reports-shell .reports-page-heading h2 {
  margin: 0;
  color: #07392f;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 850;
  letter-spacing: -.045em;
  line-height: 1.1;
}

.reports-home {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  padding: 0;
  color: #075a46;
  background: #e1f0e9;
  border: 1px solid #d0e7dc;
  border-radius: 50%;
  cursor: pointer;
  transition: transform 180ms ease, background-color 180ms ease;
}

.reports-home:hover {
  background: #d2e9de;
  transform: translateY(-2px);
}

.reports-home svg {
  width: 23px;
  height: 23px;
  stroke-width: 2.4;
}

.reports-list-header {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 20px;
  min-height: 272px;
  margin: 0;
  padding: clamp(22px, 4vw, 34px);
  color: #fff;
  background-color: #075c48;
  background-image:
    linear-gradient(100deg, rgba(4, 67, 53, .98) 0%, rgba(0, 111, 83, .88) 38%, rgba(3, 78, 66, .62) 100%),
    url("./assets/report-handover-card.webp");
  background-position: center, center 25%;
  background-size: cover, cover;
  background-repeat: no-repeat, no-repeat;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 18px;
  box-shadow: 0 15px 33px rgba(0,79,63,.13);
}

.reports-hero-copy h2,
.reports-shell .reports-list-header .reports-hero-copy h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.35rem, 5.4vw, 2.2rem);
  font-weight: 850;
  line-height: 1.12;
  letter-spacing: -.04em;
}

.reports-hero-message {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  align-items: center;
  gap: 20px;
  width: 100%;
  max-width: none;
  margin: 0;
}

.reports-hero-symbol {
  width: 100%;
  height: auto;
  fill: none;
  stroke: #f1fbf5;
  stroke-width: 3.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.reports-hero-copy p {
  margin: 10px 0 0;
  color: rgba(255,255,255,.88);
  font-size: clamp(.98rem, 1.7vw, 1.08rem);
  line-height: 1.45;
}

.reports-list-header .button.button-primary,
.reports-shell .reports-list-header .button.button-primary {
  display: flex;
  width: 100%;
  min-height: 52px;
  justify-content: center;
  padding: 0 20px;
  color: #07392f;
  background: #f7fcf9;
  border: 1px solid rgba(255,255,255,.75);
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,35,25,.15);
  font-size: 1rem;
  font-weight: 800;
  transition: transform 180ms ease, background-color 180ms ease;
}

.reports-list-header .button.button-primary > span {
  font-size: 1.55rem;
  font-weight: 500;
  line-height: 1;
}

.reports-shell .reports-list-header .button.button-primary:hover {
  color: #07392f;
  background: #fff;
  transform: translateY(-1px);
}

.reports-lost-prompt {
  margin: -6px 0 0;
  color: #405a50;
  text-align: center;
  font-size: .98rem;
}

.reports-register-loss {
  padding: 0;
  color: #075a46;
  background: transparent;
  border: 0;
  border-bottom: 1px solid currentColor;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.reports-shell .reports-search-row {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-width: 0;
}

.reports-shell .reports-search-row .reports-search {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  gap: 11px;
  min-width: 0;
  min-height: 50px;
  padding: 0 14px;
  background: #fff;
  border: 1px solid #d8e5de;
  border-radius: 14px;
  box-shadow: 0 3px 12px rgba(14,53,39,.025);
}

.reports-shell .reports-search-row .reports-search:focus-within {
  border-color: #58a88a;
  box-shadow: 0 0 0 3px rgba(0,122,92,.1);
}

.reports-shell .reports-search-row .reports-search svg {
  width: 23px;
  height: 23px;
  flex: 0 0 auto;
  color: #075a46;
  stroke-width: 2;
}

.reports-shell .reports-search-row .reports-search input {
  width: 100%;
  min-width: 0;
  min-height: 46px;
  padding: 0;
  color: #183b30;
  background: transparent;
  border: 0;
  outline: 0;
  font-size: 1rem;
}

.reports-shell .reports-search-row .reports-search input::placeholder {
  color: #87968f;
}

.reports-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  width: min(720px, 100%);
  margin: 0 auto;
}

.reports-tabs button {
  min-width: 0;
  min-height: 46px;
  padding: 8px 12px;
  color: #214a3d;
  background: #e2f0e9;
  border: 1px solid transparent;
  border-radius: 99px;
  font-size: .94rem;
  font-weight: 750;
  cursor: pointer;
  transition: color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.reports-tabs button:hover {
  background: #d4e9dd;
}

.reports-tabs button[aria-pressed="true"] {
  color: #fff;
  background: #00644d;
  box-shadow: 0 5px 13px rgba(0,79,63,.15);
}

.reports-shell .reports-recent-title {
  margin: 2px 0 -7px;
  color: #07392f;
  font-size: clamp(1.25rem, 2.5vw, 1.6rem);
  font-weight: 850;
  line-height: 1.15;
  letter-spacing: -.035em;
}

.lost-report-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.lost-report-card {
  grid-template-columns: minmax(96px, 124px) minmax(0, 1fr);
  align-items: start;
  gap: 15px;
  min-width: 0;
  padding: 13px;
  border: 1px solid #e4ede8;
  border-radius: 15px;
  box-shadow: 0 5px 17px rgba(17,54,40,.045);
}

.lost-report-card:hover {
  border-color: #c1ddce;
  box-shadow: 0 9px 23px rgba(17,54,40,.075);
  transform: translateY(-1px);
}

.lost-report-thumb-wrap {
  aspect-ratio: 1 / 1;
  border-radius: 11px;
  background: #e5f4ec;
}

.lost-report-heading {
  align-items: flex-start;
  flex-wrap: nowrap;
  gap: 8px;
}

.lost-report-title-block {
  display: grid;
  flex: 1 1 auto;
  min-width: 0;
}

.reports-shell .lost-report-mobile-category,
.reports-shell .lost-report-mobile-document-type {
  display: none;
}

.lost-report-heading h3 {
  flex: 1 1 auto;
  min-width: 0;
  color: #102f27;
  font-size: 1.02rem;
  line-height: 1.24;
}

.lost-report-heading .report-status-chip {
  flex: 0 0 auto;
  padding: 5px 10px;
  color: #075a46;
  background: #e4f2eb;
  border-radius: 99px;
  font-size: .73rem;
  line-height: 1.2;
}

.lost-report-heading .report-status-chip.is-lost {
  color: #743c36;
  background: #f8e9e6;
}

.lost-report-location,
.lost-report-date {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin: 8px 0 0 !important;
  color: #66756e !important;
  font-size: .84rem !important;
  line-height: 1.32;
  overflow-wrap: anywhere;
}

.lost-report-location svg,
.lost-report-date svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  margin-top: 1px;
  stroke-width: 1.8;
}

.lost-report-expanded {
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid #e8efeb;
}

.reports-shell .lost-report-expanded summary {
  display: flex;
  width: 100%;
  justify-content: space-between;
  gap: 9px;
  padding: 3px 0 0;
  color: #075a46;
  font-size: .88rem;
  font-weight: 800;
}

.reports-shell .lost-report-expanded summary::after {
  content: "→";
  color: #075a46;
  font-size: 1.15rem;
  line-height: 1;
}

.reports-shell .lost-report-expanded[open] summary::after {
  content: "−";
}

.lost-report-expanded .lost-report-details {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.reports-loading {
  display: grid;
  gap: 12px;
}

.reports-loading i {
  display: block;
  height: 112px;
  background: #e6f0ea;
  border-radius: 15px;
  animation: report-skeleton 1.4s ease-in-out infinite alternate;
}

@keyframes report-skeleton {
  from { opacity: .56; }
  to { opacity: 1; }
}

.reports-empty,
.reports-list-message {
  padding: 21px;
  color: #52665c;
  background: #fff;
  border: 1px solid #dce9e1;
  border-radius: 14px;
}

.reports-empty p {
  margin: 0;
}

.reports-empty {
  text-align: center;
}

.reports-empty > .empty-state-icon {
  margin: 0 auto 12px;
}

.reports-clear-search {
  margin-top: 14px;
  padding: 0;
  color: #075a46;
  background: transparent;
  border: 0;
  font: inherit;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.reports-shell .report-list-retry {
  color: #075a46;
  background: #fff;
  border-color: #cfe1d8;
}

.reports-shell .reports-list-message.is-error,
.reports-shell .reports-list-load-error {
  color: #9f3328;
}

@media (max-width: 760px) {
  .lost-report-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 540px) {
  .reports-shell {
    padding: 21px 14px 46px;
  }

  .reports-list {
    gap: 14px;
  }

  .reports-home {
    width: 42px;
    height: 42px;
  }

  .reports-list-header {
    gap: 15px;
    min-height: 258px;
    padding: 21px 19px;
    border-radius: 15px;
  }

  .reports-hero-message {
    grid-template-columns: 70px minmax(0, 1fr);
    gap: 12px;
  }

  .reports-tabs {
    gap: 6px;
  }

  .reports-tabs button {
    min-height: 44px;
    padding: 7px 5px;
    font-size: .86rem;
  }

  .lost-report-card {
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 11px;
    padding: 10px;
    border-radius: 13px;
  }

  .lost-report-thumb-wrap {
    border-radius: 9px;
  }

  .lost-report-heading {
    flex-wrap: nowrap;
  }

  .lost-report-heading h3 {
    flex-basis: auto;
    font-size: .98rem;
  }

  .lost-report-heading .report-status-chip {
    font-size: .68rem;
  }

  .lost-report-location,
  .lost-report-date {
    margin-top: 6px !important;
    font-size: .78rem !important;
  }

  .lost-report-expanded .lost-report-details {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .reports-shell .lost-report-heading {
    align-items: flex-start;
    gap: 6px;
  }

  .reports-shell .lost-report-title-block {
    flex: 1 1 0;
    min-width: 0;
  }

  .reports-shell .lost-report-mobile-category,
  .reports-shell .lost-report-mobile-document-type {
    display: block;
    min-width: 0;
    margin: 0 !important;
    color: #536b60;
    font-size: .7rem !important;
    font-weight: 750;
    line-height: 1.15;
    overflow-wrap: anywhere;
  }

  .reports-shell .lost-report-mobile-document-type {
    color: #173d32;
    font-size: .91rem !important;
    font-weight: 800;
  }

  .reports-shell .lost-report-heading h3 {
    margin: 0;
    line-height: 1.2;
  }

  .reports-shell .lost-report-heading h3.lost-report-document-name {
    display: none;
  }

  .reports-shell .lost-report-heading .report-status-chip {
    max-width: 42%;
    margin: 0;
    white-space: nowrap;
  }

  .reports-shell .lost-report-expanded {
    min-width: 0;
  }

  .reports-shell .lost-report-expanded summary {
    min-height: 0;
    padding: 2px 0 0;
    line-height: 1.25;
  }
}

/* Report wizard — a focused, mobile-first flow for community submissions. */
.reports-shell .report-form {
  --report-ink: #173d32;
  --report-muted: #637970;
  --report-green: #08785d;
  --report-green-deep: #075541;
  --report-line: #d8e5dd;
  --report-paper: #fff;
  --report-wash: #f3f8f4;
  width: min(100%, 900px);
  margin: 26px auto 0;
  scroll-margin-top: 96px;
  gap: 20px;
  color: var(--report-ink);
}

.reports-shell .report-wizard-header {
  padding: clamp(20px, 4vw, 34px);
  background:
    radial-gradient(ellipse at 100% 0%, rgba(208, 233, 215, .75), transparent 42%),
    #f1f7f2;
  border: 1px solid #deebe1;
  border-radius: 18px;
}

.reports-shell .report-wizard-header .report-wizard-eyebrow {
  display: block;
  margin: 0 0 8px;
  color: var(--report-green);
  font-size: .74rem;
  font-weight: 850;
  letter-spacing: .12em;
  line-height: 1.3;
  text-transform: uppercase;
}

.reports-shell .report-wizard-header .report-title,
.reports-shell .report-wizard-header h1,
.reports-shell .report-wizard-header h2 {
  margin: 0;
  color: var(--report-ink);
  font-family: var(--font-display, sans-serif);
  font-size: clamp(1.55rem, 4vw, 2.3rem);
  font-weight: 850;
  letter-spacing: -.035em;
  line-height: 1.08;
}

.reports-shell .report-wizard-header .report-wizard-intro {
  max-width: 62ch;
  margin: 10px 0 0;
  color: #536b60;
  font-size: .98rem;
  line-height: 1.6;
}

.reports-shell .report-stepper {
  min-width: 0;
  padding: 0 clamp(2px, 1vw, 8px);
}

.reports-shell ol.report-stepper {
  display: grid;
  grid-template-columns: repeat(var(--report-step-count, 4), minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.reports-shell .report-stepper li[data-step-indicator] {
  position: relative;
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 9px;
  padding: 3px 8px 3px 0;
  color: #788980;
}

.reports-shell .report-stepper li[data-step-indicator]:not(:last-child)::after {
  position: absolute;
  z-index: 0;
  top: 50%;
  right: 7px;
  left: 38px;
  height: 2px;
  background: #dce7df;
  content: "";
  transform: translateY(-50%);
}

.reports-shell .report-step-number {
  position: relative;
  z-index: 1;
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  place-items: center;
  color: #71847a;
  background: #edf3ee;
  border: 1px solid #d9e5dc;
  border-radius: 50%;
  font-size: .81rem;
  font-variant-numeric: tabular-nums;
  font-weight: 800;
}

.reports-shell .report-step-label {
  position: relative;
  z-index: 1;
  min-width: 0;
  padding-right: 8px;
  background: transparent;
  font-size: .78rem;
  font-weight: 700;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.reports-shell [data-step-indicator].is-current {
  color: var(--report-green-deep);
}

.reports-shell [data-step-indicator].is-current .report-step-number {
  color: #fff;
  background: var(--report-green);
  border-color: var(--report-green);
  box-shadow: 0 0 0 4px rgba(8, 120, 93, .12);
}

.reports-shell [data-step-indicator].is-complete .report-step-number {
  color: var(--report-green-deep);
  background: #dcefe1;
  border-color: #bddbc6;
}

.reports-shell [data-step-indicator].is-complete:not(:last-child)::after {
  background: #9bc9aa;
}

.reports-shell .report-step-status {
  margin: -8px 0 0;
  color: var(--report-muted);
  font-size: .84rem;
  font-weight: 650;
}

.reports-shell .report-step-progress {
  height: 5px;
  overflow: hidden;
  background: #e4eee7;
  border-radius: 999px;
}

.reports-shell .report-step-progress-fill {
  display: block;
  width: 25%;
  height: 100%;
  background: var(--report-green);
  border-radius: inherit;
  transition: width 220ms ease;
}

.reports-shell .report-step-panel {
  display: grid;
  gap: 15px;
  min-width: 0;
  animation: report-step-in 220ms ease both;
}

.reports-shell .report-step-panel[hidden],
.reports-shell .report-conditional[hidden] {
  display: none !important;
}

.reports-shell .report-step-heading {
  margin: 0;
  color: var(--report-ink);
  font-family: var(--font-display, sans-serif);
  font-size: clamp(1.28rem, 3vw, 1.7rem);
  font-weight: 850;
  letter-spacing: -.025em;
  line-height: 1.2;
}

.reports-shell .report-step-description {
  max-width: 66ch;
  margin: -8px 0 0;
  color: var(--report-muted);
  font-size: .93rem;
  line-height: 1.55;
}

.reports-shell .report-group {
  padding: clamp(16px, 3.2vw, 26px);
  background: var(--report-paper);
  border: 1px solid var(--report-line);
  border-radius: 15px;
  box-shadow: 0 8px 24px rgba(18, 69, 48, .045);
}

.reports-shell .report-group legend {
  color: var(--report-ink);
  font-size: 1.05rem;
  letter-spacing: -.012em;
}

.reports-shell .report-section,
.reports-shell .report-category-section {
  display: grid;
  gap: 10px;
}

.reports-shell .report-section-heading,
.reports-shell .report-category-heading {
  margin: 0;
  color: var(--report-ink);
  font-size: 1.05rem;
  font-weight: 750;
  letter-spacing: -.012em;
  line-height: 1.3;
}

.reports-shell .report-grid {
  gap: 17px 20px;
}

.reports-shell .report-field {
  gap: 7px;
  color: #29473b;
  font-size: .88rem;
  font-weight: 750;
  line-height: 1.35;
}

.reports-shell .report-field input,
.reports-shell .report-field select,
.reports-shell .report-field textarea {
  min-width: 0;
  min-height: 49px;
  padding: 11px 13px;
  color: #203a30;
  background: #fff;
  border: 1px solid #ccdcd1;
  border-radius: 10px;
  font-size: .94rem;
  font-weight: 500;
  transition: border-color 150ms ease, box-shadow 150ms ease, background-color 150ms ease;
}

.reports-shell .report-field input::placeholder,
.reports-shell .report-field textarea::placeholder {
  color: #85958c;
  opacity: 1;
}

.reports-shell .report-field input:focus,
.reports-shell .report-field select:focus,
.reports-shell .report-field textarea:focus {
  outline: none;
  border-color: var(--report-green);
  box-shadow: 0 0 0 4px rgba(8, 120, 93, .12);
}

.reports-shell .report-field textarea {
  min-height: 126px;
  line-height: 1.55;
}

.reports-shell .report-field small {
  color: #687c71;
  font-size: .8rem;
  line-height: 1.45;
}

.reports-shell .report-field:has(.report-phone-input) {
  gap: 7px;
}

.reports-shell .report-category-field {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.reports-shell .report-category-field legend {
  margin-bottom: 9px;
  color: #29473b;
  font-size: .88rem;
  font-weight: 750;
}

.reports-shell .report-category-list {
  display: grid;
  overflow: visible;
  background: #fff;
  border: 0;
  border-radius: 0;
}

.reports-shell .report-category-option {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 41px;
  padding: 8px 11px;
  color: #29473b;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: .88rem;
  font-weight: 550;
  transition: background-color 150ms ease, color 150ms ease;
}

.reports-shell .report-category-option:hover {
  background: #f7fbf8;
}

.reports-shell .report-category-option:has(input:checked) {
  color: #075f49;
  background: #eff8f3;
}

.reports-shell .report-category-option:has(input:focus-visible) {
  outline: 2px solid rgba(8, 120, 93, .4);
  outline-offset: -2px;
}

.reports-shell .report-category-option input[type="radio"] {
  flex: 0 0 16px;
  width: 16px;
  min-height: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--report-green);
}

.reports-shell .report-phone-input {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  width: 100%;
  min-height: 49px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #ccdcd1;
  border-radius: 10px;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.reports-shell .report-phone-input:focus-within {
  border-color: var(--report-green);
  box-shadow: 0 0 0 4px rgba(8, 120, 93, .12);
}

.reports-shell .report-phone-input .phone-prefix {
  margin-left: 12px;
  padding: 8px 11px 8px 0;
  color: var(--report-green-deep);
  border-right: 1px solid #d8e4dc;
  font-size: .82rem;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.reports-shell .report-phone-input input[data-report-phone] {
  width: 100%;
  min-width: 0;
  min-height: 47px;
  padding: 0 12px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  font-size: .94rem;
}

.reports-shell .report-phone-input input[data-report-phone]:focus {
  outline: none;
  border: 0;
  box-shadow: none;
}

.reports-shell .report-phone-input input[data-report-phone]::placeholder {
  color: #85958c;
  opacity: 1;
}

.reports-shell .report-upload {
  position: relative;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  column-gap: 12px;
  align-items: center;
  padding: 17px;
  background: var(--report-wash);
  border: 1px dashed #a9c8b2;
  border-radius: 12px;
}

.reports-shell .report-upload > span:first-child {
  grid-column: 1 / -1;
  margin-bottom: 3px;
}

.reports-shell svg.report-upload-icon {
  display: grid;
  width: 42px;
  height: 42px;
  grid-row: span 2;
  place-items: center;
  color: var(--report-green);
  background: #dfefe3;
  border-radius: 11px;
  padding: 10px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.reports-shell .report-upload-title {
  align-self: end;
  color: var(--report-ink);
  font-size: .9rem;
  font-weight: 800;
  line-height: 1.3;
}

.reports-shell .report-upload input[type="file"] {
  grid-column: 2;
  grid-row: 3;
  width: 100%;
  min-height: 42px;
  padding: 5px;
  background: #fff;
  border: 1px solid #d4e2d8;
  border-radius: 8px;
  font-size: .82rem;
}

.reports-shell .report-upload input[type="file"]::file-selector-button {
  min-height: 30px;
  margin-right: 8px;
  padding: 4px 9px;
  color: var(--report-green-deep);
  background: #e5f1e8;
  border: 0;
  border-radius: 6px;
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}

.reports-shell .report-upload small,
.reports-shell .report-upload .report-file-status {
  grid-column: 1 / -1;
}

.reports-shell .report-file-status {
  color: var(--report-green) !important;
  font-weight: 750 !important;
  overflow-wrap: anywhere;
}

.reports-shell .report-check {
  align-items: flex-start;
  padding: 15px;
  color: #29473b;
  background: #f3f8f4;
  border: 1px solid #dce9df;
  border-radius: 11px;
  font-size: .9rem;
  line-height: 1.55;
}

.reports-shell .report-check input {
  width: 20px;
  height: 20px;
  accent-color: var(--report-green);
}

.reports-shell .report-alert {
  padding: 13px 15px;
  color: #73501a;
  background: #fff8e9;
  border-color: #eddfbd;
  line-height: 1.5;
}

.reports-shell .report-review {
  padding: clamp(16px, 3.2vw, 26px);
  background: #f4f8f4;
  border: 1px solid var(--report-line);
  border-radius: 15px;
}

.reports-shell .report-review-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 24px;
  margin: 0;
}

.reports-shell .report-review-field {
  min-width: 0;
  padding: 13px 0;
  border-bottom: 1px solid #dce7df;
}

.reports-shell .report-review-field dt {
  margin: 0 0 5px;
  color: #718379;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .045em;
  text-transform: uppercase;
}

.reports-shell .report-review-field dd {
  margin: 0;
  color: #203e32;
  font-size: .92rem;
  font-weight: 650;
  line-height: 1.5;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.reports-shell .report-form-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 15px 20px;
  padding-top: 4px;
}

.reports-shell .report-step-navigation {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
}

.reports-shell .report-step-navigation .button,
.reports-shell .report-step-navigation button {
  min-height: 48px;
  padding: 11px 19px;
  border-radius: 10px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: transform 150ms ease, background-color 150ms ease, border-color 150ms ease;
}

.reports-shell .report-step-navigation .button-primary,
.reports-shell .report-step-navigation .button.button-primary {
  color: #fff;
  background: var(--report-green);
  border: 1px solid var(--report-green);
}

.reports-shell .report-step-navigation .button-primary:hover,
.reports-shell .report-step-navigation .button.button-primary:hover {
  background: var(--report-green-deep);
  border-color: var(--report-green-deep);
  transform: translateY(-1px);
}

.reports-shell .report-step-previous {
  color: var(--report-green-deep);
  background: #fff;
  border: 1px solid #cbdcd0;
}

.reports-shell .report-step-previous:hover {
  background: #f0f7f2;
  border-color: #9cbea6;
}

.reports-shell .report-step-navigation button:disabled,
.reports-shell .report-step-navigation .button:disabled {
  cursor: wait;
  opacity: .65;
}

.reports-shell .report-step-navigation button[hidden],
.reports-shell .report-step-navigation .button[hidden] {
  display: none !important;
}

.reports-shell .report-form-exit {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 14px;
}

.reports-shell .report-form-exit .report-back,
.reports-shell .report-form-exit .report-list-back {
  padding: 8px 3px;
  color: #536b60;
  background: transparent;
  border: 0;
  font: inherit;
  font-size: .84rem;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: #b9cec0;
  text-underline-offset: 3px;
  cursor: pointer;
}

.reports-shell .report-private-submit {
  grid-column: 1 / -1;
  margin: 0;
  padding: 12px 14px;
  color: #5d7467;
  background: #eff6f0;
  border-radius: 9px;
  font-size: .81rem;
  line-height: 1.5;
}

.reports-shell .report-result {
  padding: 0;
  color: var(--report-ink);
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.reports-shell .report-result.is-error,
.reports-shell .report-result.is-success {
  padding: 12px 15px;
  border-radius: 10px;
}

.reports-shell .report-result.is-error {
  color: #8e3028;
  background: #fff2ef;
  border: 1px solid #f0d1ca;
}

.reports-shell .report-result.is-success {
  color: #075541;
  background: #eaf5ec;
  border: 1px solid #c9e3cf;
}

.reports-shell .report-form :focus-visible {
  outline: 3px solid rgba(8, 120, 93, .35);
  outline-offset: 3px;
}

@keyframes report-step-in {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 640px) {
  .reports-shell .report-form {
    gap: 16px;
    margin-top: 18px;
  }

  .reports-shell .report-wizard-header {
    padding: 20px 18px;
    border-radius: 15px;
  }

  .reports-shell ol.report-stepper {
    gap: 3px;
  }

  .reports-shell .report-stepper li[data-step-indicator] {
    flex-direction: column;
    justify-content: flex-start;
    gap: 6px;
    padding: 0 2px;
    text-align: center;
  }

  .reports-shell .report-stepper li[data-step-indicator]:not(:last-child)::after {
    top: 17px;
    right: -2px;
    left: calc(50% + 19px);
  }

  .reports-shell .report-step-number {
    width: 34px;
    height: 34px;
  }

  .reports-shell .report-step-label {
    width: 100%;
    padding: 0;
    font-size: .68rem;
    line-height: 1.2;
  }

  .reports-shell .report-step-status {
    margin-top: -5px;
    font-size: .78rem;
  }

  .reports-shell .report-step-description {
    margin-bottom: 13px;
    font-size: .88rem;
  }

  .reports-shell .report-group {
    padding: 16px 15px;
    border-radius: 13px;
  }

  .reports-shell .report-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 15px;
  }

  .reports-shell .report-field-wide,
  .reports-shell .report-check {
    grid-column: auto;
  }

  .reports-shell .report-field input,
  .reports-shell .report-field select,
  .reports-shell .report-field textarea {
    min-height: 48px;
    font-size: 16px;
  }

  .reports-shell .report-field textarea {
    min-height: 118px;
  }

  .reports-shell .report-review-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .reports-shell .report-review-field {
    padding: 11px 0;
  }

  .reports-shell .report-form-actions {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .reports-shell .report-step-navigation {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }

  .reports-shell .report-step-navigation .button,
  .reports-shell .report-step-navigation button {
    width: 100%;
    min-width: 0;
    justify-content: center;
    padding-inline: 10px;
  }

  .reports-shell .report-step-navigation .button-primary,
  .reports-shell .report-step-navigation button[type="submit"] {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .reports-shell .report-step-previous {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .reports-shell .report-form-exit {
    justify-content: flex-start;
    gap: 5px 18px;
    padding-top: 2px;
  }

  .reports-shell .report-private-submit {
    grid-column: auto;
  }
}

@media (max-width: 359px) {
  .reports-shell .report-wizard-header {
    padding-inline: 15px;
  }

  .reports-shell .report-step-label {
    font-size: .62rem;
  }

  .reports-shell .report-upload {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 9px;
    padding: 13px;
  }

  .reports-shell svg.report-upload-icon {
    width: 34px;
    height: 34px;
    padding: 7px;
  }

  .reports-shell .report-upload input[type="file"] {
    font-size: .73rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reports-shell .report-step-panel {
    animation: none;
  }

  .reports-shell .report-step-progress-fill,
  .reports-shell .report-field input,
  .reports-shell .report-field select,
  .reports-shell .report-field textarea,
  .reports-shell .report-phone-input,
  .reports-shell .report-step-navigation .button,
  .reports-shell .report-step-navigation button {
    transition: none;
  }
}

/* The wizard stays inline on desktop; mobile uses the native top-layer dialog. */
.reports-shell .report-form-dialog[open] {
  position: static;
  inset: auto;
  width: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  overflow: visible;
  color: inherit;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.reports-shell .report-form-modal-header {
  display: none;
}

.reports-shell .report-form-dialog-scroll {
  min-width: 0;
  overflow: visible;
}

body.report-form-modal-open {
  overflow: hidden;
}

@media (max-width: 640px) {
  .reports-shell .report-form-dialog[open] {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: flex;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    max-width: none;
    max-height: none;
    flex-direction: column;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: #f3f8f4;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .reports-shell .report-form-dialog::backdrop {
    background: rgba(17, 48, 39, .48);
  }

  .reports-shell .report-form-dialog .report-form-modal-header {
    position: relative;
    z-index: 1;
    display: flex;
    min-height: 64px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: max(10px, env(safe-area-inset-top)) 16px 10px;
    color: #173d32;
    background: #fff;
    border-bottom: 1px solid #d8e5dd;
  }

  .reports-shell .report-form-modal-header > span,
  .reports-shell .report-form-modal-kicker {
    min-width: 0;
    color: #08785d;
    font-size: .76rem;
    font-weight: 850;
    letter-spacing: .1em;
    line-height: 1.25;
    text-transform: uppercase;
  }

  .reports-shell .report-form-modal-copy {
    display: grid;
    min-width: 0;
    gap: 2px;
  }

  .reports-shell .report-form-modal-copy > .report-form-modal-category {
    color: #000;
    font-size: 1rem;
    letter-spacing: -.01em;
    text-transform: none;
  }

  .reports-shell .report-form-close {
    display: grid;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    place-items: center;
    padding: 0;
    color: #173d32;
    background: transparent;
    border: 0;
    border-radius: 12px;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }

  .reports-shell .report-form-close svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
  }

  .reports-shell .report-form-close:focus-visible {
    outline: 3px solid rgba(8, 120, 93, .35);
    outline-offset: 2px;
  }

  .reports-shell .report-form-dialog-scroll {
    min-height: 0;
    flex: 1 1 auto;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding: 0 14px max(18px, env(safe-area-inset-bottom));
  }

  .reports-shell .report-form-dialog .report-form {
    width: 100%;
    max-width: 900px;
    margin: 40px auto 0;
    gap: 16px;
  }

  .reports-shell .report-form-dialog .report-wizard-header {
    padding: 17px 16px;
  }

  .reports-shell .report-form-dialog .report-wizard-header h2,
  .reports-shell .report-form-dialog .report-wizard-header .report-title {
    overflow-wrap: anywhere;
  }

  .reports-shell .report-form-dialog .report-group,
  .reports-shell .report-form-dialog .report-review,
  .reports-shell .report-form-dialog .report-upload {
    min-width: 0;
  }

  .reports-shell .report-form-dialog .report-step-description {
    overflow-wrap: anywhere;
  }
}

/* Report type chooser: compact, tactile cards with a consistent sage icon rail. */
.reports-shell .report-choice-grid {
  gap: 12px;
}

.reports-shell .report-choice {
  position: relative;
  grid-template-columns: 48px minmax(0, 1fr) 18px;
  align-items: center;
  column-gap: 14px;
  min-height: 96px;
  padding: 17px 18px;
  color: #173d32;
  background: #fff;
  border: 1px solid #d6e5dc;
  border-radius: 15px;
  box-shadow: 0 5px 16px rgba(20, 62, 46, .055);
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.reports-shell .report-choice:hover {
  background: #fbfdfb;
  border-color: #9fc6b1;
  box-shadow: 0 9px 22px rgba(20, 62, 46, .10);
  transform: translateY(-2px);
}

.reports-shell .report-choice:active {
  background: #f0f7f2;
  transform: translateY(0);
}

.reports-shell .report-choice:focus-visible {
  outline: 3px solid rgba(8, 120, 93, .28);
  outline-offset: 3px;
  border-color: #438c6e;
}

.reports-shell .report-choice .report-choice-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  color: #176b51;
  background: #e8f3eb;
  border: 1px solid #d9eadd;
  border-radius: 13px;
}

.reports-shell .report-choice .report-choice-icon svg {
  display: block;
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.reports-shell .report-choice .report-choice-content {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.reports-shell .report-choice .report-choice-title {
  color: #14553f;
  font-family: var(--font-display, sans-serif);
  font-size: 1.06rem;
  font-weight: 800;
  line-height: 1.24;
}

.reports-shell .report-choice .report-choice-description {
  color: #5c7167;
  font-size: .89rem;
  font-weight: 450;
  line-height: 1.4;
}

.reports-shell .report-choice .report-choice-arrow {
  width: 18px;
  height: 18px;
  justify-self: end;
  color: #789287;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: color 160ms ease, transform 160ms ease;
}

.reports-shell .report-choice:hover .report-choice-arrow,
.reports-shell .report-choice:focus-visible .report-choice-arrow {
  color: #176b51;
  transform: translateX(2px);
}

.reports-shell .report-choice:hover .report-choice-icon,
.reports-shell .report-choice:focus-visible .report-choice-icon {
  color: #0c5c43;
  background: #dfefe4;
}

@media (max-width: 640px) {
  .reports-shell .report-form-dialog .reports-picker-header > .report-list-back {
    display: none;
  }

  .reports-shell .report-form-dialog .reports-picker-header {
    margin: 0 0 13px;
  }

  .reports-shell .report-form-dialog .reports-picker-title {
    margin: 40px 0 0;
    color: #173d32;
    font-size: clamp(1rem, 5vw, 1.25rem);
    font-weight: 850;
    line-height: 1.13;
    letter-spacing: -.04em;
    white-space: nowrap;
  }

  .reports-shell .report-choice-grid {
    gap: 10px;
    padding-bottom: 4px;
  }

  .reports-shell .report-choice {
    grid-template-columns: 44px minmax(0, 1fr) 17px;
    column-gap: 12px;
    min-height: 82px;
    padding: 14px;
    border-radius: 14px;
  }

  .reports-shell .report-choice .report-choice-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
  }

  .reports-shell .report-choice .report-choice-icon svg {
    width: 25px;
    height: 25px;
  }

  .reports-shell .report-choice .report-choice-title {
    font-size: .99rem;
  }

  .reports-shell .report-choice .report-choice-description {
    font-size: .84rem;
    line-height: 1.35;
  }

  .reports-shell .report-choice .report-choice-arrow {
    width: 17px;
    height: 17px;
  }
}

/* Private report management: a compact password flow that preserves the existing green status language. */
.reports-shell .report-pin-note {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  color: #245345;
  background: #eaf4ed;
  border: 1px solid #d2e6d9;
  border-radius: 12px;
  font-size: .9rem;
  line-height: 1.45;
}

.reports-shell .report-pin-note strong {
  color: #14543e;
}

.reports-shell .report-status-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: background-color 150ms ease, border-color 150ms ease, transform 150ms ease;
}

.reports-shell .report-status-action.is-lost:hover {
  background: #f6ddda;
  border-color: #e9bcb5;
}

.reports-shell .report-status-action.is-found:hover {
  background: #dbeee3;
  border-color: #b8d7c3;
}

.reports-shell .report-status-action:active {
  transform: scale(.97);
}

.reports-shell .report-status-action:focus-visible {
  outline: 3px solid rgba(142, 65, 55, .38);
  outline-offset: 3px;
}

.reports-shell .report-status-action.is-found:focus-visible {
  outline-color: rgba(0, 122, 92, .4);
}
.reports-shell .lost-report-heading .report-status-action {
  min-height: 27px;
  padding: 5px 9px;
  border: 1px solid transparent;
}

.reports-shell .report-details-hero > .report-status-action {
  border: 1px solid rgba(233, 188, 181, .8);
  cursor: pointer;
}

.reports-shell .report-details-hero > .report-status-action.is-found {
  border-color: rgba(184, 215, 195, .9);
}

.reports-shell .report-status-dialog {
  position: fixed;
  inset: 0;
  width: min(400px, calc(100vw - 32px));
  max-width: none;
  max-height: min(90dvh, 620px);
  margin: auto;
  padding: 0;
  overflow: auto;
  color: #173d32;
  background: #fbfdfb;
  border: 1px solid #d5e5db;
  border-radius: 18px;
  box-shadow: 0 24px 75px rgba(7, 42, 30, .28);
}

.reports-shell .report-status-dialog::backdrop {
  background: rgba(11, 32, 25, .55);
}

.reports-shell .report-status-form {
  display: grid;
  gap: 12px;
  padding: 23px;
}

.reports-shell .report-status-kicker {
  margin: 0;
  color: #087454;
  font-size: .74rem;
  font-weight: 850;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.reports-shell .report-status-form h2 {
  margin: -5px 0 0;
  color: #173d32;
  font-family: var(--font-display, sans-serif);
  font-size: 1.38rem;
  letter-spacing: -.035em;
}

.reports-shell .report-status-copy {
  margin: 0;
  color: #5d7067;
  font-size: .92rem;
  line-height: 1.45;
}

.reports-shell .report-status-pin-label {
  margin-bottom: -7px;
  color: #304b3f;
  font-size: .88rem;
  font-weight: 750;
}

.reports-shell .report-status-pin {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  color: #173d32;
  font: inherit;
  font-size: 1.15rem;
  letter-spacing: .04em;
  background: #fff;
  border: 1px solid #cbdcd1;
  border-radius: 10px;
}

.reports-shell .report-status-pin:focus {
  outline: 3px solid rgba(0, 122, 92, .18);
  border-color: #08785d;
}

.reports-shell .report-status-error {
  min-height: 0;
  margin: 0;
  color: #9f3328;
  font-size: .87rem;
  font-weight: 650;
  line-height: 1.4;
}

.reports-shell .report-status-error:empty {
  display: none;
}

.reports-shell .report-status-actions {
  display: flex;
  justify-content: flex-end;
  gap: 9px;
  margin-top: 2px;
}

.reports-shell .report-status-actions button {
  min-height: 43px;
  padding: 9px 14px;
  border-radius: 10px;
  font: inherit;
  font-size: .9rem;
  font-weight: 750;
  cursor: pointer;
}

.reports-shell .report-status-cancel {
  color: #36554b;
  background: #f3f7f4;
  border: 1px solid #d8e5dd;
}

.reports-shell .report-status-save {
  color: #fff;
  background: #08785d;
  border: 1px solid #08785d;
}

.reports-shell .report-status-actions button:disabled {
  cursor: wait;
  opacity: .65;
}

.reports-shell .report-session-state {
  display: grid;
  justify-items: start;
  gap: 14px;
  min-height: 180px;
  padding: 30px 24px;
  background: #fff;
  border: 1px solid #dce7e1;
  border-radius: 16px;
}

.reports-shell .report-session-state h2 {
  margin: 0;
  color: #173d32;
  font-family: var(--font-display, sans-serif);
}

.reports-shell .report-session-state p {
  margin: 0;
  color: #526b60;
  line-height: 1.5;
}

.reports-shell .report-session-back {
  min-height: 42px;
  padding: 8px 13px;
  color: #36554b;
  background: #f3f7f4;
  border: 1px solid #d8e5dd;
  border-radius: 9px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.reports-shell .report-session-loading {
  width: 34px;
  height: 4px;
  background: #d7e9dd;
  border-radius: 8px;
  animation: report-session-pulse 900ms ease-in-out infinite alternate;
}

@keyframes report-session-pulse {
  to { opacity: .45; transform: scaleX(.55); }
}

@media (max-width: 640px) {
  .reports-shell .report-status-dialog {
    width: min(400px, calc(100vw - 28px));
    border-radius: 16px;
  }

  .reports-shell .report-status-form {
    padding: 21px 19px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reports-shell .report-session-loading {
    animation: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reports-shell .report-choice,
  .reports-shell .report-choice .report-choice-arrow {
    transition-duration: .01ms;
  }
}

.reports-shell .report-details-dialog .report-management-controls {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
  padding-top: 18px;
  border-top: 1px solid #e1ebe5;
}

.reports-shell .report-management-button {
  display: inline-flex;
  min-width: 108px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 14px;
  border: 1px solid transparent;
  border-radius: 11px;
  font: inherit;
  font-size: .88rem;
  font-weight: 780;
  cursor: pointer;
  transition: background-color 150ms ease, border-color 150ms ease, transform 150ms ease;
}

.reports-shell .report-management-button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.reports-shell .report-management-button.is-edit {
  color: #176b51;
  background: #eaf4ed;
  border-color: #d2e5d8;
}

.reports-shell .report-management-button.is-edit:hover {
  background: #dceee2;
  border-color: #b6d7c2;
}

.reports-shell .report-management-button.is-delete {
  color: #8b514a;
  background: #f8f0ee;
  border-color: #ead9d6;
}

.reports-shell .report-management-button.is-delete:hover {
  color: #85453e;
  background: #f3e7e4;
  border-color: #dfc4bf;
}

.reports-shell .report-management-button:focus-visible,
.reports-shell .report-edit-photo-remove:focus-visible {
  outline: 3px solid rgba(8, 120, 93, .32);
  outline-offset: 3px;
}

.reports-shell .report-management-button.is-delete:focus-visible,
.reports-shell .report-edit-photo-remove:focus-visible {
  outline-color: rgba(142, 65, 55, .28);
}

.reports-shell .report-management-button:active {
  transform: scale(.98);
}

.reports-shell .report-manage-dialog,
.reports-shell .report-delete-dialog {
  position: fixed;
  inset: 0;
  width: min(430px, calc(100vw - 32px));
  max-width: none;
  max-height: min(90dvh, 680px);
  margin: auto;
  padding: 0;
  overflow: auto;
  color: #173d32;
  background: #fbfdfb;
  border: 1px solid #d7e5dc;
  border-radius: 19px;
  box-shadow: 0 24px 75px rgba(7, 42, 30, .3);
}

.reports-shell .report-manage-dialog::backdrop,
.reports-shell .report-delete-dialog::backdrop {
  background: rgba(11, 32, 25, .58);
}

.reports-shell .report-manage-form,
.reports-shell .report-delete-form {
  position: relative;
  display: grid;
  gap: 13px;
  padding: 27px;
}

.reports-shell .report-manage-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  color: #496359;
  background: transparent;
  border: 0;
  border-radius: 10px;
  cursor: pointer;
}

.reports-shell .report-manage-close svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 2;
}

.reports-shell .report-manage-close:focus-visible,
.reports-shell .report-manage-actions button:focus-visible {
  outline: 3px solid rgba(8, 120, 93, .3);
  outline-offset: 2px;
}

.reports-shell .report-manage-kicker {
  margin: 0;
  color: #087454;
  font-size: .73rem;
  font-weight: 850;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.reports-shell .report-manage-kicker.is-delete {
  color: #9a5b53;
}

.reports-shell .report-manage-form h2,
.reports-shell .report-delete-form h2 {
  margin: -4px 35px 0 0;
  color: #173d32;
  font-family: var(--font-display, sans-serif);
  font-size: 1.42rem;
  line-height: 1.2;
  letter-spacing: -.035em;
}

.reports-shell .report-manage-copy,
.reports-shell .report-delete-copy {
  margin: 0;
  color: #5d7067;
  font-size: .93rem;
  line-height: 1.5;
}

.reports-shell .report-manage-label {
  margin-bottom: -8px;
  color: #304b3f;
  font-size: .87rem;
  font-weight: 750;
}

.reports-shell .report-manage-password {
  width: 100%;
  min-height: 47px;
  padding: 10px 12px;
  color: #173d32;
  background: #fff;
  border: 1px solid #cbdcd1;
  border-radius: 10px;
  font: inherit;
  font-size: 1rem;
}

.reports-shell .report-manage-password:focus {
  outline: 3px solid rgba(8, 120, 93, .16);
  border-color: #08785d;
}

.reports-shell .report-manage-error:empty {
  display: none;
}

.reports-shell .report-manage-error {
  margin: 0;
  color: #9f3328;
  font-size: .86rem;
  font-weight: 650;
  line-height: 1.45;
}

.reports-shell .report-manage-actions {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 3px;
}

.reports-shell .report-manage-actions button {
  min-height: 44px;
  padding: 9px 14px;
  border-radius: 10px;
  font: inherit;
  font-size: .9rem;
  font-weight: 750;
  cursor: pointer;
}

.reports-shell .report-manage-cancel,
.reports-shell .report-delete-cancel {
  color: #36554b;
  background: #f3f7f4;
  border: 1px solid #d8e5dd;
}

.reports-shell .report-manage-continue {
  color: #fff;
  background: #08785d;
  border: 1px solid #08785d;
}

.reports-shell .report-delete-confirm {
  color: #fff;
  background: #975b53;
  border: 1px solid #975b53;
}

.reports-shell .report-manage-actions button:disabled {
  cursor: wait;
  opacity: .65;
}

.reports-shell .report-edit-photo-heading {
  margin: 0 0 9px;
  color: #29473b;
  font-size: .85rem;
  font-weight: 800;
}

.reports-shell .report-edit-photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(105px, 1fr));
  gap: 10px;
}

.reports-shell .report-edit-photo {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  background: #eef4ef;
  border: 1px solid #d8e5dc;
  border-radius: 10px;
}

.reports-shell .report-edit-photo img,
.reports-shell .report-edit-photo-placeholder {
  display: grid;
  width: 100%;
  height: 96px;
  place-items: center;
  object-fit: cover;
  color: #789287;
}

.reports-shell .report-edit-photo-placeholder svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

.reports-shell .report-edit-photo-remove {
  display: block;
  width: 100%;
  min-height: 35px;
  padding: 6px 8px;
  color: #8b514a;
  background: #fbf3f1;
  border: 0;
  border-top: 1px solid #ead9d6;
  font: inherit;
  font-size: .78rem;
  font-weight: 750;
  cursor: pointer;
}

.reports-shell .report-edit-readonly-category {
  margin: 0;
  padding: 10px 12px;
  color: #36554b;
  background: #f2f7f3;
  border: 1px solid #dce9df;
  border-radius: 9px;
  font-weight: 700;
}

.reports-shell .report-section[hidden],
.reports-shell .report-category-list[hidden],
.reports-shell .report-category-option[hidden],
.reports-shell .report-field[hidden],
.reports-shell .report-edit-retained-photos[hidden] {
  display: none !important;
}

@media (max-width: 640px) {
  .reports-shell .report-details-dialog .report-management-controls {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-bottom: max(4px, env(safe-area-inset-bottom, 0px));
  }

  .reports-shell .report-management-button {
    width: 100%;
    min-width: 0;
    min-height: 48px;
  }

  .reports-shell .report-manage-dialog,
  .reports-shell .report-delete-dialog {
    width: min(430px, calc(100vw - 28px));
    border-radius: 16px;
  }

  .reports-shell .report-manage-form,
  .reports-shell .report-delete-form {
    padding: 25px 20px max(20px, env(safe-area-inset-bottom, 0px));
  }
}

@media (max-width: 640px) {
  .reports-shell .report-form .report-wizard-header {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    background: transparent;
    border: 0;
  }

  .reports-shell .report-form .report-wizard-header .report-wizard-eyebrow,
  .reports-shell .report-form .report-form-exit {
    display: none;
  }

  .reports-shell .report-form .report-wizard-header .report-wizard-intro,
  .reports-shell .report-form .report-stepper,
  .reports-shell .report-form .report-step-status,
  .reports-shell .report-form .report-step-progress,
  .reports-shell .report-form .report-step-panel .report-step-heading,
  .reports-shell .report-form .report-step-panel .report-step-description {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
}
