/* Additions for the stored-report official file view */
.official-status {
  align-self: center;
  max-width: 52vw;
  color: #eaf1f8;
  font: 600 13px/1.3 Arial, sans-serif;
}
.official-status--error { color: #ffd1d1; }
.official-report-form input,
.official-report-form textarea,
.official-report-form label,
.official-report-form .image-upload--readonly {
  cursor: default;
}
.official-report-form input[type="checkbox"] { pointer-events: none; }
.official-report-form .image-upload--readonly { pointer-events: none; }
.image-upload__prompt--error { color: #a31515; }
.admin-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.mini-button--link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
@media (max-width: 760px) {
  .official-status { max-width: none; width: 100%; }
}
@media print {
  .official-toolbar { display: none !important; }
  .official-report-form input,
  .official-report-form textarea {
    color: #000 !important;
    -webkit-text-fill-color: #000;
    opacity: 1;
  }
  .official-report-form .image-upload__prompt { color: #666; }
}
.button[aria-disabled="true"] { pointer-events: none; opacity: .55; }

/* Secure permanent deletion controls */
.mini-button--danger,
.danger-button {
  border-color: #9b1c1c;
  background: #fff2f2;
  color: #8a1515;
}
.mini-button--danger:hover,
.danger-button:hover {
  background: #8a1515;
  color: #fff;
}
.danger-button {
  min-height: 42px;
  padding: 9px 16px;
  border: 1px solid #8a1515;
  border-radius: 6px;
  font: 700 14px/1.2 Arial, sans-serif;
  cursor: pointer;
}
.danger-button:disabled { cursor: wait; opacity: .6; }
.admin-notice {
  min-height: 1.4em;
  margin: 8px 0 12px;
  color: #176b35;
  font: 600 13px/1.4 Arial, sans-serif;
}
.admin-notice--error { color: #9b1c1c; }
.delete-modal-card { max-width: 560px; }
.delete-warning {
  margin: 5px 0 0;
  color: #9b1c1c;
  font-weight: 700;
}
.delete-report-summary {
  margin: 14px 0;
  padding: 12px;
  border: 1px solid #e2b3b3;
  border-radius: 6px;
  background: #fff7f7;
}
.delete-form { display: grid; gap: 12px; }
.delete-form label {
  display: grid;
  gap: 5px;
  font: 700 13px/1.3 Arial, sans-serif;
}
.delete-form input,
.delete-form textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 9px 10px;
  border: 1px solid #9aa4ad;
  border-radius: 5px;
  background: #fff;
  color: #111;
  font: 400 14px/1.35 Arial, sans-serif;
}
.delete-form textarea { resize: vertical; }
.delete-status {
  min-height: 1.4em;
  margin: 0;
  color: #9b1c1c;
  font: 700 13px/1.4 Arial, sans-serif;
}
