/* Shared module header actions. Keep transaction controls and print sizing local. */
@media screen {
  html.ctr-workspace-v1 body .main.main.main.main .ws-title-first > :is(.module-actions,.head-actions,.page-head-actions,.pb-head-actions) {
    display:flex!important;
    flex-wrap:wrap!important;
    align-items:stretch!important;
    gap:8px!important;
    min-width:0!important;
    max-width:100%!important;
    box-sizing:border-box;
  }
  html.ctr-workspace-v1 body .main.main.main.main .ws-title-first > :is(.module-actions,.head-actions,.page-head-actions,.pb-head-actions) > :is(a,button),
  html.ctr-workspace-v1 body .main.main.main.main .ws-title-first > button {
    box-sizing:border-box!important;
    min-width:0!important;
    max-width:100%!important;
    height:auto!important;
    min-height:38px!important;
    padding:8px 12px!important;
    border-radius:10px!important;
    font-family:var(--ws-font)!important;
    font-size:12px!important;
    line-height:1.4!important;
    white-space:normal!important;
    overflow-wrap:anywhere;
    text-align:center;
  }
  html.ctr-workspace-v1 body .main.main.main.main .ws-title-first > :is(.module-actions,.head-actions,.page-head-actions,.pb-head-actions) > :is(a,button) > i {
    flex-shrink:0;
  }
  /* Explicit display rules must never reveal controls hidden by application state. */
  html.ctr-workspace-v1 body .main.main.main.main .ws-title-first [hidden],
  html.ctr-workspace-v1 body .main.main.main.main .ws-title-first > [hidden] {
    display:none!important;
  }
}
@media screen and (max-width:767px) {
  html.ctr-workspace-v1 body .main.main.main.main .ws-title-first > :is(.module-actions,.head-actions,.page-head-actions,.pb-head-actions) {
    width:100%!important;
  }
  html.ctr-workspace-v1 body .main.main.main.main .ws-title-first > :is(.module-actions,.head-actions,.page-head-actions,.pb-head-actions) > :is(a,button) {
    flex:1 1 130px!important;
    width:auto!important;
    min-height:44px!important;
  }
  html.ctr-workspace-v1 body .main.main.main.main .ws-title-first > button {
    min-height:44px!important;
  }
}
