/* PlaneWise report dossier ------------------------------------------------ */

.report-detail-dialog {
  width: min(1320px, calc(100vw - 32px));
  height: min(900px, calc(100vh - 32px));
  max-width: none;
  max-height: none;
  padding: 0;
  overflow: hidden;
  border: 1px solid #cddbe1;
  border-radius: 10px;
  color: #122330;
  background: #ffffff;
  box-shadow: 0 24px 70px rgba(8, 29, 38, 0.3);
}

.report-detail-dialog::backdrop {
  background: rgba(9, 29, 38, 0.58);
  backdrop-filter: blur(4px);
}

.report-detail-shell {
  position: relative;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  height: 100%;
  overflow: hidden;
  border: 0;
  background: #ffffff;
}

.report-detail-heading {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 96px;
  padding: 16px 22px;
  border-bottom: 1px solid #d6e0e5;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(18, 35, 48, 0.035);
}

.report-detail-title-block {
  min-width: 0;
}

.report-detail-title-block .eyebrow {
  margin: 0 0 5px;
  color: #056a73;
  font-size: 0.68rem;
  font-weight: 780;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.report-detail-title-line {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.report-detail-title-line h3 {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  color: #122330;
  font-size: clamp(1.38rem, 2.3vw, 1.72rem);
  font-weight: 760;
  letter-spacing: -0.025em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.report-detail-meta {
  margin: 5px 0 0;
  overflow: hidden;
  color: #657985;
  font-size: 0.82rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.report-status-badge {
  flex: 0 0 auto;
  min-height: 27px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 5px 9px;
  font-size: 0.7rem;
  font-weight: 760;
  line-height: 1;
}

.report-status-badge.is-open {
  border-color: #efd7ad;
  color: #8c5708;
  background: #fff3dc;
}

.report-status-badge.is-progress {
  border-color: #c6d8ed;
  color: #315f96;
  background: #edf4fc;
}

.report-status-badge.is-closed {
  border-color: #bee0d0;
  color: #216a4d;
  background: #eaf6f0;
}

.report-detail-actions {
  display: flex;
  width: auto;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
}

.report-detail-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 40px;
  white-space: nowrap;
}

.report-detail-action img {
  width: 16px;
  height: 16px;
}

.report-detail-actions .primary-button img {
  filter: brightness(0) invert(1);
}

.report-risk-score {
  display: grid;
  grid-template-columns: auto auto;
  grid-template-rows: auto;
  align-items: center;
  gap: 7px;
  min-height: 40px;
  border: 1px solid #d6e0e5;
  border-radius: 7px;
  padding: 5px 10px;
  font-variant-numeric: tabular-nums;
  background: #f7f9fb;
}

.report-risk-score small {
  color: #657985;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
}

.report-risk-score strong {
  font-size: 1rem;
  line-height: 1;
}

.report-risk-score.risk-low {
  border-color: #bee0d0;
  color: #216a4d;
  background: #eff8f3;
}

.report-risk-score.risk-medium {
  border-color: #efd7ad;
  color: #945d08;
  background: #fff7e8;
}

.report-risk-score.risk-high {
  border-color: #efc3bf;
  color: #a83d36;
  background: #fdf0ef;
}

.report-detail-heading .dialog-close-button {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  min-height: 40px;
  font-size: 1.45rem;
}

.report-detail-layout {
  display: grid;
  grid-template-columns: 224px minmax(0, 1fr);
  min-height: 0;
  overflow: hidden;
}

.report-detail-navigation {
  display: flex;
  min-width: 0;
  min-height: 0;
  flex-direction: column;
  border-right: 1px solid #d6e0e5;
  padding: 20px 12px 14px;
  background: #f4f7f9;
}

.report-detail-navigation-title {
  margin: 0 8px 10px;
  color: #657985;
  font-size: 0.66rem;
  font-weight: 780;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.report-detail-navigation nav {
  display: grid;
  gap: 3px;
}

.report-detail-nav-item {
  display: grid;
  grid-template-columns: 29px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  width: 100%;
  min-height: 42px;
  border: 0;
  border-radius: 7px;
  padding: 6px 9px;
  color: #344a58;
  text-align: left;
  background: transparent;
  font: inherit;
  font-size: 0.79rem;
  font-weight: 650;
  cursor: pointer;
  transition: color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.report-detail-nav-item > span {
  display: grid;
  width: 29px;
  height: 29px;
  place-items: center;
  border-radius: 6px;
  color: #50717c;
  background: #e6eef1;
}

.report-detail-nav-item img {
  width: 15px;
  height: 15px;
}

.report-detail-nav-item small {
  min-width: 20px;
  border-radius: 999px;
  padding: 3px 6px;
  color: #4d6671;
  text-align: center;
  background: #e3ecef;
  font-size: 0.65rem;
  font-weight: 760;
}

.report-detail-nav-item:hover {
  color: #122330;
  background: #eaf1f3;
}

.report-detail-nav-item.is-active {
  color: #056a73;
  background: #e5f3f3;
  box-shadow: inset 3px 0 #078b91;
}

.report-detail-nav-item.is-active > span {
  color: #056a73;
  background: #d5ebeb;
}

.report-detail-nav-item:focus-visible,
.report-photo-card:focus-visible,
.report-document-card:focus-visible {
  outline: 2px solid #3b6fb6;
  outline-offset: 2px;
}

.report-detail-file-summary {
  display: grid;
  gap: 3px;
  margin-top: auto;
  border: 1px solid #d6e0e5;
  border-radius: 7px;
  padding: 11px;
  background: #ffffff;
}

.report-detail-file-summary strong {
  color: #344a58;
  font-size: 0.75rem;
}

.report-detail-file-summary span {
  color: #657985;
  font-size: 0.67rem;
  line-height: 1.4;
}

.report-detail-scroll {
  min-width: 0;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  background: #ffffff;
}

.report-detail-scroll:focus-visible {
  outline: 2px solid #3b6fb6;
  outline-offset: -2px;
}

.report-dossier-content,
.report-detail-scroll > .history-panel {
  width: min(100%, 1050px);
  margin: 0 auto;
  padding-inline: 32px;
}

.report-dossier-section {
  scroll-margin-top: 0;
  border: 0;
  border-bottom: 1px solid #dce5e9;
  padding: 25px 0;
  background: transparent;
}

.report-dossier-section-heading {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  gap: 11px;
  align-items: start;
  margin-bottom: 20px;
}

.report-section-index {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 7px;
  color: #056a73;
  background: #e9f4f4;
  font-size: 0.68rem;
  font-weight: 760;
  font-variant-numeric: tabular-nums;
}

.report-dossier-section-heading h4 {
  margin: 1px 0 0;
  color: #122330;
  font-size: 1.04rem;
  font-weight: 740;
  line-height: 1.25;
}

.report-dossier-section-heading p {
  margin: 4px 0 0;
  color: #657985;
  font-size: 0.75rem;
  line-height: 1.4;
}

.report-section-aside {
  align-self: center;
  max-width: 220px;
  color: #657985;
  font-size: 0.72rem;
  text-align: right;
}

.report-detail-facts-grid,
.report-risk-components,
.report-factor-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 34px;
  margin: 0;
}

.report-detail-facts-grid.is-three-columns {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.report-detail-fact,
.report-risk-components > div,
.report-factor {
  min-width: 0;
}

.report-detail-fact dt,
.report-risk-components dt,
.report-factor dt {
  margin: 0 0 5px;
  color: #657985;
  font-size: 0.66rem;
  font-weight: 740;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.report-detail-fact dd,
.report-risk-components dd,
.report-factor dd {
  margin: 0;
  overflow-wrap: anywhere;
  color: #1b3442;
  font-size: 0.84rem;
  line-height: 1.48;
}

.report-detail-fact.is-empty dd,
.report-risk-components .is-empty dd,
.report-factor.is-empty dd,
.report-detail-narrative.is-empty p {
  color: #8798a1;
}

.report-detail-narrative {
  margin-top: 18px;
  border: 1px solid #d6e0e5;
  border-radius: 7px;
  padding: 13px 15px;
  background: #f7f9fb;
}

.report-detail-narrative > span {
  display: block;
  margin-bottom: 6px;
  color: #657985;
  font-size: 0.66rem;
  font-weight: 740;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.report-detail-narrative p {
  margin: 0;
  overflow-wrap: anywhere;
  color: #1b3442;
  font-size: 0.86rem;
  line-height: 1.55;
  white-space: pre-wrap;
}

.report-detail-narrative.is-compact {
  margin-top: 12px;
  padding: 11px 13px;
}

.report-detail-narrative.is-highlighted {
  border-left: 3px solid #078b91;
  background: #f2f8f8;
}

.report-risk-overview {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 20px;
  border: 1px solid #d6e0e5;
  border-left: 4px solid #21845d;
  border-radius: 8px;
  padding: 16px;
  background: #f7f9fb;
}

.report-risk-overview.risk-medium {
  border-left-color: #b87916;
}

.report-risk-overview.risk-high {
  border-left-color: #c74b43;
}

.report-risk-total {
  display: grid;
  align-content: center;
  justify-items: start;
  border-right: 1px solid #d6e0e5;
}

.report-risk-total span,
.report-risk-total small {
  color: #657985;
  font-size: 0.68rem;
  font-weight: 700;
}

.report-risk-total strong {
  margin: 3px 0;
  color: #21845d;
  font-size: 2rem;
  font-weight: 760;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.risk-medium .report-risk-total strong {
  color: #a66a10;
}

.risk-high .report-risk-total strong {
  color: #b84039;
}

.report-risk-components {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: 12px;
}

.report-risk-components > div {
  min-height: 66px;
  border-left: 1px solid #dce5e9;
  padding-left: 14px;
}

.report-detail-guidance {
  margin: 10px 0 0;
  color: #657985;
  font-size: 0.72rem;
  line-height: 1.5;
}

.report-factor-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
  margin-top: 12px;
}

.report-factor {
  border: 1px solid #d6e0e5;
  border-radius: 7px;
  padding: 11px;
  background: #ffffff;
}

.report-factor dt {
  display: flex;
  align-items: center;
  gap: 7px;
  letter-spacing: 0;
  text-transform: none;
}

.report-factor dt span {
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border-radius: 6px;
  background: #e9f4f4;
}

.report-factor dt img {
  width: 14px;
  height: 14px;
}

.report-action-subsection {
  margin-top: 20px;
  border-top: 1px solid #e0e8eb;
  padding-top: 17px;
}

.report-action-subsection h5,
.report-attachment-group-heading h5 {
  margin: 0 0 12px;
  color: #344a58;
  font-size: 0.78rem;
  font-weight: 740;
}

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

.report-narrative-grid .report-detail-narrative {
  margin-top: 0;
}

.report-detail-empty-state {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 84px;
  border: 1px dashed #cbd9df;
  border-radius: 8px;
  padding: 14px;
  color: #657985;
  background: #f7f9fb;
}

.report-detail-empty-state > span {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 7px;
  background: #e5f1f2;
}

.report-detail-empty-state img {
  width: 18px;
  height: 18px;
}

.report-detail-empty-state strong,
.report-detail-empty-state p {
  display: block;
  margin: 0;
}

.report-detail-empty-state strong {
  color: #344a58;
  font-size: 0.82rem;
}

.report-detail-empty-state p {
  margin-top: 3px;
  font-size: 0.74rem;
  line-height: 1.4;
}

.report-attachment-group + .report-attachment-group {
  margin-top: 22px;
}

.report-attachment-group-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.report-attachment-group-heading h5 {
  margin: 0;
}

.report-attachment-group-heading span {
  color: #657985;
  font-size: 0.7rem;
}

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

.report-photo-card {
  display: grid;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #d6e0e5;
  border-radius: 8px;
  padding: 0;
  color: inherit;
  text-align: left;
  background: #ffffff;
  cursor: zoom-in;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.report-photo-card:hover {
  border-color: #9ebfc3;
  box-shadow: 0 4px 12px rgba(18, 35, 48, 0.09);
  transform: translateY(-2px);
}

.report-photo-visual {
  position: relative;
  display: grid;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  place-items: center;
  background: #e9eff2;
}

.report-photo-placeholder {
  display: grid;
  gap: 6px;
  place-items: center;
  color: #657985;
  font-size: 0.7rem;
}

.report-photo-placeholder img {
  width: 20px;
  height: 20px;
}

.report-photo-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}

.report-photo-image[hidden] {
  display: none;
}

.report-photo-card:hover .report-photo-image {
  transform: scale(1.025);
}

.report-photo-copy {
  display: grid;
  min-width: 0;
  gap: 3px;
  padding: 10px 11px;
}

.report-photo-copy strong,
.report-photo-copy small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.report-photo-copy strong {
  color: #1b3442;
  font-size: 0.77rem;
}

.report-photo-copy small {
  color: #657985;
  font-size: 0.65rem;
}

.report-document-list {
  display: grid;
  gap: 8px;
}

.report-document-card {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-height: 58px;
  border: 1px solid #d6e0e5;
  border-radius: 7px;
  padding: 9px 11px;
  color: inherit;
  text-decoration: none;
  background: #ffffff;
  transition: background-color 160ms ease, border-color 160ms ease;
}

.report-document-card:hover {
  border-color: #9ebfc3;
  background: #f4f9f9;
}

.report-document-card > span:first-child {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 7px;
  background: #edf3f6;
}

.report-document-card img {
  width: 17px;
  height: 17px;
}

.report-document-card > span:nth-child(2) {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.report-document-card strong,
.report-document-card small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.report-document-card strong {
  color: #1b3442;
  font-size: 0.78rem;
}

.report-document-card small {
  color: #657985;
  font-size: 0.67rem;
}

.report-document-card > span:last-child {
  color: #056a73;
  font-size: 0.73rem;
  font-weight: 740;
}

.report-detail-scroll > .history-panel {
  display: block;
  border-top: 0;
  border-bottom: 0;
  padding-top: 25px;
  padding-bottom: 34px;
  background: #ffffff;
}

.history-list {
  position: relative;
  display: grid;
  gap: 0;
  margin-left: 14px;
  border-left: 1px solid #cbd9df;
  padding-left: 22px;
}

.history-item {
  position: relative;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  border: 0;
  border-bottom: 1px solid #e0e8eb;
  border-radius: 0;
  padding: 12px 0;
  background: transparent;
}

.history-item:first-child {
  padding-top: 0;
}

.history-item-marker {
  display: grid;
  width: 30px;
  height: 30px;
  margin-left: -38px;
  place-items: center;
  border: 4px solid #ffffff;
  border-radius: 50%;
  background: #dfecee;
}

.history-item-marker img {
  width: 13px;
  height: 13px;
}

.history-item strong {
  color: #1b3442;
  font-size: 0.78rem;
  line-height: 1.4;
}

.history-item span {
  margin-top: 3px;
  color: #657985;
  font-size: 0.68rem;
}

.report-image-preview {
  position: absolute;
  z-index: 10;
  inset: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  color: #ffffff;
  background: rgba(8, 22, 29, 0.96);
  animation: report-image-preview-enter 180ms ease both;
}

.report-image-preview[hidden] {
  display: none;
}

.report-image-preview-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  padding: 12px 16px 12px 20px;
}

.report-image-preview-toolbar > div {
  min-width: 0;
}

.report-image-preview-toolbar > div:first-child {
  display: grid;
  gap: 2px;
}

.report-image-preview-toolbar > div:last-child {
  display: flex;
  align-items: center;
  gap: 8px;
}

.report-image-preview-toolbar strong,
.report-image-preview-toolbar span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.report-image-preview-toolbar strong {
  font-size: 0.88rem;
}

.report-image-preview-toolbar span {
  color: #b8c8ce;
  font-size: 0.7rem;
}

.report-image-preview-toolbar .secondary-button {
  border-color: rgba(255, 255, 255, 0.3);
  color: #ffffff;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.08);
}

.report-image-preview-toolbar .dialog-close-button {
  border-color: rgba(255, 255, 255, 0.28);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.report-image-preview-stage {
  display: grid;
  min-height: 0;
  padding: 20px;
  overflow: auto;
  place-items: center;
  cursor: zoom-out;
}

.report-image-preview-stage img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  box-shadow: 0 8px 34px rgba(0, 0, 0, 0.36);
}

@keyframes report-image-preview-enter {
  from {
    opacity: 0;
    transform: scale(0.99);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@media (max-width: 1100px) {
  .report-detail-layout {
    grid-template-columns: 194px minmax(0, 1fr);
  }

  .report-detail-navigation {
    padding-inline: 9px;
  }

  .report-detail-nav-item {
    gap: 6px;
    padding-inline: 7px;
    font-size: 0.74rem;
  }

  .report-dossier-content,
  .report-detail-scroll > .history-panel {
    padding-inline: 24px;
  }

  .report-detail-facts-grid.is-three-columns,
  .report-factor-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 840px) {
  .report-detail-dialog {
    width: calc(100vw - 14px);
    height: calc(100vh - 14px);
    border-radius: 8px;
  }

  .report-detail-heading {
    min-height: 82px;
    padding: 12px 14px;
  }

  .report-detail-actions {
    gap: 6px;
  }

  .report-detail-action {
    min-width: 40px;
    padding-inline: 10px;
    font-size: 0;
  }

  .report-detail-action img {
    width: 17px;
    height: 17px;
  }

  .report-risk-score small {
    display: none;
  }

  .report-risk-score {
    grid-template-columns: 1fr;
    padding-inline: 9px;
  }

  .report-detail-layout {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto minmax(0, 1fr);
  }

  .report-detail-navigation {
    display: block;
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid #d6e0e5;
    padding: 7px 8px;
    overflow-x: auto;
    scrollbar-width: thin;
  }

  .report-detail-navigation-title,
  .report-detail-file-summary {
    display: none;
  }

  .report-detail-navigation nav {
    display: flex;
    gap: 5px;
    width: max-content;
  }

  .report-detail-nav-item {
    grid-template-columns: 25px auto auto;
    width: auto;
    min-height: 37px;
    white-space: nowrap;
  }

  .report-detail-nav-item > span {
    width: 25px;
    height: 25px;
  }

  .report-dossier-section {
    padding-block: 22px;
  }
}

@media (max-width: 600px) {
  .report-detail-dialog {
    width: 100vw;
    height: 100vh;
    border: 0;
    border-radius: 0;
  }

  .report-detail-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    min-height: auto;
    padding: 11px 12px;
  }

  .report-detail-title-block .eyebrow {
    font-size: 0.58rem;
  }

  .report-detail-title-line {
    gap: 6px;
  }

  .report-detail-title-line h3 {
    font-size: 1.17rem;
  }

  .report-detail-meta {
    font-size: 0.69rem;
  }

  .report-status-badge {
    max-width: 90px;
    overflow: hidden;
    padding-inline: 7px;
    font-size: 0.61rem;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .report-detail-actions {
    display: grid;
    grid-template-columns: 36px 36px 36px 36px;
    width: 100%;
    justify-content: start;
  }

  .report-detail-action,
  .report-risk-score,
  .report-detail-heading .dialog-close-button {
    width: 36px;
    min-width: 36px;
    height: 36px;
    min-height: 36px;
    padding: 0;
  }

  .report-detail-heading .dialog-close-button {
    font-size: 1.25rem;
  }

  .report-dossier-content,
  .report-detail-scroll > .history-panel {
    padding-inline: 15px;
  }

  .report-dossier-section-heading {
    grid-template-columns: 29px minmax(0, 1fr);
    gap: 9px;
  }

  .report-section-aside {
    grid-column: 2;
    max-width: none;
    text-align: left;
  }

  .report-detail-facts-grid,
  .report-detail-facts-grid.is-three-columns,
  .report-risk-components,
  .report-factor-grid,
  .report-narrative-grid,
  .report-photo-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .report-risk-overview {
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 12px;
    padding: 12px;
  }

  .report-risk-components {
    gap: 8px;
  }

  .report-risk-components > div {
    min-height: auto;
    border-left: 0;
    border-bottom: 1px solid #dce5e9;
    padding: 0 0 7px;
  }

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

  .report-image-preview-toolbar {
    padding: 9px 10px;
  }

  .report-image-preview-toolbar > div:first-child span,
  .report-image-preview-toolbar .secondary-button {
    display: none;
  }

  .report-image-preview-stage {
    padding: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .report-photo-card,
  .report-photo-image,
  .report-image-preview {
    animation: none;
    transition: none;
  }
}
