/* Keep the current Hush workflow compact without changing its analysis runtime. */
@media (min-width: 901px) {
  body[data-page-kind="adversarial-bench"] .hush-field-shell:has(#hushInputControlRail) {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.92fr) !important;
    grid-template-areas:
      "label label"
      "caption caption"
      "input input"
      "profile controls";
    column-gap: 14px !important;
    align-items: start !important;
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    padding-inline: 10px !important;
  }

  body[data-page-kind="adversarial-bench"] .hush-field-shell:has(#hushInputControlRail) > .hush-field-label {
    grid-area: label;
  }

  body[data-page-kind="adversarial-bench"] .hush-field-shell:has(#hushInputControlRail) > .hush-field-caption {
    grid-area: caption;
  }

  body[data-page-kind="adversarial-bench"] .hush-field-shell:has(#hushInputControlRail) > #messageDraftInput {
    grid-area: input;
    box-sizing: border-box !important;
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  body[data-page-kind="adversarial-bench"] #messageDraftProfile {
    grid-area: profile;
    min-width: 0 !important;
    margin: 0 !important;
  }

  body[data-page-kind="adversarial-bench"] #hushPr76AuthorshipProfileHost {
    grid-area: profile;
    min-width: 0 !important;
    width: 100% !important;
    margin: 0 !important;
    align-self: start;
  }

  body[data-page-kind="adversarial-bench"] #hushPr76AuthorshipProfileHost .hush-pr76-profile-panel {
    max-height: 12.5rem !important;
    margin: 0 !important;
  }

  body[data-page-kind="adversarial-bench"] #hushSuggestedMasksPanel {
    grid-column: 1 / -1;
    min-width: 0 !important;
    width: 100% !important;
    margin: 0.7rem 0 0 !important;
  }

  body[data-page-kind="adversarial-bench"] #hushInputControlRail {
    grid-area: controls;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: repeat(3, minmax(42px, auto)) !important;
    gap: 10px !important;
    box-sizing: border-box !important;
    min-width: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    align-content: center;
    align-self: center;
  }

  body[data-page-kind="adversarial-bench"] #hushInputControlRail #analyzeOutputBtn,
  body[data-page-kind="adversarial-bench"] #hushInputControlRail #hushPhase32ClearInput,
  body[data-page-kind="adversarial-bench"] #hushInputControlRail #hushExportStylometrics {
    width: 100% !important;
    min-height: 42px !important;
    border-radius: 999px !important;
    font-size: 0.66rem !important;
    letter-spacing: 0.15em !important;
  }
}
