/* Only the original finalizer's small-screen site header. No desktop or card changes. */
@media (max-width: 760px) {
  html:has(.script-finalizer-page) .app-root--workbench .workbench-site-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between;
    gap: 8px;
    height: 56px !important;
    min-height: 56px !important;
    padding: 5px 10px !important;
  }
  html:has(.script-finalizer-page) .app-root--workbench .workbench-header-leading {
    display: flex;
    align-items: center;
    flex: 1 1 auto;
    min-width: 0;
  }
  html:has(.script-finalizer-page) .app-root--workbench .workbench-header-actions {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    width: auto;
    min-width: 0;
    gap: 6px;
  }
  html:has(.script-finalizer-page) .app-root--workbench .workbench-title {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}
