/* Fix compact verification controls throughout staff Declarations (v48). */
@media (max-width: 767px) {
  .staff-declarations-view [data-declaration-detail] input[type="checkbox"],
  .staff-declarations-view [data-declaration-detail] input[type="radio"],
  .staff-declarations-view input[type="checkbox"],
  .staff-declarations-view input[type="radio"] {
    display: inline-block !important;
    width: 20px !important;
    min-width: 20px !important;
    max-width: 20px !important;
    height: 20px !important;
    min-height: 20px !important;
    max-height: 20px !important;
    padding: 0 !important;
    margin: 1px 0 0 !important;
    flex: 0 0 20px !important;
    align-self: flex-start !important;
  }

  .staff-declarations-view [data-declaration-detail] label:has(> input[type="checkbox"]),
  .staff-declarations-view [data-declaration-detail] label:has(> input[type="radio"]),
  .staff-declarations-view label:has(> input[type="checkbox"]),
  .staff-declarations-view label:has(> input[type="radio"]) {
    display: flex !important;
    width: 100% !important;
    min-width: 0 !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    gap: 10px !important;
    text-align: left !important;
  }

  .staff-declarations-view label:has(> input[type="checkbox"]) > span,
  .staff-declarations-view label:has(> input[type="radio"]) > span {
    display: block !important;
    min-width: 0 !important;
    flex: 1 1 auto !important;
    overflow-wrap: anywhere !important;
    white-space: normal !important;
    line-height: 1.4 !important;
  }

  .staff-declarations-view [data-declaration-detail] input[type="file"].hidden,
  .staff-declarations-view [data-declaration-detail] input[type="file"].sr-only {
    min-height: 0 !important;
  }
}
