/* Manual recovery panel only; existing form styles remain unchanged. */
.audit-recovery[hidden] {
  display: none !important;
}

.audit-recovery {
  box-sizing: border-box;
  min-width: 0;
  max-width: 100%;
  margin-top: 24px;
  padding: 20px;
  border: 1px solid #687562;
  border-radius: 8px;
  background: #101810;
  color: #f7f7ef;
  overflow-wrap: anywhere;
}

.audit-recovery h4 {
  margin: 0 0 14px;
  font-size: 20px;
  font-weight: 650;
  line-height: 1.4;
}

.audit-recovery p {
  margin: 0 0 14px;
  font-size: 16px;
  line-height: 1.65;
}

.audit-recovery label {
  display: block;
  margin: 20px 0 8px;
  font-size: 16px;
  font-weight: 650;
  line-height: 1.5;
}

.audit-recovery textarea {
  box-sizing: border-box;
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  min-height: 14rem;
  padding: 12px;
  border: 1px solid #a1b48f;
  border-radius: 5px;
  background: #1b251b;
  color: #fff;
  font: inherit;
  font-size: 16px;
  line-height: 1.65;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: break-word;
  resize: vertical;
}

.audit-recovery button,
.audit-recovery a {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  min-height: 48px;
  margin-top: 14px;
  padding: 12px 14px;
  border: 1px solid #a1b48f;
  border-radius: 5px;
  font: inherit;
  font-size: 16px;
  font-weight: 650;
  line-height: 1.5;
  white-space: normal;
  text-align: center;
  overflow-wrap: anywhere;
}

.audit-recovery button {
  background: #b7ff4a;
  color: #101510;
  cursor: pointer;
}

.audit-recovery button:hover:enabled {
  background: #cbff80;
}

.audit-recovery button:disabled {
  opacity: 1;
  background: #394733;
  color: #c2cabc;
  cursor: default;
}

.audit-recovery a {
  background: #101810;
  color: #f7f7ef;
  text-underline-offset: 4px;
}

.audit-recovery a:hover {
  background: #1b251b;
  text-decoration-thickness: 2px;
}

.audit-recovery :is(textarea, button, a):focus-visible {
  outline: 3px solid #b7ff4a;
  outline-offset: 4px;
}

.audit-recovery [data-recovery-status] {
  margin: 14px 0 0;
  min-height: 1.65em;
}

@media (max-width: 400px) {
  .audit-recovery {
    padding: 16px 12px;
  }
}
