/* Report button and report form (every screen) */
.report-fab {
  position: fixed;
  right: var(--sp-4);
  bottom: var(--sp-6);
  z-index: 25;
  min-height: 44px;
  padding: 0 var(--sp-4);
  border: 1px solid var(--navy);
  border-radius: var(--r-ctl);
  background: var(--page);
  color: var(--navy);
  font-family: var(--font-sans);
  font-size: var(--t-meta-size);
  line-height: var(--t-meta-line);
  font-weight: 600;
  cursor: pointer;
}

.report-fab:hover:not(:disabled) {
  background: var(--navy-wash);
}

.report-fab:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 2px;
}

.report-fab:disabled {
  opacity: 0.6;
  cursor: wait;
}

.report-fab.hidden {
  display: none;
}

/* Keep clear of the bars fixed to the bottom of some screens. */
body:has(.action-bar) .report-fab {
  bottom: calc(var(--sp-16) + var(--sp-4));
}

@media (max-width: 899px) {
  .report-fab {
    bottom: calc(var(--sp-12) + var(--sp-4));
  }

  body:has(.job-action-bar) .report-fab {
    bottom: calc(var(--sp-16) + var(--sp-12));
  }
}

.report-kinds {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2) var(--sp-4);
  border: 0;
  margin: 0;
  padding: 0;
}

.report-kind {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  min-height: 44px;
  cursor: pointer;
}

.report-shot {
  display: block;
  max-width: 100%;
  max-height: 150px;
  border: 1px solid var(--rule);
  border-radius: var(--r-ctl);
  object-fit: contain;
  object-position: left top;
}

.report-thumb {
  display: block;
  width: 120px;
  max-height: 80px;
  border: 1px solid var(--rule);
  border-radius: var(--r-ctl);
  object-fit: cover;
  object-position: left top;
}
